SMAC3: A Versatile Bayesian Optimization Package for Hyperparameter Optimization
Marius LindauerKatharina EggenspergerMatthias FeurerAndré BiedenkappDifan DengCarolin BenjaminsTim RuhkopfRené SassFrank Hutter
Presents SMAC3, an open-source Bayesian optimization library featuring modular facades tailored for complex algorithm configuration, multi-fidelity tuning in deep learning, and continuous black-box problems.
Achieving high performance from machine learning models requires tuning their hyperparameters, which control key learning behaviors. While Bayesian optimization is widely considered an efficient approach to automate this process, existing techniques are often brittle and sensitive to their own internal configurations. Selecting and configuring the right optimization framework remains a complex, error-prone obstacle for practitioners deploying machine learning pipelines.
The article demonstrates SMAC3, an open-source Bayesian optimization software package designed to automate algorithm hyperparameter tuning across diverse tasks. The authors evaluate SMAC3's architecture, pre-configured operating modes, and performance compared to leading optimization frameworks on deep learning and neural architecture search benchmarks.
To evaluate the system, the authors conducted simulated sequential optimization benchmarks across standard deep neural network and neural architecture search datasets, tracking validation performance over evaluation budgets. SMAC3 incorporates random forest models alongside standard Gaussian processes, accommodates multi-fidelity evaluations where cheap partial training runs act as proxies for full model costs, and supports multi-instance algorithm configuration. The software provides modular, specialized pre-sets, termed facades, that streamline configuration across standard black-box problems, structured algorithm selection pipelines, expensive deep learning models, and general algorithm configuration tasks.
The findings show that SMAC3 offers distinct practical advantages over competing tools. First, SMAC3 consistently outperformed established frameworks like Dragonfly and Tree-structured Parzen Estimator-based tools like BOHB on the tested benchmarks. Second, SMAC3's multi-fidelity mode matches the rapid early-stage efficiency of Hyperband while achieving superior performance in mid-stage evaluations before its random-forest-based Bayesian optimization catches up in later stages. Third, the platform's random forest surrogate models effectively handle complex, hierarchical configuration spaces and scale to large algorithm configuration problems containing over 300 hyperparameters.
These results demonstrate that SMAC3 can significantly reduce the computational cost and time required to deploy high-performing machine learning systems. By providing pre-configured facades, the tool abstracts the internal complexities of Bayesian optimization, allowing organizations to avoid the overhead of manually designing optimization pipelines. The framework's flexibility makes it suitable for integration into automated machine learning infrastructure and general algorithm tuning workflows.
Organizations developing automated machine learning pipelines should consider deploying SMAC3 using its specialized facades to match their specific problem structures, such as using multi-fidelity settings for expensive deep learning tasks. Future development plans outlined in the article include incorporating local Bayesian optimization methods to better exploit optimization landscape structures and adding automated mechanisms, such as bandits or reinforcement learning, to adapt SMAC3's internal settings during runtime.
While SMAC3 provides robust pre-set configurations, the authors note that selecting its internal hyperparameters can still pose challenges when default settings do not fully align with unusual problem landscapes. Additionally, the empirical benchmarks presented in the article rely on simulated evaluations from standardized surrogate datasets, so real-world execution gains may vary depending on infrastructure and hardware constraints.
- Paper: Practical Bayesian Optimization of Machine Learning Algorithms, Jasper Snoek et al. (2012). Provides foundational principles and acquisition strategies for practical Bayesian hyperparameter optimization in machine learning algorithms.
- Paper: Algorithms for Hyper-Parameter Optimization, James Bergstra et al. (2011). Introduces key sequential model-based optimization concepts and surrogate modeling strategies that underlie SMAC3's architecture.
- Paper: A Tutorial on Bayesian Optimization, Peter I. Frazier (2018). Offers a comprehensive tutorial on Bayesian optimization, surrogate processes, and acquisition function mechanisms essential for understanding SMAC3.
- Paper: Hyperband: A Novel Bandit-Based Approach to Hyperparameter Optimization, Lisha Li et al. (2016). Details multi-fidelity bandit-based optimization and successive halving techniques integrated into modern SMAC multi-fidelity facades.
- Paper: BOHB: Robust and Efficient Hyperparameter Optimization at Scale, Stefan Falkner et al. (2018). Demonstrates the integration of Bayesian optimization with multi-fidelity resource allocation (Hyperband), a core design pattern in SMAC3.
- Paper: Efficient and Robust Automated Machine Learning, Matthias Feurer et al. (2015). Applies sequential model-based algorithm configuration to full machine learning pipelines, motivating SMAC3's algorithm configuration use cases.
- Paper: Auto-WEKA: combined selection and hyperparameter optimization of classification algorithms, Chris J. Thornton et al. (2012). Pioneered the simultaneous algorithm selection and hyperparameter optimization framework that SMAC was originally engineered to solve.
- Paper: On Hyperparameter Optimization of Machine Learning Algorithms: Theory and Practice, Li Yang et al. (2020). Surveys the broader theoretical and practical landscape of automated hyperparameter optimization methods implemented across modern libraries.
- Paper: Random Search for Hyper-Parameter Optimization, James Bergstra et al. (2012). Establishes baseline properties of high-dimensional hyperparameter spaces that motivate adaptive Bayesian search over naive methods.
- Paper: Optuna: A Next-generation Hyperparameter Optimization Framework, Takuya Akiba et al. (2019). Presents contemporary architectural and API paradigms in Python-based hyperparameter optimization frameworks for comparison with SMAC3.
- Paper: Pre-trained Gaussian Processes for Bayesian Optimization, Zi Wang et al. (2024). Advances Bayesian optimization by pre-training Gaussian process priors across historical tasks to overcome manual prior specification in tools like SMAC3.
- Paper: Increasing the Scope as You Learn: Adaptive Bayesian Optimization in Nested Subspaces, Leonard Papenmeier et al. (2022). Extends Bayesian optimization capabilities to extreme high-dimensional search spaces by adaptively expanding nested subspaces.
- Paper: Hyperparameters in Reinforcement Learning and How To Tune Them, Theresa Eimer et al. (2023). Investigates the specific challenges and automated hyperparameter tuning strategies for complex reinforcement learning pipelines.
- Paper: Joint Entropy Search for Multi-Objective Bayesian Optimization, Ben Tu et al. (2022). Enhances multi-objective Bayesian optimization using joint entropy search to better capture complex multi-metric performance trade-offs.
- Paper: AutoML-Agent: A Multi-Agent LLM Framework for Full-Pipeline AutoML, Patara Trirat et al. (2025). Broadens automated machine learning by integrating full-pipeline tuning systems with multi-agent large language models.
