Modeling Inter-Aspect Dependencies for Aspect-Based Sentiment Analysis

Devamanyu Hazarika, Soujanya Poria, Prateek Vij, Gangeshwar Krishnamurthy, Erik Cambria, Roger Zimmermann

Introduction

Aspect-Based Sentiment Analysis (ABSA) aims to identify the sentiment polarity—positive, negative, or neutral—associated with specific aspects mentioned in a sentence. While traditional models effectively capture the relationship between an aspect and its local context, they often overlook the dependencies between multiple aspects within the same sentence. For instance, in the sentence "The food was delicious, but the service was abysmal," the contrastive conjunction "but" signals a shift in sentiment between "food" and "service."

The authors identify two primary scenarios where inter-aspect dependencies are critical:

  1. Incomplete Information: When an aspect lacks explicit sentiment markers, its polarity can often be inferred from neighboring aspects (e.g., a negative "menu" implying a negative "entries").
  2. Sentiment Flow in Conjunctions: Linguistic structures like "and," "but," or "though" create predictable patterns of sentiment transitions across aspects.

Proposed Methodology

The proposed architecture addresses these dependencies through a two-phase neural network approach.

The two-phase neural network architecture for modeling inter-aspect dependencies. Phase 1 generates aspect-specific representations, while Phase 2 models the sequence of these representations using an LSTM.

Phase 1: Aspect-Specific Representation Generation

In the first phase, the model generates a unique summary of the sentence for each identified aspect. This is achieved using an Attention-based LSTM. By concatenating the aspect vector with each word embedding in the sentence, the attention mechanism learns to focus on the specific words most relevant to that particular aspect.

Phase 2: Inter-Aspect Relationship Modeling

The core innovation lies in treating these aspect-specific summaries as a sequence. Instead of independent classification, the summaries are fed into a second LSTM ($LSTM_{ad}$) in the order they appear in the sentence. This sequential processing allows the model to capture the "sentiment flow" and inter-play between topics before making a final prediction for each aspect.

Experimental Setup

The model was evaluated on the SemEval 2014 Task 4 benchmark dataset, focusing on customer reviews from two domains:

  • Restaurants: 1,977 training and 600 test reviews.
  • Laptops: 1,462 training and 411 test reviews. The task required 3-way classification (Positive, Negative, Neutral) for each aspect.

Results and Discussion

The proposed model demonstrated superior performance compared to several strong baselines, including the ATAE-LSTM and IAN models.

Comparison of the proposed model against baseline architectures on the Restaurant and Laptop datasets, including ablation results for fusion methods and attention.

As shown in the results table, the model achieved an accuracy of 79.0% on the Restaurant dataset and 72.5% on the Laptop dataset. An ablation study highlighted the importance of specific architectural choices:

  • Attention Mechanism: Removing attention led to a 3-4% drop in accuracy, confirming that local context remains vital.
  • Fusion Strategy: The researchers compared "Hadamard fusion" (element-wise multiplication) with simple concatenation. Concatenation performed significantly better, suggesting that preserving distinct features of both the word and the aspect is more effective than mathematical blending.

Qualitative analysis further supported the model's efficacy. In complex cases like "Boot up slowed significantly after all windows updates were installed," the model correctly identified the negative sentiment for "windows updates" by linking it to the performance degradation of "boot up"—a dependency often missed by models that treat aspects in isolation.

Conclusion and Future Work

By treating aspects as a temporal sequence, the model effectively uses the sentiment of "easier" aspects to resolve more ambiguous ones. However, the current approach assumes a linear relationship based on sentence order. Future research could explore non-linear dependencies, such as tree or graph structures, to model more complex linguistic constructions. Additionally, integrating this inter-aspect modeling with Interactive Attention Networks (IAN) or exploring advanced fusion techniques like tensor fusion could yield further improvements.

Summary updated

BibTeX
@inproceedings{hazarika2018modeling,
  author = {Devamanyu Hazarika and Soujanya Poria and Prateek Vij and Gangeshwar Krishnamurthy and Erik Cambria and Roger Zimmermann},
  title = {{Modeling Inter-Aspect Dependencies for Aspect-Based Sentiment Analysis}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2018},
  doi = {10.18653/v1/n18-2043},
}
Figure