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

一种具有收敛性保证的新型一阶元学习算法

A New First-Order Meta-Learning Algorithm with Convergence Guarantees

EPFL(洛桑联邦理工学院)

El Mahdi Chayti, Martin Jaggi

AI总结:

该研究提出了具有收敛性保证的一阶元学习算法FO-B-MAML,其性能接近二阶MAML且内存开销低,可扩展至深度模型。

摘要:

利用先验经验学习新任务是智能系统的基本特征。模型无关元学习(Model-Agnostic Meta-Learning, MAML)是主流方法之一,但由于需要计算二阶元梯度,它存在显著的计算和内存开销。我们提出了FO-B-MAML,这是一种从双层优化视角衍生的新型一阶MAML变体。我们的框架引入了元梯度的新表达式,定义为受扰优化问题解的导数,该公式允许使用各种有限差分方法估计元梯度;在本研究中,我们提出并分析了两种简单但有效的估计器:前向近似和对称近似。与现有一阶方法如FO-MAML和Reptile(它们存在不可约偏差)不同,我们证明FO-B-MAML收敛到元目标的驻点。值得注意的是,对称估计器实现了改进的O(δ^(2/3))偏差率,严格优于之前的一阶理论。此外,我们证明MAML目标违反了标准平滑性假设;相反,我们表明其平滑性常数随元梯度的范数增长,这一特性从理论上证明了归一化或梯度裁剪方法(SNGDM)优于普通梯度下降。我们的实验结果验证了这些进展:FO-B-MAML达到了与二阶MAML性能相近的高准确率。关键的是,我们的方法绕过了二阶方法的“激活瓶颈”,即使在扩展到深度、激活密集的卷积神经网络(CNNs)和Transformer时,也能保持平稳的内存占用。

英文摘要:

Learning new tasks by leveraging prior experience is a fundamental trait of intelligent systems. While Model-Agnostic Meta-Learning (MAML) is a leading approach, it suffers from significant computational and memory overhead due to the requirement of computing second-order meta-gradients. We propose \textbf{FO-B-MAML}, a novel first-order variant of MAML derived from a bi-level optimization perspective. Our framework introduces a new expression of the meta-gradient, defined as the derivative of the solution of a perturbed optimization problem. This formulation allows the meta-gradient to be estimated using various finite difference methods; in this work, we propose and analyze two simple yet effective estimators: a forward and a symmetric approximation. Unlike existing first-order methods like FO-MAML and Reptile, which suffer from irreducible bias, we prove that FO-B-MAML converges to a stationary point of the meta-objective. Notably, the symmetric estimator achieves an improved $\mathcal{O}(δ^{2/3})$ bias rate, strictly enhancing previous first-order theory. Furthermore, we demonstrate that the MAML objective violates standard smoothness assumptions; we show instead that its smoothness constant grows with the norm of the meta-gradient. This property theoretically justifies the use of normalized or clipped-gradient methods (SNGDM) over vanilla gradient descent. Our empirical results validate these advancements: FO-B-MAML achieves high accuracy, closely following second-order MAML performance. Crucially, our method bypasses the ``activation bottleneck'' of second-order approaches, maintaining a flat memory footprint even when scaling to deep, activation-heavy CNNs and Transformers.

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

↑