arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.09587cs.LGmath.OC
收藏

无界光滑性下的双层优化:一种新算法与收敛性分析

Bilevel Optimization under Unbounded Smoothness: A New Algorithm and Convergence Analysis

George Mason University(乔治梅森大学)

Jie Hao, Xiaochuan Gong, Mingrui Liu

AI总结:

针对 RNN/LSTM 等无界光滑场景,本文提出 BO-REP 双层优化算法,通过归一化动量、初始化精炼与周期性下层更新实现与有界光滑条件相当的随机复杂度。

摘要:

双层优化是许多机器学习问题的重要表述形式。当前的双层优化算法假设上层函数的梯度是 Lipschitz 的。然而,近期研究表明,循环神经网络(RNN)和长短期记忆网络(LSTM)等某些神经网络表现出潜在的无界光滑性,从而使传统双层优化算法不再适用。本文中,我们设计了一种新的双层优化算法,即 BO-REP,以应对这一挑战。该算法使用归一化动量更新上层变量,并结合了两种用于更新下层变量的新技术:初始化精炼和周期性更新。具体而言,一旦上层变量完成初始化,就会调用一个子程序来获得对应最优下层变量的精炼估计,并且下层变量仅在每个特定周期之后更新,而不是在每次迭代中更新。当上层问题非凸且无界光滑、下层问题强凸时,我们证明该算法在随机设置下需要 \widetilde{\mathcal{O}}(1/ε^4) 次迭代来找到一个 ε-稳定点,其中每次迭代涉及调用随机梯度或 Hessian-向量乘积预言机。值得注意的是,在忽略对数因子的情况下,该结果与有界光滑性设置下且随机梯度不具有均方光滑性时的最先进复杂度结果相匹配。我们的证明依赖于针对周期性更新下层变量的新技术引理,这些引理本身也具有独立价值。我们在超表示学习、超参数优化以及文本分类任务的数据超清洗方面的实验证明了所提算法的有效性。

英文摘要:

Bilevel optimization is an important formulation for many machine learning problems. Current bilevel optimization algorithms assume that the gradient of the upper-level function is Lipschitz. However, recent studies reveal that certain neural networks such as recurrent neural networks (RNNs) and long-short-term memory networks (LSTMs) exhibit potential unbounded smoothness, rendering conventional bilevel optimization algorithms unsuitable. In this paper, we design a new bilevel optimization algorithm, namely BO-REP, to address this challenge. This algorithm updates the upper-level variable using normalized momentum and incorporates two novel techniques for updating the lower-level variable: \textit{initialization refinement} and \textit{periodic updates}. Specifically, once the upper-level variable is initialized, a subroutine is invoked to obtain a refined estimate of the corresponding optimal lower-level variable, and the lower-level variable is updated only after every specific period instead of each iteration. When the upper-level problem is nonconvex and unbounded smooth, and the lower-level problem is strongly convex, we prove that our algorithm requires $\widetilde{\mathcal{O}}(1/ε^4)$ iterations to find an $ε$-stationary point in the stochastic setting, where each iteration involves calling a stochastic gradient or Hessian-vector product oracle. Notably, this result matches the state-of-the-art complexity results under the bounded smoothness setting and without mean-squared smoothness of the stochastic gradient, up to logarithmic factors. Our proof relies on novel technical lemmas for the periodically updated lower-level variable, which are of independent interest. Our experiments on hyper-representation learning, hyperparameter optimization, and data hyper-cleaning for text classification tasks demonstrate the effectiveness of our proposed algorithm.

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

↑