Learning to Forget for Meta-Learning

Sungyong Baik, Seokil Hong, Kyoung Mu Lee
6/13/2019
cs.LGcs.CVstat.ML

Official code: baiksung/L2F (37 stars, Python, MIT, PyTorch, last commit 2020-10-26).

Abstract

Few-shot learning is a challenging problem where the goal is to achieve generalization from only few examples. Model-agnostic meta-learning (MAML) tackles the problem by formulating prior knowledge as a common initialization across tasks, which is then used to quickly adapt to unseen tasks.

Show full abstract

However, forcibly sharing an initialization can lead to conflicts among tasks and the compromised (undesired by tasks) location on optimization landscape, thereby hindering the task adaptation. Further, we observe that the degree of conflict differs among not only tasks but also layers of a neural network. Thus, we propose task-and-layer-wise attenuation on the compromised initialization to reduce its influence. As the attenuation dynamically controls (or selectively forgets) the influence of prior knowledge for a given task and each layer, we name our method as L2F (Learn to Forget). The experimental results demonstrate that the proposed method provides faster adaptation and greatly improves the performance. Furthermore, L2F can be easily applied and improve other state-of-the-art MAML-based frameworks, illustrating its simplicity and generalizability.

View on arXivView PDF

Code Implementations(1)

baiksung/L2FOfficial100%
PyTorchMIT

Source code for CVPR 2020 paper "Learning to Forget for Meta-Learning"

375Python, ShellMay 13, 20206 years agoMIT
computer-visioncvpr2020deep-learningfew-shot-learningmachine-learning+4 more

Similar Papers

Cite this paper

@article{baik2019learning,
  title  = {Learning to Forget for Meta-Learning},
  author = {Sungyong Baik and Seokil Hong and Kyoung Mu Lee},
  year   = {2019},
  eprint = {1906.05895},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1906.05895}
}

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/1906.05895.svg)](https://codeofpaper.com/paper/1906.05895)

Discussion