Lecture 16: Types of Bias and How They Arise
Source: Anthropic
Part 1: The big picture
Part 2: Types of bias
Part 3: Applying the framework
Part 4: The hard questions
Source: Cortical Labs
Robert Julian-Borchak Williams, Detroit, 2020
What happened?
This wasn’t a software bug. It was how the system was built
Source: ACLU
“Bias” means different things:
| Context | Meaning | Example |
|---|---|---|
| Statistical | Systematic deviation | Biased estimator under/overestimates |
| Cognitive | Mental shortcuts | Confirmation bias |
| Cultural | Learned assumptions | “Doctors are male” |
| Algorithmic | Systematic unfairness | Different error rates by group |
| Historical | Past inequalities | Less data on minorities |
In AI, bias typically means:
A system that produces systematically unfair outcomes for certain groups of people.
But who defines “unfair”? That’s the hard part.
Is AI biased, or is it just showing us what we already are?
Example: Word embeddings
Source: UNESCO
If the bias comes from us, does that make AI less accountable, or more?
The scenario:
You’re applying to university. You get to choose who evaluates your application:
Option A: A human admissions officer
Option B: An AI admissions tool
Which do you choose, and why?
Think about:
Neither option is safe. The question is which risk you’d rather take, and what that tells us about what we value.
⏱️ 2 minutes
AI systems are making decisions about:
| Domain | Decision | Affected |
|---|---|---|
| Employment | Who gets hired, promoted, fired | Millions of applicants |
| Finance | Who gets loans, credit, insurance | Billions globally |
| Healthcare | Who gets treatment, care priority | Life and death |
| Criminal justice | Bail, sentencing, parole | Freedom and families |
| Education | Admissions, resources, grading | Future opportunities |
The scale problem:
A few real cases:
| Bias type | When it occurs | Example |
|---|---|---|
| Historical | Past decisions encoded in data | Loan data from discriminatory era |
| Representation | Some groups underrepresented | Few dark-skinned faces in training |
| Measurement | Proxies used for unmeasurable concepts | Using ZIP code for creditworthiness |
| Aggregation | Treating diverse groups as one | “One model fits all” fails |
| Evaluation | Wrong benchmarks for testing | Testing on unrepresentative data |
| Deployment | Model used in wrong context | US model applied globally |
Bias can creep in at any stage:
Data collection → Data labelling → Model training → Model evaluation → Deployment → Use
This happens when past discrimination is baked into the training data, even if the data accurately reflects the real world at the time
The Amazon hiring case (2018):
The data was “accurate”: it did reflect Amazon’s actual hiring. But that hiring was biased.
Source: Reuters
Accurate data ≠ fair data. The history was real; the discrimination was too.
When certain groups are underrepresented in training data, the model performs poorly for them
Example: Voice assistants
Why?
Source: Axios
If you’re not in the training data, the model has nothing to learn about you.
Using a measurable proxy for something you actually care about… but the proxy doesn’t work equally for everyone
Example: ZIP code as a credit proxy
Other problematic proxies:
| What we want | Proxy used | Problem |
|---|---|---|
| Intelligence | Standardised tests | Reflects access to prep |
| Job quality | Tenure | Penalises caregivers |
| Creditworthiness | Payment history | Assumes equal opportunity |
| Health needs | Past spending | Reflects access barriers |
Source: Harvard Law Review
You can remove race from the data and still end up with a racially biased model, because the proxies do the work instead.
Treating diverse populations as if they’re all the same, when the underlying relationships differ across groups
Example: Diabetes prediction
The maths:
| Model | Overall Accuracy | Group A | Group B |
|---|---|---|---|
| Single model | 85% | 90% | 75% |
| Group-specific | 88% | 89% | 86% |
Source: Wikipedia
Question: Should we build separate models for different groups? What are the tradeoffs?
When the benchmark dataset used to test a model doesn’t represent the population it will be used on
The benchmark problem:
Example: ImageNet
Source: Wired
High scores on a biased benchmark just mean the model is good at being biased.
Sometimes a model works fine where it was built but fails when used in a different context.
Example: US model in India
Example: COVID-19 detection
Source: Yang et al (2024)
A model trained in one context can fail quietly when moved to another.