arXiv · 2506.22232
Leveraging In-Context Learning for Political Bias Testing of LLMs
Abstract
A growing body of work has been querying LLMs with political questions to evaluate their potential biases. However, this probing method has limited stability, making comparisons between models unreliable. In this paper, we argue that LLMs need more context. We propose a new probing task, Questionnaire Modeling (QM), that uses human survey data as in-context examples. We show that QM improves the stability of question-based bias evaluation, and demonstrate that it may be used to compare instruction-tuned models to their base versions. Experiments with LLMs of various sizes indicate that instruction tuning can indeed change the direction of bias. Furthermore, we observe a trend that larger models are able to leverage in-context examples more effectively, and generally exhibit smaller bias scores in QM. Data and code are publicly available.
Explore related subjects
Keep this discovery
Patrick Haller, Jannis Vamvas, Rico Sennrich, Lena A. Jäger. 2025-06-27. Leveraging In-Context Learning for Political Bias Testing of LLMs. https://arxiv.org/abs/2506.22232
Cite the original work for its findings. Save a collection to share your selection of sources.