What is individual fairness in AI?
Individual fairness in AI is the notion that people who are similar with respect to the task at hand should receive similar outcomes from an AI system; the yardstick is similarity between individuals rather than groups.
Unlike group fairness, which compares average rates across groups, individual fairness looks at how each person is treated. A system can look balanced at group level yet give two similar people very different outcomes.
- Topic
- Responsible AI and governance
- Also known as
- Treating similar people similarly
- Origin
- Dwork et al., 2012
How individual fairness in AI works
- Define a task-specific similarity measure: which features are relevant to the decision.
- Form pairs or clusters of similar people under that measure.
- Measure the gap in outcomes between similar people.
- If the gap exceeds an accepted bound, fix the model or decision rule.
In more detail
Formal definition: the (D, d) Lipschitz condition
Formally, Dwork et al. (2012) define individual fairness as a (D, d)-Lipschitz continuity condition: for any two individuals x and y, the distance between the model's output probability distributions D(M(x), M(y)) must not exceed their task-specific similarity distance d(x, y). This forces small input differences (under d) to produce proportionally small decision shifts.
The unawareness fallacy and the proxy variable problem
Simply deleting sensitive attributes, known as 'fairness through unawareness', does not guarantee individual fairness because proxy variables (such as postcode, school name or shopping patterns) strongly correlate with protected traits. Paradoxically, achieving true individual fairness requires 'awareness' of protected context when calibrating the similarity metric d(x, y).
Conflict with group fairness and impossibility theorems
Individual fairness and group fairness can conflict: satisfying statistical parity across groups may require treating similar individuals differently, while strict individual fairness does not automatically guarantee equal group acceptance rates when base rates differ. Moreover, impossibility theorems (Kleinberg et al., 2017; Chouldechova, 2017) show that competing group fairness criteria themselves cannot hold simultaneously under unequal base rates.
Measuring in production: consistency scores and counterfactual tests
In production auditing, individual fairness is measured using k-nearest-neighbour consistency scores (comparing each person's prediction with their k most similar peers), counterfactual perturbation tests (flipping sensitive or proxy attributes) and Lipschitz-constrained or adversarial regularisation during training (such as SenSR).
Commonly confused terms
| Term | How it differs |
|---|---|
| Group fairness in AI | Group fairness enforces statistical parity or equalised error rates across demographic groups on average, whereas individual fairness constrains outcome differences between any two specific individuals who are similar for the task. |
| Counterfactual fairness | Counterfactual fairness requires a person's predicted outcome to remain unchanged in a counterfactual world where their protected attribute differed (holding causal ancestors fixed), whereas individual fairness uses a task-specific distance metric between any two individuals in the observed population. |
Why individual fairness in AI matters for on-premises AI
The paper defining fairness through awareness proposes a task-specific metric for how similar individuals are plus an algorithm maximising utility under the constraint that similar individuals are treated similarly, also studying how to achieve statistical parity while keeping individual fairness as far as possible. A comprehensive book on fairness and machine learning covers how formal non-discrimination criteria relate and where they fall short. In practice the hardest part is deciding which features count as relevant to similarity.
A university compares its scholarship model's scores for applicants with the same grades, income and project experience but from different cities; finding large gaps, it examines the effect of city information.
Common questions
Who sets the similarity measure?
Domain experts together with legal and ethics teams. It is a value judgement as much as a technical choice.
Does individual fairness replace group fairness?
No. They answer different questions; organisations usually track both.
Related terms
- Group fairness in AI
- AI fairness metrics
- AI fairness
- Demographic parity in AI
- Counterfactual explanation
- Protected attribute in AI
Sources
- Dwork et al., Fairness Through Awareness, 2012
- Barocas, Hardt and Narayanan, Fairness and Machine Learning: Limitations and Opportunities
In the glossary: Glossary, E to L