Accessibility and Inclusive Language AI › Evaluating Who Benefits and Who is Excluded

Michael BrenndoerferDecember 2, 20267 min read
Language AI HandbookAll chapters
Part 62 of 67Human-AI Interaction and Governance
Chapter 475Accessibility and Inclusive Language AI › Evaluating Who Benefits and Who is Excluded
Reading section 6 of 11 · Evaluating Who Benefits and Who is Excluded · 7 minSection 6 of 11 · 7 min

Section 6 of 11 · 7 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

If accessibility is a pipeline property, its evaluation must be stratified across the populations the pipeline serves. A single aggregate score on a benchmark is meaningless for inclusion. What we need is a stratified evaluation that reports performance by subgroup and makes absence visible.

Stratified evaluation asks which groups have evidence about task completion. A group with no observations has no direct estimate. Review the recruitment and application records before attributing the gap to exclusion.

Stratified Task Evaluation

Suppose a language system is deployed for an interactive task, such as question answering or assisted form filling. We can model task completion for a user in a given interaction mode and language with a simple success model, then aggregate across a sample of users and see who is missing.

Consider a success indicator Yu,m,lY_{u,m,l} for whether user uu completes the task in mode mm (e.g., keyboard, speech, switch access) and language ll. The estimated completion rate in one stratum is:

p^m,l=1nm,l∑u∈sample(m,l)Yu,m,l\hat{p}_{m,l} = \frac{1}{n_{m,l}} \sum_{u \in \text{sample}(m,l)} Y_{u,m,l}

where:

  • p^m,l\hat{p}_{m,l}: the estimated task-completion rate for the stratum defined by interaction mode mm and language ll
  • Yu,m,lY_{u,m,l}: the success indicator for user uu in mode mm and language ll, equal to 1 if the task was completed and 0 otherwise
  • sample(m,l)\text{sample}(m,l): the set of sampled users belonging to that stratum
  • nm,ln_{m,l}: the number of sampled users in that stratum, that is, the size of sample(m,l)\text{sample}(m,l)

For a stratum with at least one observation, the estimate is the fraction who completed the task; including users from other strata would blend coverage and performance. The essential discipline is reporting nm,ln_{m,l} alongside every p^m,l\hat{p}_{m,l}, and examining the distribution of nm,ln_{m,l} across strata: a stratum with tiny nn ("speech input in Swahili") is a coverage gap that the aggregate average hides.

The reason restricting to sample(m,l)\text{sample}(m,l) is essential, rather than merely convenient, is that the whole point of stratification is to answer a stratum-specific question. If you pooled all users into a single average, you would be estimating the completion rate under the mix of modes and languages in the sample. That mix can differ from the target population. Reporting per-stratum estimates keeps the questions separate and makes the skew visible in the sample sizes, where it can be examined and corrected.

The Math of Missing Strata

There is a clean way to formalize who benefits. Let the target population have fraction wgw_g in stratum gg. The strata must partition that population for these fractions to sum to one. Interaction methods can overlap in practice. In this simulation assign each trial to one primary test protocol, then cross it with the assigned language. A real study can define a combined protocol for people using switch access and a screen reader together. Let the system achieve completion pgp_g in that stratum. The population-weighted benefit sums the per-stratum completion rates, each weighted by how large that stratum is in the target population:

pˉ=∑gwgpg\bar{p} = \sum_g w_g p_g

Two systems can have the same pˉ\bar{p} while distributing benefit very differently. If one system works beautifully for high-wgw_g groups and fails low-wgw_g groups, and another is uniformly mediocre, the mean cannot distinguish them. Worse, if the system is deployed only where it works, the observed benefit across users who remain will be high, and the people it failed quietly disappear from usage logs. This is a form of survivorship bias that silently replicates exclusion.

System A has group rates 0.95, 0.60, and 0.20. With group weights 7/117/11, 2/112/11, and 2/112/11, its weighted rate is 0.95(7/11)+0.60(2/11)+0.20(2/11)=0.750.95(7/11) + 0.60(2/11) + 0.20(2/11) = 0.75. System B also has a weighted rate of 0.75, because its completion rate is 0.75 in every group. The identical weighted rates conceal the 0.20 rate for the third group in System A.

This is why absence data matters. If a stratum has zero sampled users, the study does not directly estimate pgp_g, and the term wgpgw_g p_g in the sum becomes unmeasured; you must treat the missingness as a finding ("we have no evidence for speech input in this language"), not as a neutral fact. This echoes the argument in Evaluation Governance that benchmark release decisions should be documented and auditable.

If use falls disproportionately in a group that had low completion, the pooled rate among remaining users can rise even with no change in any group rate. Report the original group definitions and identify groups with no observations. Separate a group excluded by recruitment from a group that had access and chose to stop using the product when you have evidence that distinguishes them.

Uncertainty and Small Samples

For n>0n>0 independent Bernoulli trials with one success probability within a stratum, let p^\hat{p} be successes divided by trials. The Wilson score interval inverts a normal score test. Unlike the plug-in normal interval, it has positive width at observed proportions zero and one. Its two endpoints are

p^+z22n±zp^(1−p^)n+z24n21+z2n\frac{\hat{p} + \frac{z^2}{2n} \pm z \sqrt{\frac{\hat{p}(1-\hat{p})}{n} + \frac{z^2}{4n^2}}}{1 + \frac{z^2}{n}}

where:

  • p^\hat{p}: the observed success proportion in the stratum
  • nn: the number of trials (sampled users) in the stratum
  • zz: the critical value for the desired confidence level (for example, z=1.96z = 1.96 for 95% confidence)
  • the minus sign gives the lower endpoint, and the plus sign gives the upper endpoint

Reporting these intervals alongside stratified means prevents over-interpreting a stratum with few users, such as one with 6 users. When an interval is wide, report what the measured data leave uncertain about the group. Individual Wilson intervals target a nominal coverage level under independent binomial trials and do not provide joint coverage for all strata.

Compare both widths as the sample size increases with zero observed successes. This fixes the observed rate and changes only the amount of data.

PythonIn [5]
CollapseExpand
from math import sqrt

import matplotlib.pyplot as plt
import numpy as np


def wilson_bounds(p_hat, n, z=1.96):
    if n == 0:
        return (np.nan, np.nan)
    denom = 1 + z**2 / n
    center = (p_hat + z**2 / (2 * n)) / denom
    half = z * sqrt(p_hat * (1 - p_hat) / n + z**2 / (4 * n**2)) / denom
    return (max(0.0, center - half), min(1.0, center + half))


def normal_bounds(p_hat, n, z=1.96):
    if n == 0:
        return (np.nan, np.nan)
    se = sqrt(p_hat * (1 - p_hat) / n)
    return (max(0.0, p_hat - z * se), min(1.0, p_hat + z * se))


ci_n_sweep = np.arange(2, 61)
ci_zero_wilson_width = [
    wilson_bounds(0.0, n)[1] - wilson_bounds(0.0, n)[0] for n in ci_n_sweep
]
ci_zero_normal_width = [
    normal_bounds(0.0, n)[1] - normal_bounds(0.0, n)[0] for n in ci_n_sweep
]

ci_small_n = 6
VisualizationOut [6]
CollapseExpand
Lines compare interval widths at zero observed successes by sample size.
Interval width at zero observed successes as sample size grows. The normal approximation collapses to zero width while the Wilson interval stays positive for each positive sample size in the illustration.

The plug-in Wald interval has zero width at an observed success proportion of zero, even when the sample is small. The plot holds that observed proportion fixed and shows why the score interval represents more uncertainty at this boundary.

When all six independent binomial trials fail, the Wald interval collapses to zero width. Under a true success probability of 0.20, the chance of six failures is 0.86≈0.2620.8^6 \approx 0.262. At an observed proportion of zero, the Wilson interval with z=1.96z=1.96 has upper endpoint z2/(6+z2)≈0.390z^2/(6+z^2) \approx 0.390. Neither interval is defined by this formula when n=0n=0.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy