[Paper Review] Rethinking Default Values: a Low Cost and Efficient Strategy to Define Hyperparameters
This paper proposes a low-cost strategy to generate optimized default hyperparameter (HP) settings for machine learning models by tuning HPs across a diverse set of 150 datasets using Particle Swarm Optimization (PSO). The resulting 'optimized defaults' significantly outperform standard defaults from popular tools and reduce the need for full hyperparameter tuning, achieving competitive performance with minimal computational cost.
Machine Learning (ML) algorithms have been increasingly applied to problems from several different areas. Despite their growing popularity, their predictive performance is usually affected by the values assigned to their hyperparameters (HPs). As consequence, researchers and practitioners face the challenge of how to set these values. Many users have limited knowledge about ML algorithms and the effect of their HP values and, therefore, do not take advantage of suitable settings. They usually define the HP values by trial and error, which is very subjective, not guaranteed to find good values and dependent on the user experience. Tuning techniques search for HP values able to maximize the predictive performance of induced models for a given dataset, but have the drawback of a high computational cost. Thus, practitioners use default values suggested by the algorithm developer or by tools implementing the algorithm. Although default values usually result in models with acceptable predictive performance, different implementations of the same algorithm can suggest distinct default values. To maintain a balance between tuning and using default values, we propose a strategy to generate new optimized default values. Our approach is grounded on a small set of optimized values able to obtain predictive performance values better than default settings provided by popular tools. After performing a large experiment and a careful analysis of the results, we concluded that our approach delivers better default values. Besides, it leads to competitive solutions when compared to tuned values, making it easier to use and having a lower cost. We also extracted simple rules to guide practitioners in deciding whether to use our new methodology or a HP tuning approach.
Motivation & Objective
- To address the challenge of suboptimal default hyperparameter settings in ML tools that limit model performance.
- To reduce the computational burden of full hyperparameter tuning while improving predictive performance over standard defaults.
- To develop a data-driven strategy that generates a small, effective pool of default HP settings applicable across diverse datasets.
- To identify conditions under which optimized defaults are preferable to full tuning, enhancing practical usability.
- To provide a reusable, open-source framework for generating optimized defaults applicable to other ML algorithms.
Proposed method
- The authors selected 150 diverse datasets from OpenML to represent a broad range of ML problems.
- Particle Swarm Optimization (PSO) was used to search for hyperparameter configurations that maximize predictive performance across the dataset collection.
- The fitness function aggregated performance across all datasets using a composite metric, favoring robust and consistent results.
- A sample of 51 datasets was found to yield the best trade-off between diversity and robustness in hyperparameter optimization.
- The optimized hyperparameter settings were derived from the best PSO solution and evaluated against standard defaults from popular ML tools.
- Rule-based decision criteria were extracted using tree-based models to predict when optimized defaults outperform tuning.
Experimental results
Research questions
- RQ1Can a small, optimized set of default hyperparameter values outperform standard defaults provided by ML tools?
- RQ2Does the proposed strategy significantly reduce the number of datasets requiring full hyperparameter tuning?
- RQ3What dataset characteristics predict whether optimized defaults or full tuning are preferable?
- RQ4How does the size of the dataset sample used for optimization affect the robustness and performance of the resulting default settings?
- RQ5Can the optimized defaults achieve performance competitive with full tuning while reducing computational cost?
Key findings
- The optimized default hyperparameter settings achieved significantly better predictive performance than standard defaults across all tested scenarios.
- The optimized defaults reduced the number of datasets requiring full hyperparameter tuning by over 50%, based on empirical evaluation.
- The optimal sample size for hyperparameter optimization was found to be 51 datasets, balancing robustness and diversity.
- For datasets with fewer than 100 examples and fewer than 20 features, the optimized defaults were consistently superior to tuning.
- For datasets with more examples and balanced class distributions, full hyperparameter tuning was generally more effective than using optimized defaults.
- The proposed method achieved performance competitive with full tuning while requiring orders of magnitude fewer evaluations.
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.