Aspect-invariant Sentiment Features Learning: Adversarial Multi-task Learning for Aspect-based Sentiment Analysis

Bin Liang, Rongdi Yin, Lin Gui, Jiachen Du, Yulan He, Ruifeng Xu

Abstract

Aspect-Based Sentiment Analysis (ABSA) often struggles with the noise introduced by complex interactions between words and specific aspects. This paper presents a novel adversarial multi-task learning framework designed to distinguish between "aspect-invariant" sentiment—universal expressions of polarity—and "aspect-dependent" sentiment. By leveraging synthetic cross-aspect samples and an adversarial discriminator, the model effectively filters noise and improves performance, particularly in data-scarce environments. Experimental results on SemEval benchmarks show that the proposed Gated Fusion (GSF) architecture combined with BERT achieves state-of-the-art accuracy and F1 scores.

Introduction

The primary goal of Aspect-Based Sentiment Analysis (ABSA) is to identify the sentiment polarity (positive, negative, or neutral) associated with specific aspects within a sentence. For instance, in the review "The food was great, but the service was slow," a model must correctly attribute "great" to the Food aspect and "slow" to the Service aspect.

Current ABSA models frequently attempt to model intricate dependencies between every word and every aspect. However, many sentiment-bearing words are aspect-invariant; words like "excellent" or "terrible" typically maintain their polarity regardless of the target aspect. Forcing models to learn aspect-specific features for these universal terms can introduce significant noise, especially when certain aspects are underrepresented in the training data. Researchers from the University of Warwick address this by proposing a framework that disentangles these two types of sentiment features.

Methodology: Adversarial Multi-task Learning

The proposed framework utilizes an adversarial approach to separate universal sentiment from aspect-specific nuances.

Feature Disentanglement

The core of the method lies in identifying features that do not change when the aspect is swapped.

  1. Fake Cross-Aspect Sample Generation: Synthetic training data is created by taking a real sentence (e.g., "The service was good") and replacing the aspect entity with a different one (e.g., "The location was good") while maintaining the original sentiment label.
  2. Adversarial Discriminator: A discriminator is trained to distinguish between real and synthetic samples. If the discriminator cannot differentiate between them, the features are considered aspect-invariant.
Examples of aspect-invariant and aspect-dependent sentiment extraction.

Architectural Schemes

The authors explored three integration strategies for combining invariant and dependent features:

  • Integration (ISF): A unified model learns all features simultaneously.
  • Concatenation (CSF): Invariant and dependent features are extracted by separate modules and then concatenated.
  • Gated Fusion (GSF): This approach uses a gating mechanism to dynamically weight the contribution of aspect-invariant versus aspect-dependent features based on the input sentence. GSF proved to be the most effective strategy.

Experimental Setup

The framework was evaluated on two imbalanced benchmarks in the restaurant domain: SemEval 2015 Task 12 (Sem15) and SemEval 2016 Task 5 (Sem16). These datasets are characterized by a skewed distribution of aspects, making them ideal for testing the model's ability to generalize using invariant features.

Results and Discussion

The GSF+BERT combination established new state-of-the-art benchmarks, achieving an accuracy of 85.04% on Sem15 and 91.73% on Sem16.

Key Insights

  • Robustness to Data Scarcity: The model maintains high performance even when training data is reduced to less than 40% of the original set. Learning universal sentiment allows the model to "fill in the blanks" for rare aspects.
  • Adversarial Filtering: The adversarial component acts as a crucial filter, ensuring that only high-quality, indistinguishable features are treated as aspect-invariant, preventing the introduction of noise from low-quality synthetic data.
  • Feature Interaction: If swapping aspects results in nonsense (e.g., "The restaurant was slow"), the feature is identified as aspect-dependent. Conversely, if the sentence remains coherent and the polarity holds, it is aspect-invariant.

Conclusion

This research demonstrates that disentangling aspect-invariant sentiment features significantly enhances the accuracy and robustness of ABSA models. While the current study focused on the restaurant domain and excluded "NULL" entities, the underlying logic of adversarial multi-task learning offers a promising path for transfer learning. Future work may explore using these invariant "pivot features" to adapt models to entirely new domains or unseen aspects.

Summary updated

BibTeX
@inproceedings{liang2020aspect,
  author = {Bin Liang and Rongdi Yin and Lin Gui and Jiachen Du and Yulan He and Ruifeng Xu},
  title = {{Aspect-invariant Sentiment Features Learning: Adversarial Multi-task Learning for Aspect-based Sentiment Analysis}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2020},
  doi = {10.1145/3340531.3411868},
}
Figure