Abstract
Automated Machine Learning (AutoML) aims to simplify the machine learning pipeline construction process, encompassing algorithm selection and hyper-parameter optimization (the CASH problem). However, existing tools often struggle with high-dimensional search spaces and real-world black-box constraints like latency and fairness. This paper introduces a novel framework that leverages the Alternating Direction Method of Multipliers (ADMM) to decompose the CASH problem into manageable sub-problems. Empirical results demonstrate that this approach achieves significant speedups (10x to 150x) and superior performance compared to state-of-the-art tools like Auto-sklearn and TPOT, while effectively incorporating complex constraints.
Introduction
Building a machine learning pipeline involves selecting preprocessing steps, choosing models, and fine-tuning hyper-parameters. This "Combined Algorithm Selection and Hyper-parameter Optimization" (CASH) problem is challenging due to mixed discrete-continuous variables, the black-box nature of model performance, and the coupling between algorithms and their specific hyper-parameters. Furthermore, real-world applications often impose "hidden" constraints, such as maximum model size for mobile devices or fairness requirements to mitigate bias, which standard AutoML tools are not equipped to handle directly.
Methodology: A "Divide and Conquer" Approach
The proposed framework utilizes an ADMM-based strategy to split the complex AutoML optimization into three distinct, simpler sub-problems:
- Hyper-parameter Optimization (HPO): Continuous hyper-parameters for a fixed set of algorithms are optimized using Bayesian Optimization (BO).
- Integer Projection: A closed-form step maps continuous surrogate variables back to the discrete integer sets required for certain hyper-parameters.
- Algorithm Selection: Choosing the best algorithm for each pipeline stage is treated as a multi-armed bandit problem, solved via Thompson Sampling or Genetic Algorithms.
To handle black-box constraints like prediction latency, the framework introduces auxiliary variables and a penalty-based approach within the ADMM loop. This guides the search toward models that maximize performance while remaining within feasible regions defined by the constraints.
Experimental Setup
The framework was evaluated on 30 binary classification datasets from the UCI Repository and OpenML. Additionally, the Kaggle Home Credit Default Risk dataset was used to test the framework's ability to handle complex real-world constraints, specifically prediction latency and fairness (disparate impact).
Key Results and Discussion
The ADMM-based framework demonstrated superior performance and efficiency across the benchmarked datasets.
Performance and Efficiency
On the 30-dataset benchmark, the ADMM framework achieved the best performance on 50% of the datasets, significantly outperforming Auto-sklearn (27%) and TPOT (20%). Crucially, the decomposition strategy led to massive efficiency gains, with speedups ranging from 10x to over 150x compared to joint optimization baselines.
As shown in the performance analysis, the ADMM-based approach consistently maintains a lower (better) mean rank across datasets compared to ASKL, TPOT, and random search (RND) as optimization time progresses.
Constraint Handling
In tests on the Home Credit dataset, the framework successfully identified pipelines that maximized AUROC while strictly adhering to a 10μs latency limit and fairness thresholds.
The framework's constrained version (CST) manages the trade-off between the objective and the latency threshold ($d_l$), maintaining better performance in constrained scenarios compared to an unconstrained approach (UCST) that might ignore such limits.
Key Insights
- Decomposition for Efficiency: By focusing only on "active" variables for chosen algorithms, ADMM reduces the search space, leading to faster convergence.
- Continuous Surrogates: Using continuous surrogate loss functions allows gradient-free optimization techniques to be applied to discrete spaces.
- Integrated Constraints: Unlike tools that treat constraints as an afterthought, this framework integrates them directly into the objective function, guiding the search toward feasible solutions.
Limitations and Future Work
While empirically successful, the theoretical convergence of ADMM in this highly non-convex, black-box context remains an open question. Future work will explore extending the framework to more complex, graph-like pipeline structures and testing different modular solvers for the sub-problems to further enhance performance.
Summary updated