Quantifying the Influence of Irrelevant Contexts on Political Opinions Produced by LLMs

Samuele D’Avenia, Valerio Basile


Abstract
Several recent works have examined the generations produced by large language models (LLMs) on subjective topics such as political opinions and attitudinal questionnaires. There is growing interest in controlling these outputs to align with specific users or perspectives using model steering techniques. However, several studies have highlighted unintended and unexpected steering effects, where minor changes in the prompt or irrelevant contextual cues influence model-generated opinions.This work empirically tests how irrelevant information can systematically bias model opinions in specific directions. Using the Political Compass Test questionnaire, we conduct a detailed statistical analysis to quantify these shifts using the opinions generated by LLMs in an open-generation setting. The results demonstrate that even seemingly unrelated contexts consistently alter model responses in predictable ways, further highlighting challenges in ensuring the robustness and reliability of LLMs when generating opinions on subjective topics.
Anthology ID:
2025.acl-srw.28
Volume:
Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 4: Student Research Workshop)
Month:
July
Year:
2025
Address:
Vienna, Austria
Editors:
Jin Zhao, Mingyang Wang, Zhu Liu
Venues:
ACL | WS
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
434–454
Language:
URL:
https://preview.aclanthology.org/landing_page/2025.acl-srw.28/
DOI:
Bibkey:
Cite (ACL):
Samuele D’Avenia and Valerio Basile. 2025. Quantifying the Influence of Irrelevant Contexts on Political Opinions Produced by LLMs. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 4: Student Research Workshop), pages 434–454, Vienna, Austria. Association for Computational Linguistics.
Cite (Informal):
Quantifying the Influence of Irrelevant Contexts on Political Opinions Produced by LLMs (D’Avenia & Basile, ACL 2025)
Copy Citation:
PDF:
https://preview.aclanthology.org/landing_page/2025.acl-srw.28.pdf