TL;DR
Large Language Models (LLMs) frequently stumble in stance detection due to deep-seated biases, such as conflating positive sentiment with agreement or favoring specific topics. This paper introduces FACTUAL, a framework that fixes these predictions using an external, trainable calibration network and counterfactual data augmentation. By decoupling the debiasing process from the LLM itself, FACTUAL achieves state-of-the-art stance detection performance without risking catastrophic forgetting or requiring access to closed-source model weights.
What Problem Does This Paper Address?
Stance detection is the task of determining an author’s attitude (Favor, Against, or Neutral) toward a specific target or topic. While LLMs excel at many NLP tasks, their data-driven nature makes them highly susceptible to systematic biases embedded in their training data.
The authors identify two primary forms of bias plaguing LLMs in stance detection:
- Sentiment-Stance Spurious Correlations (SSC): LLMs often take a lazy shortcut, assuming that text with a positive sentiment implies a "Favor" stance and negative sentiment implies an "Against" stance.
- Target Preference Bias (TPB): LLMs exhibit inherent favoritism or prejudice toward specific controversial individuals or topics (e.g., political figures), skewing their judgment regardless of what the text actually says.
Traditional debiasing methods rely on retraining or fine-tuning the models. However, this is problematic for LLMs: it can cause catastrophic forgetting (erasing general capabilities), and it is entirely impossible for closed-source models accessed via restricted APIs (like GPT-3.5 or GPT-4).
Methods
To solve this, the authors propose FACTUAL (Counterfactual Augmented Calibration Network). Instead of altering the LLM, FACTUAL passes the LLM's stance predictions, rationales, and the original text through an external, lightweight calibration network (built on RoBERTa-base). This network learns to approximate the inverse of the LLM's bias distribution to output a corrected, unbiased stance.
To train this calibration network effectively, the framework generates Counterfactual Augmented Data (CAD) via two strategies:
- Non-Causal CAD: The text or target is perturbed to alter bias-inducing features (like changing sentiment words or swapping targets) while keeping the true stance label identical. This teaches the model to ignore spurious cues.
- Causal CAD: The actual causal features of the text are manipulated to reverse the stance, forcing the calibration network to focus strictly on true indicators of stance.
Datasets
The framework was evaluated across three widely recognized stance detection benchmarks:
- SemEval-2016 Task 6 (Sem16): Contains tweets covering targets like Hillary Clinton, Legalization of Abortion, and Atheism.
- P-Stance: A large-scale dataset focused on the political domain, specifically targeting figures like Joe Biden, Bernie Sanders, and Donald Trump.
- Varied Stance Topics (VAST): A dataset containing thousands of diverse topics, explicitly designed to evaluate zero-shot stance detection capabilities.
Key Insights and Ideas
- Prompt Engineering is Not Enough: The authors experimented with advanced prompting techniques, including Chain-of-Thought (CoT) and explicit debiasing instructions (e.g., telling the model "do not use emotion as the only basis"). Surprisingly, these prompt adjustments failed to effectively mitigate the underlying biases.
- Bias Directly Harms Performance: Statistical analysis revealed a strong negative correlation between an LLM's stance bias and its detection accuracy. Mitigating bias isn't just an ethical imperative; it directly unlocks better task performance.
- The Power of Decoupling: By treating the LLM as a frozen feature generator and using a small downstream model for calibration, the authors prove you can debias black-box commercial APIs efficiently.
Key Results
FACTUAL consistently outperformed vanilla LLMs and traditional fine-tuned baselines in both in-target and zero-shot scenarios:
- In-Target Performance: On the Sem16 dataset,
FACTUAL_GPT-3.5achieved a macro F1-score of 76.16%, a massive leap from the baseline task description score of 61.02%. - Zero-Shot Generalization: On the VAST dataset (unseen targets),
FACTUAL_LLaMA-2achieved an F1-score of 79.62%, outperforming the standard LLaMA-2 baseline (68.54%) and even beating a fully fine-tuned LLaMA-2-7b model (77.80%). - Bias Reduction: FACTUAL drastically reduced quantified bias metrics (Bias-SSC and Bias-TPB) across the board, proving that the performance gains were directly tied to successful debiasing.
Limitations and Future Work
While highly effective, the framework relies on an LLM (GPT-3.5-turbo in this study) to automatically generate the counterfactual training data. This means any errors or hallucinations during data generation could propagate into the calibration network. The authors note that exploring manual annotation or alternative, more robust data-generation methods remains an open area for future research. Additionally, while this work targeted sentiment and topic biases, the framework could be extended to address other demographic or cultural biases in the future.
Summary updated