Define a refusal event before measuring anything
Measurement starts with a consistent definition. Refusals, deflections, and guardrail blocks should be classified the same way in your logs, so that every group is counted under the same rules.
The refusal rate for a group is then the share of its requests that end in one of these events.
Select customer groups without over-collecting data
Group customers using coarse, purpose-limited attributes. Segment with minimal data, and collect only what the comparison requires.
Choose disparity metrics and statistical tests
Compare refusal rates between groups with a difference or ratio metric, and report confidence intervals alongside it. The intervals show whether a gap between groups is meaningful or could be explained by chance.
Control for request mix and separate warranted from unwarranted refusals
Groups often ask for different things, so a raw gap can reflect what each group is asking rather than how it is treated. Stratify by request type, and compute rate differences, ratios, and intervals within each stratum.
Logging and telemetry required for continuous measurement
Record whether each refusal came from the model or from a runtime policy rule. Each refusal should be traceable to a model response or to a specific policy rule, so the source of any gap can be identified and the results can be audited.
Runtime policy enforcement and audit logging can supply the decision records that disparity measurement depends on.
Set thresholds, ownership, and a review cadence
Measurement is most useful when it is tied to decisions made in advance: what size of gap triggers a review, who owns the response, and how often the results are revisited.