Metric-Free Individual Fairness in Online Learning

Yahav Bechavod, Christopher Jung, Zhiwei Steven Wu

Introduction

Individual fairness—the principle that similar people should be treated similarly—is notoriously difficult to implement because we rarely have a perfect mathematical definition of "similarity." In algorithmic fairness, individual fairness is often considered the gold standard. Unlike group fairness, which looks at averages across demographics, individual fairness requires that any two similar individuals receive similar outcomes. However, this requires a "similarity metric"—a precise way to calculate the distance between any two people.

In the real world, such metrics are almost never available. Previous research tried to solve this by assuming the metric follows a specific mathematical shape (like a Mahalanobis distance), but this is often too restrictive. Humans might know a fairness violation when they see one, but they struggle to provide a quantitative formula for it.

This paper introduces a framework for "metric-free" individual fairness in online learning. It addresses a critical challenge: How can a machine learning model stay fair in an online setting when the similarity metric is completely unknown and the only feedback is a "complaint" from an auditor? The authors prove that an algorithm can learn to be fair by interacting with an auditor who points out violations, achieving sub-linear regret and strong generalization guarantees.

The Metric-Free Framework

The paper proposes a framework that treats fairness as a constraint within an online learning loop.

Comparison of Fair and Standard Online Batch Classification
  1. The Auditor Model: Instead of relying on a predefined metric, the authors assume access to an auditor. In each round, the learner makes predictions for a batch of individuals. The auditor examines these decisions and, if any pair is treated unfairly (i.e., they are "similar" but got very different results), the auditor identifies one such pair.
  2. Lagrangian Reduction: The authors transform this "fairness-constrained" problem into a standard classification problem using a Lagrangian formulation. They combine the standard misclassification loss with a "fairness loss" based on the auditor's feedback.
  3. Data Inflation (The "Reduction"): To make this work with standard "black-box" learning algorithms, they use a clever trick: when the auditor identifies an unfair pair $(x_1, x_2)$, the algorithm "inflates" the training data for the next round. It adds multiple "fake" copies of these individuals with opposing labels to the training set. This forces the underlying learner to minimize the gap between their predictions in future rounds.
  4. Algorithms: They instantiate this framework using two well-known approaches: Exponential Weights (for theoretical bounds) and CONTEXT-FTPL (an oracle-efficient version that can handle large hypothesis classes).

Key Insights and Theoretical Results

While the paper is purely theoretical and focuses on mathematical proofs rather than empirical datasets, it delivers several profound insights into the nature of algorithmic fairness:

  • Metric-Free is Possible: The most significant takeaway is that you don't need to know the metric to satisfy it. As long as an auditor can consistently point out some violation, the learner will eventually "envelope" the unknown metric.
  • Sparse Feedback is Enough: Surprisingly, the auditor only needs to report a single violation per round, even if many exist. The authors prove that this limited, adaptive feedback is sufficient to achieve sub-linear fairness violations over time.
  • Sub-linear Regret: The framework achieves a regret bound of $O(\sqrt{T})$ for misclassification and a sub-linear number of fairness violations. This means that as time goes on, the average error and the rate of fairness failures both drop toward zero.
  • Generalization via Regret: In a stochastic setting (where data comes from a fixed distribution), the authors show that "no-regret" in the online setting translates to "PAC-fairness" (Probably Approximately Correct fairness). The model doesn't just stay fair on the data it has seen; it learns to be fair on new, unseen individuals from the same population.
  • Oracle Efficiency: By reducing the problem to standard online classification, they show that if you have an efficient way to solve a standard supervised learning problem, you can solve the fair version with only a small computational overhead.

Limitations and Future Directions

  • The "Perfect" Auditor: The framework assumes the auditor is "sound"—meaning if they point out a violation, it truly is one according to the underlying (unknown) metric. It also assumes the auditor can always find a violation if it exists. Future work could explore "noisy" auditors who might make mistakes or miss violations.
  • Batch Size Constraints: The reduction involves inflating the dataset by a factor $C$, which depends on the batch size and the desired fairness tolerance. For very large batches or very strict fairness requirements, this could become computationally heavy.
  • Human-in-the-Loop Implementation: While the paper provides a robust mathematical framework, implementing this with actual human auditors would require careful UI/UX design to ensure humans can provide the "violation" feedback consistently over many rounds.

Summary updated

BibTeX
@inproceedings{bechavod2020metric,
  author = {Yahav Bechavod and Christopher Jung and Zhiwei Steven Wu},
  title = {{Metric-Free Individual Fairness in Online Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
  url = {https://openreview.net/forum?id=ZZqP9s_ikP},
}
Figure