Abstract
Automated Machine Learning (AutoML) has revolutionized the optimization of predictive performance, yet it often overlooks the critical dimension of algorithmic fairness. This paper presents FairAutoML, a framework that incorporates fairness mitigation directly into the AutoML pipeline. By employing a self-adaptive resource allocation strategy, FairAutoML dynamically balances hyperparameter optimization (HPO) with computationally intensive fairness corrections. Our empirical evaluation across standard benchmarks demonstrates that FairAutoML achieves superior "fair loss" compared to existing methods while maintaining high computational efficiency.
Introduction
Standard AutoML systems excel at minimizing loss functions but frequently produce models with biased predictions. While hyperparameter optimization can sometimes improve fairness, it is often insufficient to address deep-seated biases in data or model architectures. Dedicated fairness mitigation techniques—such as pre-processing or in-processing constraints—are effective but come with significant computational overhead and inherent accuracy-fairness trade-offs. The challenge lies in integrating these expensive techniques into an AutoML search without exhausting the compute budget.
Methods
FairAutoML, implemented as FairFLAML, introduces several key innovations to handle fairness constraints efficiently:
- Pragmatic Abstractions: The framework uses
FairandMitigateabstractions to decouple fairness assessment and mitigation logic from the search algorithm, ensuring extensibility. - Adaptive Mitigation Strategy: The
FairSearchermodule avoids blind application of mitigation. It utilizes an Estimated Cost for Fair loss improvement (ECF) metric to decide when to apply corrections. - Dynamic Routing: The system evaluates whether standard HPO or mitigation is more likely to improve the current best "fair loss." Mitigation is only triggered if the projected post-mitigation performance is expected to surpass the current global optimum.
Key Results
Accuracy and Fairness Trade-offs
FairAutoML consistently identifies models that satisfy strict fairness constraints where standard AutoML fails. As shown in the scatter plots of Figure 4 and Figure 6, the mitigation process successfully shifts candidate models into the fair region (below the unfairness threshold) while managing the resulting increase in loss.
Computational Efficiency
A significant advantage of FairAutoML is its resource management. Naive "always mitigate" strategies waste compute on low-potential models. In contrast, FairAutoML's adaptive routing ensures that mitigation is applied selectively. The histograms in Figure 4 and Figure 6 illustrate the distribution of computation cost ratios across trials, highlighting how the system manages the overhead of mitigation.
FairFLAML achieved optimal fair loss significantly faster than baselines like FairBO, often reaching peak performance within 300 seconds on datasets where others struggled to find any fair solutions.
Conclusion
FairAutoML demonstrates that fairness can be integrated into automated pipelines without prohibitive costs. By treating fairness mitigation as a dynamically routed resource rather than a static hyperparameter, the framework provides practitioners with a powerful tool for building both accurate and socially responsible machine learning models. Future work will focus on expanding the library of mitigation methods and developing theoretical bounds for the ECF heuristic.
Summary updated