Introduction
As machine learning models are increasingly deployed in socially sensitive domains like healthcare, criminal justice, and labor markets, algorithmic fairness has become a critical area of research. However, most existing literature focuses heavily on mean fairness—ensuring that the average prediction remains consistent across different sensitive groups (such as race or gender).
Focusing solely on the average can obscure significant biases that exist at the "tails" of a distribution. For instance, in labor markets, the wage gap between men and women might be relatively small for low-income earners but massive for high-income earners (the "glass ceiling" effect). Furthermore, many "fair" models fail to provide uncertainty quantification. In high-stakes fields, practitioners do not just need a single fair point estimate; they need a fair prediction interval that they are confident contains the true value.
To address this gap, this paper introduces Conformalized Fair Quantile Prediction (CFQP). This novel framework ensures machine learning models provide reliable prediction intervals while maintaining "Demographic Parity" across the entire distribution of outcomes, combining optimal transport theory with conformal prediction.
Methodology: The CFQP Pipeline
The authors propose a flexible, post-processing pipeline that can be wrapped around almost any existing quantile regression algorithm (e.g., Linear, Random Forest, Neural Networks). It operates in three main stages:
- Base Quantile Regression: Instead of predicting a single mean, the model starts with standard quantile regression to estimate specific percentiles (e.g., the 5th and 95th percentiles) of the target variable.
- Functional Synchronization (The "Fairness" Step): This is the core innovation of the paper. Using Optimal Transport theory, the authors transform the biased quantile functions of different demographic groups into a unified, "fair" version. They calculate the Wasserstein-2 barycenter—essentially a "middle-ground" distribution that represents a mathematically fair compromise between all groups. A kernel smoothing step is also incorporated to ensure estimates remain reliable even for small subgroups.
- Conformalization: Finally, the pipeline applies a "split conformal" approach. Using a separate calibration dataset, the method calculates "conformity scores" to adjust the fair intervals. This step provides a rigorous, distribution-free coverage guarantee (e.g., ensuring the interval contains the true outcome exactly 90% of the time).
Key Insights
- Fairness is a Distribution, Not a Point: True fairness requires examining the entire outcome distribution. By leveraging quantiles, CFQP detects and mitigates biases that traditional mean-based methods completely miss.
- Optimal Transport as a Fairness Tool: Mapping biased distributions to a Wasserstein barycenter provides an elegant way to satisfy Demographic Parity. It statistically "re-aligns" group distributions so they are indistinguishable from one another.
- The Reliability-Fairness Marriage: Typically, enforcing fairness constraints degrades model performance or reliability. CFQP proves theoretically and empirically that it is possible to achieve "exact" fairness (Demographic Parity) while simultaneously maintaining "exact" statistical coverage.
Empirical Results
The authors evaluated CFQP on four well-known fairness benchmark datasets: Law School (LAW, predicting GPA), Communities & Crime (CRIME, predicting violent crime rates), MEPS 2016 (predicting healthcare utilization), and Government Salary (GOV, predicting salaries).
- Drastic Bias Reduction: CFQP reduced discriminatory bias—measured by the Kolmogorov-Smirnov (KS) distance—by 70% to 90% compared to standard conformalized quantile regression (CQR).
- Guaranteed Coverage: Across all datasets and base models, the method precisely maintained the target coverage rate (e.g., 90%) without failing.
- Outperforming State-of-the-Art: When compared to other fairness-oriented methods (such as those by Chzhen or Agarwal), CFQP consistently achieved the lowest fairness violations while maintaining comparable or superior accuracy (Mean Absolute Error).
- Efficiency: Despite the strict fairness constraints, the resulting prediction intervals remained reasonably narrow, indicating that the "cost" of fairness in terms of interval width was minimal.
Limitations and Future Work
While CFQP represents a significant step forward for quantile fairness, the authors note a few areas for future exploration. The current implementation relies on local linear smoothing for subgroups; more flexible kernel smoothing approaches could improve performance in highly dimensional spaces. Additionally, while this paper focuses strictly on Demographic Parity, future work should adapt the framework for other fairness definitions, such as "Equalized Odds" or "Conditional Variance-at-Risk." Finally, developing a "relaxed" framework where practitioners can tune the specific level of allowed unfairness could provide more granular control over the fairness-accuracy trade-off.
Summary updated