arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2110.07004cs.LGmath.OCstat.ML
收藏

无Hessian-Free双层算法的收敛性理论

On the Convergence Theory for Hessian-Free Bilevel Algorithms

The Ohio State University(俄亥俄州立大学);University of Michigan, Ann Arbor(密歇根大学安娜堡分校)

Daouda Sow, Kaiyi Ji, Yingbin Liang

摘要:

双层优化已经成为现代机器学习中的一个强有力的工具。然而,由于双层优化的嵌套结构,即使是基于梯度的方法也需要通过雅可比或/和海森向量计算进行二阶导数近似,这在实践中可能是昂贵的且不可扩展的。最近,Hessian-free双层格式被提出来解决这个问题,其总体思想是使用零阶或一阶方法来近似双层问题的全超梯度。然而,我们根据经验观察到,这种近似可能导致大方差和不稳定的训练,但仅估计响应雅可比矩阵作为超梯度的部分分量是非常有效的。为此,我们提出了一种新的Hessian-free方法,该方法采用零阶近似方法通过两条优化路径之间的差异来近似响应雅可比矩阵。从理论上讲,我们提供了所提出的算法的收敛速度分析,我们的主要挑战是表征的近似性和光滑性的依赖于概率的估计,这可以是独立的利益。这是第一个已知的收敛速度的结果,这种类型的Hessian自由双层算法。实验上,我们证明了所提出的算法优于基线双层优化各种双层问题。特别是,在我们使用ResNet-12网络在miniImageNet数据集上进行的Few-Shot元学习实验中,我们表明我们的算法优于基线元学习算法,而其他基线双层优化器在可比的时间范围内无法解决此类元学习问题。

英文摘要:

Bilevel optimization has arisen as a powerful tool in modern machine learning. However, due to the nested structure of bilevel optimization, even gradient-based methods require second-order derivative approximations via Jacobian- or/and Hessian-vector computations, which can be costly and unscalable in practice. Recently, Hessian-free bilevel schemes have been proposed to resolve this issue, where the general idea is to use zeroth- or first-order methods to approximate the full hypergradient of the bilevel problem. However, we empirically observe that such approximation can lead to large variance and unstable training, but estimating only the response Jacobian matrix as a partial component of the hypergradient turns out to be extremely effective. To this end, we propose a new Hessian-free method, which adopts the zeroth-order-like method to approximate the response Jacobian matrix via taking difference between two optimization paths. Theoretically, we provide the convergence rate analysis for the proposed algorithms, where our key challenge is to characterize the approximation and smoothness properties of the trajectory-dependent estimator, which can be of independent interest. This is the first known convergence rate result for this type of Hessian-free bilevel algorithms. Experimentally, we demonstrate that the proposed algorithms outperform baseline bilevel optimizers on various bilevel problems. Particularly, in our experiment on few-shot meta-learning with ResNet-12 network over the miniImageNet dataset, we show that our algorithm outperforms baseline meta-learning algorithms, while other baseline bilevel optimizers do not solve such meta-learning problems within a comparable time frame.

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

↑