Fairness of Deep Ensembles: On the interplay between per-group task difficulty and under-representation

Estanislao Claucich, Sara Hooker, Diego H. Milone, Enzo Ferrante, Rodrigo Echeveste · DOI

Introduction

In the deployment of machine learning models, performance disparities between demographic groups remain a critical challenge. Traditionally, these "performance gaps" are attributed to under-representation, where a minority group lacks sufficient training data. The standard remedy has been to rebalance datasets to a 50/50 split. However, this approach often overlooks a second, equally vital factor: task difficulty. Some groups are inherently harder to classify due to higher noise levels or more complex feature distributions.

Furthermore, many existing fairness interventions suffer from a "leveling-down" effect, where the performance gap is closed by reducing the accuracy of the majority group rather than improving the minority. This paper investigates whether simple homogeneous deep ensembles—multiple copies of the same architecture trained with different random seeds—can provide a "positive-sum" solution that improves performance for everyone while specifically narrowing the gap for disadvantaged groups.

Methodology

The researchers focused on homogeneous ensembles, where models share the same architecture and hyperparameters but differ in their random initializations. To isolate the effects of representation versus task difficulty, they employed a two-pronged experimental design:

  1. Synthetic Scenarios: Using Gaussian distributions, the authors precisely controlled representation (varying group ratios from 0% to 100%) and difficulty. Difficulty was manipulated through Label Noise (randomly flipping target labels) and Rotating Decision Boundaries (misaligning the optimal classification line for one group).
  2. Real-World Scenarios: The study utilized ResNet-50 architectures fine-tuned on high-dimensional image datasets to validate synthetic findings.

Datasets

  • Synthetic Gaussian Data: A binary classification task used to establish the theoretical interplay between noise and representation.
  • CelebA: A large-scale face attributes dataset. The study focused on predicting hair color (blond vs. non-blond) across gender subgroups.
  • CheXpert: A massive dataset of chest radiographs used for binary classification of lung opacity, analyzing disparities between male and female patients.

Key Insights: Beyond the 50/50 Split

1. Positive-Sum Fairness

Unlike many bias-mitigation techniques that sacrifice overall accuracy to achieve parity, ensembling acts as a "free lunch." It improves the performance of all groups simultaneously. Crucially, it provides a disproportionately larger boost to the disadvantaged group, thereby narrowing the performance gap without the "leveling-down" effect.

2. The Myth of the Balanced Dataset

A provocative finding of this research is that a perfectly balanced dataset (50% Group A, 50% Group B) is often suboptimal for fairness. If a task is inherently harder for Group A, that group requires more than 50% of the training data to reach performance parity with Group B. Fairness, therefore, may require intentional over-representation of groups facing higher task difficulty.

3. Ensembles as a Buffer for Noise

Ensembles are particularly effective at "averaging out" the stochastic errors that plague harder tasks or under-represented groups. This "disparate benefit" is strongest when a group is both under-represented and facing a high-difficulty task, as the ensemble effectively reduces the variance of the model's predictions.

Experimental Results

Across various experiments, homogeneous ensembles reduced performance gaps by 1.3% to 4% without any specialized fairness constraints. Specific findings include:

  • CheXpert: The female group was identified as "harder" to classify. The researchers found that a 40/60 (Male/Female) ratio—intentionally over-representing women—minimized the performance gap and maximized overall accuracy.
  • CelebA: Conversely, the male group was the "harder" subset for the hair-color task. Here, an 80/20 (Male/Female) ratio was required to achieve the best fairness outcomes.
  • Scaling Benefits: In synthetic tests, increasing the ensemble size reduced the performance gap from nearly 2 points of accuracy to marginally zero.

Conclusion and Future Work

This research demonstrates that deep ensembles are a powerful, simple tool for algorithmic fairness. By understanding the interplay between representation and task difficulty, practitioners can move beyond simple data balancing toward more effective, positive-sum interventions.

However, the authors note several limitations for future study. The current definition of "difficulty" relies on performance on a balanced dataset, which may not capture all real-world nuances like sensor noise or labeler bias. Additionally, while this study focused on ResNet-50 and Fully Connected layers, future work should investigate whether these fairness properties extend to modern architectures like Vision Transformers (ViTs) or datasets with higher internal variance within subgroups.

Summary updated

BibTeX
@inproceedings{claucich2025fairness,
  author = {Estanislao Claucich and Sara Hooker and Diego H. Milone and Enzo Ferrante and Rodrigo Echeveste},
  title = {{Fairness of Deep Ensembles: On the interplay between per-group task difficulty and under-representation}},
  booktitle = {Facct},
  year = {2025},
  doi = {10.1145/3715275.3732200},
}
Figure