arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1909.09157cs.LGstat.ML
收藏

快速学习还是功能重用?对MAML有效性的认识

Rapid Learning or Feature Reuse? Towards Understanding the Effectiveness of MAML

MIT(麻省理工学院);Cornell University(康奈尔大学);Google Brain(谷歌大脑);DeepMind(深度思维)

Aniruddh Raghu, Maithra Raghu, Samy Bengio, Oriol Vinyals

摘要:

机器学习的一个重要研究方向是围绕开发元学习算法来解决少样本学习。一个特别成功的算法是模型不可知元学习(MAML),这种方法由两个优化循环组成,外循环找到元初始化,内循环可以有效地学习新任务。尽管MAML很受欢迎,但一个基本的开放问题仍然存在--MAML的有效性是由于元初始化被准备用于快速学习(表示中的大而有效的变化),还是由于功能重用,Meta初始化已经包含高质量的功能?我们调查这个问题,通过消融研究和分析的潜在代表性,发现功能重用是主导因素。这导致了ANIL(几乎没有内环)算法,这是MAML的一种简化,我们删除了MAML训练网络的所有内环,但(特定于任务的)头。ANIL在基准测试Few-Shot图像分类和RL上与MAML的性能相匹配,并提供了超过MAML的计算改进。我们进一步研究了网络头部和主体的精确贡献,表明测试任务的性能完全取决于学习特征的质量,我们甚至可以删除网络的头部(NIL算法)。最后,我们将更广泛地讨论元学习算法的快速学习与特征重用问题。

英文摘要:

An important research direction in machine learning has centered around developing meta-learning algorithms to tackle few-shot learning. An especially successful algorithm has been Model Agnostic Meta-Learning (MAML), a method that consists of two optimization loops, with the outer loop finding a meta-initialization, from which the inner loop can efficiently learn new tasks. Despite MAML's popularity, a fundamental open question remains -- is the effectiveness of MAML due to the meta-initialization being primed for rapid learning (large, efficient changes in the representations) or due to feature reuse, with the meta initialization already containing high quality features? We investigate this question, via ablation studies and analysis of the latent representations, finding that feature reuse is the dominant factor. This leads to the ANIL (Almost No Inner Loop) algorithm, a simplification of MAML where we remove the inner loop for all but the (task-specific) head of a MAML-trained network. ANIL matches MAML's performance on benchmark few-shot image classification and RL and offers computational improvements over MAML. We further study the precise contributions of the head and body of the network, showing that performance on the test tasks is entirely determined by the quality of the learned features, and we can remove even the head of the network (the NIL algorithm). We conclude with a discussion of the rapid learning vs feature reuse question for meta-learning algorithms more broadly.

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

↑