AMR-based Network for Aspect-based Sentiment Analysis

Fukun Ma, Xuming Hu, Aiwei Liu, Yawen Yang, Shuang Li, Philip S. Yu, Lijie Wen

Abstract

Aspect-Based Sentiment Analysis (ABSA) aims to identify fine-grained sentiment towards specific aspects within a sentence. Traditional approaches rely heavily on syntactic dependency trees, which often fail to capture direct semantic relationships between aspects and opinion terms. This paper introduces the AMR-based Path Aggregation Relational Network (APARN), which leverages Abstract Meaning Representation (AMR) to bridge the semantic gap. By utilizing semantic graphs that strip away grammatical noise and shorten the distance between related terms, APARN achieves state-of-the-art performance across multiple benchmarks, including a 1.13% average F1 improvement.

Introduction: The Syntactic-Semantic Mismatch

Most modern ABSA models utilize dependency trees to model the relationship between an aspect (e.g., "dish") and its corresponding opinion term (e.g., "small"). However, dependency trees are fundamentally syntactic, describing grammatical structures rather than underlying meaning. This often results in a "mismatch" where sentiment-relevant connections are obscured by function words or complex sentence structures.

Comparison of syntactic dependency trees and semantic AMR graphs showing how AMR directly links aspects to descriptors.

As illustrated in Figure 1, a dependency tree might link "small" and "dish" indirectly through a verb like "was." In contrast, an AMR graph directly links the opinion term to the aspect it modifies. Furthermore, syntactic parsers are prone to error propagation from non-essential words like "the" or "at," whereas AMR focuses on the core semantic relationships.

Methodology: The APARN Architecture

The proposed APARN model shifts the focus from syntax to semantics through three primary stages:

  1. AMR Preprocessing & Embedding: Sentences are converted into AMR graphs using the SPRING parser. Words are embedded using BERT, while AMR edge labels (e.g., :ARG0, :domain) are transformed into relational embeddings.
  2. Path Aggregator: This component uses an "Outer Product Sum" to integrate sentence-level information with the AMR graph structure. It broadcasts local information along semantic paths, capturing long-range dependencies that traditional window-based models often miss.
  3. Relation-Enhanced Self-Attention: The aggregated semantic features are used to guide a multi-head self-attention mechanism, forcing the model to prioritize semantically relevant keywords.
The APARN architecture, featuring AMR preprocessing, path aggregation, and relation-enhanced self-attention.

Results and Discussion

APARN was evaluated on four public benchmarks: Restaurant, Laptop, Twitter, and MAMS. It consistently outperformed state-of-the-art baselines like DualGCN and dotGCN across all indicators.

Semantic Short-Circuiting

A key finding was the reduction in "Aspect-Opinion Distance" (AOD). In AMR graphs, the path between an aspect and its descriptor is significantly shorter than in dependency trees. This "semantic short-circuiting" allows the model to more accurately associate opinions with their targets, particularly in long or complex sentences.

Robustness to Informal Language

The model showed its most significant gains on the Twitter dataset (+1.65% accuracy). This is attributed to the AMR parser's training on diverse data (AMR 3.0), making it more robust to the informal, non-standard grammar typical of social media compared to traditional syntactic parsers.

Correlation with Parser Quality

The researchers observed a direct positive correlation between the quality of the AMR parser (Smatch score) and the final ABSA accuracy. This suggests that as semantic parsing technology continues to improve, the performance of models like APARN will likely scale accordingly.

Conclusion

By replacing syntactic dependency trees with Abstract Meaning Representation, APARN effectively addresses the semantic gap in Aspect-Based Sentiment Analysis. While the path aggregation mechanism introduces some computational overhead, the gains in accuracy and robustness—especially for long-form and informal text—demonstrate the superiority of semantic-centric modeling for sentiment tasks. Future work will explore extending this approach to more complex tasks such as Aspect Sentiment Triplet Extraction (ASTE).

Summary updated

BibTeX
@inproceedings{ma2023amr,
  author = {Fukun Ma and Xuming Hu and Aiwei Liu and Yawen Yang and Shuang Li and Philip S. Yu and Lijie Wen},
  title = {{AMR-based Network for Aspect-based Sentiment Analysis}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.acl-long.19},
}
Figure