Imagine teaching a child about birds using a picture book that only shows pigeons and crows. Show that child a peacock and they may say it isn’t a bird at all. The child isn’t prejudiced. They simply learned from a book that left most birds out.
AI learns in a very similar way, and it can make the same kind of mistake about people. When it does, and the mistake falls unfairly on one group, we call it AI bias. This guide explains what AI bias is, where it comes from, two well-documented real examples, and what people do to reduce it.
What is AI bias?
AI bias is when an AI system gives results that are systematically unfair to some people or groups, for example by being less accurate for them, or by favouring one group over another, usually because of patterns in the data it learned from.
Two words in that definition matter:
- Systematically means it isn’t a one-off error. It keeps happening in the same direction.
- Data is the usual cause. Most modern AI learns from examples (see what an algorithm is in AI). If the examples are unbalanced, or reflect unfair decisions made in the past, the AI learns that too.
An AI has no opinions, likes or dislikes. It finds patterns. The problem is that it can’t tell a useful pattern (“emails with this link are usually scams”) from an unfair one (“past hires were mostly men, so men must be better”) unless people check for it.
Two real examples
A hiring tool that learned to prefer men
In 2018, Reuters reported that Amazon had built an experimental tool to score job applicants’ résumés. It learned from résumés submitted to the company over about ten years, and most of those came from men, reflecting the tech industry at the time.
The tool learned that pattern. It marked down résumés that contained the word “women’s”, as in “women’s chess club captain”. The team edited the model to ignore those particular words, but couldn’t be sure it wouldn’t find other ways to sort candidates unfairly, and the project was dropped. Amazon said the tool was never used by its recruiters to evaluate candidates, though people familiar with it told Reuters that recruiters did look at its recommendations, without relying on them alone.
Nobody programmed “prefer men”. The model learned it from past data.
Face analysis that worked worse for darker-skinned women
In 2018, researchers Joy Buolamwini and Timnit Gebru tested three commercial systems that guessed a person’s gender from a photo. Their study, called Gender Shades, found that the error rate for lighter-skinned men was at most 0.8%, while for darker-skinned women it went up to 34.7%.
They also found that two popular face datasets used to measure such systems were made up mostly of lighter-skinned faces (about 80% and 86%). A system can look very accurate on a test set like that and still fail badly for the people who are missing from it.
“An AI is only as fair as the examples it learns from and the way we check it.”
Where does AI bias come from?
Bias can sneak in at almost every step of building an AI system, not just in the data.
- History. If past decisions were unfair (who got hired, who got loans), data that records those decisions carries the unfairness forward.
- Who is in the data. If some groups are rare or missing, the model gets little practice on them and makes more mistakes. This is often called representation bias or sampling bias.
- Labels. Many datasets are labelled by people. If labellers bring their own assumptions, those become the “right answers” the AI copies.
- What is measured. Sometimes the thing that’s easy to measure isn’t the thing you care about. Using “past arrests” as a stand-in for “crime” bakes in where police chose to look, not just where crime happened.
- How it is tested. A single overall accuracy number can hide that the system works well for most people and badly for a few.
- Feedback loops. An AI’s decisions can shape the next round of data. If a system rarely shows job ads to a group, fewer people from that group apply, and the data “confirms” the pattern.
Why it matters
AI is used in decisions that affect people’s lives: hiring, lending, insurance, healthcare, policing and education. A biased human decision affects the people in front of that one person. A biased AI system can repeat the same unfair decision thousands of times a day, quickly and quietly, and with a look of objectivity because “the computer said so”.
Bias also matters for ordinary tools. A voice assistant that understands some accents far better than others, or a photo app that works poorly in some lighting or on some skin tones, is less useful to many of the people paying for it.
Bias in chatbots and LLMs
Large language models learn from huge amounts of text written by people, and that text contains stereotypes. Without care, a model can repeat them. For example, it might assume a nurse is a woman and an engineer is a man when writing a story.
AI companies try to reduce this during training (see fine-tuning) and by testing their models with large sets of prompts designed to reveal unfair answers. It helps, but no current model is perfectly free of bias, so it’s worth reading outputs with a critical eye, especially anything about groups of people.
How do people reduce AI bias?
There is no single fix, but builders use a mix of steps:
- Collect better data. Make sure the people and situations the AI will meet are well represented. The Gender Shades researchers built a more balanced face dataset for exactly this reason.
- Test by group, not just overall. Report accuracy for each group separately, so a weak spot can’t hide behind a good average.
- Remove or watch risky signals. Leave out features that act as stand-ins for things like gender or race, and test whether the model has found other stand-ins anyway.
- Use fairness checks. There are formal measures of fairness, and a team has to choose the one that fits the situation. Some of these measures can’t all be satisfied at once, so this is a real decision, not a box to tick.
- Keep humans involved. For high-stakes decisions, let the AI assist a person rather than decide alone, and give people a way to appeal.
- Explain decisions. Tools that show why an AI made a decision can expose unfair patterns. That’s the idea behind explainable AI, letter X in this series.
- Keep monitoring. Data and the world change, so a model that was fair at launch needs checking over time.
Common misconceptions
“Computers are objective, so AI can’t be biased.” The arithmetic is exact, but what the AI learns comes from human-made data and choices.
“Just delete the gender or race column and the bias is gone.” Other data can act as a stand-in, such as a postcode, a college name, or the word “women’s” on a résumé, as the hiring example showed.
“Bias means someone built the AI to be unfair.” It is usually accidental. That’s exactly why testing for it on purpose matters.
“A biased model is useless.” Not always. It may work well for many people. The issue is the people it fails, and whether anyone noticed.
Key takeaways
- AI bias is when an AI system is systematically unfair to some people or groups.
- It mostly comes from data: past unfair decisions, missing groups, and human labels.
- It can also come from what is measured, how the system is tested, and feedback loops.
- Real cases include a résumé tool that learned to mark down “women’s” and face analysis systems with much higher error rates for darker-skinned women.
- Reducing bias takes better data, testing by group, human oversight and ongoing monitoring.
Frequently asked questions
What is AI bias in simple words?
AI bias is when an AI treats some people unfairly, often because it learned from data that was unbalanced or reflected unfair decisions from the past.
Can AI be completely unbiased?
Probably not completely, because data comes from an imperfect world and people disagree about what “fair” means in some situations. But bias can be measured and reduced a lot with careful data, testing and oversight.
What is an example of AI bias?
The Gender Shades study (2018) found commercial gender-classification systems had error rates of at most 0.8% for lighter-skinned men but up to 34.7% for darker-skinned women.
Is AI bias the same as human bias?
It often starts as human bias, because AI learns from human-made data and choices. The difference is scale: an AI can repeat the same unfair decision very many times, very quickly.
Who is responsible for AI bias?
The people and organisations who build and use the system. An AI can’t take responsibility; its makers and users decide what data to use, how to test it, and where it is safe to deploy.
Comments