Abstract
Cross-domain sentiment classification is a significant challenge in Natural Language Processing due to the shift in feature distributions across different product domains. This paper proposes a POS-based ensemble model that categorizes features into four groups based on Part-of-Speech (POS) tags: adjectives/adverbs (J), verbs (V), nouns (N), and others (O). By leveraging the observation that adjectives are more domain-independent than nouns, the model employs a weighted ensemble optimized via Stochastic Gradient Descent using a small amount of labeled target domain data. Experimental results on the Multi-Domain Sentiment Dataset demonstrate that the proposed Minimal Classification Error (MCE) optimization criterion consistently outperforms standard unigram baselines, achieving an average accuracy improvement of 3.94%.
Introduction
Sentiment classification models often suffer from a significant drop in performance when applied to a target domain different from the source domain used for training. For instance, a classifier trained on book reviews may fail to accurately predict sentiment in electronics reviews because the indicative vocabulary changes (e.g., "plot" vs. "battery life"). This "domain adaptation" problem arises because some features are domain-dependent while others are domain-free. The authors propose a "divide and conquer" strategy using POS tags to bridge this gap, recognizing that certain parts of speech are more stable across domains than others.
Methodology
The proposed approach utilizes a two-stage ensemble architecture:
- Feature Grouping: Features are partitioned into four groups based on their POS tags: J (adjectives and adverbs), V (verbs), N (nouns), and O (others).
- Base Classifiers: Four separate Naive Bayes classifiers are trained, one for each POS group, using labeled data from a source domain.
- Weighted Ensemble: The outputs of these four classifiers are combined into a single prediction using a weighted sum.
- Weight Optimization: Weights are optimized using a small set of labeled target domain data (50–300 instances) through Stochastic Gradient Descent (SGD). Two optimization criteria were evaluated: Average Perceptron (Perc) and Minimal Classification Error (MCE).
Results and Discussion
Analysis using Kullback-Leibler (K-L) distance confirmed that nouns (N) vary significantly across domains, whereas adjectives and adverbs (J) remain relatively stable. This insight suggests that an ensemble model should lean more heavily on the stable "J" group when performing cross-domain tasks.
As shown in Table 1, the MCE-optimized ensemble achieved the highest average accuracy (74.48%), outperforming the standard unigram baseline (70.54%) and the simple sum-based ensemble (70.71%). The model is particularly effective when labeled target data is scarce, making it a practical choice for real-world adaptation.
Figure 1 illustrates that the ensemble models (Perc and MCE) significantly outperform the "In-domain" and "No transfer" baselines even with as few as 50 labeled target instances. The performance scales as more target data is provided, eventually surpassing the "In-domain" baseline which only utilizes target data.
Conclusion
The POS-based ensemble model effectively addresses the domain adaptation problem by prioritizing domain-independent features like adjectives. The MCE optimization strategy provides a robust way to tune ensemble weights with minimal labeled data. Future work includes extending this to multi-source transfer learning and incorporating unlabeled data from the target domain to further refine feature representations.
Summary updated