What Do Llamas Really Think? Revealing Preference Biases in Language Model Representations
On the map: LLM reasoning → Reasoning benchmarks and evaluation
Abstract (arXiv)
Do large language models (LLMs) exhibit sociodemographic biases, even when they decline to respond? To bypass their refusal to "speak," we study this research question by probing contextualized embeddings and exploring whether this bias is encoded in its latent representations. We propose a logistic Bradley-Terry probe which predicts word pair preferences of LLMs from the words' hidden vectors. We first validate our probe on three pair preference tasks and thirteen LLMs, where we outperform the word embedding association test (WEAT), a standard approach in testing for implicit association, by a relative 27% in error rate. We also find that word pair preferences are best represented in the middle layers. Next, we transfer probes trained on harmless tasks (e.g., pick the larger number) to controversial ones (compare ethnicities) to examine biases in nationality, politics, religion, and gender. We observe substantial bias for all target classes: for instance, the Mistral model implicitly prefers Europe to Africa, Christianity to Judaism, and left-wing to right-wing politics, despite declining to answer. This suggests that instruction fine-tuning does not necessarily debias contextualized embeddings. Our codebase is at https://github.com/castorini/biasprobe.
Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 24 of its 41 references that are in the map. First posted on arXiv 30 Nov 2023.
Builds on
24 of 41 references.
Closest ancestors · 1
Same direction, newest first
Other references · 23
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
- 2016Semantics derived automatically from language corpora contain human-like biasescited by 901
- 2021Probing Classifiers: Promises, Shortcomings, and Advancescited by 876
- 2019Designing and Interpreting Probes with Control Taskscited by 640
- 2019On Measuring Social Biases in Sentence Encoderscited by 398
- 2019Is Attention Interpretable?cited by 389
- 2023Is ChatGPT Good at Search? Investigating Large Language Models as Re-Ranking Agentscited by 360
11 more
- 2019Lipstick on a Pig: Debiasing Methods Cover up Systematic Gender Biases in Word Embeddings But do not Remove Themcited by 268
- 2023From Pretraining Data to Language Models to Downstream Tasks: Tracking the Trails of Political Biases Leading to Unfair NLP Modelscited by 260
- 2021Societal Biases in Language Generation: Progress and Challengescited by 202
- 2019Assessing Social and Intersectional Biases in Contextualized Word Representationscited by 135
- 2019AllenNLP Interpret: A Framework for Explaining Predictions of NLP Modelscited by 74
- 2022Problems with Cosine as a Measure of Embedding Similarity for High Frequency Wordscited by 49
- 2023Probing Explicit and Implicit Gender Bias through LLM Conditional Text Generationcited by 31
- 2020Raiders of the Lost Kek: 3.5 Years of Augmented 4chan Posts from the Politically Incorrect Boardcited by 24
- 2016Kek, Cucks, and God Emperor Trump: A Measurement Study of 4chan's Politically Incorrect Forum and Its Effects on the Webcited by 15
- 2021Assessing the Reliability of Word Embedding Gender Bias Measurescited by 14
- 2023Unsupervised Contrast-Consistent Ranking with Language Modelscited by 13
Built on by
Citing papers per year: 2024: 5; 2025: 3; 2026: 2.
10 papers.
- 2024Higher Layers Need More LoRA Expertscited by 102
- 2024Building Guardrails for Large Language Modelscited by 65
- 2024CULTURE-GEN: Revealing Global Cultural Perception in Language Models through Natural Language Promptingcited by 55
- 2025Representation Engineering for Large-Language Models: Survey and Research Challengescited by 21
- 2024TaxoLLaMA: WordNet-based Model for Solving Multiple Lexical Semantic Taskscited by 14
- 2025Evaluating how LLM annotations represent diverse views on contentious topicscited by 6
- 2024Navigating the Cultural Kaleidoscope: A Hitchhiker's Guide to Sensitivity in Large Language Modelscited by 4
- 2026Representational Harms in LLM-Generated Narratives Against Global Majority Nationalitiescited by 2
- 2025The Hidden Bias: A Study on Explicit and Implicit Political Stereotypes in Large Language Modelscited by 0
- 2026Probing Latent Colombian Identity Inferences in Qwen2.5-7B with Natural Language Autoencoderscited by 0
- 2026Probing Latent Colombian Identity Inferences in Qwen2.5-7B with Natural Language Autoencoders23 Jul 2026
- 2026Representational Harms in LLM-Generated Narratives Against Global Majority Nationalities24 Apr 2026
- 2025The Hidden Bias: A Study on Explicit and Implicit Political Stereotypes in Large Language Models9 Oct 2025
- 2025Evaluating how LLM annotations represent diverse views on contentious topics29 Mar 2025
- 2025Representation Engineering for Large-Language Models: Survey and Research Challenges24 Feb 2025
- 2024Navigating the Cultural Kaleidoscope: A Hitchhiker's Guide to Sensitivity in Large Language Models15 Oct 2024
- 2024CULTURE-GEN: Revealing Global Cultural Perception in Language Models through Natural Language Prompting16 Apr 2024
- 2024TaxoLLaMA: WordNet-based Model for Solving Multiple Lexical Semantic Tasks14 Mar 2024
- 2024Higher Layers Need More LoRA Experts13 Feb 2024
- 2024Building Guardrails for Large Language Models2 Feb 2024
Similar, not cited
Close in wording, no citation either way
- 2024Interpreting Bias in Large Language Models: A Feature-Based Approach
- 2025Dissecting Bias in LLMs: A Mechanistic Interpretability Perspective
- 2026CogBias: Measuring and Mitigating Cognitive Bias in Large Language Models
- 2025Examining Alignment of Large Language Models through Representative Heuristics: The Case of Political Stereotypes
- 2025Bias Testing and Mitigation in Black Box LLMs using Metamorphic Relations
- 2026Tracing Stereotypes from Representation to Output in Multilingual LLMs
- 2025Flattery, Fluff, and Fog: Diagnosing and Mitigating Idiosyncratic Biases in Preference Models
- 2025Explicit vs. Implicit: Investigating Social Bias in Large Language Models through Self-Reflection