On the incompatibility of accuracy and equal opportunity

Carlos Pinzón, Catuscia Palamidessi, Pablo Piantanida, Frank ValenciaMachine Learning 2024 · DOI

Abstract

In the quest for fair machine learning, it is often assumed that achieving equity requires only a marginal sacrifice in accuracy. This paper demonstrates a more severe mathematical reality: for certain probabilistic data sources, enforcing "Equal Opportunity" (EO) constraints makes it impossible to outperform a simple constant guess. We provide the first necessary and sufficient conditions to identify these "pathological" distributions and introduce a fast geometric algorithm to map the entire accuracy-fairness trade-off space.

Introduction

The "Fairness-Accuracy Trade-off" is a central tension in artificial intelligence. While researchers typically focus on the magnitude of accuracy loss under fairness constraints, previous work suggested that under specific conditions, fairness might destroy predictive utility entirely. This paper investigates whether this "total incompatibility" exists even without external constraints like privacy.

We specifically examine Equal Opportunity (EO)—a fairness metric requiring that a model's true positive rate be identical across different protected groups (e.g., gender or race). By moving beyond deterministic datasets to probabilistic ones, which better reflect real-world noise, we address a core question: When does the requirement for fairness force a model to become "trivial" (i.e., a model that ignores all input and predicts a constant value)?

Theoretical Framework

To analyze these trade-offs, we define the relationship between predictors, accuracy, and opportunity difference. The following table summarizes the key notation used to derive our impossibility results.

Table of notation and definitions for predictors and fairness metrics.

Geometric Analysis of the Trade-off

We employ a geometric approach to analyze the space of all possible predictors. Every possible classifier is mapped onto a 2D plane where the x-axis represents "Error" and the y-axis represents "Opportunity Difference."

  • The Feasibility Region ($M$): For discrete data, this region is a convex polygon. The "best" models (the Pareto frontier) are always found on the edges of this shape.
  • Algorithm 2 (Fast Vertex Computation): Instead of brute-forcing every possible classifier—a task of $2^{2n}$ complexity—we developed an $O(n \log n)$ algorithm. It works by sorting "rays" of influence from individual data points to find the vertices of the feasibility polygon.
The feasibility region (gray) mapped on the error vs. opportunity-difference plane. Red crosses represent trivial constant predictors.

Key Results

Our analysis yields several critical findings regarding the limits of fair classification:

  1. Theorem 3 (Strong Impossibility): We prove that for any feature space, there exists a distribution where it is impossible to be fair and more accurate than a constant guess simultaneously.
  2. Necessary and Sufficient Conditions: Theorem 10 provides a "litmus test" using four specific inequalities. If a dataset's group averages and "soft" labels fall within these ranges, fairness and accuracy are officially incompatible.
  3. The "Probabilistic" Trap: Incompatibility is often baked into the data. If the ground truth is sufficiently noisy, the mathematical constraints of EO can only be met by a model that "gives up" on using features.
  4. Empirical Distortion: A model might appear fair and accurate on a small sample (the empirical distribution) even if it is fundamentally impossible to achieve both on the underlying true distribution. This suggests practitioners may often be over-optimistic about fairness.

Discussion and Limitations

While this work identifies when the trade-off becomes a pathology, it is currently limited to binary classification and binary sensitive attributes. Extending this geometric method to multi-class or continuous attributes remains an open challenge. Furthermore, while the paper identifies when the trade-off is impossible, it does not prescribe how to "fix" the data, other than suggesting the collection of more informative features to reduce the probabilistic nature of the source. Future work should explore if similar geometric boundaries exist for other fairness metrics like Statistical Parity.

Summary updated

BibTeX
@article{pinzon2024incompatibility,
  author = {Carlos Pinzón and Catuscia Palamidessi and Pablo Piantanida and Frank Valencia},
  title = {{On the incompatibility of accuracy and equal opportunity}},
  journal = {Machine Learning},
  year = {2024},
  doi = {10.1007/s10994-023-06331-y},
}
Figure