Introduction
As machine learning models are increasingly deployed in high-stakes environments such as healthcare, finance, and criminal justice, the ability to quantify uncertainty has become as critical as the predictions themselves. Conformal Prediction (CP) has emerged as a premier framework for this task, providing "prediction sets" that are guaranteed to contain the true label with a user-defined probability (e.g., 90%). However, standard CP often suffers from a "fairness blind spot." While it may guarantee 90% coverage on average across a population, it can inadvertently provide significantly higher coverage for majority groups and lower coverage for minority groups, leading to disparate impacts.
This paper introduces Conformal Fairness (CF), a theoretically grounded framework designed to ensure equitable uncertainty guarantees across different sensitive groups (e.g., race, gender, or age). By leveraging the principle of statistical exchangeability, the authors provide a generic algorithm that controls fairness disparities without requiring sensitive group information at the time of inference.
The Problem: Fairness Blind Spots in Uncertainty
The primary limitation of standard Conformal Prediction is that its coverage guarantees are marginal—they apply to the dataset as a whole rather than to specific subgroups. In practice, a model might achieve a 90% global coverage rate by being 95% accurate for Group A and only 70% accurate for Group B. This disparity in "prediction quality" constitutes a form of algorithmic bias.
Existing attempts to rectify this often rely on the strict Independent and Identically Distributed (IID) assumption, which fails in complex, interconnected data environments like social networks. Furthermore, many current solutions require knowing a user's sensitive attributes at the moment of prediction to select the appropriate calibration threshold—a requirement that is often legally prohibited or practically impossible.
The Conformal Fairness (CF) Framework
The authors propose the CF framework to treat fairness as an explicit constraint on the conformal threshold. The framework operates through several key mechanisms:
- Optimal Threshold Search: Instead of a single global threshold, the framework identifies an optimal threshold ($\lambda_{opt}$) that satisfies a "closeness criterion" ($c$). This criterion ensures that the gap in coverage between any two sensitive groups remains below a pre-defined tolerance level.
- Filtering and Calibration: During the calibration phase, the dataset is partitioned into subgroups based on sensitive attributes and labels. The framework uses an "inverse quantile" approach to calculate the necessary coverage levels for each group under various potential thresholds.
- Exchangeability over IID: By moving from the strict IID assumption to the broader concept of statistical exchangeability, the CF framework is "graph-ready." This allows it to handle transductive node classification tasks where data points (nodes) are connected and influence one another, such as in social networks.
- Inference-Time Privacy: A major advantage of this framework is that once $\lambda_{opt}$ is determined during calibration, the sensitive attribute of a new test point is no longer needed. The model generates fair prediction sets using only the features available at inference time.
Experimental Evaluation
The researchers evaluated the CF framework across five multi-class datasets, covering both tabular and graph formats:
- Tabular Data:
ACSIncomeandACSEducation(US Census data), focusing on race as the sensitive attribute. - Graph Data:
Pokec-nandPokec-z(Slovakian social network data) using gender and region; and a graph-augmented version of theCreditdataset (UCI repository) using age.
The framework was tested against various "non-conformity scores" (such as TPS, APS, or RAPS) to demonstrate its model-agnostic nature, working seamlessly with underlying architectures like Graph Neural Networks (GNNs) and XGBoost.
Key Results and Insights
Precise Disparity Control
In experiments on the ACSIncome dataset, the CF framework successfully reduced fairness disparities to below 0.05. In contrast, baseline conformal predictors often exhibited disparities exceeding 0.40. This demonstrates that the framework can provide tight control over the coverage gap.
Legal Compliance
In the Credit dataset, the baseline model failed the legal "Four-Fifths Rule" for disparate impact, with scores as low as 0.25. The CF framework successfully adjusted the prediction sets to bring these values above the required 0.80 threshold, ensuring the model met standard regulatory requirements for fairness.
Superiority in Non-IID Settings
On graph datasets like Pokec-z, the CF framework outperformed existing baselines such as BatchGCP. While previous methods struggled to maintain coverage guarantees for minority subgroups when data points were interconnected, the CF framework’s reliance on exchangeability allowed it to remain robust.
The Efficiency Trade-off
The authors note that fairness is not "free." To ensure a disadvantaged group reaches the required coverage level, the framework may produce slightly larger prediction sets (a decrease in "efficiency"). However, the paper demonstrates that using "classwise lambdas"—different thresholds for different labels—can significantly mitigate this efficiency loss, keeping prediction sets as small as possible while maintaining fairness.
Conclusion and Future Work
The Conformal Fairness framework provides a robust, privacy-preserving, and model-agnostic solution for ensuring equitable uncertainty in machine learning. By shifting the focus from global averages to group-specific guarantees, it offers a path toward more responsible AI deployment in sensitive sectors.
While the current work focuses on classification, the authors identify several avenues for future research. These include extending the framework to regression tasks (where outputs are continuous ranges) and exploring methods to handle data that violates the exchangeability assumption, such as time-series data experiencing distribution shifts. Additionally, addressing data scarcity in intersectional fairness—where the number of calibration points per subgroup can be very small—remains a vital challenge for the field.
Summary updated