Uncertainty Estimation for Debiased Models: Does Fairness Hurt Reliability?

Gleb Kuzmin, Artem Vazhentsev, Artem Shelmanov, Xudong Han, Simon Suster, Maxim Panov, Alexander Panchenko, Timothy Baldwin

Abstract

As machine learning models are increasingly deployed in sensitive domains, ensuring both fairness and reliability is paramount. While debiasing techniques successfully mitigate reliance on spurious correlations, their impact on a model's "confidence meter"—its ability to estimate uncertainty—remains under-explored. This study investigates the tension between debiasing and reliability, specifically focusing on selective classification and out-of-distribution (OOD) detection. Our empirical analysis across text classification benchmarks reveals a "reliability tax": debiasing often degrades uncertainty estimation more significantly than raw accuracy. However, we demonstrate that specific combinations of instance reweighting and advanced uncertainty quantification can achieve a favorable balance, providing a path toward models that are both ethical and trustworthy.

Introduction

The development of ethical AI has largely proceeded along two parallel tracks: fairness and reliability. Fairness research focuses on ensuring models do not exploit protected attributes like race or gender. Reliability research aims to ensure models can signal when they are likely to be incorrect, enabling safe failure modes through selective classification or OOD detection.

However, these goals may conflict. Debiasing often involves forcing a model to "unlearn" features or shifting decision boundaries, which can inadvertently disrupt internal uncertainty calibration. This paper explores whether debiasing compromises a model's ability to abstain from uncertain predictions or recognize novel data distributions.

Methods

We conducted an extensive empirical study using two text classification benchmarks: Moji (sentiment analysis with AAE/SAE as protected attributes) and Bios (profession prediction with binary gender). Models were evaluated on both imbalanced (real-world) and balanced test sets.

We evaluated several debiasing strategies:

  • Pre-processing: Instance reweighting (BTJ, BTEO).
  • At-training: Adversarial components (Adv, DAdv) and modified loss functions (FairBatch).
  • Post-processing: Iterative Null-space Projection (INLP).

For reliability, we employed various Uncertainty Estimation (UE) metrics, including Softmax Response (SR), Monte-Carlo Dropout, and Mahalanobis Distance. We also utilized Hybrid Uncertainty Quantification (HUQ) to decompose aleatoric and epistemic uncertainty.

Results and Analysis

Our findings highlight a significant "Reliability Tax." On the Bios dataset, while debiasing might only cause a 1% drop in accuracy, the error rate in selective classification (measured by RC-AUC) can increase by over 30%. This degradation is most pronounced on imbalanced test sets, suggesting that debiased models struggle to navigate the biased distributions they were trained to ignore.

Trade-offs between fairness, accuracy, and reliability (RC-AUC) on the Moji dataset with imbalanced sets.

As shown in the figure above, debiasing methods successfully improve fairness (vertical axis) but often at the cost of increased RC-AUC (horizontal axis, left plots), indicating lower reliability. Interestingly, the choice of debiasing method matters. Instance reweighting methods like BTJ and BTEO provided the most robust trade-offs, maintaining high reliability while improving fairness. Conversely, adversarial methods (Adv/DAdv) achieved high fairness but significantly impaired OOD detection when paired with simple uncertainty metrics.

We also observed that selective classification impacts fairness. Allowing a model to abstain from its most uncertain predictions can shift the fairness profile of the remaining samples, sometimes even reducing overall fairness. However, pairing debiased models with advanced UE techniques like DDU or HUQ can mitigate these reliability losses.

Discussion and Limitations

While this study provides a framework for understanding the fairness-reliability trade-off, several limitations remain. The scope was limited to English text and binary protected attributes, which do not capture the full spectrum of social identity. Furthermore, the focus on "Equal Opportunity" fairness may not generalize to other definitions like demographic parity. Future work should extend these analyses to large-scale generative models and more complex, intersectional protected attributes to ensure that the pursuit of fairness does not come at the cost of system safety.

Summary updated

BibTeX
@inproceedings{kuzmin2023uncertainty,
  author = {Gleb Kuzmin and Artem Vazhentsev and Artem Shelmanov and Xudong Han and Simon Suster and Maxim Panov and Alexander Panchenko and Timothy Baldwin},
  title = {{Uncertainty Estimation for Debiased Models: Does Fairness Hurt Reliability?}},
  booktitle = {IJCNLP},
  year = {2023},
  doi = {10.18653/v1/2023.ijcnlp-main.48},
}
Figure