Interactive Attention Transfer Network for Cross-Domain Sentiment Classification

Kai Zhang, Hefu Zhang, Qi Liu, Hongke Zhao, Hengshu Zhu, Enhong Chen

Introduction

Cross-Domain Sentiment Classification (CDSC) aims to leverage sentiment knowledge from a labeled source domain (e.g., movie reviews) to predict sentiments in an unlabeled target domain (e.g., electronics). Traditional CDSC methods primarily focus on identifying domain-invariant "pivot words" like "excellent" or "terrible." However, these approaches often overlook the critical role of aspect-level information. For instance, "battery life" is a crucial aspect for electronics but irrelevant for books. The Interactive Attention Transfer Network (IATN) addresses this by explicitly modeling the relationship between sentences and their specific aspects.

Proposed Methodology: The IATN Framework

The IATN architecture is designed to capture the interplay between general sentence context and specific product aspects. It consists of two primary branches: the Sentence Network (S-net) and the Aspect Network (A-net).

Detailed architecture of the IATN, highlighting the S-net and A-net branches and the interactive attention mechanism.

Interactive Attention Mechanism

The core innovation of IATN is the Interactive Word Attention. Unlike standard attention mechanisms that operate in isolation, IATN uses the aspect representation from the A-net to guide word-level attention in the S-net. Conversely, the sentence representation from the S-net helps weigh the importance of different aspects in the A-net. This mutual supervision allows the model to resolve sentiment ambiguities—for example, identifying that "short" is a negative descriptor when the aspect is "battery life."

Adversarial Domain Adaptation

To ensure the learned features are transferable, IATN incorporates a Domain Classifier coupled with a Gradient Reversal Layer (GRL). This adversarial setup forces the network to extract features that are highly predictive of sentiment but indistinguishable between the source and target domains. This process ensures that the sentiment knowledge transferred is truly domain-invariant.

Key Insights: Aspects as Sentiment Anchors

A central premise of this work is that aspects serve as the bridge between domains. Even if the descriptive words change, the fact that a review discusses a specific attribute provides a stable structure for transferring sentiment.

Distribution of common vs. unique aspects across different domain pairs in the Amazon dataset, illustrating the overlap that facilitates transfer.

As shown in the analysis of domain pairs (Books, DVD, Electronics, Kitchen), while many aspects are unique to a specific domain, a significant portion of common aspects exists. By facilitating a dialogue between sentence context and aspect features through interactive attention, the model effectively leverages these anchors to resolve domain-specific sentiment nuances.

Experimental Evaluation

The researchers evaluated IATN on the Amazon benchmark and a real-world Crowdfunding dataset from Indiegogo.

  • Amazon Dataset: IATN achieved a state-of-the-art average accuracy of 85.9% across 12 transfer tasks, significantly outperforming models like HATN (84.7%) and DANN (79.4%). Ablation studies showed that removing aspect information (IATN$^n$) dropped performance by 2.2%, validating the importance of aspect-level modeling.
  • Crowdfunding Application: In a practical scenario, IATN's sentiment features were used to predict project success on Indiegogo, achieving 81.82% accuracy, which surpassed traditional LSTM and SVM baselines.

Conclusion

The Interactive Attention Transfer Network demonstrates that modeling the interaction between sentences and aspects is vital for robust cross-domain sentiment analysis. While the model currently relies on external aspect extraction tools, its ability to learn domain-invariant features through interactive attention marks a significant advancement in CDSC. Future research may focus on handling multiple conflicting sentiments within a single sentence and improving the robustness of the underlying aspect extraction process.

Summary updated

BibTeX
@inproceedings{zhang2019interactive,
  author = {Kai Zhang and Hefu Zhang and Qi Liu and Hongke Zhao and Hengshu Zhu and Enhong Chen},
  title = {{Interactive Attention Transfer Network for Cross-Domain Sentiment Classification}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.1609/aaai.v33i01.33015773},
}
Figure