Diagnosing Generalization in Open-Source LLMs for Stance Detection

Parush Gera, Tempestt Neal


Abstract
Stance detection identifies whether a text expresses support, opposition, or neutrality toward a target and is central to applications such as political analysis and misinformation monitoring. With the shift toward large language models (LLMs), stance classification increasingly relies on prompting and lightweight adaptation. Yet the generalization behavior of open-source LLMs across new targets and domains remains uneven. We conduct a large-scale diagnostic study of four open-source LLMs (3B–24B parameters), examining how model size, prompting strategies, and Low-Rank Adaptation (LoRA) interact across in-target, cross-target, and cross-domain settings. Across 912 experiments, three patterns emerge: (1) larger models improve prompting-based in-target performance, but this advantage diminishes after fine-tuning; (2) LoRA boosts in-target accuracy yet often harms cross-context transfer; (3) optimal prompting depends on model size. These results reveal a consistent tension between specialization and generalization, offering practical guidance for configuring LLM-based stance detection under transfer.
Anthology ID:
2026.starsem-conference.21
Volume:
Proceedings of the 15th Joint Conference on Lexical and Computational Semantics (*SEM 2026)
Month:
July
Year:
2026
Address:
San Diego, California, United States
Editors:
Saif M. Mohammad, Nedjma Ousidhoum
Venues:
*SEM | WS
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
317–330
Language:
URL:
https://preview.aclanthology.org/ingest-acl-workshops/2026.starsem-conference.21/
DOI:
Bibkey:
Cite (ACL):
Parush Gera and Tempestt Neal. 2026. Diagnosing Generalization in Open-Source LLMs for Stance Detection. In Proceedings of the 15th Joint Conference on Lexical and Computational Semantics (*SEM 2026), pages 317–330, San Diego, California, United States. Association for Computational Linguistics.
Cite (Informal):
Diagnosing Generalization in Open-Source LLMs for Stance Detection (Gera & Neal, *SEM 2026)
Copy Citation:
PDF:
https://preview.aclanthology.org/ingest-acl-workshops/2026.starsem-conference.21.pdf