AI, Safety and What Goes WrongLesson 15 of 73

Module 2 · Bias, and how to measure it

What you can actually repair, and where

In this lesson

  • 8 min read
  • 6 reading sections
  • Knowledge check
  • Lesson 6 of 8 in this chapter

This chapter’s goalCompute per-group error rates from a confusion matrix by hand, name which definition of fairness a system enforces and which it therefore gives up, and say whether a given gap can be fixed in the data at all.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmWatch2:45Not available
Full audiobookNot availableNot available

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 8Free · no account needed
Lesson steps

Three places to intervene

Once a gap is measured, there are exactly three points in the pipeline where you can act.

Before the model: pre-processing. Change the data. Collect more examples from under-represented groups, reweight the existing ones, resample, or transform the features to reduce their correlation with group membership.

Inside the model: in-processing. Change the training objective. Add a constraint or a penalty so that the optimiser is penalised for disparity as well as for error. Methods such as exponentiated-gradient reduction and adversarial debiasing sit here.

After the model: post-processing. Leave the model alone and change how its score becomes a decision. Different thresholds per group, or a calibrated adjustment of the outputs.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Stuck on something?Ask Rukmini, your AI tutor

How to cite: Addaly (2026) ‘What you can actually repair, and where’, in AI, Safety and What Goes Wrong. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/ai-and-you/fixing-it-in-the-data (Accessed: 29 November 2026).