Domain and Task-Informed Sample Selection for Cross-Domain Target-based Sentiment Analysis

Kasturi Bhattacharjee, Rashmi Gangadharaiah, Smaranda MuresanICNLSP 2021

Introduction: The Challenge of Domain Shift

Target-based sentiment analysis (TBSA) is a fine-grained task that identifies sentiment associated with specific entities or "targets" in text. For example, in the sentence "The screen is great but the battery is terrible," a TBSA model must recognize "screen" as positive and "battery" as negative.

A significant hurdle for TBSA is domain dependency. Models trained on one domain (e.g., restaurant reviews) often fail when applied to another (e.g., laptop reviews) because both the targets (e.g., "food" vs. "operating system") and the sentiment-bearing words (e.g., "delicious" vs. "fast") change significantly.

Examples of domain-specific targets and sentiment expressions across different domains.

Annotating these fine-grained targets is labor-intensive. This paper addresses the problem of sample selection: how can we identify the most informative subset of data in a new target domain for manual annotation to minimize cost while maximizing model performance?

Proposed Method: RS+Entropy Sampling

The authors introduce a hybrid sampling strategy that targets two dimensions of domain shift: new targets and new sentiment expressions. They utilize a BERT-based model and combine two distinct selection criteria:

  1. Entropy-based Sampling (Informativeness): This method selects documents where the source-trained model is most uncertain. High entropy typically indicates the presence of unfamiliar targets (e.g., a laptop model encountering "Lobster bisque") that the model cannot confidently classify.
  2. Relative Salience (RS) Sampling (Representativeness): To capture domain-specific sentiment expressions, the authors focus on adjectives. They calculate "Relative Salience" to find adjectives frequent in the target domain but rare in the source domain (e.g., "romantic" in restaurant reviews compared to laptop reviews). Documents containing these salient words are prioritized.

The final strategy, RS+Entropy, combines these two approaches. This ensures the selected data teaches the model both new entities and the specific vocabulary used to describe them in the new domain.

Experimental Setup

The approach was evaluated across three English datasets:

  • Restaurants (R): SemEval 2016 Task 5.
  • Laptops (L): SemEval 2014 Task 4.
  • Twitter (T): Tweets about celebrities and products.

The researchers tested three cross-domain scenarios: Restaurants -> Laptops (R->L), Laptops -> Restaurants (L->R), and Laptops -> Twitter (L->T).

Key Results and Data Efficiency

The RS+Entropy strategy demonstrated remarkable data efficiency, consistently outperforming random and entropy-only baselines.

Performance comparison for the Restaurants to Laptops (R->L) setting, showing RS+Entropy reaching full supervised performance with minimal data.
  • Massive Efficiency: The method achieves 86-100% of the performance of a fully supervised model (trained on the entire target dataset) using only 4-15% of the target domain's training data.
  • R->L Success: In the Restaurants to Laptops setting, the model reached 100% of fully supervised performance with just ~4% (50 documents) of the training data.
  • L->T Performance: For Laptops to Twitter, the model reached 92.26% of supervised performance using ~11% of the data.

Insights and Future Directions

The success of this approach highlights that domain adaptation in TBSA is two-dimensional. By addressing both target uncertainty (via entropy) and sentiment vocabulary (via Relative Salience), the model gains a more comprehensive understanding of the new domain.

While the "adjective proxy" for sentiment is highly effective, it may miss nuanced expressions in informal domains like Twitter. Future work could integrate this smart sampling with unsupervised domain adaptation techniques to further reduce the need for human annotation.

Summary updated

BibTeX
@inproceedings{bhattacharjee2021domain,
  author = {Kasturi Bhattacharjee and Rashmi Gangadharaiah and Smaranda Muresan},
  title = {{Domain and Task-Informed Sample Selection for Cross-Domain Target-based Sentiment Analysis}},
  booktitle = {ICNLSP},
  year = {2021},
}
Figure