Abstract
Aspect-Based Sentiment Analysis (ABSA) is a fine-grained sentiment analysis task that involves identifying specific aspect terms and their associated sentiment polarities. Traditional transformer models often struggle with multi-word aspect boundaries and contextual noise. This paper introduces two novel architectures: Contextualized Syntax-based Aspect Extraction (CSAE) and Local Context Focus on Syntax for Aspect Sentiment Classification (LCFS-ASC). By explicitly incorporating Part-of-Speech (POS) tags and dependency-based embeddings, and replacing linear distance with Syntactic Relative Distance (SRD), the proposed models significantly improve performance on benchmark datasets.
Introduction
Aspect-Based Sentiment Analysis (ABSA) typically consists of two sub-tasks: Aspect Extraction (AE) and Aspect Sentiment Classification (ASC). While pre-trained language models like BERT and RoBERTa have advanced the state-of-the-art, they face challenges in accurately identifying the boundaries of multi-word aspects (e.g., "quality of food") and linking sentiment to distant but syntactically relevant words.
This research addresses these "blind spots" by integrating syntactical features directly into the model architecture. The core innovation lies in using "Syntactic Relative Distance" derived from dependency trees, ensuring the model focuses on grammatically relevant context rather than mere physical proximity.
Methodology
Contextualized Syntax-based Aspect Extraction (CSAE)
To address boundary issues in multi-word aspects, the CSAE model employs a multi-channel approach. It augments the standard RoBERTa hidden states with POS embeddings and dependency-based embeddings. These syntactical features undergo self-attention to capture structural relationships before being merged with contextualized embeddings for final aspect extraction.
Local Context Focus on Syntax (LCFS-ASC)
For sentiment classification, the authors propose LCFS-ASC, which refines the Local Context Focus (LCF) mechanism. Instead of using linear word counts (Semantic Relative Distance), it introduces Syntactic Relative Distance (SRD). SRD measures the shortest path between an aspect and a word in a dependency parsing tree. The model utilizes Context Dynamic Masking (CDM) or Weighting (CDW) to prioritize syntactically close descriptors, effectively filtering out irrelevant "noise" words that might be physically near the aspect.
Experimental Results
The models were evaluated on the SemEval-2014 Task 4 benchmarks for the Laptop and Restaurant domains.
- Aspect Extraction (AE): CSAE achieved F1-scores of 77.65% (Laptops) and 86.65% (Restaurants), outperforming previous single-task and integrated models.
- Sentiment Classification (ASC): LCFS-ASC-CDW reached F1-scores of 77.13% (Laptops) and 80.31% (Restaurants).
Qualitative analysis confirmed that the syntax-aware models are significantly better at grouping complex, multi-word terms like "espresso cup filled with chocolate mousse," which baseline models often fragment.
Discussion and Insights
The study highlights that syntax acts as the "glue" for multi-word aspects. By explicitly feeding POS tags and dependency relations, the model learns grammatical structures that RoBERTa alone might miss. Furthermore, the shift from linear distance to tree-based distance (SRD) allows the model to correctly associate adjectives with nouns even across long, complex clauses.
However, these improvements come with increased computational overhead due to the complexity of dependency parsing and multi-channel embeddings. Additionally, the model's performance is inherently linked to the accuracy of the underlying dependency parser used during preprocessing.
Conclusion
By bridging the gap between powerful contextualized embeddings and classical syntactical analysis, this work demonstrates a significant step forward in ABSA. The integration of POS tags and dependency-based distances provides a more nuanced understanding of sentence structure, leading to more accurate aspect identification and sentiment classification. Future work will explore unifying these tasks into a single end-to-end tagging scheme.
Summary updated