Find a course

Module 1: Foundations of Responsible AILesson 2 of 1112 min

How AI Harms Happen

Study real cases of AI harm in health, government and criminal justice, and see how problems enter at each stage of the AI lifecycle.

Step 1 of 12Learn

The algorithm that measured the wrong thing

In 2019, researchers published a study in the journal Science about an algorithm used by US health systems to decide which patients should get extra care management, such as dedicated nurses and closer monitoring. Similar tools were applied to roughly 200 million people a year.

The algorithm didn't use race as an input. But to estimate how sick a patient was, it predicted future healthcare costs. That seemed reasonable: sicker people usually cost more to treat. The trouble was that, because of unequal access to care, less money had historically been spent on Black patients than on white patients with the same level of illness. The algorithm faithfully learned that Black patients "cost less," and so it rated them as healthier than they were.

The result: at the same risk score, Black patients were considerably sicker than white patients. The researchers estimated that fixing the problem would increase the share of Black patients identified for extra help from about 18% to about 47%. Once alerted, the developer worked with the researchers to reduce the bias substantially by changing what the model predicted.

This case illustrates one of the most important ideas in AI ethics: the target, the thing a model is asked to predict, is a design choice. When the target is a proxy for what you really care about, any gap between the proxy and reality becomes bias.

Step 2 of 12Chart

Black patients identified for extra care

Black patients identified for extra careBar chart with 2 categories: Cost-based algorithm: 18%; After correcting the bias: 47%.0%20%40%60%Cost-based algorithmAfter correcting the bias18%47%
Researchers’ estimate from the 2019 Science study (Obermeyer et al.).
Black patients identified for extra care
ItemShare of Black patients flagged
Cost-based algorithm18%
After correcting the bias47%

Step 3 of 12Practice · Choose one

What was the root cause of bias in the health care algorithm?

Step 4 of 12Learn

When governments automate

Some of the most serious AI harms have come from public sector systems, where people can't simply choose another provider.

In the Netherlands, tax authorities used a risk-scoring system, in part algorithmic, to flag childcare benefit claims for fraud checks. Over several years, tens of thousands of families were wrongly accused, ordered to repay large sums and pushed into debt; families with dual nationality or a migration background were disproportionately targeted, and nationality had been used as a risk factor. Investigations found discrimination and a lack of human review, and the government resigned in 2021 over the scandal.

In the United Kingdom in 2020, when exams were canceled during the pandemic, an algorithm adjusted teacher-predicted A-level grades using schools' historical results. Nearly 40% of grades were lowered from teachers' predictions, and students at historically lower-performing schools were hit hardest, regardless of their own work. After public protest, the government withdrew the results within days and used teacher assessments instead.

In Australia, an automated debt recovery program, widely known as "Robodebt," averaged annual income data to calculate welfare overpayments, generating hundreds of thousands of incorrect debt notices. A court found the method unlawful, the government settled a class action, and a Royal Commission later called the scheme "crude and cruel."

The pattern: automated decisions at scale, flawed assumptions, weak human review and affected people who struggled to challenge results.

Step 5 of 12Practice · Select all that apply

Which features were common to the Dutch benefits, UK exam and Australian debt cases? Select all that apply.

Select all that apply.

Step 6 of 12Learn

The AI lifecycle: where things go wrong

Harms can enter at every stage of an AI system's life. Thinking in stages helps teams find risks before they reach people.

  1. Problem framing. Deciding what the system is for and what it predicts. The health algorithm's cost target was a framing choice. So is deciding to predict "likelihood of fraud" rather than "need for support."
  2. Data collection. Who is in the data and who is missing, how it was gathered, whether people consented and whether it reflects past discrimination.
  3. Labeling and features. Who decided what counts as a "good employee" or a "fraudulent claim," and which inputs the model can use, including proxies such as ZIP code for race.
  4. Model development. The type of model, what it optimizes and how much complexity is allowed.
  5. Evaluation. Testing on data that represents real users, checking results for different groups, not just overall accuracy.
  6. Deployment. How outputs are used: as advice to a skilled professional or as automatic decisions. Who can override them, and what happens when the system is used in a different context than intended.
  7. Monitoring and feedback. Watching performance over time, as populations and behavior change, and handling complaints and appeals.

A key insight is that the deployment context changes the risk. The same model can be low risk as a suggestion to an expert and high risk as an automatic decision with no appeal.

Step 7 of 12Practice · Put in order

Put these stages of the AI lifecycle in order.

Drag the items, or use the arrow buttons, to put them in order.

  1. Labeling and feature selection
  2. Evaluation
  3. Deployment
  4. Monitoring and feedback
  5. Data collection
  6. Model development
  7. Problem framing

Step 8 of 12Practice · Diagram

The AI lifecycle: harms can enter anywhere

Tap the stage where the health algorithm’s main mistake (predicting cost) was made.

Tap the shape that answers the question, then press Check.

The AI lifecycle: harms can enter anywhereProcess diagram: Problem framing → Data collection → Labels and features → Model development → Evaluation → Deployment → Monitoring and feedback.ProblemframingDatacollectionLabels andfeaturesModeldevelopmentEvaluationDeploymentMonitoring andfeedback
Problem framing

What the system predicts and why.

Data collection

Who is in the data, who is missing.

Labels and features

Who decides what counts as “good”; proxies like ZIP code.

Model development
Evaluation

Results broken down by group, not just overall.

Deployment

Advice to an expert or automatic decision?

Monitoring and feedback

Step 9 of 12Note

Step 10 of 12Learn

Types of harm

When people talk about AI harm, they often mean several different things. Naming them precisely helps teams look for all of them.

  • Allocation harms: a system withholds an opportunity or resource, such as a job interview, loan, medical care, housing or a benefit. The health algorithm and resume screener are examples.
  • Quality-of-service harms: a system works worse for some groups. Speech recognition that makes more errors with certain accents, or face recognition that misidentifies darker-skinned women far more often, as a 2018 study of commercial systems called Gender Shades found, with error rates up to about 35% for darker-skinned women versus under 1% for lighter-skinned men.
  • Representational harms: a system reinforces stereotypes or demeans groups, such as image generators that depict doctors as men and nurses as women, or search results that associate certain names with criminality.
  • Privacy harms: exposing, inferring or misusing personal information, such as predicting pregnancy or sexual orientation from behavior.
  • Safety and security harms: physical danger, such as from autonomous vehicles or medical devices, or enabling fraud, hacking and harassment.
  • Societal harms: effects at scale, like misinformation, erosion of trust, labor disruption, concentration of power and environmental costs.

One system can cause several types at once. Responsible teams brainstorm each category for every major system.

Step 11 of 12Chart

Gender Shades: worst error rates (2018)

Gender Shades: worst error rates (2018)Bar chart with 2 categories: Darker-skinned women: 34.7%; Lighter-skinned men: 0.8%.0%10%20%30%40%Darker-skinned womenLighter-skinned men34.7%0.8%
Approximate worst-case figures among commercial face-analysis systems tested by Buolamwini and Gebru (2018). A quality-of-service harm.
Gender Shades: worst error rates (2018)
ItemError rate in gender classification
Darker-skinned women34.7%
Lighter-skinned men0.8%

Step 12 of 12Practice · Sort into groups

Classify each example by the main type of harm.

Tap an item, then tap its group (or drag it there).