AI Governance Institute
All governance templates →How do we detect and mitigate algorithmic bias?

Implementation Kit

AI Bias Testing Templates and Remediation Checklist

A run-it-yourself bias testing protocol: a disparate-impact analysis with a four-fifths calculator, a subgroup confusion-matrix template, a remediation decision tree keyed to the source of bias, and an audit trail that records before-and-after metrics.

Who this is for: The data scientist or model risk analyst who has to test a system that affects people and defend the result.

Download the kit (Markdown) ↓4 artifacts. Every table also copies as CSV.

1. Disparate impact analysis

Spreadsheet

Selection rate by group, ratio against the most-selected group, screened with the four-fifths rule.

Template

GroupNSelected (positive outcome)Selection rateRatio vs. highest groupPass four-fifths (>= 0.80)?
<group A>rateratioY / N
<group B>
<group C>

Worked example

GroupNSelectedSelection rateRatio vs. highestPass four-fifths?
Group A8,2002,0500.2501.00 (highest)Y
Group B3,1006820.2200.88Y
Group C1,4502610.1800.72N
Screen result: Group C fails the four-fifths screen (0.72). Proceed to subgroup confusion matrix and source diagnosis.

Acceptance criteria

  • Selection rates are computed for every relevant protected group, and for key intersections where sample size allows.
  • The four-fifths ratio is calculated against the highest-selected group, and any failing group is flagged for diagnosis.
  • Sample sizes are shown, and groups too small to test are named rather than dropped silently.

2. Confusion matrix by subgroup

Spreadsheet

For classifiers: error rates per group, so a model can be "accurate overall" and still fail one group.

Template

GroupTPR (recall)FPRFNRPrecisionNotes
<group A>
<group B>
Overall

Worked example

GroupTPRFPRFNRPrecisionNotes
Group A0.840.090.160.81baseline
Group B0.830.100.170.80within tolerance
Group C0.680.110.320.79FNR nearly 2x baseline: qualified people in Group C are missed more often
Overall0.820.100.180.80
For scoring models, replace with a score-distribution comparison (mean, spread, and the rate above the decision threshold per group).

Acceptance criteria

  • Error rates are reported per group, not only in aggregate.
  • The metric that matters for the use case is identified (false negatives for opportunity-allocation, false positives for punitive decisions).
  • A gap greater than the pre-set tolerance is carried into source diagnosis.

3. Bias remediation decision tree

Spreadsheet

Which mitigation to try, based on where the bias comes from.

Template

Diagnosed sourceSignsRemediation optionsRe-test focus
Training data representationUnder-represented group; label scarcityResample, targeted data collection, reweightingSelection rate parity
Label biasHistorical labels encode past discriminationRelabel, proxy-label audit, outcome redefinitionBoth selection rate and error rates
Proxy variablesA feature correlates with a protected attribute and carries little independent signalDrop or transform the feature; monitored group-aware constraintError-rate parity
Model design / thresholdSingle global threshold; loss not aligned to fairness goalPost-processing (group thresholds where lawful), calibrated equalized oddsThe metric tied to the chosen fairness definition
Deployment contextModel fine on test data, biased in the live pipelineFix upstream data capture; re-test on production sampleLive-sample disparate impact

Worked example

Diagnosis and outcome for the Group C four-fifths failure.

StepFinding
SignsFNR ~2x baseline, FPR balanced
Diagnosed sourceLabel scarcity plus a proxy feature ("years at a single employer") that adds little signal once experience is controlled for
RemediationDrop the tenure proxy; add targeted labeled data for Group C roles
Re-test focusSelection-rate ratio and FNR gap
Result after retrainRatio 0.72 to 0.86; FNR gap 0.16 to 0.05

Acceptance criteria

  • The source of bias is diagnosed before a mitigation is chosen, not guessed.
  • The chosen technique is lawful in the jurisdiction (group-specific thresholds are restricted in some).
  • Re-test targets the specific metric the remediation was meant to move.

4. Bias testing audit trail

Spreadsheet

The defensible record: what was tested, what failed, what was done, and the before-and-after numbers.

Template

DateSystem / versionGroups testedScreen resultDiagnosisRemediationBeforeAfterRe-test dateSign-off

Worked example

DateSystem / versionGroups testedScreen resultDiagnosisRemediationBeforeAfterRe-test dateSign-off
2026-06-12resume-screener v2.3sex, race/ethnicity, age bandsex ratio 0.83 failtenure proxy + label scarcitydrop tenure weight; add dataratio 0.83, FNR gap 0.14ratio 0.90, FNR gap 0.052026-07-15R. Nkemelu
2026-08-30resume-screener v2.4sex, race/ethnicity, age bandpass (lowest ratio 0.88)n/anoneratio 0.88n/a2026-09-30R. Nkemelu

Acceptance criteria

  • Every test run is recorded, including passes.
  • Before and after metrics are captured for every remediation.
  • Each entry has a named sign-off and a scheduled re-test date.

Governance controls this kit produces evidence for

Completing the artifacts above gives you a head start on the evidence requirements for these controls.

MON-003
AI Bias and Fairness Monitoring

The protocol and audit trail are the bias and fairness monitoring record, with a re-test cadence.

HOC-001
AI System Risk Classification

Testing is scoped to systems that a risk classification marks as affecting people.

ALC-004
AI Explainability Documentation

The audit trail is explainability and fairness documentation for the system file.

MGV-006
RAI Benchmark-Aligned Evaluation Framework

The disparate-impact and subgroup metrics feed a benchmark-aligned evaluation framework.

CMP-007
EU AI Act Conformity Assessment and FRIA Process

The audit trail supplies the bias-testing evidence an EU AI Act conformity assessment requires for a high-risk system.

This kit backs one playbook. Read the full guidance for the reasoning behind each artifact.

Decide what to implement next

Assess your governance gaps, then create an action plan with owners and target dates. Build and export without an account; sign in when you want to save your plan.

Start the AI governance assessment →