FairlyUncertain: A Comprehensive Benchmark of Uncertainty in Algorithmic Fairness

Lucas Rosenblatt, R. Teal WitterSubmission to ICLR 2025 · Rejected

TL;DR

FairlyUncertain introduces a formal, open-source benchmarking suite to evaluate how heteroscedastic uncertainty estimation interacts with algorithmic fairness. Guided by two foundational axioms—consistency across similar training pipelines and calibration to real data variability—the authors show that abstaining from predictions under uncertainty fails to fix group fairness disparities in classification, whereas outputting calibrated uncertainty estimates in regression dramatically reduces demographic disparities without any explicit fairness constraints.

What Problem Does This Paper Address?

Algorithmic fairness research often treats prediction error as something that can be entirely engineered away, ignoring irreducible, observation-specific noise (heteroscedastic aleatoric uncertainty). While recent literature has proposed addressing unfairness by deferring or abstaining from uncertain predictions (or using ensemble heuristics to measure confidence), the field lacks:

  1. A rigorous taxonomy distinguishing types of data and model uncertainty.
  2. Formal criteria for what constitutes a "fair" and trustworthy uncertainty estimate.
  3. Standardized benchmarks to evaluate whether uncertainty-based interventions actually alleviate demographic outcome disparities.

Crucially, prior fairness interventions frequently exacerbate predictive arbitrariness, causing models with nearly identical training accuracy to assign wildly diverging predictions and confidence estimates based purely on arbitrary pipeline choices (such as tree depth or regularization).

Methods

The authors establish an axiomatic foundation and evaluate standard and newly adapted uncertainty methods:

  • Two Guiding Axioms:
  • Consistency (Axiom 2.3): Two similar learning pipelines trained on the same data (differing only by minor hyperparameter tweaks) must output near-identical uncertainty estimates $\sigma$.
  • Calibration (Axiom 2.4): Predicted uncertainty must accurately reflect true conditional data variability, $\text{Var}(y \mid x, a) = \sigma^2$.
  • Classification Uncertainty Approaches:
  • Ensemble baselines: Bagged model variance, Selective Ensembles (binomial $p$-values over ensemble votes), and Self-Consistency Ensembles.
  • Binomial NLL: Directly training models using negative log-likelihood (NLL) to predict underlying event probabilities $p$, where the predicted standard deviation is analytically defined as $\sigma = \sqrt{p(1-p)}$.
  • Regression Uncertainty Approaches:
  • Evaluates heteroscedastic regression objectives including Normal NLL, $\beta$-NLL, and Faithful NLL, comparing them against bagged ensemble variance.
  • Uncertainty-Aware Statistical Parity (UA-SP):
  • A novel regression metric generalizing standard statistical parity. Instead of treating predictions as deterministic point values, it samples outcomes from an uncertainty-induced distribution $\mathcal{N}(\mu, \sigma^2)$ before measuring the Kolmogorov-Smirnov distance between demographic groups.

Datasets

The authors evaluate 10 tabular datasets standard to algorithmic fairness:

  • Binary Classification (5): ACS Income/Employment (Ding et al., 2021), Adult Census Income, Bank Marketing, COMPAS recidivism, and German Credit.
  • Regression (5): Law School GPA, Communities & Crimes, Health Insurance Costs, Infant Health and Development Program (IHDP), and Twins birth weight/visits.

Key Insights and Ideas

  • Direct probabilistic modeling beats complex ensemble metrics: Heuristic uncertainty metrics (like Selective Ensembles and Self-Consistency) reflect pipeline arbitrariness rather than intrinsic data noise. Direct probability estimation via Binomial NLL produces substantially more consistent and calibrated uncertainty estimates across hyperparameter shifts.
  • Abstention is not a substitute for fairness: Allowing a model to abstain on samples with high uncertainty reduces overall error rates, but its impact on demographic parity and equalized odds is erratic—mirroring the behavior of random abstention. In fact, standard in-processing fairness methods that never abstain consistently achieve better group fairness than abstention-based methods.
  • Uncertainty naturally smooths regression disparities: In regression, explicitly modeling heteroscedastic variance smooths predicted cumulative density functions (CDFs) for high-uncertainty instances. Under the proposed UA-SP metric, this intrinsic smoothing reduces statistical parity gaps more effectively than standard fairness algorithms, requiring no specialized fairness regularizers.

Key Results

  • Consistency & Calibration in Classification:
  • On the ACS dataset, Binomial NLL achieved a test negative log-likelihood (NLL) of 0.40, whereas standard Ensembles scored 1.10 and Selective Ensembles reached 1.10.
  • Selective Ensembles exhibited extreme hyperparameter sensitivity, with individual standard deviations across tree depths averaging 0.45, compared to 0.08 for standard Ensembles and 0.10 for Binomial NLL.
  • Failure of Abstention for Fairness:
  • On the ACS Income task, abstaining reduced error from 0.22 to 0.156 (Binomial NLL), but Statistical Parity disparity remained high at 0.164. Dedicated fairness optimizers that make predictions for 100% of samples (e.g., FairGBM SP) achieved a disparity of 0.046.
  • Uncertainty-Aware Fair Regression:
  • On the Law School dataset, the Kolmogorov-Smirnov distance between demographic CDFs dropped from 0.965 (baseline regression) and 0.888 (Grid Search fairness intervention) down to 0.196 using Normal NLL and 0.192 using Faithful NLL.
  • On Communities & Crimes, KS distance dropped from 0.644 (baseline) to 0.299 (Faithful NLL).

Limitations and Future Work

  • Parametric Assumptions: The calibration objectives and the UA-SP metric assume specific underlying outcome distributions (Binomial for binary labels, Gaussian for regression), which may not reflect multi-modal or heavy-tailed data.
  • Model Diversity: Evaluations predominantly focus on XGBoost and standard multi-layer perceptrons on tabular data. Extending to transformer-based tabular architectures and broader computer vision/NLP fairness benchmarks remains open.
  • Intervention Scope: The benchmark investigates abstention and distribution smoothing, but future iterations will need to explore how calibrated uncertainty can actively constrain active learning, learning to defer, and multi-objective Pareto optimization.

Summary updated

Abstract

Fair predictive algorithms hinge on both equality and trust, yet inherent uncertainty in real-world data challenges our ability to make consistent, fair, and calibrated decisions. While fairly managing predictive error has been extensively explored, some recent work has begun to address the challenge of fairly accounting for irreducible prediction uncertainty. However, a clear taxonomy and well-specified objectives for integrating uncertainty into fairness remains undefined. We address this gap by introducing FairlyUncertain, an axiomatic benchmark for evaluating uncertainty estimates in fairness. Our benchmark posits that fair predictive uncertainty estimates should be consistent across learning pipelines and calibrated to observed randomness. Through extensive experiments on 10 popular fairness datasets, our evaluation reveals: (1) A theoretically justified and simple method for estimating uncertainty in binary settings is more consistent and calibrated than prior work; (2) Abstaining from binary predictions, even with improved uncertainty estimates, reduces error but does not alleviate outcome imbalances between demographic groups; (3) Incorporating consistent and calibrated uncertainty estimates in regression tasks improves fairness without any explicit fairness interventions. Our benchmark package is designed to be extensible and open-source. By providing a standardized framework for assessing the interplay between uncertainty and fairness, FairlyUncertain paves the way for more equitable and trustworthy machine learning practices.
BibTeX
@misc{rosenblatt2024fairlyuncertain,
  author = {Lucas Rosenblatt and R. Teal Witter},
  title = {{FairlyUncertain: A Comprehensive Benchmark of Uncertainty in Algorithmic Fairness}},
  year = {2024},
  eprint = {2410.02005},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.02005},
}
Figure