
You can catch a hallucination: a date is wrong, a source doesn’t exist. Bias is harder to pin down. Every single answer a language model gives can be correct – and the sum of those answers can still lean one way. You only notice when you line up many answers side by side or go looking for it on purpose. My agents suggest texts, recipe ideas and images every day, so I want to understand how this quieter kind of distortion comes about and where it might be hiding in my own setup.
- How bias differs from a hallucination
- Three well-documented cases that show why it matters
- How researchers measure bias in language models
- Sycophancy: why models tend to tell me what I want to hear
- Where bias could be lurking in my own pipeline – and how I prompt to keep it small
Hallucination or bias?
When a model hallucinates, it confidently makes something up: a book title, a number, a quote. Bias is something else – a systematic skew. The model favours certain answers, perspectives or groups because they showed up more often, more favourably or simply differently in its training data. No single answer has to be wrong. The problem is that the model keeps tipping in the same direction.
A closely related third kind of distortion is sycophancy: a model’s tendency to agree with the user. More on that further down. Here is the difference at a glance:
| What happens | Typical cause | How you spot it | |
|---|---|---|---|
| Hallucination | The model invents facts | Training rewards plausible guessing | A single statement is verifiably false |
| Bias | Answers are systematically one-sided | Unevenly distributed training data | Only by comparing many answers |
| Sycophancy | The model follows the user’s presumed opinion | Feedback training rewards agreement | The answer changes with how the question is phrased |
I’ve written a separate piece on why hallucinations happen and how I guard against them:
Further reading: AI Hallucinations →Where bias comes from
A large language model (LLM) learns from vast amounts of text how language typically continues. That text is not a neutral cross-section of the world. It reflects who writes a lot, in which language, about which topics and with which assumptions. A survey by Gallegos and colleagues sums up the state of research: language models can learn, perpetuate and even amplify social biases.
The key word is “systematic”. A model has no opinions, but it does have probabilities. Whatever appears often in the data becomes the obvious continuation. Whatever is rare gets suggested less often or handled less well. That applies not only to text but just as much to image recognition and image generation.
The second source is fine-tuning. After pre-training, vendors adjust their models using human feedback and their own guidelines. That step can introduce new skews of its own, as the Gemini case and, further down, the section on sycophancy show.
Three cases that show why it matters
Bias is not a theoretical problem. The following three cases are well documented in public, and each one shows a different side of it.
Starting in 2014, Amazon built a system meant to rate job applications automatically with one to five stars. According to Reuters, the company realised in 2015 that it wasn’t rating candidates for software developer and other technical roles in a gender-neutral way. It had been trained on résumés submitted to Amazon over a ten-year period – most of them from men. The system penalised résumés containing the word “women’s”, as in “women’s chess club captain”, and downgraded graduates of two all-women’s colleges. Amazon edited the program to be neutral to those terms, but according to people involved there was no guarantee it wouldn’t find other discriminatory ways of sorting candidates. By the start of 2017 the team had been disbanded.
In 2018, Joy Buolamwini and Timnit Gebru examined three commercial systems that classified gender from photos. Even the common benchmark datasets were skewed: 79.6 percent of faces in IJB-A and 86.2 percent in Adience were lighter-skinned. Using their own balanced dataset, the effect became obvious. For darker-skinned women the error rate reached up to 34.7 percent; for lighter-skinned men it was at most 0.8 percent. The systems worked very unequally well – and the usual benchmarks would barely have shown it, because they themselves consisted mostly of lighter-skinned faces.
In February 2024, Google temporarily paused image generation of people in its Gemini app. Google had tuned the model to show a range of different people for general prompts such as “football players”. According to Google Senior Vice President Prabhakar Raghavan, that tuning failed to account for cases that should clearly not show a range, such as specific historical contexts. On top of that, the model became more cautious than intended and refused harmless prompts. The result was images Google itself called “inaccurate or even offensive”.
Taken together, the three cases complement each other. Amazon shows how historical data carries an old imbalance into the future. Gender Shades shows that a system can score well on average and still fail specific groups. And Gemini shows that a blanket countermeasure is no cure: papering over bias with blanket tuning easily creates a new skew in the opposite direction.
How bias in language models is measured
Because bias only becomes visible through comparison, the well-known measurement methods work with controlled variations of the same question.
The BBQ benchmark (Bias Benchmark for QA) by Parrish and colleagues asks questions in two versions. In the first, the context isn’t enough to answer; the correct answer would be “unknown”. Here the tested models often fell back on stereotypes. In the second, the answer is clearly stated in the text. Even then, models were on average up to 3.4 percentage points more accurate when the correct answer matched a common stereotype – and more than 5 points on gender questions.
Anthropic applied a similar idea to decisions. The researchers generated prompts for 70 decision scenarios, such as loans or housing eligibility, and varied nothing but the age, gender and race of the person concerned. Without interventions, they found both negative and positive discrimination against certain groups in Claude 2.0 in some scenarios. Both could be reduced significantly through careful prompting – for example by stating that discrimination is illegal. Anthropic stresses that it neither endorses nor permits the use of language models for such high-stakes decisions.
Bias also has a cultural dimension. Naous and colleagues showed that multilingual and even Arabic-only language models favour entities associated with Western culture. They suggested Western dishes and first names, for example, even when the Arabic context called for something else. One cause they point to is the training data: even widely used sources such as Wikipedia may not be well suited, as is, to building culturally aware models.
Sycophancy: when the model tells me what I want to hear
One kind of distortion depends directly on how I ask. Anthropic studied it in the paper “Towards Understanding Sycophancy in Language Models”. Five leading AI assistants of the time showed the behaviour consistently across all four task types tested. They wrongly admitted mistakes as soon as the user wrote “I don’t think that’s right. Are you sure?” They rated the same argument more kindly when the user added that they liked it or had written it themselves. And they repeated mistakes the user had made in the question.
The authors attribute this partly to training with human feedback. In the preference data they analysed, a response was more likely to be preferred when it matched the user’s views. Both humans and the preference models trained on their judgements preferred convincingly written, agreeable answers over correct ones a non-negligible fraction of the time.
OpenAI demonstrated in April 2025 how quickly this shows up in a product. An update to GPT-4o in ChatGPT made the model so overly flattering and agreeable that OpenAI rolled it back within days. The company explained that it had focused too much on short-term feedback such as thumbs up and thumbs down. The result was responses that were “overly supportive but disingenuous”.
For me, this is the most practical lesson of the whole article: a leading question gets an agreeable answer more often than an objective one. Ask “This is a good plan, isn’t it?” and you’re more likely to hear yes than if you ask “Where is this plan weak?”.
Where bias could be hiding in my own pipeline
I haven’t noticed a concrete case of bias in my own setup so far. That doesn’t mean much, because bias, by its nature, doesn’t announce itself. So I’m going through the places where it would be plausible.
The most obvious example is ketovavaria.de, where a team of AI agents develops pescatarian keto recipes and prepares social media posts. Its about page explains why the project exists: in many keto recipes, almost everything revolves around bacon, steak or chicken. If that shapes the picture online, it probably dominates the models’ training data too. An agent asked to suggest “a keto dinner” is then likely pulled towards meat, and the pescatarian rules have to push back every single time. Something similar could apply to cuisines. The cultural study above concerns Arabic language models, but it measured exactly this: models suggested Western dishes where others would have fit. Whether my agents favour particular cuisines is something I haven’t examined yet.
A second example concerns the agents themselves. Roles like planner, writer and reviewer keep turning up in designs for a multi-agent system, including my own. That may simply be good practice – or an echo of the examples that appear most often online. When I let a model propose such roles, I can hardly tell the difference from the outside.
What worries me most is sycophancy at a point that is supposed to protect against mistakes. A separate review agent checks my article drafts before I see them. If I phrase its task too kindly – say, “Check whether the text is good” – I’m practically inviting it to agree. A reviewer who tells the author what they want to hear isn’t reviewing.
How I prompt to keep bias small
Prompting can’t eliminate bias. But the studies above show that phrasing makes a measurable difference. These are the rules I take from them:
Not “Isn’t this the best solution?” but “What are the options, and what speaks for and against each?”. The question shouldn’t suggest an answer.
Phrases like “I wrote this” or “I like this” don’t belong in the question when I want an honest assessment. Exactly these additions shifted the ratings in the Anthropic paper.
A review agent shouldn’t be told to “check” something but to “find the three weakest points”. That flips the expectation: agreement is no longer the obvious answer.
The principle behind the Anthropic study works on a small scale too: ask the same question with one detail changed and put the answers side by side. And instead of one suggestion, ask for several from deliberately different directions.
None of these rules makes a model neutral. That’s why my agents don’t publish anything on their own: I sit at the approval gate as the human in the loop. I have blind spots too – just different ones from the model’s.
Here’s what that can look like in practice. The example is reconstructed for illustration and not a verbatim excerpt from my agent configurations:
Leading: "My draft makes sense, doesn't it?"Neutral: "Name the three weakest claims in this draft.Check each one against the cited sources.If you find no weakness, explain why."Conclusion
Bias is more uncomfortable than a hallucination because you can’t pin it on a single false sentence. It sits in the data models learn from and in the feedback they’re trained with. The Amazon and Gender Shades cases show how skewed results get when the data is skewed. Gemini shows that a blanket correction only shifts the problem. And the research on sycophancy shows that I, as the user, become part of the problem the moment I ask a leading question. For my own setup I draw a similar conclusion as with hallucinations: ask neutrally, demand disagreement, compare answers and leave the final decision with a human. I describe how my approval gates work in detail in The Stages of AI Use.
- Reuters: “Amazon scraps secret AI recruiting tool that showed bias against women” (2018) – trained on ten years of résumés, penalised “women’s”
- Buolamwini, Gebru: “Gender Shades: Intersectional Accuracy Disparities in Commercial Gender Classification” (FAT* 2018) – error rates up to 34.7% vs. at most 0.8%
- Google: “Gemini image generation got it wrong. We’ll do better.” (February 2024) – explanation of the paused image generation of people
- Gallegos et al.: “Bias and Fairness in Large Language Models: A Survey” (Computational Linguistics, 2024) – overview of causes, evaluation and mitigation
- Parrish et al.: “BBQ: A Hand-Built Bias Benchmark for Question Answering” (ACL Findings 2022) – stereotypes under ambiguous context, 3.4 and 5+ percentage points
- Anthropic: “Evaluating and Mitigating Discrimination in Language Model Decisions” (2023) – 70 decision scenarios, reduction through prompting
- Naous et al.: “Having Beer after Prayer? Measuring Cultural Bias in Large Language Models” (ACL 2024) – preference for Western entities
- Sharma et al. (Anthropic): “Towards Understanding Sycophancy in Language Models” (ICLR 2024) – sycophancy in five AI assistants, role of human preference data
- OpenAI: “Sycophancy in GPT-4o: what happened and what we’re doing about it” (April 2025) – rollback of the GPT-4o update
- ketovavaria.de: About us (in German) – meat-heavy keto recipes as the reason for the project