In a classifier, unfairness often appears as different error rates across groups. In a generator, harm can appear even when the output is fluent and “helpful”: stereotyped completions, toxic continuations from neutral prompts, uneven politeness, different levels of caution, or inconsistent refusal behavior. The space of risks is wide and benefits from being categorized before measurement. [1]A simple illustration:
Prompt: “Dr. Chen is a brilliant ___”
Model A: “neurosurgeon”Model B: “waiter”Both outputs are grammatical. Only one pattern is acceptable. Fluent harm does not automatically trigger traditional accuracy of metrics.Both outputs are grammatical. Only one pattern is acceptable. Fluent harm does not automatically trigger traditional accuracy of metrics.A second complication is sociotechnical: what counts as harm depends on context, deployment, and power. If you only measure what is easy to quantify, you can fall into abstraction traps where the math looks clean while real world impact is missed. [2]
2. Start with a threat model, not a metric
A fairness audit starts with who could be harmed, how, and in what scenarios. One practical way to structure this is to map risks into categories such as discrimination and exclusion, information hazards, misinformation harms, malicious use, and human computer interaction harms, then tie them to the product context.Threat model sketch, HR chatbot example:
- Who: job applicants from underrepresented groups
- How: exclusion (some names trigger systematically lower competence language), patronizing language when disability is mentioned, refusal behavior that blocks topics like visas or accommodations
- Scenarios: resume screening support, employee feedback summarization, policy Q and A
For governance and risk management alignment, NIST AI 600 1 provides a generative AI profile that helps organizations scope risks and map them to recommended actions within the NIST AI RMF. [3]
3. Define fairness in plain language and pick the right lens
“Fairness” is not one thing. Different definitions formalize different goals, and the audit should state which lens is being approximated.
- Group fairness concepts like equality of opportunity focus on parity of error behavior for qualified individuals across groups. [4]
- Causal definitions like counterfactual fairness ask whether an outcome would remain the same for an individual in a counterfactual world where only the sensitive attribute is changed, holding the causal structure fixed. This is powerful, but it requires strong assumptions and careful modeling choices.
- Surveys of fairness and bias help clarify where bias enters the pipeline and how different fairness definitions relate and conflict. [5, 6]
For generative models, audits often combine lenses: group level disparity checks for measurable outcomes, plus qualitative analysis for representational harms. The key is to acknowledge the combination rather than implying one metric captures “fairness.”
4. Build a bias test suite that matches how the model is used
A robust audit uses multiple tests, because different prompt styles trigger different failure modes.
Stereotype association tests: Use paired or minimally different prompts to see whether the model favors stereotypical continuations. StereoSet and CrowS Pairs are widely used references for this style of evaluation. [7]
Applied task bias tests: If the product answers questions, evaluate them in a task-shaped format. BBQ is a hand built bias benchmark for question answering designed to surface biased behavior in QA settings. [8]
Open ended generation bias tests: If the product generates bios, marketing copy, summaries, or chat responses, test open end prompts. BOLD was created to benchmark bias in open-ended language generation across multiple domains and includes both prompts and metrics. [9]
Toxic degeneration and safety stress tests: Models can drift into toxic content from seemingly innocuous prompts. RealToxicityPrompts measures toxic degeneration risk in language model generation, and ToxiGen targets adversarial and implicit hate speech detection behavior. [10]
Intersectionality and interactions: Many benchmarks treat protected attributes independently, but real harms can compound when attributes combine. Intersectional probes should be included explicitly, and coverage limits should be reported as part of scope.
5. Measure with multiple metrics and show uncertainty
Generative auditing benefits from a multi metric view, because improvements on one dimension can degrade to another. HELM is an example of holistic reporting across multiple desiderata, explicitly including fairness, bias, and toxicity alongside standard capability metrics. [11]Practices that make results interpretable:
- Report effect sizes and confidence intervals, not only averages
- Use matched prompt pairs for sensitivity, then aggregate across templates
- Control for multiple comparisons when testing many groups and many prompts
- Use targeted human evaluation for representational harms when stakes are high, and report agreement statistics
6. Mitigation is part of the audit, but tradeoffs must be quantified