A Neural Approach to Context-Aware Aspect Sentiment Analysis

Authors

  • Aksh Sandhu Amity School of Engineering and Technology; Amity University, Noida; Noida, India Author
  • Sanatan Ratna Amity School of Engineering and Technology; Amity University, Noida; Noida, India Author

DOI:

https://doi.org/10.66635/4b4knv09

Keywords:

Aspect-Based Sentiment Analysis, BERT, SemEval 2017, Opinion Mining, Natural Language Processing, Transformer, Fine-tuning, Sentiment Classification

Abstract

Aspect-Based Sentiment Analysis (ABSA) is a sub-domain of Natural Language Processing (NLP) where a particular aspect in a text is classified according to its sentiment polarity. Traditional sentiment analysis techniques classify a text with a particular sentiment polarity, which cannot represent the complexity of real-world opinions. In this paper, a BERT-based model for ABSA is proposed, which jointly encodes a particular aspect and a context sentence, allowing aspect-based sentiment analysis with three sentiment classes: positive, negative, and neutral. Our proposed model achieves 94.74% accuracy and a weighted F1-score of 0.94 on the standard SemEval 2017 dataset, which is significantly higher than existing state-of-the-art models, such as R-GAT (90.1%), BERT-PT (87.2%), and ASGCN (88.6%). Our results show that BERT-based aspect-based encoding is a highly efficient method for aspect-based sentiment analysis.

 

 

References

1.M. Pontiki, D. Galanis, J. Pavlopoulos, H. Papageorgiou, I. Androut-sopoulos, and S. Manandhar, “SemEval-2014 Task 4: Aspect Based Sentiment Analysis,” in Proc. 8th Int. Workshop Semantic Evaluation (SemEval 2014), pp. 27–35, 2014.

2.Y. Wang, M. Huang, L. Zhao, and X. Zhu, “Attention-based LSTM for Aspect-level Sentiment Classification,” in Proc. EMNLP, pp. 606–615, 2016.

3.D. Tang, B. Qin, X. Feng, and T. Liu, “Effective LSTMs for Target-Dependent Sentiment Classification,” in Proc. COLING, pp. 3298–3307, 2016.

4.D. Ma, S. Li, X. Zhang, and H. Wang, “Interactive Attention Networks for Aspect-Level Sentiment Classification,” in Proc. IJCAI, pp. 4068–4074, 2017.

5.C. Sun, L. Huang, and X. Qiu, “Aspect-Based Sentiment Analysis Using BERT by Constructing Auxiliary Sentence,” in Proc. NAACL-HLT, pp. 380–385, 2019.

6.H. Xu, B. Liu, L. Shu, and P. S. Yu, “BERT Post-Training for Review Reading Comprehension and Aspect-Based Sentiment Analysis,” in Proc. NAACL-HLT, pp. 2324–2335, 2019.

7.C. Zhang, Q. Li, and D. Song, “Aspect-based Sentiment Classification with Aspect-specific Graph Convolutional Networks,” in Proc. EMNLP, pp. 4560–4570, 2019.

8.B. Wang, W. Ding, W. Li, K. Liu, and J. Zhao, “Relational Graph Attention Network for Aspect-based Sentiment Classification,” in Proc. ACL, pp. 3229–3238, 2021.

9.J. Devlin, M. W. Chang, K. Lee, and K. Toutanova, “BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding,” in Proc. NAACL-HLT, pp. 4171–4186, 2019.

10.A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, L. Kaiser, and I. Polosukhin, “Attention Is All You Need,” in Proc. NeurIPS, pp. 5998–6008, 2017.

11.Y. Liu et al., “RoBERTa: A Robustly Optimized BERT Pretraining Approach,” arXiv:1907.11692, 2019.

12.L. Dong, F. Wei, C. Tan, D. Tang, M. Zhou, and K. Xu, “Adaptive Recursive Neural Network for Target-Dependent Twitter Sentiment Classification,” in Proc. ACL, pp. 49–54, 2014.

13.D. Tang, B. Qin, and T. Liu, “Aspect Level Sentiment Classification with Deep Memory Network,” in Proc. EMNLP, pp. 214–224, 2016.

14.M. Pontiki et al., “SemEval-2016 Task 5: Aspect Based Sentiment Analysis,” in Proc. SemEval-2016, pp. 19–30, 2016.

15.D. Bahdanau, K. Cho, and Y. Bengio, “Neural Machine Translation by Jointly Learning to Align and Translate,” in Proc. ICLR, 2015.

16.N. Scaria et al., “Instruct ABSA: Instruction Learning for Aspect-Based Sentiment Analysis,” arXiv:2302.08624, 2024.

17.T. Ke et al., “A Dual Syntax Bidirectional Interactive Network for Fine-Grained ABSA,” arXiv:2601.XXXX, 2026.

18.S. Liao, “Aspect-Based Sentiment Analysis with Enhanced Opinion Tree Parsing and Parameter-Efficient Fine-Tuning for Edge AI,” arXiv:2503.XXXX, 2025.

19.R. V. Santin, “Systematic Review on Aspect-Based Sentiment Analysis in Cross-Domain,” arXiv:2501.XXXX, 2025.

20.K. Aziz et al., “Unifying ABSA with BERT and Multi-Layered Graph Convolutional Networks,” in Proc. EMNLP Workshop, 2024.

21.I. Perikos and A. Diamantopoulos, “Explainable Aspect-Based Senti-ment Analysis Using Transformer Models,” Knowledge-Based Systems, 2024.

22.A. Feng et al., “Dual Syntax Aware Graph Attention (DSGP): Syntax and Dependency Fusion for ABSA,” in Proc. ACL Findings, 2024.

23.J. Lu et al., “Dual-Channel Edge-Featured Graph Attention Networks (AS-EGAT) for Aspect-Based Sentiment Analysis,” in Proc. EMNLP, 2023.

Downloads

Published

2026-11-03

How to Cite

A Neural Approach to Context-Aware Aspect Sentiment Analysis. (2026). Journal of Asia Entrepreneurship and Sustainability, 22(9s), 01-08. https://doi.org/10.66635/4b4knv09