Abstract
Class imbalance is a pervasive challenge in real-world machine learning applications, where minority classes of high interest are often overshadowed by majority classes. Standard Automated Machine Learning (AutoML) frameworks typically optimize for raw accuracy, which can lead to models that perform poorly on these critical minority classes. This paper introduces AutoBalance, an AutoML framework designed to address this by integrating specialized sampling techniques, imbalance-aware metrics, and a meta-learning "warm start" mechanism. Evaluated on a newly proposed suite of imbalanced benchmarks, AutoBalance demonstrates significant performance gains over state-of-the-art general-purpose AutoML tools like Auto-Sklearn, particularly in scenarios with extreme class disparity.
Introduction
In "wild" data scenarios—such as credit card fraud detection, rare disease diagnosis, or equipment failure prediction—the events of interest are often rare. Standard AutoML systems frequently fail in these contexts because their optimization targets (like raw accuracy) encourage models to simply predict the majority class. While specialized techniques such as SMOTE for oversampling or balanced ensemble methods exist, selecting the optimal strategy for a given dataset remains a "daunting task" for practitioners. AutoBalance automates this selection process, making robust machine learning accessible for imbalanced real-world data.
The AutoBalance Framework
AutoBalance is built upon the General Automated Machine learning Assistant (GAMA) and introduces several core innovations to handle class imbalance effectively. The framework operates in two main stages: a metalearning phase and a search phase.
Meta-Learning and Warm Start
To avoid the computational cost of starting every search from scratch, AutoBalance employs a meta-learning phase. It extracts "meta-features" from a target dataset and uses cosine similarity to find analogous datasets in its metadata store. The search is then initialized with pipelines that historically performed well on similar tasks, providing a "warm start" that accelerates convergence toward an optimal solution.
Expanded Search Space
A key differentiator of AutoBalance is its inclusion of specialized components from the imbalanced-learn library. The search space is significantly broader than standard AutoML, incorporating samplers like ADASYN and SMOTE variants, as well as specialized estimators like the Balanced Random Forest and RUSBoost.
Experimental Evaluation
The authors introduced four new benchmarks curated from OpenML to rigorously test AutoBalance across varying degrees of imbalance in both binary and multiclass settings.
Key Results
When compared against Auto-Sklearn with a one-hour time budget, AutoBalance showed clear superiority:
- Binary Imbalance: AutoBalance outperformed Auto-Sklearn in 16 cases, with 11 draws and only 5 losses.
- Extreme Binary Imbalance (ratio $\ge$ 20:1): AutoBalance dominated with 10 wins and only 1 loss.
- Multiclass Imbalance: The framework maintained a competitive edge, particularly in extreme scenarios (15 wins vs. 7 losses).
Insights
Experimental analysis revealed that the Balanced Bagging Classifier was the most frequently selected optimal estimator, highlighting the robustness of internal balancing in ensemble methods. Furthermore, ablation studies confirmed that the expanded search space itself—rather than just the search algorithm—is the primary driver of performance gains in imbalanced contexts.
Conclusion and Future Work
AutoBalance successfully automates the complex task of model selection for imbalanced datasets. While it excels in binary classification, the authors note that multiclass imbalanced problems remain a frontier due to a lack of standardized, high-performance sampling techniques in existing libraries. Future research will focus on extending the framework to handle imbalanced regression and integrating it with online AutoML systems for streaming data applications.
Summary updated