Deep Ensembles are often considered a "free lunch" for predictive accuracy, but they come with a hidden cost: they can significantly worsen algorithmic fairness. This paper identifies the "disparate benefits effect," where ensembling helps already-advantaged groups more than others. However, it also reveals that the superior calibration of ensembles makes them ideal candidates for post-processing fairness fixes.
The Hidden Cost of the Ensemble Boost
In the world of deep learning, ensembling—training multiple versions of the same model and averaging their predictions—is a standard trick to boost performance and reliability. However, as machine learning moves into high-stakes domains like healthcare and law, we must ask: does this performance boost apply equally to everyone?
Algorithmic fairness research focuses on ensuring that models do not discriminate based on "protected attributes" like race, gender, or age. While we have a good grasp of how individual models behave, the fairness implications of ensembling them have remained largely unexplored. The authors set out to determine if the "ensemble boost" is a rising tide that lifts all boats, or if it disproportionately leaves some groups behind.
Methods and Datasets
The authors conducted an extensive empirical study across 15 different tasks using five popular deep neural network architectures (such as ResNet and EfficientNet). They compared the performance and fairness of individual models against ensembles of up to 10 members.
The study utilizes three primary vision datasets:
- FairFace: A facial analysis dataset specifically curated to be balanced across ethnicities.
- UTKFace: Another facial dataset used here to test "distribution shift" (models trained on FairFace were tested on UTKFace).
- CheXpert: A large-scale medical imaging dataset (chest X-rays) used to verify if the effects hold in non-facial domains.
- Modified FashionMNIST: A synthetic version created for controlled experiments, concatenating images to manually vary the "predictive diversity" available to the ensemble.
To understand why ensembles behave the way they do, the authors introduce a measure of Predictive Diversity (DIV). Based on a Bayesian perspective, DIV quantifies how much the individual members of an ensemble disagree on their predictions for a specific group. Finally, they test mitigation strategies, specifically focusing on Hardt post-processing (HPP), which adjusts decision thresholds for different groups after training to ensure equalized odds or statistical parity.
Key Insights and Ideas
The Disparate Benefits Effect: The core finding is that ensembling is not "fairness-neutral." It often improves accuracy for the already-advantaged group while providing little to no benefit (or even causing a performance drop) for the disadvantaged group, thereby widening the fairness gap.
Diversity is the Culprit: The crucial insight is that ensembling only helps when model members disagree.
If an ensemble has high predictive diversity for Group A but low diversity for Group B, Group A will see a much larger performance boost from ensembling. Unfortunately, models often show higher diversity on the groups they already perform well on, exacerbating existing disparities.
Calibration is the Cure: While ensembles are "less fair" out of the box, they are much better calibrated than single models—meaning their predicted probabilities more accurately match real-world frequencies. Because ensembles are better calibrated, they are much more sensitive to changes in decision thresholds. This makes post-processing techniques like Hardt's method incredibly effective; it can "fix" the fairness violations without sacrificing the accuracy gains the ensemble provided.
Key Results
Performance vs. Fairness Trade-off: In almost all cases, adding ensemble members increased overall accuracy or AUROC but decreased fairness (shown by increased violations of Statistical Parity and Equal Opportunity).
For example, on the FairFace age and gender tasks, ensembling increased accuracy by ~2.2% but simultaneously increased the Statistical Parity Difference (SPD) by 2.2%. Furthermore, this disparate benefits effect becomes more pronounced as the size of the individual models in the ensemble increases.
Post-processing Success: Applying Hardt post-processing to Deep Ensembles allowed them to reach a target fairness level (e.g., 0.05 SPD) while maintaining significantly higher accuracy than individual models treated with the exact same fairness constraints.
Limitations and Future Work
The authors acknowledge several limitations in their study:
- Domain Specificity: The study focuses exclusively on vision tasks and convolutional neural networks. It remains to be seen if these effects are identical in Large Language Models (LLMs) or tabular data.
- Metric Constraints: The paper focuses on group fairness metrics. Other notions, such as individual fairness (treating similar individuals similarly), were not explored.
- Intervention Timing: The study primarily looked at post-processing. Future work could investigate "in-processing" methods—trying to force the ensemble to be diverse across all groups during the training phase itself.
Summary updated