What is group fairness in AI?
Group fairness in AI is a family of fairness criteria requiring an AI system's statistics, such as decision rates, error rates or calibration, to be equal or close across protected groups; demographic parity, equal opportunity and equalised odds belong to it.
Unlike individual fairness, which asks whether similar people are treated similarly, group fairness looks at averages and is easier to measure. Balance at group level can hide individual unfairness.
- Topic
- Responsible AI and governance
- Also known as
- Statistical fairness
How group fairness in AI works
- Choose protected groups and the statistic to compare.
- Compute rates for each group on evaluation data.
- Compare gaps with thresholds, reporting several criteria together.
- Where criteria conflict, choose by justifying which harm takes priority.
In more detail
The fairness-through-unawareness fallacy and proxy variables
Even when protected attributes such as gender or ethnicity are removed from the training features ("fairness through unawareness"), models frequently infer them through correlated proxy variables like postcode, school or purchasing habits. Effective group fairness auditing therefore requires measuring group disparities directly rather than merely dropping sensitive columns.
Intervention stages: pre-processing, in-processing and post-processing
Fairness interventions apply at three stages of the ML pipeline: pre-processing (reweighting or resampling training data), in-processing (adding fairness constraints or adversarial debiasing to the loss function) and post-processing (adjusting group-specific decision thresholds, such as Hardt et al.'s threshold optimisation). Each stage trades off differently between accuracy, interpretability and legal permissibility.
Intersectional fairness and subgroup masking
Measuring averages across broad single attributes can mask severe disparities at intersections, a phenomenon known as fairness gerrymandering (Kearns et al.). For example, a model may appear balanced for women overall and for older applicants overall, while systematically under-serving older women; production audits must therefore evaluate intersectional subgroups where sample sizes allow.
Commonly confused terms
| Term | How it differs |
|---|---|
| Demographic parity, equal opportunity and equalised odds | Demographic parity requires equal positive prediction rates across groups regardless of underlying base rates; equal opportunity requires equal True Positive Rates (TPR) only among qualified/positive individuals; equalised odds requires both equal TPR and equal False Positive Rates (FPR) across groups. |
| Individual fairness in AI | Group fairness compares aggregate statistical parity across demographic categories, whereas individual fairness requires that any two individuals who are similar with respect to the task receive similar predictions regardless of group membership. |
| Counterfactual fairness | Counterfactual fairness asks whether an individual's prediction would remain the same in a hypothetical world where only their protected attribute changed (causal view), while group fairness evaluates observational statistical distributions without necessarily modelling causal pathways. |
Why group fairness in AI matters for on-premises AI
A comprehensive book on fairness and machine learning sets out formal non-discrimination criteria in a decision-theoretic setting, their relationships and limits. A study of fair risk scores proves three fairness conditions at the heart of the debate cannot hold together except in highly constrained cases; a study of recidivism prediction tools shows the criteria cannot all be met when base rates differ. NIST's bias report stresses that bias also has human and systemic sources, not only statistical ones.
This page gives general information and is not legal advice.
An insurer reports its claims fraud model by age group on both referral rate and false alarm rate; when the two disagree, it sets the threshold after weighing which harms customers more.
Common questions
Which group fairness criterion should be chosen?
It depends on context. If rejecting the deserving matters most, equal opportunity; if false alarms matter too, equalised odds. The choice must be justified.
Can all criteria hold at once?
Usually not. When base rates differ, some criteria conflict mathematically.
Related terms
- AI fairness metrics
- Demographic parity in AI
- Equal opportunity in AI
- Equalised odds
- Individual fairness in AI
- Disparate impact in AI
Sources
- Barocas, Hardt and Narayanan, Fairness and Machine Learning: Limitations and Opportunities
- Kleinberg, Mullainathan and Raghavan, Inherent Trade-Offs in the Fair Determination of Risk Scores, 2016
- Chouldechova, Fair prediction with disparate impact: A study of bias in recidivism prediction instruments, 2017
- Schwartz et al., Towards a Standard for Identifying and Managing Bias in Artificial Intelligence, NIST SP 1270, 2022
In the glossary: Glossary, D to L