Ethical AI · Advanced level

Advanced level · Module 3: Bias Mitigation and Model Improvement · Lesson 1 of 3

Systematic Comparison of Mitigation Methods

Learners generate several candidate models with different mitigation strengths and plot them on a fairness–accuracy chart to choose a defensible operating point.

In this lesson you will

  • Generate a set of candidate mitigated models
  • Choose an operating point from a trade-off chart

Key concepts

trade-off chartPareto frontGridSearch (Fairlearn)constraint strengthoperating point

The lesson

Instead of one mitigated model, generate many. Fairlearn's GridSearch trains a series of models with different weightings of the fairness constraint. Varying the ExponentiatedGradient constraint bounds gives a similar result. Plot each model's accuracy against its fairness gap.

The models that are not beaten on both measures form the Pareto front. Choosing a point on it is a value decision. Document why that point was chosen and who agreed.

Include the baseline and simple alternatives (reweighting, a different threshold) on the same chart. A simple method that performs well is easier to explain and maintain.

Step by step

  1. Train a Fairlearn GridSearch with an EqualizedOdds constraint and about 20 grid points.
  2. Compute accuracy and the equalised odds difference for each model on validation data.
  3. Plot them with the baseline and reweighted models.
  4. Choose an operating point and write the rationale.

Practice activity

Produce a fairness–accuracy trade-off chart for the capstone system and justify a chosen operating point.

Expected result: A correct chart and a clear, value-explicit rationale for the chosen model.

Check your understanding

  1. What is the Pareto front in this context?

    Show answer

    The models that no other model beats on both accuracy and fairness.

  2. Why include simple methods on the chart?

    Show answer

    A simple method that performs well is easier to explain and maintain.

Further learning

Taught live by an instructor — online or in person. Free course lessons are for self-study and do not lead to a certificate — see registration options.