Memory-Based Optimization Methods for Model-Agnostic Meta-Learning and Personalized Federated Learning
arXiv:2106.04911
Abstract
In recent years, model-agnostic meta-learning (MAML) has become a popular research area. However, the stochastic optimization of MAML is still underdeveloped. Existing MAML algorithms rely on the ``episode'' idea by sampling a few tasks and data points to update the meta-model at each iteration. Nonetheless, these algorithms either fail to guarantee convergence with a constant mini-batch size or require processing a large number of tasks at every iteration, which is unsuitable for continual learning or cross-device federated learning where only a small number of tasks are available per iteration or per round. To address these issues, this paper proposes memory-based stochastic algorithms for MAML that converge with vanishing error. The proposed algorithms require sampling a constant number of tasks and data samples per iteration, making them suitable for the continual learning scenario. Moreover, we introduce a communication-efficient memory-based MAML algorithm for personalized federated learning in cross-device (with client sampling) and cross-silo (without client sampling) settings. Our theoretical analysis improves the optimization theory for MAML, and our empirical results corroborate our theoretical findings. Interested readers can access our code at \url{https://github.com/bokun-wang/moml}.
References in corpus (11)
- Meta-SGD: Learning to Learn Quickly for Few-Shot Learning
- Deep Learning: A Critical Appraisal
- Personalized Federated Learning: A Meta-Learning Approach
- Federated Learning of a Mixture of Global and Local Models
- Recasting Gradient-Based Meta-Learning as Hierarchical Bayes
- Solving Stochastic Compositional Optimization is Nearly as Easy as Solving Stochastic Optimization
- Is Local SGD Better than Minibatch SGD?
- Convergence of Meta-Learning with Task-Specific Adaptation over Partial Parameters
- Distributionally Robust Federated Averaging
- Compositional ADAM: An Adaptive Compositional Solver
- On the Global Optimality of Model-Agnostic Meta-Learning