Model-Agnostic Meta-Learning (MAML) has become increasingly popular for training models that can quickly adapt to new tasks via one or few stochastic gradient descent steps. However, the MAML objective is significantly more difficult to optimize compared to standard non-adaptive learning (NAL), and little is understood about how much MAML improves over NAL in terms of the fast adaptability of their solutions in various scenarios. We analytically address this issue in a linear regression setting consisting of a mixture of easy and hard tasks, where hardness is related to the rate that gradient descent converges on the task. Specifically, we prove that in order for MAML to achieve substantial gain over NAL, (i) there must be some discrepancy in hardness among the tasks, and (ii) the optimal solutions of the hard tasks must be closely packed with the center far from the center of the easy tasks optimal solutions. We also give numerical and analytical results suggesting that these insights apply to two-layer neural networks. Finally, we provide few-shot image classification experiments that support our insights for when MAML should be used and emphasize the importance of training MAML on hard tasks in practice.
Convergence of Meta-Learning with Task-Specific Adaptation over Partial Parameters
The Ohio State University(俄亥俄州立大学);Princeton University(普林斯顿大学)
虽然模型无关元学习(MAML)是元学习实践中非常成功的算法,但由于它在特定任务自适应的内环和Meta初始化训练的外环上更新所有模型参数,因此具有很高的计算成本。Raghu et al. 2019最近提出了一种更有效的算法ANIL(几乎没有内部循环),它只适应内部循环中的一小部分参数,因此计算成本比MAML低得多。然而,ANIL的理论收敛性尚未得到研究。在本文中,我们描述了收敛速度和计算复杂性的ANIL下的两个代表性的内环损失的几何形状,即,强凸性和非凸性我们的研究结果表明,这样的几何属性可以显着影响ANIL的整体收敛性能。例如,随着内环梯度下降步骤的数量$N$的增加,ANIL实现了对于强凸内环损失的更快的收敛速率,但是随着$N$的增加,对于非凸内环损失的收敛速率较慢。此外,我们的复杂性分析提供了一个理论量化的ANIL的效率提高MAML。在标准Few-Shot元学习基准上的实验验证了我们的理论发现。
How does the optimizer implicitly bias the model merging loss landscape?
University of Luxembourg(卢森堡大学);ETH Zürich, MPI for Intelligent Systems(苏黎世联邦理工学院、智能系统研究所);Idiap Research Institute(Idiap研究机构);ELLIS Institute Tübingen, MPI for Intelligent Systems, Tübingen AI Center(图宾根ELLIS研究所、智能系统研究所、图宾根人工智能中心)
Dynamical loss functions shape landscape topography and improve learning in artificial neural networks
Departamento de Matemática Aplicada, ETSII, Universidad Politécnica de Madrid(应用数学系,II工学院,马德里理工大学);Departamento de Estructura de la Materia, Física Térmica y Electrónica, Universidad Complutense Madrid(物质结构系,热力学与电子学系,马德里康普顿斯大学);GISC - Grupo Interdisciplinar de Sistemas Complejos, Universidad Complutense Madrid(复杂系统跨学科小组,马德里康普顿斯大学)