Abstract
Traditional AutoML systems often require extensive computational resources to search for optimal model configurations, making them impractical for resource-constrained environments like personal laptops or CI/CD pipelines. This paper introduces a zero-shot AutoML framework that recommends high-performance machine learning configurations instantly. By mining offline tasks to build a compact, robust portfolio and employing a simple metafeature-based selection mechanism, the proposed approach significantly reduces compute costs while outperforming state-of-the-art warm-start strategies and standard library defaults.
Introduction
The democratization of machine learning has led to its deployment in environments where time and compute power are strictly limited. Standard AutoML approaches, which evaluate dozens of pipelines at runtime, are often too slow or expensive for these use cases. The challenge lies in "zero-shot" AutoML: recommending a near-optimal configuration (algorithm and hyperparameters) for a new dataset without training any trial models. Existing metalearning solutions often fail due to complex, slow-to-compute metafeatures or portfolios that overfit to training data. This work addresses these issues by focusing on robust portfolio selection and efficient online decision-making.
Proposed Methodology
The authors propose a three-step architecture integrated into the FLAML framework, designed to bridge the gap between offline knowledge and online efficiency.
1. Offline Configuration Search
The process begins by running standard AutoML searches across a diverse set of training tasks to generate a large pool of candidate configurations. This ensures a broad coverage of the search space.
2. Robust Portfolio Selection
Rather than retaining all candidates, a novel greedy algorithm selects a minimal "portfolio." The selection process prioritizes minimizing the sum-of-excess-regret (SER) instead of mean regret. By incorporating early stopping, the algorithm ensures the portfolio covers worst-case scenarios and avoids overfitting to specific training tasks, leading to better generalization on unseen data.
3. Online Decision Function
At runtime, the system calculates four basic, fast-to-compute metafeatures for a new task: number of instances, number of features, number of classes, and the percentage of numeric features. A nearest-neighbor query then maps these features to the most suitable configuration in the pre-computed portfolio, enabling instant recommendation.
Experimental Evaluation
The framework was evaluated using 62 datasets (35 classification and 27 regression tasks), split into a cross-validation set of 44 tasks and a blinded holdout set of 18 tasks.
Key Results and Ablation Study
The proposed method demonstrated significant performance gains over baselines like Auto-Sklearn 1.0 and 2.0. On classification tasks, it achieved a mean regret of 0.0027, compared to 0.0364 for the baseline. Furthermore, the system proved highly reliable, with a failure/timeout rate of only 0.4%, significantly lower than its competitors.
As shown in the ablation study above, each component of the proposed framework—specifically the regret metric and the decision function—plays a critical role in minimizing total regret. Removing these elements leads to a substantial increase in error, confirming the importance of the robust selection strategy.
Discussion and Insights
- Worst-case Optimization: Optimizing for the sum-of-excess-regret ensures that the system performs reliably even on outlier datasets, preventing catastrophic failures where a single "average" default might perform poorly.
- Compactness and Generalization: Smaller, carefully curated portfolios (e.g., 3 configurations) were found to generalize better than larger, more complex ones, which tend to overfit the meta-training data.
- Efficiency of Simple Metafeatures: The results suggest that basic dataset properties are sufficient for effective configuration mapping, avoiding the computational overhead of more complex statistical metafeatures.
Conclusion
This work demonstrates that zero-shot AutoML can be both highly performant and computationally efficient. By shifting the heavy lifting to an offline mining phase and focusing on robust portfolio selection, the proposed method provides a practical solution for developers operating in resource-constrained environments, consistently beating both automated baselines and hand-tuned library defaults.
Summary updated