arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2112.12438cs.LGstat.ML
收藏

使用序贯统计检验进行高效超参数调优

Using Sequential Statistical Tests for Efficient Hyperparameter Tuning

TU Dortmund University(多特蒙德工业大学);Research Center Trustworthy Data Science and Security(可信数据科学与安全研究中心)

Philip Buczak, Andreas Groll, Markus Pauly, Jakob Rehof, Daniel Horn

AI总结:

提出序贯随机搜索(SQRS)算法,通过序贯检验尽早淘汰劣质超参数配置,在保证性能的同时显著减少评估次数。

摘要:

超参数调优是机器学习中最耗时的部分之一。尽管存在使所需评估次数最小化的现代优化算法,但单一配置的评估可能仍然昂贵。通常使用重采样技术,其中机器学习方法必须在不同的训练数据集上拟合固定的k次。然后,这k次拟合的平均性能被用作性能估计量。如果许多超参数配置明显劣于高性能配置,它们可以在少于k次重采样迭代后被丢弃。然而,重采样通常会一直执行到最后,浪费了大量计算精力。为此,我们提出了序贯随机搜索(SQRS),它通过旨在尽早检测并消除劣等参数配置的序贯检验程序来扩展常规随机搜索算法。我们使用多个公开可用的回归和分类数据集,将我们的SQRS与常规随机搜索进行了比较。我们的模拟研究表明,SQRS能够找到性能相似的参数设置,同时需要明显更少的评估次数。我们的结果强调了将序贯检验集成到超参数调优中的潜力。

英文摘要:

Hyperparameter tuning is one of the the most time-consuming parts in machine learning. Despite the existence of modern optimization algorithms that minimize the number of evaluations needed, evaluations of a single setting may still be expensive. Usually a resampling technique is used, where the machine learning method has to be fitted a fixed number of k times on different training datasets. The respective mean performance of the k fits is then used as performance estimator. Many hyperparameter settings could be discarded after less than k resampling iterations if they are clearly inferior to high-performing settings. However, resampling is often performed until the very end, wasting a lot of computational effort. To this end, we propose the Sequential Random Search (SQRS) which extends the regular random search algorithm by a sequential testing procedure aimed at detecting and eliminating inferior parameter configurations early. We compared our SQRS with regular random search using multiple publicly available regression and classification datasets. Our simulation study showed that the SQRS is able to find similarly well-performing parameter settings while requiring noticeably fewer evaluations. Our results underscore the potential for integrating sequential tests into hyperparameter tuning.

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

↑