[Paper Review] FLAML: A Fast and Lightweight AutoML Library
FLAML is a lightweight Python AutoML library that prioritizes low computational cost while achieving strong accuracy by adaptively selecting learners, hyperparameters, sample sizes, and resampling strategies without meta-learning or ensembling. It outperforms several Open-source AutoML tools under equal or smaller budgets on a large benchmark.
We study the problem of using low computational cost to automate the choices of learners and hyperparameters for an ad-hoc training dataset and error metric, by conducting trials of different configurations on the given training data. We investigate the joint impact of multiple factors on both trial cost and model error, and propose several design guidelines. Following them, we build a fast and lightweight library FLAML which optimizes for low computational resource in finding accurate models. FLAML integrates several simple but effective search strategies into an adaptive system. It significantly outperforms top-ranked AutoML libraries on a large open source AutoML benchmark under equal, or sometimes orders of magnitude smaller budget constraints.
Motivation & Objective
- Motivate the need for economical AutoML on ad-hoc datasets with limited computational budgets.
- Develop a fast AutoML system that jointly considers learner choice, hyperparameters, sample size, and resampling strategy.
- Design FLAML to adapt to ad-hoc datasets without relying on meta-learning or ensembles.
- Provide a transparent, modular architecture enabling easy customization of learners and metrics.
- Evaluate FLAML against open-source AutoML benchmarks under varying time budgets.
Proposed method
- Formalize AutoML as selecting a configuration chi=(l,h,s,r) and minimizing a cost-weighted validation error.
- Introduce Estimated Cost for Improvement (ECI) to prioritize learners and guide sampling decisions.
- Use a two-layer design with an ML layer (learners) and an AutoML layer (proposer components and controller).
- Adopt randomized direct search for hyperparameters with adaptive step-size and restarts to handle cost-related hyperparameters.
- Implement ECI-based learner prioritization to favor cheap configurations that can improve the best observed error.
- Employ a simple resampling strategy proposer based on data size and budget, with cross-validation for small data and holdout for large data.
Experimental results
Research questions
- RQ1How can AutoML be designed to minimize total trial cost while achieving low validation/test error on ad-hoc datasets?
- RQ2Can we decouple and optimize learner selection, hyperparameters, sample size, and resampling strategy to improve search efficiency without meta-learning or ensembles?
- RQ3Does an ECI-based prioritization scheme effectively balance exploration of cheap configurations with exploitation of promising ones?
- RQ4How does FLAML perform relative to top Open-source AutoML libraries under equal or constrained budgets on classification and regression benchmarks?
Key findings
- FLAML significantly outperforms top-ranked AutoML libraries on a large open-source benchmark under equal or smaller budgets.
- The search strategy tends to start with cheap trials and gradually move to more expensive, higher-quality configurations.
- ECI-based prioritization reduces unnecessary expensive trials and adapts as more observations are collected.
- Compared with AutoML benchmarks and regression datasets, FLAML shows favorable performance across varying budgets from one minute to one hour.
- The design achieves strong anytime performance and robustness for ad-hoc datasets without meta-learning or ensembles.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.