Abstract
Chen Zhang, Qiuchi Li, Dawei Song. Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP).
2019.
Introduction
Aspect-based Sentiment Classification (ABSC) is a fine-grained sentiment analysis task that involves identifying the sentiment polarity associated with specific aspects in a sentence. For instance, in the sentence "The pizza was great, but the service was slow," a model must distinguish the positive sentiment for "pizza" from the negative sentiment for "service."
Current state-of-the-art approaches, such as those based on Attention mechanisms or Convolutional Neural Networks (CNNs), face significant challenges. Attention mechanisms often suffer from "syntactic irrelevance," where they incorrectly link descriptors to unrelated aspects. Meanwhile, CNNs struggle with "long-range dependencies," failing to capture sentiment when the aspect and its descriptor are physically distant in the text.
Methodology: The ASGCN Framework
To address these issues, the authors propose the Aspect-specific Graph Convolutional Network (ASGCN). Unlike sequential models, ASGCN leverages the grammatical structure of a sentence by performing graph convolutions over its dependency parse tree.
The architecture follows a multi-stage process:
- Contextual Embedding: A bidirectional LSTM (Bi-LSTM) captures word order and context.
- Graph Convolution over Dependency Trees: The core innovation involves building an adjacency matrix based on the sentence's dependency parse. This allows grammatically related words to be "neighbors" in the graph, regardless of their linear distance.
- Aspect-specific Masking: A masking layer filters out non-aspect features, ensuring the model focuses strictly on the target aspect's representation.
- Aspect-aware Attention: A retrieval-based attention mechanism uses these aspect features to query the original hidden states for relevant sentiment clues.
Experimental Results
The model was evaluated on five benchmark datasets: TWITTER, LAP14, and REST14/15/16. ASGCN-DG (the undirected graph variant) consistently outperformed or matched state-of-the-art models. On the LAP14 dataset, it achieved an accuracy of 75.55%, surpassing previous benchmarks like TNet-LF.
Analysis of the GCN component revealed that model performance is sensitive to the number of layers. As shown in the figure below, accuracy and F1 scores peak at approximately 2 layers, with performance degrading as the network becomes deeper, likely due to over-smoothing or noise propagation.
Key Insights
- Syntax as a Shortcut: GCNs on dependency trees reduce the distance between distant but related words to a single "hop," effectively bypassing linguistic noise.
- Undirected vs. Directed: The undirected version (ASGCN-DG) generally performed better, suggesting that bidirectional information flow in grammatical trees is crucial for sentiment capture.
- The Masking Filter: The aspect-specific masking layer is vital for preventing sentiment "leakage" from other aspects in the same sentence.
Conclusion and Future Work
Despite its success, ASGCN is dependent on the quality of the underlying dependency parser. Errors in the parse tree can propagate through the GCN. Additionally, the model's performance on noisy text, such as tweets, is less robust due to the ungrammatical nature of social media content. Furthermore, accuracy tends to decrease in sentences containing more than three aspects, indicating that complex inter-aspect correlations remain a challenge. Future research may explore incorporating grammatical relationship types (edge labels) and joint modeling of multiple aspects.
Summary updated