arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2301.04764math.OCcs.LG
收藏

分析双层学习中的不精确超梯度

Analyzing Inexact Hypergradients for Bilevel Learning

University of Bath(巴斯大学);University of Sydney(悉尼大学)

Matthias J. Ehrhardt, Lindon Roberts

AI总结:

本文提出统一框架计算超梯度,推广隐函数定理与自动微分方法,并推导误差界,数值表明超梯度算法选择对双层优化至关重要。

摘要:

估计超参数一直是机器学习中的一个长期问题。我们考虑任务被建模为优化问题解的情况。在这种情况下,关于超参数的精确梯度无法可行地计算,因此需要近似策略。我们引入了一个统一的框架来计算超梯度,该框架推广了基于隐函数定理和自动微分/反向传播的现有方法,表明这两种看似不同的方法实际上是紧密相连的。我们的框架非常灵活,允许其子问题用任何合适的方法以任意精度求解。我们为所有方法推导了先验和可计算的后验误差界,并通过数值实验表明,我们的后验误差界通常更准确。我们的数值结果还表明,令人惊讶的是,对于高效的双层优化,超梯度算法的选择至少与下层求解器的选择同样重要。

英文摘要:

Estimating hyperparameters has been a long-standing problem in machine learning. We consider the case where the task at hand is modeled as the solution to an optimization problem. Here the exact gradient with respect to the hyperparameters cannot be feasibly computed and approximate strategies are required. We introduce a unified framework for computing hypergradients that generalizes existing methods based on the implicit function theorem and automatic differentiation/backpropagation, showing that these two seemingly disparate approaches are actually tightly connected. Our framework is extremely flexible, allowing its subproblems to be solved with any suitable method, to any degree of accuracy. We derive a priori and computable a posteriori error bounds for all our methods, and numerically show that our a posteriori bounds are usually more accurate. Our numerical results also show that, surprisingly, for efficient bilevel optimization, the choice of hypergradient algorithm is at least as important as the choice of lower-level solver.

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

↑