Syntax-Enhanced Pretrained Language Models for Aspect-Level Sentiment Classification
The main challenge of aspect-level sentiment classification (ASC) is associating target aspect terms with relevant contextual words. Existing methods improve ASC performance by incorporating syntactic dependencies through a graph convolution layer on top of BERT. However, these approaches often assign a fixed weight to edges with the same dependency type, overlooking the contextual nuances these dependencies can convey. To address this, we propose syntax-enhanced BERT (SE-BERT), which integrates syntactic distance embeddings, a syntax-enhanced transformer, aspect-specific masking, and a sentiment classification layer. SE-BERT advances previous methods in two main ways. First, SE-BERT enables dynamic weighting for edges with the same dependency type based on the source node's part-of-speech (POS) tags, which enhances graph propagation accuracy and enables more precise edge associations. Second, rather than adding additional graph convolutional layers on top of BERT, SE-BERT replaces BERT's final Transformer layers with the proposed SE-Transformer. This approach directly encodes syntactic information into the attention distribution and word representation within scaled dot-product attention. The model can be initialized from a pretrained checkpoint and fine-tuned for downstream tasks without requiring additional training parameters. Experimental results on five benchmark datasets demonstrate that SE-BERT outperforms existing ASC methods.
Authors
- Yuan Li (ORCID: https://orcid.org/0000-0003-3925-6225)
- Lung‐Hao Lee (ORCID: https://orcid.org/0000-0003-0472-7429)
- Xuejie Zhang (ORCID: https://orcid.org/0000-0002-6591-0916)
- Jin Wang (ORCID: https://orcid.org/0000-0002-8298-4378)
Institutions
- National Yang Ming Chiao Tung University (TW)
- Yunnan University (CN)
Publication Details
- Journal
- IEEE Transactions on Computational Social Systems
- Published
- 2024-12-24
- DOI
- https://doi.org/10.1109/tcss.2024.3514901
- Primary Topic
- Sentiment Analysis and Opinion Mining
- Type
- article
- Field-Weighted Citation Impact
- 0.00