When MAML Can Adapt Fast and How to Assist When It Cannot

Sébastien M. R. Arnold, Shariq Iqbal, Fei Sha
10/30/2019
cs.LGstat.ML

Official code: learnables/learn2learn (2,896 stars, Python, MIT, PyTorch, last commit 2025-12-16).

Abstract

Model-Agnostic Meta-Learning (MAML) and its variants have achieved success in meta-learning tasks on many datasets and settings. On the other hand, we have just started to understand and analyze how they are able to adapt fast to new tasks.

Show full abstract

For example, one popular hypothesis is that the algorithms learn good representations for transfer, as in multi-task learning. In this work, we contribute by providing a series of empirical and theoretical studies, and discover several interesting yet previously unknown properties of the algorithm. We find MAML adapts better with a deep architecture even if the tasks need only a shallow one (and thus, no representation learning is needed). While echoing previous findings by others that the bottom layers in deep architectures enable representation learning, we also find that upper layers enable fast adaptation by being meta-learned to perform adaptive gradient update when generalizing to new tasks. Motivated by these findings, we study several meta-optimization approaches and propose a new one for learning to optimize adaptively. Those approaches attain stronger performance in meta-learning both shallower and deeper architectures than MAML.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

A PyTorch Library for Meta-learning Research

2,896356Python, CythonAug 8, 201911 months agoMIT
few-shotfinetuninglearn2learnlearning2learnmaml+6 more

Similar Papers

Cite this paper

@article{arnold2019when,
  title  = {When MAML Can Adapt Fast and How to Assist When It Cannot},
  author = {Sébastien M. R. Arnold and Shariq Iqbal and Fei Sha},
  year   = {2019},
  eprint = {1910.13603},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1910.13603}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1910.13603.svg)](https://codeofpaper.com/paper/1910.13603)

Discussion