Answers are grounded in this paper and cite their sources.
Machine learning models are increasingly used in high-stakes decisions across finance, healthcare, hiring, and the justice system. However, these models often exhibit substantial disparities in fairness across sensitive demographic groups. This has amplified concerns about their inherent biases and the need for fairness-aware solutions. Ensemble learning methods, such as boosting, bagging, and voting, help mitigate bias and yield more balanced decisions than single classifiers. However, these benefits can come at the cost of reduced accuracy. This paper introduces a novel framework for constructing model ensembles using counterfactual explanations (CE) to optimize both fairness and accuracy. Specifically, we use CE analysis to measure each model’s response to different feature spaces, thereby demonstrating their strengths and weaknesses in different subregions of the feature space. Then we combine complementary models to form an ensemble, where each model’s strength lies in different subregions of the feature space and complements the weaknesses of the others. Given this analysis, we drastically reduce the number of models in the ensemble by focusing on models with complementary behaviors. In addition, we propose two model-aware metrics: a novel counterfactual robustness score derived from the stability of a model’s decision boundary under counterfactual perturbations, and a fairness metric that quantifies the “burden” a model imposes on different demographic groups. These metrics are integrated into a multi-objective optimization framework to select a small, complementary subset of pre-trained models ( m ) from a larger pool ( N ). The resulting Pareto Front enables transparent navigation of the trade-offs among accuracy, robustness, and fairness. Extensive experiments on six public datasets with six ML models demonstrate that our counterfactual-based ensembles, though significantly smaller, consistently reduce the fairness burden and improve model robustness while maintaining or even enhancing predictive accuracy compared to larger, conventionally-formed ensembles. The codes are publicly available here https://github.com/Yinkpeace/ce_ensemble.git .
No takes yet. Share an insight, caveat, or question.
Adedigba et al. (2026) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: