Biographies, Bollywood, Boom-boxes and Blenders: Domain Adaptation for Sentiment Classification

John Blitzer, Mark Dredze, Fernando PereiraACL 2007

Introduction

Sentiment analysis—the task of determining whether a review is positive or negative—is highly context-dependent. A word like "unpredictable" might be a glowing compliment for a mystery novel but a scathing critique for a kitchen toaster. This linguistic variance across domains presents a significant challenge for machine learning: to build a classifier for every product category, one would traditionally need to manually label thousands of reviews for each, which is prohibitively expensive. This paper addresses the "domain adaptation" problem, proposing methods to transfer knowledge from a labeled "source" domain to an unlabeled "target" domain.

Methodology: Refining Structural Correspondence Learning

The authors build upon Structural Correspondence Learning (SCL), which identifies "pivot features"—words that behave similarly across domains (e.g., "excellent," "awful")—to learn correspondences between domain-specific terms. The paper introduces several key innovations to this framework:

  1. SCL-MI (Mutual Information): While standard SCL selects pivots based on frequency, the authors argue that frequency alone is insufficient for sentiment. They utilize Mutual Information to select pivots that are both frequent across domains and highly predictive of sentiment in the source domain.
  2. Correcting Misalignments: To handle noisy projections where features are incorrectly linked, the authors demonstrate that a "booster shot" of just 50 labeled target instances can significantly help the model filter out irrelevant domain-specific noise.
  3. Quantifying Domain Similarity: The researchers utilize $\mathcal{A}$-distance, a mathematical measure that quantifies the difference between two domains by testing how easily a linear classifier can distinguish between their unlabeled samples.
Figure 3: The correlation between Proxy A-distance and actual adaptation loss across domain pairs.

As shown in the figure above, the $\mathcal{A}$-distance is not merely a theoretical construct; it correlates strongly with actual adaptation loss. This allows developers to use unlabeled data to predict which source domain will serve as the best proxy for a new target domain before any labeling occurs.

Experimental Setup

The study utilizes a benchmark dataset of Amazon product reviews across four categories: Books, DVDs, Electronics, and Kitchen Appliances. Each domain contains 2,000 labeled reviews and several thousand unlabeled reviews, allowing for the testing of all 12 possible transfer pairs (e.g., Books $\rightarrow$ Kitchen).

Key Results and Discussion

The proposed SCL-MI method significantly outperforms both the baseline and standard SCL. On average, SCL-MI reduced the relative error of adaptation by 30% over original SCL and 46% over a non-adapted baseline.

Figure 1: Accuracy comparison between baseline, SCL, and SCL-MI across various domain transfer pairs.

In several instances, such as the transfer from Kitchen to Electronics, the adapted SCL-MI model actually outperformed a model trained directly on the target domain. This suggests that the unlabeled data provides a rich source of structural information that standard supervised learning often misses. Furthermore, the "bridge" effect allows the model to learn that a word like "predictable" in a book review implies negative sentiment by observing its co-occurrence with universal pivots like "awful" in unlabeled data.

Conclusion

By refining pivot selection through Mutual Information and utilizing $\mathcal{A}$-distance to predict transfer success, this work provides a robust framework for sentiment domain adaptation. The results demonstrate that minimal human intervention—such as labeling only 50 examples—combined with sophisticated structural learning can bridge the gap between disparate product categories, from biographies to blenders.

Summary updated

BibTeX
@inproceedings{blitzer2007biographies,
  author = {John Blitzer and Mark Dredze and Fernando Pereira},
  title = {{Biographies, Bollywood, Boom-boxes and Blenders: Domain Adaptation for Sentiment Classification}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2007},
}
Figure