Empirical Likelihood for Fair Classification

Pangpang Liu, Yichuan ZhaoICLR 2024

Introduction

Machine learning algorithms are increasingly deployed in high-stakes decision-making systems. However, if these algorithms are trained solely to minimize errors, they may inadvertently discriminate against individuals based on sensitive attributes like gender, race, or age.

In fair machine learning, algorithms are often penalized if their predictions correlate heavily with these sensitive attributes. A common technique enforces a fairness constraint during training—for example, ensuring the covariance between the sensitive attribute and the classifier's decision boundary remains below some threshold $c$.

This standard approach has two major flaws. First, it relies on a point estimate of the covariance from the training data, completely ignoring statistical uncertainty. A model might appear fair on the training set purely by chance. Second, the threshold $c$ is not dimensionless; it depends on the scale and number of sensitive attributes, making it notoriously difficult to tune, especially when protecting multiple groups simultaneously. This paper introduces a statistically grounded approach to fair machine learning by using Empirical Likelihood (EL) to construct confidence regions for fairness criteria, providing a dimensionless, intuitive knob ($\alpha$) to balance the accuracy-fairness tradeoff while accounting for sample uncertainty.

Methodology: Empirical Likelihood (EL)

The authors tackle these issues using Empirical Likelihood, a non-parametric statistical method that constructs confidence regions without assuming the data follows a specific underlying distribution (like a Gaussian).

The approach unfolds in three steps:

  1. Fairness Proxy: Similar to previous work, the authors use the covariance between the sensitive attributes and the distance to the classifier's decision boundary as a proxy for fairness.
  2. EL Confidence Region: They formulate an EL ratio for this covariance vector and mathematically prove that it asymptotically follows a standard $\chi^2$ (chi-squared) distribution. This allows them to build a rigorous confidence region around the covariance estimate.
  3. Training Constraint: Instead of forcing the covariance point estimate to be less than an arbitrary $c$, they constrain the model training such that the vector of perfect fairness (a covariance of exactly $0$) falls within the $(1-\alpha)$ confidence region of the model's covariance.

This swaps the clunky hyperparameter $c$ for a statistical significance level $\alpha \in [0, 1]$. An $\alpha=0$ means no fairness constraint, while a higher $\alpha$ (e.g., 0.05 or 0.5) enforces stricter fairness by shrinking the allowable confidence region.

Key Insights

  • Uncertainty is a Feature: By incorporating confidence intervals into the training constraint, the model avoids overfitting to the specific "fairness noise" of the training sample. This makes the fairness guarantees much more robust when deployed in the real world.
  • $\alpha$ is a Superior Tuning Knob: The significance level $\alpha$ is dimensionless and bounded between 0 and 1. This makes it vastly easier for practitioners to set and interpret compared to an absolute covariance threshold, regardless of how the data is scaled.
  • Handles Continuous Attributes Naturally: Many fairness algorithms require continuous sensitive attributes (like age) to be binarized. Because this EL method operates on covariance vectors, it seamlessly handles continuous sensitive attributes without losing information through arbitrary thresholding.

Experimental Results

The authors validated their approach across synthetic data, the ACS PUMS (US Census) dataset, and the German Credit dataset.

Theoretical Validation: In simulations, the empirical coverage probability of their confidence intervals closely matched the theoretical target, proving the underlying math works in practice.

Better Trade-offs: Compared to the baseline covariance-constraint method (Zafar et al., 2017), the EL-based method achieved strictly better accuracy-fairness trade-offs in several scenarios. For instance, it achieved higher accuracy for the exact same level of demographic parity.

Comparison of EL-based fairness vs baseline

Robustness to Distribution Shift: On the ACS PUMS dataset, the EL method showed remarkable stability. When trained on one state (In-Distribution, or ID) and tested on 49 out-of-distribution (OOD) states, the fairness metrics (Demographic Disparity and Equal Opportunity) remained tightly clustered around the in-distribution results.

OOD vs ID evaluation across different states

Simultaneous Fairness: On the German Credit dataset, the method successfully constrained the model for both gender (binary) and age (continuous) simultaneously. It pulled the covariance vector to $(0,0)$ within a 95% confidence region, dropping accuracy only slightly from 74.2% (unconstrained) to 73.2%.

Limitations and Future Work

The authors acknowledge that covariance is a linear measure of dependence, meaning it is not a perfect proxy for all types of unfairness and can miss non-linear correlations.

For future work, they suggest extending the Empirical Likelihood framework to non-linear fairness criteria, such as the cross-covariance operator or Rényi correlation. Additionally, because the current EL formulation assumes independent and identically distributed (i.i.d.) data, they propose using Jackknife Empirical Likelihood to handle non-i.i.d. scenarios, or Bayesian EL to incorporate prior information about the data.

Summary updated

BibTeX
@inproceedings{liu2024empirical,
  author = {Pangpang Liu and Yichuan Zhao},
  title = {{Empirical Likelihood for Fair Classification}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=GACjMj1MS1},
}
Figure