Context-Guided BERT for Targeted Aspect-Based Sentiment Analysis
Zhengxuan Wu, Desmond C. Ong
Abstract
Aspect-based sentiment analysis (ABSA) and Targeted ASBA (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 (CG-BERT) 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 self-attention-based language models for context-based natural language tasks.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext fd6eb49b-71d1-48c9-8d9b-4e4f631678daCited by top-tier papers4
- On Fake News Detection with LLM Enhanced Semantics MiningXiaoxiao Ma, Yuchen Zhang, Kaize Ding, Jian Yang et al.EMNLP 2024 · 23 citations
- The Sentiment Problem: A Critical Survey towards Deconstructing Sentiment AnalysisPranav Venkit, Mukund Srinath, Sanjana Gautam, Saranya Venkatraman et al.EMNLP 2023 · 15 citations
- Counterfactual-Enhanced Information Bottleneck for Aspect-Based Sentiment AnalysisMingshan Chang, Min Yang, Qingshan Jiang, Ruifeng XuAAAI 2024 · 12 citations
- Towards a Holistic Understanding of Mathematical Questions with Contrastive Pre-trainingYuting Ning, Zhenya Huang, Xin Lin, Enhong Chen et al.AAAI 2023 · 10 citations
Related papers
- Modelling Context and Syntactical Features for Aspect-based Sentiment AnalysisMinh-Hieu Phan, Philip O. OgunbonaACL 2020 · 190 citations
- Target-Aspect-Sentiment Joint Detection for Aspect-Based Sentiment AnalysisHai Wan, Yufei Yang, Jianfeng Du, Yanan Liu et al.AAAI 2020 · 206 citations
- A Joint Training Dual-MRC Framework for Aspect Based Sentiment AnalysisYue Mao, Yi Shen, Chao Yu, Longjun CaiAAAI 2021 · 243 citations
- TextGT: A Double-View Graph Transformer on Text for Aspect-Based Sentiment AnalysisShuo Yin, Guoqiang ZhongAAAI 2024 · 46 citations
- Unified Feature and Instance Based Domain Adaptation for Aspect-Based Sentiment AnalysisChenggong Gong, Jianfei Yu, Rui XiaEMNLP 2020 · 66 citations
