Zero-shot stance detection in practice: insights on training, prompting, and decoding with a capable lightweight LLM

Read full text
Authors: Rachith Aiyappa, Shruthi Senthilmani, Jisun An, Haewoon Kwak, Yong-Yeol Ahn
Cited by: 1
References: 57

Abstract

We investigate the performance of Large Language Model (LLM)-based zero-shot stance detection on tweets. Using FlanT5-XXL, an instruction-tuned open-source LLM, with the SemEval 2016 Tasks 6A, 6B, and P-Stance datasets, we analyze how its performance varies under different prompts and decoding strategies, as well as potential model biases. We show that the zero-shot approach can match or outperform state-of-the-art methods, including fine-tuned models. Additionally, we provide practical insights into its performance, including sensitivity to instructions and prompts, decoding strategies, prompt perplexity, and the role of negations and oppositions. We ensure that the LLM has not been trained on test datasets and identify a positivity bias that may partially explain performance differences across decoding strategies. Finally, we conduct a qualitative analysis of cases where the LLM consistently fails, uncovering questionable ground truth labels and an overconfidence in assigning a stance when none exists. In sum, we provide an in-depth case study of using an LLM for a stance detection task, which can serve as a guide for practitioners seeking to leverage LLMs for similar tasks and use cases.

Fields of Study & Subjects

Topic Modeling Computational and Text Analysis Methods Misinformation and Its Impacts

Publication details

Journal / source
PeerJ Computer Science
Publisher
PeerJ
Volume
12
Pages
e3540–e3540
Publication date
12 February 2026
Language
EN