Sharp-MAML: Sharpness-Aware Model-Agnostic Meta Learning
Authors:
Preprint
Abstract
Model-agnostic meta learning (MAML) is currently one of the dominating approaches for few-shot meta-learning. Albeit its effectiveness, the optimization of MAML can be challenging due to the innate bilevel problem structure. Specifically, the loss landscape of MAML is much more complex with possibly more saddle points and local minimizers than its empirical risk minimization counterpart. To address this challenge, we leverage the recently invented sharpness-aware minimization and develop a sharpness-aware MAML approach that we term Sharp-MAML. We empirically demonstrate that Sharp-MAML and its computation-efficient variant can outperform the plain-vanilla MAML baseline (e.g., $+3\%$ accuracy on Mini-Imagenet). We complement the empirical study with the convergence rate analysis and the generalization bound of Sharp-MAML. To the best of our knowledge, this is the first empirical and theoretical study on sharpness-aware minimization in the context of bilevel learning. The code is available at https://github.com/mominabbass/Sharp-MAML.
Keywords
All Related Versions
This publication has 6 references indexed in Scilit:
- Sharpness-Aware Minimization Improves Language Model Generalization2022
- mT5: A Massively Multilingual Pre-trained Text-to-Text Transformer2021
- Yet Meta Learning Can Adapt Fast, it Can Also Break Easily2021
- Natural Language to Structured Query Generation via Meta-Learning2018
- A Perspective View and Survey of Meta-LearningArtificial Intelligence Review, 2002
- Adaptive estimation of a quadratic functional by model selectionThe Annals of Statistics, 2000