Operationalizing Individual Fairness with Pairwise Fair Representations

Preethi Lahoti, Krishna P. Gummadi, Gerhard Weikum · DOI

Introduction

Individual fairness—the principle that similar individuals should receive similar outcomes—is often considered the "holy grail" of algorithmic fairness. However, its practical application has long been hindered by the difficulty of defining a perfect "similarity metric." While seminal works assumed experts could provide task-specific distance formulas, humans often struggle to articulate precise mathematical weights for complex scenarios like hiring or parole. This paper introduces Pairwise Fair Representations (PFR), a method that replaces complex global metrics with simple pairwise human judgments to learn data representations that are both accurate and equitable.

The Pairwise Fair Representations (PFR) Framework

Instead of requiring a pre-defined formula, PFR asks experts for coarse-grained, intuitive judgments: "Are these two individuals equally deserving of the outcome?" These judgments are modeled as a Fairness Graph ($G$), where nodes represent individuals and edges represent "equal deservingness."

The PFR model learns a mapping from the high-dimensional input space ($X$) to a lower-dimensional latent space ($Z$) by optimizing a combined loss function:

  1. Data Utility: Preserving the original signal by keeping individuals close in the latent space if they were close in the feature space.
  2. Fairness Constraint: Forcing individuals connected in the Fairness Graph to be mapped to nearby points in the latent space.
Visualization of the learned PFR representation showing the decision boundary and data distribution.

A significant advantage of this approach is generalization; once the mapping is learned during training, it can be applied to new, unseen individuals without requiring further human labels.

Experimental Evaluation

The authors evaluated PFR across three distinct datasets: a Synthetic Graduate Admissions set (simulating privilege-induced score inflation), the Crime & Communities dataset (using resident reviews from niche.com for fairness labels), and the COMPAS recidivism dataset (using within-group rankings as a proxy for the fairness graph).

Key Results and Insights

  • Superior Consistency: PFR consistently outperformed baselines like iFair and LFR in "Consistency ($W^F$)," a metric measuring how often similar people (according to the fairness graph) receive similar predictions. While other methods struggled to maintain individual fairness in high-dimensional tasks, PFR maintained high performance.
Consistency ($W^F$) comparison across different methods, showing PFR's superior performance.
  • Accuracy vs. Fairness: In synthetic tests, PFR achieved an AUC of approximately 0.95. The model demonstrated that enforcing individual fairness often "automatically" satisfies group fairness criteria, such as Demographic Parity, even without explicit group labels.
  • Robustness to Sparse Labels: The framework is remarkably efficient; using as little as 0.17% of possible pairwise labels in synthetic tests was sufficient to achieve high consistency and accuracy.

Limitations

Despite its successes, PFR faces a "natural conflict" when human fairness judgments disagree with historical labels, which may themselves be biased. In such cases, utility (accuracy) must be sacrificed to satisfy fairness constraints. Additionally, the model's fairness is inherently tied to the quality and subjectivity of the human judgments provided in the fairness graph.

Summary updated

BibTeX
@article{lahoti2019operationalizing,
  author = {Preethi Lahoti and Krishna P. Gummadi and Gerhard Weikum},
  title = {{Operationalizing Individual Fairness with Pairwise Fair Representations}},
  journal = {Proc. VLDB Endow.},
  year = {2019},
  doi = {10.14778/3372716.3372723},
}
Figure