Where Bias Enters

P15.fairness-privacy.01 · Audience: guest, it-ml, language-pro

A large company built a model to screen job applicants. It read a résumé and scored how likely the person was to be a strong hire, and it was meant to save recruiters time by surfacing the best candidates first. It did save time. It also learned to mark women down. Résumés that mentioned a women's chess club or a women's college scored lower; the very word women's became, to the model, a faint signal of a weaker candidate. Nobody wrote that rule. No engineer typed "prefer men". The model was simply shown a decade of past hiring and asked to predict more of the same — and the past it was shown had hired mostly men. When the harm surfaced, the tool was quietly scrapped.

That is the failure this whole pillar exists to prevent — not a crash, not a wrong number, but a system that worked, technically, while treating one group of people worse than another. Everything normative about a model — is it fair, is it private, is it documented, is it accountable at all — is the subject of Responsible AI, and it is a separate question from whether the model is accurate. A model can be accurate on average and still be unjust to the people it sorts. This module opens the pillar with the first and most important question: where does bias actually get in? The answer is not "the algorithm" — it is a chain of ordinary decisions, and we will walk that chain end to end on the hiring story above.

Step 1 / 6Bias is not a bug — it is inherited

The instinct, when we hear "the model was biased", is to look for the line of code that did it — the sabotage, the mistake, the switch someone flipped the wrong way. There is almost never such a line. A machine-learning model does not invent its preferences; it inherits them, from the examples we show it and the goal we set it. The screener was never told to prefer men. It was told: here are ten years of people we hired, learn to spot more like them. It did exactly that — and because the people we hired were mostly men, "more like them" quietly meant "more men".

ⓘ Concept: A model is a mirror of its inputs, not an oracle
modellearns:reproducetheseexamples,optimisethisgoalitfaithfullyreproduceswhateverbiastheexamplesandthegoalalreadycontainedmodel learns: 'reproduce these examples, optimise this goal' → it faithfully reproduces whatever bias the examples and the goal already contained

Why it matters — This reframing is the whole foundation of the pillar. If bias were a bug, you would fix it by finding the faulty line and correcting it. But inherited bias has no faulty line — it is distributed across the data, the labels, the objective and the deployment, each of them individually reasonable. That is why fairness cannot be bolted on at the end with a single patch: you have to inspect every place where a human decision entered the model, because any of them can carry a past injustice forward as if it were a fact about the world.

So the useful question is not "did someone make the model biased?" but "where along the way could bias have entered?" There are four such places, and the rest of this module visits each one. None of them requires any mathematics — each is a decision a person made, in plain sight, that a fairer process would have made differently.

Ask the mentor about this module

Ask a question about this content. The mentor explains and grounds its answer in what you are studying; asking is recorded as a learning signal, not a grade.

Ctrl/Cmd + Enter to send

Try it yourself

A scratch console for this page's ideas — ungraded, nothing you run here is recorded.

Scratch console

A scratch console with the scientific stack (pandas, numpy, scikit-learn). Runs on the server — no network, resource-limited and measured.

Output appears here.