Specialty Digest

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

Online Courses / University Track / Learning from Data

Module 7 · Wrap-up

Discussion prompt, recap and references

Reflect on one question, review the module and find the named sources.

  • 25 minutes
  • Recap
  • References

Real-world case: The risk score that predicted spending instead of illness

2019 · A health-care algorithm used on millions of patients

Large health systems and insurers use algorithms to decide which patients should be offered extra help, such as a dedicated nurse who coordinates care for people with complex needs. One widely used commercial algorithm of this kind was applied to roughly 200 million people in the United States each year.

In 2019 a research team led by Ziad Obermeyer examined its scores against patients' actual health. At any given risk score, Black patients were considerably sicker than White patients, as shown by signs of uncontrolled illness such as worse blood pressure and diabetes control. The bias reduced the number of Black patients identified for extra care by more than half. The team estimated that correcting the disparity would raise the share of Black patients who received extra help from 17.7 to 46.5 percent.

The cause was not the arithmetic of the model, which predicted its target well, nor the use of race as an input. It was the label. The algorithm was built to predict future health-care costs, as a stand-in for health needs. Because less money is spent on Black patients with the same level of need, for reasons that include unequal access to care, the model concluded that they were healthier than equally sick White patients.

The researchers worked with the manufacturer to test alternative labels. Reformulating the algorithm so that it no longer used cost as a proxy for need removed the racial bias in predicting who needs extra care.

How the case shows what you learned in this module

Module ideaIn the case
A proxy labelCost stood in for illness, and the two relate differently for different groups.
A good score on the targetThe model predicted cost accurately, so ordinary accuracy checks passed.
Comparing groupsLooking at illness at each risk score, by group, revealed the gap.
A fix at the labelChanging what the model predicts removed the bias; tuning thresholds would not have.

Workplace takeaway. Ask what a model's label really measures, compare outcomes between groups at the same score, and fix the label before adjusting anything else.

Sources: Obermeyer, Powers, Vogeli and Mullainathan (2019), Dissecting racial bias in an algorithm used to manage the health of populations, Science 366(6464):447-453

Discussion prompt

20 minutes. Choose a model or ranking used in your work or study. In 150 to 200 words, say what its label really measures, which feature might leak the answer, which group you would check for uneven errors, how you would notice drift, and what you would put on its model card.

Private: nothing you type here is sent or stored.

This course has no discussion board yet, so the prompt is a private reflection.

Recap

  • A model learns what its label measures; a proxy label can carry unequal gaps.
  • Leakage inflates scores; ask whether each feature is known at prediction time.
  • Report errors by group and monitor drift with an alert level set in advance.
  • Feedback loops distort later data; document a model's purpose, data, limits and owner.

Flashcards: 12 workplace review cards

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 12 · What is a proxy label?
Care aboutillnessMeasurecostRiskunequal gap
Proxy

A measurable stand-in for what we really care about, such as cost of care for illness or detentions for behaviour. If it relates to the truth differently for different groups, the model will too.

Card 2 of 12 · How do you check for group bias first?
Rate A80%Rate B40%Gapinvestigate
Group check

Compute the outcome rate for each group and compare them, for instance 80 percent against 40 percent enrolled among equally sick patients. A gap shows where to look.

Card 3 of 12 · Why can past decisions mislead a model?
Learnsthe patternRepeatsits gapsCheckgroups
Past decisions

A model trained on who was hired or approved before learns that pattern, including its unfairness, as if it were truth.

Card 4 of 12 · What is an unrepresentative sample?
Few casesgroup BLittle signalmore errorsTestby group
Sample

Training data in which some groups are scarce or missing. The model has little to learn from for them and often errs more on them.

Card 5 of 12 · What is data leakage?
After outcomeleakScoreinflatedUseuseless
Leakage

Information that will not be available at prediction time reaching the model or its test. A field filled in after the outcome inflates the score.

Card 6 of 12 · How do you spot a leak?
Timingknown when?Too goodwarningImportanceinspect
Checks

Ask of each feature whether it would be known at the moment of prediction, distrust results that are too good and inspect which features the model leans on.

Card 7 of 12 · What is the cancellation-reason example?
With99%Without72%Baseline65%
Example

A model predicting cancellations scores 99 percent with a field filled in only on cancelling, and 72 percent without it, against a 65 percent baseline. The honest figure is 72.

Card 8 of 12 · Why report accuracy by group?
A98%B65%All94.7%
Groups

A large group dominates the overall figure. With 98 percent on 900 cases and 65 percent on 100, the overall 94.7 percent hides the weak group, which has two thirds of the errors.

Card 9 of 12 · What is drift?
Trainlast yearUsethis yearGapgrows
Drift

Decay in a model's accuracy as the world changes: customers, prices or behaviour move away from the training data.

Card 10 of 12 · What is an alert level?
MonitormonthlyBelow 85%alertActretrain
Alert level

A rule agreed in advance for when to act on monitoring, such as investigate if monthly accuracy falls below 85 percent. Set it before the data arrive.

Card 11 of 12 · What is a feedback loop?
FlagshopsInspectthereDatabiased
Loop

When a model's output decides where data are collected. Inspectors sent only to flagged shops find faults only there, and the next model learns that pattern as if it were the whole truth.

Card 12 of 12 · What goes on a model card?
PurposeuseDatasourceLimitsowner
Model card

Purpose, the data used, what the label measures, performance by group and against a baseline, known limits, and a named owner with a date to recheck.

Module notes

Key terms. Proxy label: a stand-in for what we care about. Leakage: information not available at prediction time reaching the model. Subgroup error: error rate within one group. Drift: decay as the world changes. Alert level: a pre-set value that triggers action. Feedback loop: output that shapes later data. Model card: a short record of purpose, data, performance and limits.

Rules and formulas. group rate = cases in group with the outcome ÷ cases in group; group accuracy = (cases − errors) ÷ cases; overall accuracy = total right ÷ total cases.

Limits of this module. The examples use small invented counts so that every figure can be checked by hand. Decisions about fairness involve law, ethics and the people affected as well as arithmetic, and no checklist settles them alone.

Next

Continue to Module 8: Your Small Model: Build, Test and Report. You can also return to the course overview or the University Track.

References and further reading