Specialty Digest

Global English editionLearners’ Study Dashboard — in development
The Knowledge Library for All

Flashcards: open the module flashcards (end-of-module review with workplace questions).

Online Courses / Executive Track / AI Strategy for Decision-Makers

Module 5 · Lesson 2 · Core

Fairness: comparing outcomes across groups

Compare selection and error rates across groups, read a ratio against a threshold and know what a fairness check can and cannot show.

  • 50 minutes
  • Serves O5
  • Assumes M5.L1

Phase 1: Prepare

Step 1 Warm-up recall

From M5.L1: what is expected loss?

Private: nothing you type here is sent or stored.

Step 2 Learning goal

By the end of this lesson you can:

  • compute selection rates by group (Foundation);
  • compute a ratio and compare it with a threshold (Core);
  • say what a ratio cannot prove (Core).

Phase 2: Teach

Step 3 A familiar example

A teacher who marks all the essays and sees that one class always scores lower should check the marking before blaming the class. A fairness check asks the same question of an AI system.

Step 4 Clear explanation

A first fairness check compares outcomes between groups the system should treat alike. Take an invented tool that selects applicants.

MeasureGroup AGroup B
Applicants12080
Selected7232
Selection rate60%40%
False rejection rate10%25%
Ratio of rates (B ÷ A)0.67
Group A60%Group B40%Invented example, selection rate
Invented example: selection rates by group, with the lower group at two thirds of the higher.

Group A is selected at 72 ÷ 120 = 60% and group B at 32 ÷ 80 = 40%. The ratio of the two rates is 40 ÷ 60 = 0.67. Some employment guidance uses a rule of thumb of 0.8; here, with an illustrative bar of 0.8, the gap calls for investigation. Group B is also wrongly rejected 25% of the time against 10% for group A.

A ratio is a signal, not a verdict. A low ratio may reflect real differences in qualifications, the data, or the label, and a ratio near 1 does not prove the process is fair. Fairness can also be defined in several ways that cannot all be met at once, so the leader's job is to choose which to protect and explain why.

Differences in error can appear even when the overall score looks fine. In the 2018 study of the COMPAS risk tool, overall accuracy was 67.0% for white defendants and 63.8% for black defendants, and the authors also reported that false positive rates were similar for humans and the software and unfair to black defendants.

Step 5 Worked example (4 marks)

Group A: 45 selected of 90. Group B: 20 selected of 50. Find the ratio and compare with 0.8.

  1. Rate A = 45 ÷ 90 = 50%. (1 mark)
  2. Rate B = 20 ÷ 50 = 40%. (1 mark)
  3. Ratio = 40 ÷ 50 = 0.8. (1 mark)
  4. It sits exactly at the illustrative bar, so look further at errors and reasons. (1 mark)

Go deeper: the professor's notes

Compare outcomes by group.
Selection rate

Selected ÷ applicants.

Error rate

Wrong decisions by group.

Ratio

Lower rate ÷ higher rate.

Signal

Investigate, do not conclude.

Rate A60%Rate B40%Ratio0.67Actioninvestigate
Fairness check

Two groups

MeasureAB
Selected72 of 12032 of 80
Rate60%40%
False rejection10%25%

At work: Ratio

A 30 of 60; B 15 of 50.

  1. A = 50%; B = 30%.
  2. 30 ÷ 50 = 0.6.

What a careful practitioner decides. Below an illustrative 0.8, so investigate.

Phase 3: Practise

Step 6 Learner practice (instant-marked)

1. Selection rate is:

2. 72 selected of 120 is:

3. Rates of 40% and 60% give a ratio of:

4. A low ratio is:

Phase 4: Close

Step 7 Recap

  • Compare selection and error rates by group.
  • A ratio is a signal, not a verdict.
  • Choose which fairness measure to protect, and say why.

Step 8 Exit ticket (ungraded)

Group A: 30 of 60 selected. Group B: 15 of 50. What is the ratio B ÷ A?

Private: nothing you type here is sent or stored.

Step 9 Go further (Extension)

Choose a decision process you know and say which groups you would compare.

In industry: COMPAS accuracy by group

In the 2018 Science Advances study of the COMPAS risk tool, overall accuracy was 67.0% for white defendants and 63.8% for black defendants. The authors also reported that false positive rates were similar for the software and for untrained humans and were unfair to black defendants. The study shows why overall accuracy is not enough: look at the groups.

Link to this lesson. Lesson link: compare rates between groups before relying on a system.

Source: Dressel and Farid, Science Advances, January 2018; EurekAlert, 17 January 2018.

Common mistakes

MistakeWhy it fails
Looking at overall accuracy onlyCompare groups.
Treating the ratio as proofInvestigate causes.
Never checking groupsRun the check before launch.

Limits. The group counts and the 0.8 bar are invented for teaching; legal tests differ by country and use. The COMPAS figures are from one 2018 study and are not a general finding about all tools.

Flashcards for this lesson (3)

Tap a card to reveal the answer. Read the question, answer it aloud or in writing first, then check yourself against the explanation.

Card 1 of 3 · When is a control worth buying?
Before£50,000After£12,500Net£22,500
Reduction beats cost

When it cuts expected loss by more than it costs. A £15,000 control cutting loss from £50,000 to £12,500 gains £22,500.

Card 2 of 3 · What happened with the New York MyCity chatbot?
Risklegal answersControldisclaimerResultended
Disclaimers are not controls

Reporters found it advising businesses to break the law. The city kept it online with stronger disclaimers, and a later mayor announced plans to end it. A disclaimer alone is a weak control.

Card 3 of 3 · How do you run a first fairness check?
Rate A60%Rate B40%Ratio0.67
Compare groups

Compute the selection rate and error rate for each group, then the ratio of the lower to the higher. 40% and 60% give 0.67, below an illustrative 0.8.

Review with flashcards

Test yourself on this module with workplace flashcards and detailed answers.

Open the module flashcards