Introduction
Stance detection is the task of determining whether a piece of text—or a combination of text and imagery—expresses a favorable, unfavorable, or neutral attitude toward a specific target. This is a critical component of social media analysis, yet it remains a significant challenge for automated systems. Human communication is frequently implicit, laden with sarcasm, and increasingly multimodal, relying on the interplay between text and visual memes to convey meaning.
Traditional stance detection models rely heavily on supervised learning, requiring large, manually labeled datasets for every new topic. Even existing "zero-shot" methods often depend on cross-topic training. Researchers have recently introduced Tree-of-Counterfactual (ToC) prompting, a "Tabula Rasa" zero-shot approach. This method enables Large Language Models (LLMs) to perform stance detection on entirely novel topics or specific "Frames of Communication" without any prior training examples or few-shot demonstrations.
Stance Objects: Topics vs. Frames
A key distinction in this research is the nature of the "stance object." While traditional tasks focus on broad Topics (e.g., "Abortion"), more nuanced analysis often requires detecting stance toward a Frame of Communication—a specific argument or perspective within a topic (e.g., "Vaccines are a violation of civil liberties").
As shown in Figure 1, detecting stance toward a frame often requires less external "world knowledge" than broad topics, as the frame itself provides the context for the argument. However, when these frames are presented via multimodal content like memes, the complexity increases significantly. The interaction between text and image can often be sarcastic, requiring the model to interpret visual cues alongside linguistic ones.
The Tree-of-Counterfactual (ToC) Framework
The core innovation of this work is the ToC prompting framework. Standard "Chain-of-Thought" (CoT) reasoning in LLMs often suffers from "early commitment" bias, where the model decides on a label too quickly and then generates a rationale to justify its initial (and potentially incorrect) hunch. ToC mitigates this by forcing the model to play "devil's advocate."
The framework operates in three distinct phases:
- Phase A: Counterfactual Tree Construction: The system initializes three parallel reasoning branches for every input: Accept, Reject, and No Stance.
- Phase B: Chain-of-Explanation (CoE): The LLM is prompted to generate a detailed, step-by-step rationale for each of the three possible stances. By being forced to explain why a post might be a "Reject" even if it looks like an "Accept," the model is more likely to uncover subtle sarcasm or contradictory visual cues.
- Phase C: Counterfactual Chain-of-Contrastive Verification (C-CoCV): The model reviews all three generated rationales simultaneously. It critiques the strengths and weaknesses of each argument against the evidence provided in the social media post (text and image) to arrive at the most logically sound final judgment.
Experimental Results
The ToC method was evaluated across three benchmarks: SemEval-2016 (text-only topics), CoVaxFrames (text-only frames), and MMVax-Stance (multimodal frames).
- Text-Only Performance: On SemEval-2016, GPT-4 with ToC achieved a Macro F1 of 77.1, outperforming the best fine-tuned supervised models (such as TimeLMs at 72.9). On CoVaxFrames, it reached 79.1 Macro F1, again surpassing state-of-the-art supervised systems.
- Multimodal Performance: In the challenging MMVax-Stance dataset, where memes often use sarcasm (e.g., using a Nazi character from a film to mock vaccine mandates), GPT-4V with ToC achieved a 60.6 Macro F1. While it did not beat a supervised model trained on tens of thousands of synthetic examples, it significantly outperformed all other zero-shot and baseline multimodal models.
Conclusion and Future Work
Tree-of-Counterfactual prompting demonstrates that forcing LLMs to consider and contrast multiple interpretations leads to superior zero-shot performance, especially in complex communication scenarios. By design, the method provides transparent, explainable reasoning for its classifications.
Future research will focus on expanding the framework to handle dynamic content like videos and GIFs. Additionally, the authors aim to address cultural biases in LLMs, as these models' understanding of "common sense" or "moral norms" is currently heavily skewed toward Western contexts.
Summary updated