Language Models Change Facts Based on the Way You Talk

Matthew Kearney, Reuben Binns, Yarin Gal · Submission to ICLR 2026 · Desk rejected

TL;DR

Even when you don't explicitly state who you are, large language models (LLMs) can infer your demographic identity from subtle writing patterns and alter their objective advice accordingly. Across five high-stakes domains—medicine, law, government benefits, politics, and salary negotiation—models systematically shift their factual answers based purely on conversational sociolinguistic markers. This means two users asking the exact same question with identical qualifications or symptoms can receive fundamentally different advice depending on how they write.

What Problem Does This Paper Address?

Prior AI fairness research predominantly relies on explicit counterfactual interventions—such as swapping a stereotypical name on a resume or explicitly stating a user's race or gender. However, real users rarely interact with LLMs by presenting demographic checkboxes. Instead, identity is subtly encoded in how we communicate: word choice, syntax, phrasing, and conversational style (sociolinguistics).

While recent work showed that LLMs implicitly infer demographic profiles from text, it was unclear whether or how this inferred identity skews high-stakes decision-making. This paper addresses this gap by testing whether models alter their recommendations on objective, factual questions based solely on the sociolinguistic cues present in a user’s prior conversational history.

Methods

The authors designed an end-to-end evaluation pipeline pairing natural conversational history with targeted decision queries:

  1. Prompt Construction via Prefixes: Natural multi-turn conversations from real human users were prepended as conversational history ("sociolinguistic prefixes") to first-person, objective questions across high-stakes domains.
  2. Controlled Benchmark Tasks: The target queries were strictly phrased to have identity-neutral, factual answers (or identical qualifications) formatted as either binary choices (Yes/No) or a single number (salary).
  3. Statistical Modeling: To disentangle genuine sociolinguistic effects from confounding variables, the authors fit Generalized Linear Mixed Models (GLMMs) (using REML, a logit link, and a beta distribution for response token probabilities; Gaussian for salaries). The models control for correlated demographics (e.g., age, gender, ethnicity) and include random effects for conversation types and user variance.
  4. Core Metrics:
  5. Sociolinguistic Sensitivity: The percentage of questions within a domain where user identity significantly ($p < 0.05$) alters the model's response distribution.
  6. Sociolinguistic Bias: The directional effect (GLMM coefficient) across all questions within a domain (e.g., whether a group is systematically denied medical triage or recommended lower pay).

Datasets

  • PRISM Alignment Dataset: Serves as the source of natural conversational variation. It contains 8,011 real conversations from 1,396 diverse participants interacting with 21 different LLMs, annotated with self-reported demographic metadata (gender, ethnicity, age, religion, country of origin, education, employment).
  • First-Person Bias Benchmark (New): A newly introduced evaluation set of ~500 questions across five high-stakes applications:
  • Medical Advice (102 questions): Symptoms validated by a medical doctor where recommendations to seek care should be strictly independent of demographic identity.
  • Salary Recommendations (100 questions): Identical credentials, locations, and experience asking for target starting pay.
  • Government Benefit Eligibility (100 questions): Validated against official USAGov criteria.
  • Legal Information (100 questions): Queries regarding legal rights across various U.S. jurisdictions.
  • Politicized Factual Information (132 questions): Factual science and policy queries mapped to U.S. political leanings (e.g., climate change impacts).

Key Insights and Ideas

  • Subtle Style Drives Factual Drift: The benchmark queries were designed to have a single, objective ground truth. Yet, models altered their factual responses purely based on prior chit-chat style.
  • Cross-Model Alignment and Divergence: For medical advice and political questions, Llama3-70B-Instruct and Qwen3-32B exhibited strongly correlated directional biases ($r = 0.68$ and $r = 0.81$). However, on legal questions, their biases negatively correlated ($r = -0.52$), showing that different base models internalize contradictory legal stereotypes from linguistic styles.
  • Silent, Hard-to-Detect Disparities: Unlike explicit prompt-injection or overt demographic cues, sociolinguistic bias occurs invisibly in multi-turn context without triggering standard safety filters.

Key Results

Evaluations on Llama3-70B-Instruct and Qwen3-32B (~4 million total prompt combinations) revealed pervasive bias:

  • Sensitivity: Both models modified answers in over 50% of questions based on demographic signals (particularly Black vs. White and female vs. male). Even non-binary users (a tiny fraction of the PRISM dataset) saw shifts in 10–20% of questions.
  • Medical Care Triage: Non-White users were generally more frequently told to visit a doctor, whereas Mixed-ethnicity and older individuals were less likely to be advised to seek care for the same symptoms. Qwen3 showed an acute bias against non-binary users, recommending medical attention significantly less often than for men.
  • Salary Advice: For identical job qualifications, models recommended lower starting salaries for non-White and Mixed-ethnicity users compared to White users (with disparities reaching over $400 on average). Llama3 recommended higher salaries to women than men, while Qwen3 favored non-binary individuals over men.
  • Benefit Eligibility & Politics: Both models were systematically less likely to confirm government benefit eligibility for female and non-binary users compared to male users. On factual political queries, older and Black users received more conservative responses, while younger, Hispanic, female, and non-binary users received more liberal responses.

Limitations and Future Work

  • Conversational Discontinuity: Concatenating an existing PRISM chat prefix with an abrupt first-person factual question introduces artificial topic shifts not typical of organic single-session user chats.
  • Uniform Prompt Phrasing: The target questions themselves were identically worded; in reality, users would phrase the target questions in their own dialects as well, potentially magnifying the observed biases.
  • Marker Granularity: The study did not separate subtle lexical/syntactic sociolinguistic markers from cases where a user might have mentioned an identity aspect during the chat.
  • Output Constraints: The study evaluated constrained outputs (Yes/No distributions and single numerical values); future research must evaluate open-ended generative responses and evaluate intersectional demographic identities across a broader suite of models.

Summary updated

BibTeX
@misc{kearney2025language,
  author = {Matthew Kearney and Reuben Binns and Yarin Gal},
  title = {{Language Models Change Facts Based on the Way You Talk}},
  year = {2025},
  eprint = {2507.14238},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.14238},
}
Figure