Improving Domain-Adapted Sentiment Classification by Deep Adversarial Mutual Learning

Qianming Xue, Wei Zhang, Hongyuan Zha

Abstract

Sentiment classification models often struggle with the "semantic gap" when transitioning between disparate domains, such as movie reviews and restaurant critiques. This paper introduces Deep Adversarial Mutual Learning (DAML), a framework designed to bridge this gap in unsupervised domain adaptation (UDA). By employing a novel "label prober" mechanism, DAML enables two neural networks to mutually refine their understanding of sentiment signals in unlabeled target data. Experimental results on benchmarks like Yelp, IMDB, and Amazon reviews demonstrate that DAML achieves state-of-the-art performance, outperforming standard adversarial baselines by actively capturing target-specific sentiment polarity.

Introduction

A significant challenge in sentiment analysis is the domain shift: a model trained on Movie reviews (focusing on words like "romantic") often fails on Food reviews (where "tasty" is key). Traditional UDA methods typically focus on making features domain-invariant, effectively trying to make different domains look identical to the feature extractor. However, this often ignores the latent sentiment polarity within the target domain. While pseudo-labeling is a common workaround, it frequently introduces noise that can degrade model performance. DAML addresses these issues by combining adversarial learning with a specialized mutual learning architecture.

Methodology

The DAML architecture consists of two identical groups that "teach" each other through a peer-review process. Each group contains four primary components:

  1. Feature Extractor: Utilizes Hierarchical Attention Networks (HAN) to identify word and sentence-level importance.
  2. Domain Discriminator: Employs a Gradient Reversal Layer (GRL) to ensure learned features are indistinguishable between source and target domains.
  3. Sentiment Classifier: Trained using labeled data from the source domain.
  4. Label Prober: The core innovation of DAML. Unlike standard mutual learning where classifiers mimic each other directly, the Label Prober in one group learns from the predictions of the classifier in the other group. It then backpropagates this knowledge to its own feature extractor.
The DAML architecture featuring two mutual learning groups with Label Probers to facilitate knowledge transfer.

This prober setup acts as a buffer, preventing the main classifiers from directly trusting potentially incorrect pseudo-labels. Instead, it allows the feature extractors to gradually refine their understanding of target-domain sentiment without being misled by initial noisy guesses.

Experimental Results

DAML was evaluated on several cross-domain tasks, including Yelp to IMDB and various Amazon product categories (Electronics, CD, Clothing). The model achieved a state-of-the-art average accuracy of 64.5%, notably higher than the 63.1% achieved by the Domain-Adversarial Neural Network (DANN) baseline.

Comparison of accuracy in the target domain over training steps between DAML models and the DANN baseline.

As shown in the training dynamics, both models within the DAML framework consistently outperform DANN as training progresses. Beyond accuracy, DAML also reduced the Root Mean Square Error (RMSE) to 0.898, indicating more precise rating predictions. Visualization via t-SNE further confirmed that DAML creates clearer clusters of positive and negative sentiment in the target domain compared to standard mutual learning approaches.

Discussion and Key Insights

A critical finding of this research is that standard mutual learning—where models simply mimic each other's outputs—can actually be detrimental in unsupervised settings because models may reinforce each other's errors. The Label Prober is essential because it allows the feature extractor to learn from peer insights without forcing the classifier to commit to uncertain labels.

However, the framework does exhibit sensitivity to hyperparameters, specifically the weights of the loss functions ($\eta$ and $\lambda_M$). Additionally, the researchers found that scaling beyond two mutual learning groups provided diminishing returns, suggesting that a pair of models is optimal for this collaborative learning task.

Conclusion

Deep Adversarial Mutual Learning provides a robust framework for cross-domain sentiment classification by combining the strengths of adversarial domain invariance with a noise-resistant mutual learning strategy. By focusing on capturing target-specific sentiment polarity through the Label Prober, DAML sets a new benchmark for unsupervised domain adaptation. Future research will focus on developing automated methods for hyperparameter tuning in scenarios where no target labels are available.

Summary updated

BibTeX
@inproceedings{xue2020improving,
  author = {Qianming Xue and Wei Zhang and Hongyuan Zha},
  title = {{Improving Domain-Adapted Sentiment Classification by Deep Adversarial Mutual Learning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i05.6477},
}
Figure