Multi-Domain Targeted Sentiment Analysis

Orith Toledo-Ronen, Matan Orbach, Yoav Katz, Noam Slonim

Introduction

Targeted Sentiment Analysis (TSA) has progressed from simple document-level classification to identifying sentiment toward specific entities or features within a text. For instance, in the sentence "The service was great but the food was cold," a TSA system must correctly identify service as positive and food as negative. However, a significant bottleneck remains: language is highly domain-specific. A "noisy" environment might be negative for a hotel but positive for a concert.

Most existing TSA systems are either "in-domain" or "cross-domain," requiring specific training for each category. In real-world applications, systems must handle a "multi-domain" stream of reviews—from electronics to travel—often without explicit domain labels or prior exposure during training. This paper introduces a robust approach to Multi-Domain TSA using an iterative self-training process to generate "weak labels" from massive unlabeled data, creating a single model that generalizes across diverse, unseen domains.

Methodology

The core of the proposed approach is a self-training framework designed to bridge the gap between limited labeled data and the vast diversity of real-world domains.

The TSA Engine

The researchers treat TSA as a sequence-tagging problem. They employ a unified "IO" (Inside/Outside) tagging scheme where tokens are labeled as Positive, Negative, or None. This allows the model to identify both the target entity and its associated sentiment simultaneously.

Iterative Self-Training

The process begins with a "Low-Diversity" (LD) model trained on standard labeled datasets (e.g., SemEval restaurant/laptop data). This model is then used to predict sentiment targets on a massive unlabeled corpus of 2 million sentences from Yelp.

Iterative self-training pipeline for Multi-Domain TSA.

To ensure the model learns a balanced representation, the authors implemented Data Selection and Domain Balancing. Instead of simply adding all predictions to the training set—which would bias the model toward dominant categories like restaurants—they select only high-confidence predictions and cap the number of sentences per domain (e.g., 20k sentences). These "weak labels" are then used to retrain the model iteratively.

Datasets and Evaluation

The study utilizes several key data sources:

  • Labeled Training Data: SemEval 2014 (SE) datasets focusing on Restaurants and Laptops.
  • Unlabeled Corpus: 2 million sentences from the Yelp reviews corpus, spanning 18 distinct domains including Health, Travel, and Automotive.
  • Evaluation Benchmarks: The models were tested on standard benchmarks (SE, MAMS) and the more diverse, open-domain YASO dataset. The authors also contributed a new manually annotated "Multi-Domain" (MD) dataset of 952 sentences to serve as a high-quality evaluation gold standard.

Results and Key Insights

The iterative self-training approach yielded significant performance gains across all tested architectures, including BERT-Base and sentiment-aware models like SENTIX.

Performance and Generalization

On the diverse YASO dataset, the BERT-Base model’s F1 score increased from 48.7 to 53.7, representing a ~10% relative gain. Crucially, the self-training process improved performance not only on new domains but also on the original training domains (Restaurants/Laptops). This suggests that exposure to diverse sentiment expressions across 18 categories helps the model learn a more robust, general representation of sentiment-bearing language.

Precision-Recall curves across various domains, comparing models with and without weakly labeled (WL) data.

Weak Labels vs. Manual Annotation

One of the most striking findings is that augmenting a model with machine-generated "weak labels" performed nearly as well as using expensive, manually labeled diverse data. Furthermore, the model remains domain-agnostic; it does not require explicit domain labels (e.g., "this is a movie review") during inference to perform accurately.

Conclusion and Future Work

This research demonstrates that iterative self-training with domain balancing is a highly effective strategy for building generalizable TSA systems. While "exact match" evaluation metrics may sometimes be overly strict—penalizing correct targets that differ slightly from gold labels—the overall trend shows a clear advantage for multi-domain training.

Future work will explore extending this framework to multilingual TSA, leveraging unlabeled data in various languages to create a globally robust sentiment engine. Additionally, the authors aim to incorporate aspect category identification to further refine the granularity of the analysis.

Summary updated

BibTeX
@inproceedings{toledoronen2022multi,
  author = {Orith Toledo-Ronen and Matan Orbach and Yoav Katz and Noam Slonim},
  title = {{Multi-Domain Targeted Sentiment Analysis}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.naacl-main.198},
}
Figure