Technical Guide

Measuring Refusal Rate Disparity Across Customer Groups in AI Chatbots

Refusal rate disparity is the gap in how often a chatbot declines, deflects, or blocks requests from different customer groups, after accounting for what each group is asking. To measure it, define refusal events in your logs, segment groups using minimal data, compare rates with a difference or ratio metric and confidence intervals, stratify by request type, and record whether each refusal came from the model or from a runtime policy rule.

Refusal disparity measurement path

The measurement follows four stages, each described in more detail in the sections below.

StageWhat it involves
1. DefineClassify refusals, deflections, and guardrail blocks consistently in logs.
2. SegmentGroup customers using coarse, purpose-limited attributes.
3. CompareCompute rate differences, ratios, and intervals within request strata.
4. AttributeTrace each refusal to a model response or a specific policy rule.

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.

Make refusal decisions observable

See how runtime policy enforcement and audit logging can supply the decision records that disparity measurement depends on.

Request a Demo