BiSLS/SPS:为稳定的双层优化自动调节步长
BiSLS/SPS: Auto-tune Step Sizes for Stable Bi-level Optimization
AI总结:
本文提出 BiSLS/SPS,将无需插值条件的随机线搜索和随机 Polyak 步长统一为包络型策略,用于双层优化上下层步长自适应,实现少调参、大学习率和更快收敛。
摘要:
双层优化(BO)在深度学习中的普及,激发了人们对基于梯度的 BO 算法日益增长的研究兴趣。然而,现有算法包含两个相互耦合的学习率,在计算超梯度时可能受到近似误差的影响,因此需要仔细微调以确保快速收敛。为缓解这一问题,本文研究使用近期提出的自适应步长方法,即随机线搜索(SLS)和随机 Polyak 步长(SPS),来同时计算上层和下层学习率。首先,我们重新审视了 SLS 和 SPS 在单层优化中的使用,并且不依赖以往工作通常假设的额外插值条件。在此类设置下,我们研究了 SLS 和 SPS 的新变体,它们改进了文献中已有方案,并且更易于实现。重要的是,这两种变体可被视为具有包络型步长的一般方法族的特例。这种统一的包络策略使算法及其收敛保证能够扩展到 BO 设置。最后,大量实验表明,提供 SGD 和 Adam 两个版本的新算法能够以极少调节找到较大学习率,并且比需要微调的对应普通 SGD 或 Adam BO 算法收敛更快。
英文摘要:
The popularity of bi-level optimization (BO) in deep learning has spurred a growing interest in studying gradient-based BO algorithms. However, existing algorithms involve two coupled learning rates that can be affected by approximation errors when computing hypergradients, making careful fine-tuning necessary to ensure fast convergence. To alleviate this issue, we investigate the use of recently proposed adaptive step-size methods, namely stochastic line search (SLS) and stochastic Polyak step size (SPS), for computing both the upper and lower-level learning rates. First, we revisit the use of SLS and SPS in single-level optimization without the additional interpolation condition that is typically assumed in prior works. For such settings, we investigate new variants of SLS and SPS that improve upon existing suggestions in the literature and are simpler to implement. Importantly, these two variants can be seen as special instances of general family of methods with an envelope-type step-size. This unified envelope strategy allows for the extension of the algorithms and their convergence guarantees to BO settings. Finally, our extensive experiments demonstrate that the new algorithms, which are available in both SGD and Adam versions, can find large learning rates with minimal tuning and converge faster than corresponding vanilla SGD or Adam BO algorithms that require fine-tuning.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。