NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Intermediate-Task Transfer Learning: Leveraging Sarcasm Detection for Stance Detection

Gibson Nkhata, Susan GaucharXiv 2025 · DOI

Introduction

Stance Detection (SD) is the automated process of determining an author's position—InFavor, Against, or None—regarding a specific topic. While critical for understanding public opinion, SD models frequently struggle with social media text where users employ non-literal language. Sarcasm, in particular, acts as a "stance flipper," where positive lexical choices (e.g., "I love how the bus is always late") mask a negative underlying position. This paper addresses this "sarcasm bottleneck" by introducing a transfer learning framework that uses sarcasm detection as an intermediate task to prime models for more accurate stance classification.

Methodology

The authors propose a multi-stage transfer learning approach utilizing a hybrid deep learning architecture designed to capture both global context and local linguistic nuances.

The Hybrid Architecture

Unlike standard models that apply a simple linear classifier over a transformer backbone, this model employs a more complex head to better identify the markers of irony:

  1. Backbone: The model uses BERT or RoBERTa as an embedding layer to capture deep linguistic features.
  2. Convolutional Layers (CNN): Two Conv layers are added to discern specific sequential word patterns that often signal sarcasm.
  3. Bidirectional LSTM (BiLSTM): This layer captures higher-level stance representations and long-range dependencies across the text.
  4. Dense Layer: A final layer for the three-way stance classification.

Intermediate-Task Transfer Learning

The core innovation is the training pipeline. The model is first fine-tuned on a sarcasm detection dataset (the intermediate task). Once the model has learned to recognize the linguistic structures of sarcasm, it is then fine-tuned on the primary stance detection datasets.

Experimental Setup

The study utilized several datasets to test the cross-domain effectiveness of the approach:

  • Target Task (Stance Detection): SemEval 2016 Task 6A (Tweets on topics like Climate Change and Feminism) and MPCHI (formal health-related queries).
  • Intermediate Task (Sarcasm Detection): SaV2C (political dialogues), SARC (Reddit), and SARCTwitter (ST) (manually annotated tweets).

Key Insights and Results

Overcoming the Sarcasm Bottleneck

The research confirmed that before sarcasm pre-training, most sarcastic sentences with an "Against" stance were misclassified as "InFavor." By introducing the sarcasm detection task, the model gained a "corrective lens." In a failure analysis, the authors found that the sarcasm-infused model correctly predicted 85% of the sarcastic texts that the baseline model had previously misclassified.

Performance Gains

Even without the sarcasm pre-training, the proposed BERT+CNN+BiLSTM hybrid outperformed existing state-of-the-art (SOTA) models—including ChatGPT and Com-BERT—by average F1-score gaps of 0.038 on SemEval and 0.053 on MPCHI. Adding the sarcasm pre-training (using the SARCTwitter dataset) further boosted the SemEval F1-score to 0.775.

The Importance of Domain Alignment

The study revealed that the success of transfer learning is highly contingent on the correlation between the intermediate and target datasets. The SARCTwitter (ST) dataset provided the best results for the SemEval task because both were sourced from Twitter. Conversely, using Reddit-based sarcasm data (SARC) on Twitter-based stance tasks sometimes introduced noise, suggesting that the "style" of sarcasm must match the target domain to be effective.

Conclusion

By leveraging sarcasm detection as a foundational step, this framework significantly improves the robustness of stance detection models against non-literal language. While the hybrid architecture (BERT + CNN + BiLSTM) is more computationally expensive than simpler models, its ability to correctly interpret the intent behind sarcastic communication marks a significant step forward in social media analytics. Future work may explore incorporating other intermediate tasks, such as emotion or sentiment analysis, to create an even more nuanced understanding of human intent.

Summary updated

BibTeX
@misc{nkhata2025intermediate,
  author = {Gibson Nkhata and Susan Gauch},
  title = {{Intermediate-Task Transfer Learning: Leveraging Sarcasm Detection for Stance Detection}},
  year = {2025},
  eprint = {2503.03172},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.03172},
}
Figure