Fairness Through Matching

Kunwoong Kim, Insung Kong, Jongjin Lee, Minwoo Chae, Sangchul Park, Yongdai Kim

Introduction

In the field of algorithmic fairness, "Group Fairness" is often considered the gold standard. It typically requires that a model’s predictions be statistically similar across protected groups, such as ensuring equal loan approval rates for different ethnicities. However, standard measures like Demographic Parity only evaluate aggregate statistics. A model can appear "fair" on average while remaining deeply unfair in its underlying mechanics. For example, a model might achieve parity by selecting highly qualified candidates from one group while intentionally picking unqualified candidates from another to balance the numbers—a phenomenon known as the "self-fulfilling prophecy."

The primary challenge is that existing tools do not allow practitioners to control the specific mechanism of fairness. While we can verify if a model is fair, it is difficult to determine if it is being fair for the right reasons.

Methodology: Fairness Through Matching (FTM)

To address this, researchers have introduced Fairness Through Matching (FTM), a framework that utilizes Optimal Transport (OT) theory. Their core insight is that every group-fair model implicitly defines a "transport map"—a mathematical method for matching an individual in one group to a "counterpart" in another.

Matched Demographic Parity (MDP)

The authors propose a new metric called Matched Demographic Parity (MDP). Instead of looking at group averages, MDP measures the prediction gap between specific pairs of individuals matched by a transport map.

Matched Demographic Parity (MDP) concept: A transport map matches individuals across groups (e.g., Female A and Male B) to ensure they are treated similarly.

FTM serves as an "in-processing" algorithm. During training, the model minimizes a standard loss function (like cross-entropy) while being constrained by the MDP metric. The choice of the transport map allows developers to define what "similarity" means:

  • Marginal OT Map: Matches individuals based purely on input features ($X$). This ensures "subset fairness," keeping the model fair even when zooming in on specific demographics (e.g., age groups).
  • Joint OT Map: Matches individuals based on both features ($X$) and actual labels ($Y$), helping the model maintain high accuracy and "Equalized Odds."

Experimental Results

The researchers evaluated FTM on four benchmark datasets: ADULT (income prediction), GERMAN (credit risk), DUTCH (occupations), and BANK (marketing).

Key Insights

  • Competitive Trade-offs: FTM achieves accuracy-fairness trade-offs that are comparable to or better than state-of-the-art methods like Reduction or Adversarial Fair Learning.
  • Superior Subset Fairness: On the German dataset, FTM significantly reduced "subset unfairness." While baseline models often showed high disparity within specific age groups, FTM remained consistent.
  • Individual Consistency: FTM showed higher consistency scores than baselines. For instance, on the Adult dataset, FTM achieved a consistency of 0.935, outperforming the next best baseline (0.915).
  • Robustness: The model remained stable even in imbalanced scenarios where one protected group was significantly smaller than the other (e.g., a 5:95 ratio).

Conclusion

FTM moves machine learning away from "fairness by the numbers" and toward "fairness by design." By forcing the model to treat similar people across groups similarly, it prevents the "gaming" of statistical quotas. Future work will focus on extending this framework to non-binary sensitive attributes and reducing the computational complexity of calculating Optimal Transport maps during training.

Summary updated

BibTeX
@article{kim2025fairness,
  author = {Kunwoong Kim and Insung Kong and Jongjin Lee and Minwoo Chae and Sangchul Park and Yongdai Kim},
  title = {{Fairness Through Matching}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2025},
}
Figure