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 Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
4 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
Cited 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
- Octa: Omissions and Conflicts in Target-Aspect Sentiment AnalysisZhe Zhang, Chung-Wei Hang, Munindar P. SinghEMNLP Findings 2020 · 4 citations
- A Joint Training Dual-MRC Framework for Aspect Based Sentiment AnalysisYue Mao, Yi Shen, Chao Yu, Longjun CaiAAAI 2021 · 243 citations
- Incorporating Dynamic Semantics into Pre-Trained Language Model for Aspect-based Sentiment AnalysisKai Zhang, Kun Zhang, Mengdi Zhang, Hongke Zhao et al.ACL Findings 2022 · 76 citations
