arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.17947cs.LG
收藏

理解在超参数优化中的双层编程泛化:偏差-方差分解的故事

Understanding the Generalization of Bilevel Programming in Hyperparameter Optimization: A Tale of Bias-Variance Decomposition

Xi’an Jiaotong University(西安交通大学);Pazhou Lab (Huangpu)(琶洲实验室(黄埔))

Yubo Zhou, Jun Shu, Junmin Liu, Deyu Meng

AI总结:

本文通过偏差-方差分解分析超参数优化中的超梯度估计误差,提出了一种集合策略以减少方差,实验表明该策略提升了超梯度估计性能并解释了相关现象。

摘要:

基于梯度的超参数优化(HPO)最近涌现,利用双层编程技术来通过估计超梯度来优化超参数,以验证损失为依据。然而,先前的理论工作主要集中在减少估计与真实值之间的差距(即偏差),而忽略了由于数据分布引起的误差(即方差),这会降低性能。为了解决这个问题,我们对超梯度估计误差进行了偏差-方差分解,并提供了对先前工作中忽略的方差项的补充详细分析。我们还对超梯度估计的误差界进行了全面分析。这有助于对实践中常见现象的简单解释,例如过度拟合验证集。受推导理论的启发,我们提出了一种集合超梯度策略,以有效减少HPO算法中的方差。在包括正则化超参数学习、数据超清洗和小样本学习的任务上,实验结果表明,我们的方差减少策略提高了超梯度估计。为了解释改进的性能,我们建立了超额误差与超梯度估计之间的联系,提供了一些对经验观察的理解。

英文摘要:

Gradient-based hyperparameter optimization (HPO) have emerged recently, leveraging bilevel programming techniques to optimize hyperparameter by estimating hypergradient w.r.t. validation loss. Nevertheless, previous theoretical works mainly focus on reducing the gap between the estimation and ground-truth (i.e., the bias), while ignoring the error due to data distribution (i.e., the variance), which degrades performance. To address this issue, we conduct a bias-variance decomposition for hypergradient estimation error and provide a supplemental detailed analysis of the variance term ignored by previous works. We also present a comprehensive analysis of the error bounds for hypergradient estimation. This facilitates an easy explanation of some phenomena commonly observed in practice, like overfitting to the validation set. Inspired by the derived theories, we propose an ensemble hypergradient strategy to reduce the variance in HPO algorithms effectively. Experimental results on tasks including regularization hyperparameter learning, data hyper-cleaning, and few-shot learning demonstrate that our variance reduction strategy improves hypergradient estimation. To explain the improved performance, we establish a connection between excess error and hypergradient estimation, offering some understanding of empirical observations.

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

↑