Few-Shot Cross-Lingual Stance Detection with Sentiment-Based Pre-Training

Momchil Hardalov, Arnav Arora, Preslav Nakov, Isabelle Augenstein

Introduction

Stance detection—identifying whether a text is "for," "against," or "neutral" toward a specific target—is a critical component of social media analysis and fact-checking. While English-language stance detection has seen significant progress, non-English contexts remain challenging due to data scarcity. Datasets in other languages are often small (fewer than 1,000 examples) and highly localized, such as those concerning specific regional political referendums. This paper addresses these challenges by combining Pattern-Exploiting Training (PET) with a novel sentiment-based pre-training strategy to improve performance in few-shot and cross-lingual scenarios.

Methodology: Label Encoding and Sentiment Bootstrapping

The authors introduce two primary innovations to overcome the limitations of traditional few-shot learning methods.

A Novel Label Encoder

Standard PET typically requires "verbalizers"—a manual mapping of labels to single tokens within a model's vocabulary (e.g., mapping "Against" to "No"). This is often inadequate for stance detection, where labels can be multi-word phrases like "in favor" or "unrelated." To solve this, the researchers developed a label encoder that takes the original label text and averages its sub-word embeddings from a pre-trained XLM-R model. This approach eliminates the need for manual word-mapping and allows the model to process complex labels naturally.

Architecture of the proposed stance detection model featuring a novel label encoder and MLM-based prediction.

Sentiment-Based Stance Pre-training

Recognizing the linguistic overlap between sentiment and stance, the authors hypothesized that sentiment analysis could serve as a proxy for stance. They used a sentiment model to label millions of Wikipedia sentences, mapping positive sentiment toward a target to a "favor" stance. This process generated a massive "silver-standard" dataset for pre-training, allowing the model to learn the nuances of expressing viewpoints before being exposed to actual stance-labeled data.

Datasets and Experimental Setup

The study utilizes a comprehensive suite of 15 cross-lingual datasets covering 12 languages (including Arabic, Chinese, French, German, Hindi, and Russian) across six language families. For pre-training, the authors leveraged:

  • English Stance Datasets (enstance): 16 datasets used as a high-resource baseline.
  • Wikipedia (enWiki and mWiki): Used to generate synthetic sentiment-based stance data.

Key Results and Insights

The experimental results demonstrate that sentiment-based pre-training significantly boosts performance, particularly in data-constrained environments.

Few-Shot Performance Gains

In the "32-shot" setting, where the model is trained on only 32 examples, the sentiment-pre-trained model (mWiki) achieved an absolute improvement of over 6% in macro-average F1 score compared to standard pattern-based training. As shown in the results table, these gains persist across various shot counts, highlighting the robustness of the pre-training strategy.

Performance comparison (Macro F1) across different shot counts, showing the effectiveness of sentiment-based pre-training.

Universal Concepts of Stance

A notable finding is the "English Donor" effect: pre-training on English stance data (enstance) proved highly effective even for non-English tasks. This suggests that the underlying linguistic patterns used to express a stance are somewhat universal across languages in modern transformer architectures. Furthermore, the label encoder proved that manual verbalization is optional, simplifying the deployment of few-shot models for niche tasks without sacrificing accuracy.

Limitations and Future Outlook

Despite these advancements, few-shot models still exhibit high variance depending on the specific training examples selected. Additionally, while sentiment is a strong proxy, it is not a perfect substitute for stance, which is often more target-dependent (e.g., a positive sentiment about a rival's failure implies an "against" stance). Future research will focus on more sophisticated prompt engineering and better methods for bridging the gap between general sentiment and target-specific stance detection.

Summary updated

BibTeX
@inproceedings{hardalov2022few,
  author = {Momchil Hardalov and Arnav Arora and Preslav Nakov and Isabelle Augenstein},
  title = {{Few-Shot Cross-Lingual Stance Detection with Sentiment-Based Pre-Training}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i10.21318},
}
Figure