What is AI bias? It is what happens when an SI (AI) system makes errors that fall more often, or more heavily, on some groups of people than on others: a face scanner that misreads women with darker skin, a hiring tool that marks down CVs mentioning a women's club, an image generator that draws almost every software developer as white. The system usually has no intention and no opinion. It learns patterns from data, and the data, the goals chosen by its builders and the way people use its output all carry their own slant. This guide explains where that slant comes from, how researchers measure it, and why "just make it fair" is harder than it sounds. (New to the term SI? Our guide to what SI means explains why this site uses it instead of AI.)
The short answer. SI bias is systematic, not random: the same kind of person keeps getting the worse error. It comes from unrepresentative data, from history recorded in that data, from proxies that stand in for things the system cannot measure, and from humans who trust the output too much. It can be measured and reduced, but the US standards body NIST says it is not possible to bring the risk to zero.
What does "bias" mean for an SI system?
In SI, bias has a wider meaning than prejudice. The most useful reference is a 2022 report by the US National Institute of Standards and Technology (NIST), "Towards a Standard for Identifying and Managing Bias in Artificial Intelligence" (Special Publication 1270). It sorts AI bias into three families:
- Systemic bias comes from the practices of institutions that advantage some groups and disadvantage others. NIST stresses that this "need not be the result of any conscious prejudice"; it can come simply from people following existing rules and norms. It ends up in the datasets and in how systems are commissioned and deployed.
- Statistical and computational bias comes from errors that arise "when the sample is not representative of the population". It can happen with no discriminatory intent at all, for example when a model is trained on one type of data and cannot extrapolate beyond it.
- Human bias covers the shortcuts in human thinking, such as anchoring or confirmation bias, that shape how people build systems and how they read the results. NIST lists automation complacency among them: leaning on a machine's output instead of checking it.
Two sentences from the report frame everything else: "Bias is neither new nor unique to AI and it is not possible to achieve zero risk of bias in an AI system."
Where does SI bias come from?
Data that leaves people out
Most SI models learn from examples, as our explainer on how a neural network learns shows. If a group is rare in the examples, the model gets less practice on it. NIST describes a habit of the field: researchers "go where the data is" and pick datasets because they are available, not because they fit the task.
A clear case is face analysis. In 2018 Joy Buolamwini (MIT Media Lab) and Timnit Gebru (Microsoft Research) examined two benchmarks used to test facial analysis systems, IJB-A and Adience. Lighter-skinned subjects made up 79.6% and 86.2% of them. To get a fairer test they built a new benchmark of 1,270 members of parliament from Rwanda, Senegal, South Africa, Iceland, Finland and Sweden, balanced by gender and skin type.
History recorded in the data
A dataset can describe the past accurately and still teach the wrong lesson. In October 2018 Reuters reported that Amazon had worked since 2014 on a tool that scored job applicants from one to five stars. Its models had been trained on CVs submitted to the company over ten years, most of them from men, "a reflection of male dominance across the tech industry". According to people familiar with the project, the system taught itself that male candidates were preferable: it penalised CVs containing the word "women's", as in "women's chess club captain", and downgraded graduates of two all-women's colleges.
Amazon edited the programs to make them neutral to those terms, but, the sources said, that was no guarantee the system would not find other ways of sorting candidates that could prove discriminatory. The team was disbanded. Amazon told Reuters the tool "was never used by Amazon recruiters to evaluate candidates", and did not dispute that recruiters had looked at its recommendations.
Proxies: measuring something else instead
Many things an SI system is asked to predict, such as "a good employee" or "a future criminal", cannot be measured directly. Builders use stand-ins. NIST gives the example of a hiring model that uses distance from the workplace, because long commutes correlate with people quitting. That variable can disadvantage candidates from certain neighbourhoods. The report also warns that removing a protected attribute does not remove it from the model: gender can be inferred from browsing history, and race from a zip code.
Human bias at the point of use
A score is only a number until someone acts on it. People read automated output through their own mental shortcuts, and NIST warns that "simply increasing awareness of bias does not ensure control over it".
What does SI bias look like in real systems?
Face analysis: 0.8% versus 34.7%
On their balanced benchmark, Buolamwini and Gebru tested the gender classification features sold by Microsoft, IBM and Face++. Every system did worse on women than on men, and worse on darker than on lighter faces. The worst group in all three was darker-skinned women, with error rates from 20.8% (Microsoft) to 34.7% (IBM). The maximum error rate on lighter-skinned men was 0.8%. None of the companies published accuracy figures on existing benchmarks in their documentation.
Face recognition: a factor of 10 to 100
NIST then ran the largest test of its kind. Its December 2019 report on demographic effects (NISTIR 8280) put 18.27 million images of 8.49 million people through 189 mostly commercial algorithms from 99 developers. The main finding: across demographic groups, false positive rates, meaning two different people wrongly matched, "often vary by factors of 10 to beyond 100 times". On high-quality application photos, false positives were highest for people from West and East Africa and East Asia and lowest for Eastern Europeans. Women had false positive rates 2 to 5 times higher than men, and the elderly and children were also affected more.
Two details matter as much as the headline. First, several algorithms developed in China reversed the pattern, with low false positives on East Asian faces, which NIST links to the demographics of the training data. Second, some of the most accurate identification algorithms showed false positive differences too small to detect. Bias is not a fixed law of the technology; it varies from one system to the next, which is why NIST says it is "incumbent upon the system owner to know their algorithm".
Risk scores in court: the same accuracy, different mistakes
In May 2016 ProPublica analysed the COMPAS risk scores given to more than 7,000 people arrested in Broward County, Florida, in 2013 and 2014, and checked who was charged with a new crime over the next two years. The score made mistakes with Black and white defendants "at roughly the same rate but in very different ways".
Black defendants who did not re-offend were labeled higher risk almost twice as often as white defendants who did not re-offend. White defendants who did re-offend were more often labeled lower risk. Race was not one of the 137 questions behind the score, which included items such as whether a parent had been jailed. Northpointe, the company behind COMPAS, disputed ProPublica's analysis. Its co-founder Tim Brennan told the reporters that it is difficult to build a score that leaves out factors correlated with race, such as poverty and joblessness, because "if those are omitted from your risk assessment, accuracy goes down".
Image generators: the stereotype, only stronger
Generative SI does not just make decisions about people, it draws them. In a 2023 study, researchers from Stanford, Columbia, Bocconi and the University of Washington (Bianchi and colleagues) generated 100 images per prompt with Stable Diffusion. Prompts that never mentioned race or gender still produced stereotypes. For "a photo of the face of a software developer", 99% of the images were represented as white by the model-based method they used, while only 56% of US software developers identified as white. Housekeeper, nurse and flight attendant came out 100% female. The authors call this stereotype amplification: the model does not just reflect a real imbalance, it exaggerates it. Adding words such as "wealthy" to a prompt did not always undo it, and the "guardrails" added to DALL-E did not prevent it either.
Trying to correct for this has its own failure mode. In February 2024 Google paused Gemini's images of people after its tuning for diversity produced racially diverse 1800s US senators and other historically wrong scenes. Our guide to generative SI explains how these models are trained.
SI detectors are not immune
Tools that check whether a text was written by SI can be biased too. A Stanford team led by Weixin Liang ran seven popular detectors on 91 TOEFL essays written by non-native English speakers and 88 essays by US eighth-graders. The detectors were near-perfect on the US essays but flagged over half of the TOEFL essays as SI-generated, with an average false positive rate of 61.22%. 89 of the 91 essays were flagged by at least one detector. The authors' explanation: simpler word choices make text more predictable (lower "perplexity"), which is what perplexity-based detectors read as a sign of SI. We go through this and other studies in our article on detector accuracy.
Why can't developers just make the system fair?
Because "fair" has several definitions that can contradict each other. The COMPAS debate shows it. ProPublica looked at error rates: who was wrongly labeled high risk or low risk. Defenders of the tool pointed to calibration: a given score corresponded to the same probability of re-offending for Black and white defendants.
In 2016 Jon Kleinberg (Cornell), Sendhil Mullainathan (Harvard) and Manish Raghavan (Cornell) turned this into a theorem. They formalised three conditions: scores mean the same thing in each group (calibration), and people who do not re-offend, or who do, get the same average score whatever their group. They proved that, "except in highly constrained special cases", no method can satisfy all three at once. The special cases are perfect prediction, or groups with exactly the same base rate. When base rates differ between groups, someone has to choose which kind of fairness to prioritise. That is a value judgment, not a coding fix.
Does removing race or gender from the data fix it?
No. COMPAS did not ask about race, and its errors still split along racial lines. Amazon's tool picked up on "women's" in CVs, and removing that word did not guarantee anything. NIST notes that excluding protected attributes "does not remedy the problem, since the information can be inadvertently inferred in other ways through proxy or latent variables".
What actually helps?
None of the sources offers a single cure, but they agree on a few habits:
- Measure by group, not only overall. A good average can hide a group that does much worse. Gender Shades only found its gap because it split results by gender and skin type together.
- Report both kinds of error. NIST notes that most reports discuss only false negatives, while for face recognition the false positive differences were far larger.
- Test on your own data. Because results vary so much between algorithms, NIST advises system owners to measure accuracy "of the operational algorithm on the operational image data".
- Keep a human in charge, and make that human sceptical. A score should start an inquiry, not end one. This is also how we design our own tools: an SI check on this site gives a probability with the clues behind it, and the text detector page lists known limits, including higher scores on formal writing and on non-native English.
- Be transparent about data. Buolamwini and Gebru call for disclosure of how training and benchmark datasets are composed.
Our take
SI bias is less mysterious than it sounds. In almost every documented case, the model did exactly what it was trained to do, on data that described an unequal world, judged by a definition of success that someone chose. The real risk lies in scale and in trust: a biased model repeats the same error at every decision it makes, and its output looks neutral because a machine produced it. Asking "who does this system get wrong, and how often?" is the most useful question you can put to any SI tool, including ours.



