Context-Guided BERT for Targeted Aspect-Based Sentiment Analysis

N/ACitations
Citations of this article
124Readers
Mendeley users who have this article in their library.

Abstract

Aspect-based sentiment analysis (ABSA) and Targeted ABSA (TABSA) allow finer-grained inferences about sentiment to be drawn from the same text, depending on context. For example, a given text can have different targets (e.g., neighborhoods) and different aspects (e.g., price or safety), with different sentiment associated with each target-aspect pair. In this paper, we investigate whether adding context to self-attention models improves performance on (T)ABSA. We propose two variants of Context-Guided BERT (CGBERT) that learn to distribute attention under different contexts. We first adapt a context-aware Transformer to produce a CG-BERT that uses context-guided softmax-attention. Next, we propose an improved Quasi-Attention CG-BERT model that learns a compositional attention that supports subtractive attention. We train both models with pretrained BERT on two (T)ABSA datasets: SentiHood and SemEval-2014 (Task 4). Both models achieve new state-of-the-art results with our QACG-BERT model having the best performance. Furthermore, we provide analyses of the impact of context in the our proposed models. Our work provides more evidence for the utility of adding context-dependencies to pretrained selfattention- based language models for context-based natural language tasks.

Cite

CITATION STYLE

APA

Wu, Z., & Ong, D. C. (2021). Context-Guided BERT for Targeted Aspect-Based Sentiment Analysis. In 35th AAAI Conference on Artificial Intelligence, AAAI 2021 (Vol. 16, pp. 14094–14102). Association for the Advancement of Artificial Intelligence. https://doi.org/10.1609/aaai.v35i16.17659

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free