Back to guides

Guide · Safety

Fairness and Disparity Testing for High-Stakes AI

A secure model can still be unfair. High-stakes AI needs defined protected attributes (where lawful), disparity metrics, and a gate that blocks promotion when thresholds break.

High-stakes AI without slice metrics fails Safety & Responsible AI—measure disparity before promotion. Primary control: Safety & Responsible AI

Secure ≠ fair

APRF separates adversarial security from Safety & Responsible AI. Fairness work asks whether outcomes systematically differ across groups you are obligated—or choose—to monitor. Skipping it is a common failure mode for lending, hiring, insurance, education, and benefits-adjacent assistants.

A ranking model once optimized only for aggregate accuracy. Slice metrics later showed large false-negative gaps for one region. No disparity gate existed, so the model had already shipped. Rollback plus a mandatory slice report on every promotion became the release contract.

Make disparity a release artifact

1. Scope: which decisions are high-stakes; which attributes or proxies you will measure (with legal review).

2. Metrics: false positive/negative rates, selection rates, or domain-specific disparity measures—with thresholds owned by risk, not only ML.

3. Suites: offline eval on held-out slices; re-run on model, prompt, and feature changes.

4. Gate: fail the promotion when thresholds break or slices are missing—same seriousness as a safety refusal suite.

5. Monitoring: production dashboards for slice drift; alert when live disparity exceeds the offline budget.

6. Remediation path: who decides—retrain, constrain features, add human review, or withdraw the flow.

Do not invent protected-class labels you should not store. Prefer lawful proxies, aggregate reporting, and counsel-approved designs. Document what you cannot measure and why.

Pair with refusals and humans

Fairness gates do not replace content refusals or HITL on irreversible actions. They answer a different question: even when the system is allowed to decide, is it deciding equitably enough to stay in production?

Next: Safety & Responsible AI

Open the related pillar specification for mandatory checks, artifacts, and pass conditions. Self-attest is optional.

Frequently asked questions

Is fairness only for regulated industries?
Regulation raises the bar, but any high-stakes ranking or decision system benefits from slice metrics. APRF expects fairness work proportional to criticality tier.
Can the model "be fair" if we prompt it to be unbiased?
No. Prompts are not measurements. You need defined metrics, evals, and gates—same as any other Safety control.
How does this differ from content safety?
Content safety refuses harmful topics and actions. Fairness measures unequal outcomes across groups for decisions you do allow the system to make.