17 – Bias and Fairness
~5 min readAI LiteracyAI Literacy Course · Part 17 of 17 — the article series covering EU AI Act Article 4. Every part ends with a self-assessment.
Bias is rarely the result of malice — it emerges gradually, technically, historically and organisationally. Those who want to evaluate AI systems critically look in four places: training data, the model, deployment, and the feedback loop.
Where bias arises
Training data and representation gaps: a model learns from what it sees. If the data barely or distortedly represents certain groups, the model learns exactly that distortion. A speech-recognition system trained almost exclusively on male voices measurably understands female voices worse — the cause lies not in the model but in the representation gap.
Model bias: even with balanced data, distortion can occur — the algorithm amplifies correlations that are statistically convenient but factually wrong. If a model uses the postcode area as a predictor of creditworthiness, it discriminates against whole neighbourhoods without any sensitive attribute appearing in the dataset at all. These indirect proxies are the most common source of unconscious model bias.
Deployment bias: a system that performs cleanly in training can become unfair in operation because the target group, the data or the context has shifted — a credit-scoring model trained on existing customers judges new customers with different profiles. Deployment bias arises between test and production, precisely where the fewest tests happen.
The classic case study is recruiting: a CV screener learns from historical hiring data and systematically rates female candidates worse, because few women were hired in the past. No "gender" attribute is used — the CV itself (career gaps, field of study) serves as the proxy. The system reproduces the past and cements the skew anew each year.
Why bias is a compliance topic
Bias is first a quality problem: a model that predicts groups with varying accuracy makes more errors for those groups — wrongly declined loans, overlooked talent, wrongly prioritised treatments. Beyond that, it is a discrimination risk with regulatory, legal and reputational consequences. Prevention is cheaper than repair.
The EU AI Act makes bias measurable through three articles:
| Article | Requirement | Relevance to bias |
|---|---|---|
| Art. 6 | Risk classes | High-risk systems (evaluation, screening) face stricter requirements |
| Art. 10 | Data quality | Training, validation and test data must be relevant, representative and error-free |
| Art. 14 | Human oversight | People must be able to monitor, understand and intervene in outputs |
Measuring bias: fairness metrics
Bias can be measured — and only what is measured can be improved:
| Metric | What it measures | Rule of thumb |
|---|---|---|
| Demographic parity | equal positive rates across groups | keep differences as small as possible |
| Equalised odds | equal error rates (false positive/negative) | compare error rates per group |
| 80% rule (disparate impact) | ratio of positive rates between two groups | below 0.8 → investigate |
The 80% rule is the proven first filter: if one group receives only 70 per cent of the positive decisions of the comparison group, the ratio is 0.7 — a clear audit flag. It replaces no statistics, but it makes bias visible before it gets expensive. Before go-live, test data is stratified by group and the metrics computed per group; if one group's error rate sits well above average, that indicates bias in data or model — not chance. These checks belong in the deployment playbook as a repeated step, not a one-off special exercise.
The bias audit in five steps
A bias audit is more than a metric report — it is a structured review across the lifecycle (data → model → deployment). The five steps before go-live:
- Define groups and metrics — specify the groups to be protected and choose fairness metrics per group.
- Check data quality (Art. 10) — document and fix representation gaps and proxy variables in the training data.
- Run disparity checks — compute positive rates and error rates per group, apply the 80% rule.
- Audit the results — document steps and figures to a standard, verifying against the TEC standard where in doubt.
- Establish human oversight (Art. 14) — define monitoring and an escalation path so suspicious patterns are caught in operation.
An audit ends with a clear verdict: is the system fair enough for deployment — or does it go back to development? Standardised frameworks such as the TEC standard and Nishpaksh make such audits comparable and verifiable, rather than ad-hoc checks.
Self-assessment
Check yourself — and the end of the series.
- In which four places does bias arise? — Expected: training data (representation gaps), model (proxy variables), deployment (context shift), feedback loop (entrenchment).
- How does a model discriminate via postcode when no sensitive attributes are in the dataset? — Expected: the postcode acts as a proxy variable, correlating indirectly with protected attributes.
- Which three articles of the EU AI Act connect bias to compliance? — Expected: Art. 6 (risk classes), Art. 10 (data quality), Art. 14 (human oversight).
- When is a system potentially unfair under the 80% rule? — Expected: when one group's positive rate falls below 80 per cent of the comparison group's — not accuracy, data completeness or satisfaction.
- Name the five steps of the pre-go-live bias audit. — Expected: define groups/metrics → check data quality → disparity checks → audit results → establish human oversight.
Scoring: 5 of 5 confident — you have completed the series. 3–4 — rework the metrics and the audit steps. Below 3 — repeat this part; it summarises the compliance logic of the whole series.
This concludes the 17-part course. Back to the series start: Part 1 – AI Fundamentals.