Article
Bias in predictions
A bank program must decide whether to lend you money. A company program must decide who to invite to an interview. A city program must decide which neighbourhood gets a new service first. All three predict something about people, and the answer changes someone's life. When such a program is biased, the cost is large.
Predicting about people
A predictive algorithm uses past data to guess what will happen next. For people, the guesses are things like "will this person repay a loan?", "will this person do well in this job?" or "where will help be needed most?". Remember from the first article: a model repeats the patterns in its training data. Three things then go wrong.
| Problem | What it means | Invented example |
|---|---|---|
| Unfair history in the data | The training data records decisions that were unfair, so the model learns them as "normal" | A loan tool learns from old decisions in which people from one area were refused more often. It refuses that area too. |
| A stand-in for the real goal | The data only holds what was recorded, such as "was hired", not "would do the job well" | A hiring tool learns to pick people like those hired before, not people who would do the job best. |
| A feedback loop | The program's own decisions become its future training data | See below. |
Check your understanding
A hiring tool learns from a company's past hiring decisions. Why might it be unfair even if nobody meant it to be?
The feedback loop
In a feedback loop, the output of a system comes back as its input. Here is an example. A city program decides where to send a free health van. It learns from past data: the van goes where the most illness has been recorded. But illness is recorded only where the van goes. Look at what happens:
A feedback loop that never stops by itself
Run an invented version. Both areas really have the same number of ill people. Area A starts with 6 recorded cases and B with 5. The van finds 10 new recorded cases wherever it goes.
After five weeks the data says A has 56 cases and B has 5, yet nothing is different between the areas. A one-case head start grew into a huge gap. Change the first two numbers so that B starts ahead. The same thing happens the other way round: whoever starts ahead keeps winning.
Check your understanding
A program sends inspectors to the places where the most problems were found last year. Problems are only found where inspectors go. What is most likely to happen?
Worked example: a loan tool
A bank trains a tool on its old loan decisions. The numbers are invented.
| Area | Applicants | Loans approved in the past |
|---|---|---|
| X | 100 | 80 |
| Y | 100 | 30 |
Many Y applicants were refused in the past for reasons that had nothing to do with repaying (for example, an old rule against lending in that area). So the data says "Y: usually refused". The new tool learns it. It refuses Y applicants. The bank never lends to them, so it never collects the data that could show they repay. The old unfairness is now automatic, and it looks objective because a computer produced it.
Dropping the "area" column is not enough, because other columns (such as the shop or school people use) can point to the same area. Better actions:
- Check the results for each area and look into big gaps.
- Use more representative data, for example by including how Y applicants actually repaid.
- Add human review for refusals, and let people appeal.
- Practise transparency: tell people which factors the tool uses.
- For the health van, break the loop: sometimes send it to areas the program did not choose, to collect fresh data.
Common mistakes
- "Past data is the truth." It records past decisions and what was observed, including mistakes and unfairness.
- "If the tool never sees the group, it cannot be unfair to it." Other data can stand in for the group.
- "More rounds of retraining will fix it." In a feedback loop, retraining on the program's own decisions makes the pattern stronger.
- "A prediction about a person is a fact." It is a guess based on other people's data.
- "Bias in a prediction only hurts the group directly." Everyone loses when good applicants are refused or needs are missed.
On the exam
Expect a scenario with a tool that decides about people (loans, hiring, where services go). The likely cause is training data that reflects past unfair decisions or a feedback loop. The likely fix is checking results for each group, adding more representative data, or keeping a human in the decision. Choose the answer that changes the data or the checking, not the speed of the program.
Key words
Predictive algorithm: a program that uses past data to guess what will happen.
Feedback loop: a loop in which the system's own output becomes its future input.
Human review: a person checking a decision made by a program.
Appeal: asking for a decision to be looked at again by a person.