Enhancing Fine-grained Sentiment Classification Exploiting Local Context Embedding

Heng Yang, Biqing Zeng
10/2/2020
6 citations
cs.CL

Official code: yangheng95/PyABSA (1,106 stars, Jupyter Notebook, MIT, PyTorch, last commit 2026-05-05).

Abstract

Target-oriented sentiment classification is a fine-grained task of natural language processing to analyze the sentiment polarity of the targets. To improve the performance of sentiment classification, many approaches proposed various attention mechanisms to capture the important context words of a target.

Show full abstract

However, previous approaches ignored the significant relatedness of a target's sentiment and its local context. This paper proposes a local context-aware network (LCA-Net), equipped with the local context embedding and local context prediction loss, to strengthen the model by emphasizing the sentiment information of the local context. The experimental results on three common datasets show that local context-aware network performs superior to existing approaches in extracting local context features. Besides, the local context-aware framework is easy to adapt to many models, with the potential to improve other target-level tasks.

View on arXivView PDF

Code Implementations(1)

yangheng95/PyABSAOfficial100%
PyTorchMIT

Sentiment Analysis, Text Classification, Text Augmentation, Text Adversarial defense, etc.;

1,106176Jupyter Notebook, PythonAug 21, 20197 months agoMIT
adversarialaspect-based-sentiment-analysisaspect-sentiment-triplet-extractionaspect-term-extractionlcf-bert+3 more

Similar Papers

Cite this paper

@article{yang2020enhancing,
  title  = {Enhancing Fine-grained Sentiment Classification Exploiting Local Context Embedding},
  author = {Heng Yang and Biqing Zeng},
  year   = {2020},
  eprint = {2010.00767},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.00767}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2010.00767.svg)](https://codeofpaper.com/paper/2010.00767)

Discussion