arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.08774cs.LGcs.AI
收藏

默认机器学习超参数未提供对贝叶斯优化的有用初始化

Default Machine Learning Hyperparameters Do Not Provide Informative Initialization for Bayesian Optimization

Department of Telematics and Computing, Universidad Pontificia Comillas(电信与计算系,Pontificia Comillas大学);Institute for Research in Technology (IIT), Universidad Pontificia Comillas(技术研究 institute,Pontificia Comillas大学)

Nicolás Villagrán Prieto, Eduardo C. Garrido-Merchán

AI总结:

研究发现默认超参数未提供对贝叶斯优化的有用初始化,建议采用数据驱动的搜索策略。

摘要:

贝叶斯优化(BO)是由于其在昂贵的黑盒函数上的样本效率而成为超参数调优的标准工具。尽管大多数BO流程开始于均匀随机初始化,但流行机器学习库如scikit-learn提供的默认超参数值包含隐含的专家知识,可以作为有信息的起始点,从而加快收敛。尽管这个假设具有直观吸引力,但一直未被广泛研究。我们通过初始化BO点,从截断高斯分布中抽取,中心位于库默认值,并将结果轨迹与均匀随机基线进行比较。我们进行了广泛的实证评估,涵盖三个BO后端(BoTorch、Optuna、Scikit-Optimize)、三个模型家族(随机森林、支持向量机、多层感知机)和五个基准数据集,涵盖分类和回归任务。通过收敛速度和最终预测质量评估性能,并通过单侧二项式检验确定统计显著性。在所有条件下,默认信息初始化在纯随机采样上没有统计学上显著的优势,p值范围从0.141到0.908。对先验方差的敏感性分析确认,虽然更紧密地集中在默认值上可以改善早期评估,但这种短暂的益处在优化过程中消失,最终性能保持不变。我们的结果没有提供证据表明默认超参数编码了对优化有用的定向信息。因此,我们建议从业者将超参数调优作为模型开发的一部分,并倾向于基于原则和数据驱动的搜索策略,而不是依赖于库默认值的启发式方法。

英文摘要:

Bayesian Optimization (BO) is a standard tool for hyperparameter tuning thanks to its sample efficiency on expensive black-box functions. While most BO pipelines begin with uniform random initialization, default hyperparameter values shipped with popular ML libraries such as scikit-learn encode implicit expert knowledge and could serve as informative starting points that accelerate convergence. This hypothesis, despite its intuitive appeal, has remained largely unexamined. We formalize the idea by initializing BO with points drawn from truncated Gaussian distributions centered at library defaults and compare the resulting trajectories against a uniform-random baseline. We conduct an extensive empirical evaluation spanning three BO back-ends (BoTorch, Optuna, Scikit-Optimize), three model families (Random Forests, Support Vector Machines, Multilayer Perceptrons), and five benchmark datasets covering classification and regression tasks. Performance is assessed through convergence speed and final predictive quality, and statistical significance is determined via one-sided binomial tests. Across all conditions, default-informed initialization yields no statistically significant advantage over purely random sampling, with p-values ranging from 0.141 to 0.908. A sensitivity analysis on the prior variance confirms that, while tighter concentration around the defaults improves early evaluations, this transient benefit vanishes as optimization progresses, leaving final performance unchanged. Our results provide no evidence that default hyperparameters encode useful directional information for optimization. We therefore recommend that practitioners treat hyperparameter tuning as an integral part of model development and favor principled, data-driven search strategies over heuristic reliance on library defaults.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑