Responsible ML
Audit a model for unfair performance gaps, explain its predictions globally and locally, and document its intended use and limits in a model card.
5 objectives 6 steps about 125 min
Learn it step by step
Read the lessons in order, try the practice checks, then prove the skill with the knowledge check.
This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.
Learning objectives
- Measure group fairness metrics (demographic parity difference, equalized odds and per-group error rates), report group sizes and uncertainty, and explain how differing base rates and imperfect predictions can make chosen fairness criteria conflict under stated assumptions.
- Apply one mitigation (reweighting, per-group thresholds or constrained training) and report its effect on both fairness and accuracy.
- Explain model behaviour globally (permutation importance, partial dependence) and locally (SHAP values or LIME), and state the limits of these explanations.
- Write a model card and dataset documentation covering intended use, metrics by slice, limitations and risks, aligned with a risk framework such as the NIST AI RMF.
- Test a text-generating model for bias with counterfactual prompt pairs that differ only in a demographic attribute, score the outputs with a rubric or classifier, and report the gap with an uncertainty interval.
Lesson plan
6 steps, about 125 min · 5 of 5 lessons available so far
- Where Bias Enters an ML System Concept · 20 min
- Lab: Measuring Fairness Across Groups and Counterfactual Prompts Lab · 30 min
- Worked Example: Closing a Gap and Paying the Price Worked example · 20 min
- Lab: Explaining Predictions Globally and Locally Lab · 25 min
- Model Cards and Risk Documentation Concept · 15 min
- Check: Release Review Knowledge check · 10 questions
Practise it
For a credit, hiring or admissions-style public dataset, report per-group error rates and two fairness metrics, apply one mitigation and chart the fairness/accuracy trade-off, explain three individual predictions with SHAP, and publish a model card that a non-specialist reviewer can follow. Record dataset provenance and allowed use, report group denominators and uncertainty, and state the assumptions of each claimed fairness trade-off.
References
Hard prerequisites
None.
Unlocks
Nothing depends on this skill yet.
On these roadmaps
Progress and evidence for this skill are shared across all of them.