Start with the use case, not the model
Without access to the model, bias can only be judged by what the model does. Treat bias as observable behavior, and begin by defining the bias risks that matter for your specific use case rather than for the model in general.
For each use case, record three things before any testing begins:
- The bias risks that apply to that use case.
- The protected attributes involved.
- The metrics you will use to measure the behavior.
Baseline before deployment with paired prompts
Before launch, baseline the model with paired or counterfactual prompts. Each pair is identical except for the attribute under test, so differences in the outputs can be attributed to that attribute and measured with the metrics you defined.
Run these paired-prompt tests before deployment and keep the results. They become the reference point for every later comparison.
Sample production traffic continuously
Pre-launch tests show how the model behaves on prompts you wrote. Production traffic shows how it behaves on real use. Sample production traffic continuously, and review the sampled outputs on a schedule against the same metrics.
Detect drift across vendor model updates
When the vendor changes the model, its behavior can shift. Re-run the same paired-prompt tests whenever model behavior shifts, and compare the results with your baseline. Using the same tests each time is what makes the comparison meaningful.
Set thresholds, escalation paths, and evidence retention
Monitoring only helps if results lead to action. Set thresholds for each metric, and assign named escalation owners so that a breach has a clear person to respond to it.
Log audit evidence
Log the following as audit evidence:
- Prompts
- Outputs
- Model identifiers
- Policy decisions
Which controls sit where
Some controls operate at runtime and in testing; others belong in the vendor contract. The table below maps each control from this guide to where it sits.
| Control | Where it sits | What it covers |
|---|---|---|
| Use-case bias risks, protected attributes, and metrics | Program definition | What you measure and why |
| Paired or counterfactual prompt tests | Testing, before launch | The baseline for later comparison |
| Production sampling | Runtime | Production outputs reviewed on a schedule |
| Re-run of the same tests | Testing, after model changes | Drift when the vendor changes the model |
| Thresholds and named escalation owners | Runtime and operations | Who responds, and when |
| Logs of prompts, outputs, model identifiers, and policy decisions | Runtime | Audit evidence |
| Change notice, version pinning, and incident reporting | Vendor contract | What runtime controls cannot cover |