Improving Stance Detection with Multi-Dataset Learning and Knowledge Distillation

Yingjie Li, Chenye Zhao, Cornelia Caragea

Introduction

Stance detection is a critical task in Natural Language Processing (NLP) that involves identifying an author's attitude—typically categorized as Favor, Against, or Neutral—toward a specific target. Unlike sentiment analysis, which gauges general emotion, stance detection requires understanding the relationship between a text and a specific topic, which may not even be explicitly mentioned.

An example of a stance detection task involving a tweet, a target, and the resulting stance label.

The Challenges of Stance Detection

Current research in stance detection faces three primary obstacles:

  1. Data Scarcity: High-quality, annotated datasets for specific targets are often small, limiting the model's ability to learn complex linguistic nuances.
  2. The "Ad-hoc" Trap: Most existing models are trained on a single target (Ad-hoc). This often leads to overfitting, where the model memorizes keywords specific to that target rather than learning the general logic of expressing a stance.
  3. Hard Label Limitations: Standard training utilizes "hard labels" (e.g., 100% Favor), which fails to capture the semantic proximity between categories. For instance, a "Neutral" stance might be closer to "Favor" than "Against" in certain contexts.

Proposed Methodology

To address these issues, this research introduces a unified approach combining Multi-Dataset Learning and Adaptive Knowledge Distillation (AKD).

Multi-Dataset Learning

The researchers shifted from training separate models for each target to training a single, unified model based on BERTweet across multiple diverse datasets. This approach encourages the model to develop "universal representations"—a generalized understanding of how stance is expressed across various domains like politics, finance, and social issues.

Comparison of (a) Ad-hoc, (b) Multi-target, and (c) Multi-dataset learning architectures.

Adaptive Knowledge Distillation (AKD)

Knowledge Distillation typically involves a "Teacher" model transferring its learned probability distributions ("soft labels") to a "Student" model. The authors enhance this with Adaptive Knowledge Distillation (AKD), which employs instance-specific temperature scaling:

  • High Confidence: For "typical" examples where the teacher is certain, a lower temperature maintains a sharp distribution.
  • Low Confidence: For "ambiguous" examples, a higher temperature "softens" the distribution, providing the student with more nuanced information about the relationships between different classes.

Experimental Setup and Datasets

The study evaluated the model across 20+ targets from five major datasets, including SemEval-2016 (social/political topics), Multi-Target (2016 US Election), Argument Mining (social issues), WT-WT (financial mergers), and a COVID-19 dataset regarding lockdown policies. To test generalization, the models were also evaluated on "zero-shot" sets: Election-2020 and WT-WT-E (Entertainment domain), neither of which were seen during training.

Key Results and Insights

The proposed framework achieved state-of-the-art (SOTA) performance across multiple benchmarks:

  • Superior Performance: The unified multi-dataset model significantly outperformed traditional ad-hoc and multi-target models on the MT and SemEval datasets.
  • AKD Effectiveness: The inclusion of AKD improved the average F1-score from 66.90% to 68.17%.
  • Robust Generalization: On the unseen Election-2020 dataset, the AKD-enhanced model achieved an F1-score of 74.52%. This demonstrates that the model successfully learned a "universal language of stance" rather than simply memorizing topic-specific keywords.

Conclusion

By leveraging multi-dataset training and adaptive distillation, this research demonstrates that stance detection can be made more robust and generalizable. Future work may involve extending this framework to other languages and related tasks such as rumor detection, further exploring the boundaries of "universal stance" representation.

Summary updated

BibTeX
@inproceedings{li2021improving,
  author = {Yingjie Li and Chenye Zhao and Cornelia Caragea},
  title = {{Improving Stance Detection with Multi-Dataset Learning and Knowledge Distillation}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  doi = {10.18653/v1/2021.emnlp-main.511},
}
Figure