A Model Ensemble-Based Post-Processing Framework for Fairness-Aware Prediction

arXiv:2603.18838 · cs.LG, stat.ML · Submitted 2026-03-19 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.

Tom: I'm Tom.

Jane: And I'm Jane, here with Lu, Meng and our in-house large language model, Lalam.

Tom: Today's paper: "A Model Ensemble-Based Post-Processing Framework for Fairness-Aware Prediction".

Jane: The gist: A post-processing framework leveraging model ensembling facilitates fairness-aware prediction by blending predictions from a pre-trained complex model and a simpler model, effectively enhancing fairness across classification, regression,

Tom: First, who's behind it and why it matters.

Paper summary: Tom: The paper "A Model Ensemble-Based Post-Processing Framework for Fairness-Aware Prediction" proposes a post-processing framework that uses model ensembling to achieve fairness while keeping predictive performance high.

Jane: They move beyond just simple linear corrections by suggesting you blend predictions from a pre-trained complex model and a simpler model, tuning the ensemble weights and parameters to balance fidelity and fairness (page three).

Lu: This approach is interesting because it’s not tied to any specific model internals; it’s designed to work across various tasks like classification, regression, and survival analysis (page two) <ref:2603.18838#pg2>.

Meng: From a deployment standpoint, the main question is how much extra compute that dual-model structure costs us when we run this at scale.

Lalam: The authors show that this framework effectively enhances fairness while maintaining or only minimally affecting predictive accuracy across several real-world datasets (page one) <ref:2603.18838#pg1,framework effectively enhances fairness while maintaining or only minimally affecting predictive accuracy>.

Tom: In the end, it gives us a way to have instance dependent trade-offs between fairness and performance using a mixture-of-experts formulation (page three). It’s about having this flexible control over the fairness–performance balance.

Jane: This framework is model agnostic and supports a wide range of tasks including survival analysis (page two) <ref:2603.18838#pg2>. It gives us effective and tunable control over that specific balance.

Conclusion: Tom: So, we’re wrapping up this look at "A Model Ensemble-Based Post-Processing Framework for Fairness-Aware Prediction."

Jane: It sounds like they’ve put together a way to adjust predictions after a model is already trained so it behaves fairer across different groups.

Tom: Exactly. It’s not trying to fix the model during training, just tweaking the output later. The authors are using this ensemble idea—blending two different models—to tune things.

Jane: But what does that blending actually look like in practice? How do we know it’s making things fairer, not just confusing them?

Tom: They define a specific combination function, alpha(x), which is an input-dependent weight. It lets you dial the balance between using the big complex model and the simpler one down to zero.

Jane: And they test this on several things, right? Classification, regression, survival analysis—it’s pretty broad. What’s the actual takeaway for someone just listening who doesn't know about loss functions or anything?

Tom: It means you can take a powerful model that’s good at predicting outcomes and put a simple fairness layer on top of it without having to retrain the whole thing from scratch.

Jane: So, it’s about getting a decent prediction while making sure the decisions don't systematically hurt certain people based on their sensitive attributes.

Tom: That’s the core idea. It gives you instance dependent trade-offs between how accurate you are and how fair your system is being in real time.

Jane: It opens up some interesting questions for us about where this can actually be used in a real-world application, like loan approvals or healthcare decisions.

School of Computer Science and Statistics, Trinity College Dublin

cs.LG, stat.ML

Submitted: 2026-03-19

Updated: 2026-10-14

Code: https://github.com/noorazhaoz/fairness-ensemble-2025

License: http://creativecommons.org/licenses/by/4.0/

Importance score: 74/100

The gist: The gist: A post-processing framework leveraging model ensembling facilitates fairness-aware prediction by blending predictions from a pre-trained complex model and a simpler model, effectively

Key concepts

Post-processing Framework
This technique adjusts the final output of a trained machine learning model after training is complete. It does not change the model itself or the training data. The proposed framework uses model ensembling to blend predictions, allowing for flexible, model-agnostic adjustments to improve fairness without retraining.
Model Ensembling
This involves combining the outputs of multiple different machine learning models to create a single, more robust prediction. In this paper, it specifically combines a pre-trained complex model with a simpler model tuned for fairness. This blending helps balance the need for high predictive accuracy with achieving desired fairness constraints.
Mixture-of-Experts Paradigm
Inspired by this paradigm, the framework uses a weighted average of predictions from different models. The input data determines how much weight is given to each model's output. This allows the system to dynamically select the best prediction blend based on the specific input instance.

Terminology

Summary

The gist: A post-processing framework leveraging model ensembling facilitates fairness-aware prediction by blending predictions from a pre-trained complex model and a simpler model, effectively enhancing fairness across classification, regression, and survival analysis while maintaining or minimally affecting predictive accuracy. <ref:2603.18838#pg2>

Introduction to Fairness and Mitigation Strategies

Fairness in machine learning refers to the idea that a model’s predictions should not systematically favor or disadvantage certain individuals or groups defined by sensitive attributes such as gender, race, or age <ref:2603.18838#pg3>. Various fairness metrics and strategies to mitigate unfairness can be broadly categorized into three main approaches: pre-processing, in-processing, and post-processing <ref:2603.18838#pg5>. Pre-processing methods modify the input data to reduce bias before model training <ref:2603.18838#pg6>, but they can lead to a loss of valuable information or introduce unintended biases. In-processing techniques embed fairness objectives directly into model optimization by incorporating additional fairness constraints or regularization terms but often lead to increased computational complexity and are typically model-specific. Post-processing methods adjust the model outputs after training without modifying the model or training data, making them model-agnostic and relatively easy to apply, though many are tailored to specific tasks or fairness notions.

The Proposed Ensemble Framework

The proposed framework introduces a general post-processing framework for fairness-aware prediction based on model ensembling, which is model-agnostic and applicable across a wide range of machine learning tasks. It is inspired by the principles of mixture modeling and the mixture-of-experts paradigm. The core idea involves taking a weighted average of a pre-trained complex model and a simpler model, blending their predictions while tuning ensemble weights and the parameters of the simpler model to promote fairness. This design allows for flexible model combination while preserving interpretability and modularity. The framework is designed to operate independently of any specific model internals, supporting a wide range of fairness definitions and not requiring access to sensitive attributes at inference time.

Model Combination and Optimization

The combined prediction function is defined as fcombined(x) = α(x)fperf(x) + (1 − α(x))fsimp(x), where fperf is the pre-trained model, fsimp is the simpler model, and α(x) denotes the input-dependent gating weight. The optimization objective follows a formulation similar to FRAPPE, aiming to balance fidelity to the base model with fairness constraints. For binary classification, this involves minimizing the cross-entropy loss dCE and incorporating the statistical parity penalty LSP(fcombined). The parameter λ governs the trade-off between fidelity to the base model and fairness.

Task-Specific Applications

The framework is demonstrated across three representative tasks:

  1. Binary Classification: The objective function minimizes dCE and uses the LSP penalty to promote demographic parity.

  2. Regression: The dissimilarity measure dpred is defined as the squared error loss, and fairness regularization involves the Statistical Parity AUC penalty.

  3. Survival Analysis: For survival analysis, the dissimilarity is quantified by the integrated squared difference of survival functions over time [0, τ], and fairness is addressed via a time-averaged group fairness regularization term LGF(Scombined)(t).

Experimental Results

Empirical evaluations across seven real-world datasets—including COMPAS, Heart, Adult, German Credit, Insurance, WHAS, and Employee turnover—demonstrate that the framework effectively enhances fairness while maintaining or only minimally affecting predictive accuracy. In binary classification on the Adult dataset with a 1-pretrained MoE with MLP model under single-sensitive (gender) settings, the DP is achieved at 0.0100 with accuracy above 0.76. Across all configurations on the COMPAS dataset, the framework demonstrates superior fairness–utility trade-offs compared to both post- and in-processing baselines.

Conclusion

In summary, the proposed ensemble approach offers greater flexibility than FRAPPE by using a mixture-of-experts formulation that combines a base model with a simpler, fairness-adjusted model, enabling instancedependent trade-offs between fairness and performance. This framework is model-agnostic, supports a wide range of tasks including survival analysis, and provides effective and tunable control over the fairness–performance balance.

Future Work

Future work could explore extending the framework to incorporate additional ensemble strategies or adaptive feature selection methods tailored to dataset characteristics. One promising direction is to expand the mixture-of-experts approach by including multiple auxiliary models with distinct inductive biases or fairness objectives. Investigating whether the proposed approach can be extended to settings such as individual fairness is an important direction for future work.

References

[1] Barocas, S., Hardt, M., Narayanan, A.: Fairness and machine learning. Recommender systems handbook 1, 453–459 (2020)

[2] Zafar, M.B., Valera, I., Rogriguez, M.G., Gummadi, K.P.: Fairness constraints: Mechanisms for fair classification. In: Artificial Intelligence and Statistics, pp. 962–970 (2017)

[3] Dwork, C., Hardt, M., Pitassi, T., Reingold, O., Zemel, R.: Fairness through awareness. In: Proceedings of the 3rd Innovations in Theoretical Computer Science Conference, pp. 214–226 (2012)

[4] Kamishima, T., Akaho, S., Asoh, H., Sakuma, J.: Fairness-aware classifier with prejudice remover regularizer. In: Machine Learning and Knowledge Discovery in Databases: European Conference, Proceedings, Part II 23, pp. 35–50 (2012)

[5] Filippi, G., Zannone, S., Hilliard, A., Koshiyama, A.: Local law 144: A critical analysis of regression metrics. arXiv:2302.04119 (2023)

[6] Berk, R., Heidari, H., Jabbari, S., Joseph, M., Kearns, M., Morgenstern, J., Neel, S., Roth, A.: A convex framework for fair regression. arXiv:1706.02409 (2017)

[7] Agarwal, A., Dud´ık, M., Wu, Z.S.: Fair regression: Quantitative definitions and reduction-based algorithms. In: International Conference on Machine Learning, pp. 120–129 (2019)

[8] Chierichetti, F., Kumar, R., Lattanzi, S., Vassilvitskii, S.: Fair clustering through fairlets. Advances in neural information processing systems 30 (2017)

[9] Kleindessner, M., Awasthi, P., Morgenstern, J.: A notion of individual fairness for clustering. arXiv:2006.04960 (2020)

[10] Li, B., Li, L., Sun, A., Wang, C., Wang, Y.: Approximate group fairness for clustering. In: International Conference on Machine Learning, pp.

Improvements for AI systems

  1. Bold Header: Model Ensemble-Based Post-Processing Framework

This framework facilitates fairness-aware prediction by leveraging model ensembling, allowing it to be model-agnostic and applicable across various learning tasks, model architectures, and fairness definitions. The improved system can apply this method to classification, regression, and survival analysis without needing internal model details.

  1. Bold Header: Flexible Trade-off Control via Learned Gating

The system utilizes a learned gating function α(x) in the Mixture-of-Experts (MoE) formulation, which allows for instancedependent trade-offs between fairness and performance by dynamically modulating each model’s contribution based on input features. This offers a more interpretable and adaptive mechanism than FRAPPE’s global perturbation.

  1. Bold Header: Extension to Survival Analysis Fairness

The ensemble approach naturally extends to survival analysis, overcoming limitations where other post-processing methods are restricted, offering a more flexible and principled solution for fairness in this critical setting by using the Cox proportional hazards model as the simpler model fsimp.

  1. Bold Header: Task-Specific Simpler Models

The framework allows the choice of the simpler model fsimp to be task-dependent, such as using logistic regression for binary classification or a linear model for regression, ensuring that any model appropriate for the task at hand can be used.

  1. Bold Header: Robust Fairness Evaluation Metrics

The system supports evaluation across multiple fairness metrics, including Demographic Parity (DP) for classification and Statistical Parity AUC (SPAUC) for regression, ensuring group fairness is assessed through criteria like Demographic Parity [30] or Statistical Parity AUC [5].

Abstract

Striking an optimal balance between predictive performance and fairness continues to be a fundamental challenge in machine learning. In this work, we propose a post-processing framework that facilitates fairness-aware prediction by leveraging model ensembling. Designed to operate independently of any specific model internals, our approach is widely applicable across various learning tasks, model architectures, and fairness definitions. Through extensive experiments spanning classification, regression, and survival analysis, we demonstrate that the framework effectively enhances fairness while maintaining, or only minimally affecting, predictive accuracy.

Sources

Related papers