A Generic Framework for Conformal Fairness
Aditya T. Vadlamani, Anutam Srinivasan, Pranav Maneriker, Ali Payani, Srinivasan Parthasarathy
TL;DR
This work introduces Conformal Fairness (CF), a framework that integrates fairness constraints into conformal prediction by controlling conditional coverage gaps across sensitive groups under data exchangeability. By filtering calibration data with group/label-conditioned fairness metrics and selecting an optimal threshold $\lambda$ over non-conformity scores, CF can enforce a user-specified closeness $c$ for various metrics, including Demographic Parity, Equal Opportunity, and Predictive Parity, while maintaining distribution-free coverage guarantees. The framework supports multiple non-conformity scores, extends to graph data due to exchangeability, and provides fairness auditing capabilities without requiring group labels at inference. Empirical results on graph and tabular datasets show that CF can significantly reduce fairness disparity and achieve near regulatory disparity bounds (e.g., Four-Fifths Rule) with modest efficiency trade-offs, including successful handling of intersectional fairness and predictive parity proxies. Overall, CF offers a versatile, theoretically grounded approach to fair uncertainty quantification with practical implications for auditing and deploying fair conformal predictors in complex domains.
Abstract
Conformal Prediction (CP) is a popular method for uncertainty quantification with machine learning models. While conformal prediction provides probabilistic guarantees regarding the coverage of the true label, these guarantees are agnostic to the presence of sensitive attributes within the dataset. In this work, we formalize \textit{Conformal Fairness}, a notion of fairness using conformal predictors, and provide a theoretically well-founded algorithm and associated framework to control for the gaps in coverage between different sensitive groups. Our framework leverages the exchangeability assumption (implicit to CP) rather than the typical IID assumption, allowing us to apply the notion of Conformal Fairness to data types and tasks that are not IID, such as graph data. Experiments were conducted on graph and tabular datasets to demonstrate that the algorithm can control fairness-related gaps in addition to coverage aligned with theoretical expectations.
