Simultaneous Perturbation Method for Multi-Task Weight Optimization in One-Shot Meta-Learning

Andrei Boiarov, Kostiantyn Khabarlak, Igor Yastrebov
10/25/2021
cs.LGcs.AIcs.CV

Official code: andrewbo29/mtm-meta-learning-sa (3 stars, Python, MIT, PyTorch, last commit 2022-10-11).

Abstract

Meta-learning methods aim to build learning algorithms capable of quickly adapting to new tasks in low-data regime. One of the most difficult benchmarks of such algorithms is a one-shot learning problem.

Show full abstract

In this setting many algorithms face uncertainties associated with limited amount of training samples, which may result in overfitting. This problem can be resolved by providing additional information to the model. One of the most efficient ways to do this is multi-task learning. In this paper we investigate the modification of a standard meta-learning pipeline. The proposed method simultaneously utilizes information from several meta-training tasks in a common loss function. The impact of these tasks in the loss function is controlled by a per task weight. Proper optimization of the weights can have big influence on training and the final quality of the model. We propose and investigate the use of methods from the family of Simultaneous Perturbation Stochastic Approximation (SPSA) for optimization of meta-train tasks weights. We also demonstrate superiority of stochastic approximation in comparison to gradient-based method. The proposed Multi-Task Modification can be applied to almost all meta-learning methods. We study applications of this modification on Model-Agnostic Meta-Learning and Prototypical Network algorithms on CIFAR-FS, FC100, miniImageNet and tieredImageNet one-shot learning benchmarks. During these experiments Multi-Task Modification has demonstrated improvement over original methods. SPSA-Tracking algorithm first adapted in this paper for multi-task weight optimization shows the largest accuracy boost that is competitive to the state-of-the-art meta-learning methods. Our code is available online.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

Code of the paper "Multi-Task Meta-Learning Modification with Stochastic Approximation".

32PythonOct 26, 20204 years agoMIT
deep-learningfew-shotfew-shot-learningimage-classificationmeta-learning+3 more

Similar Papers

Cite this paper

@article{boiarov2021simultaneous,
  title  = {Simultaneous Perturbation Method for Multi-Task Weight Optimization in One-Shot Meta-Learning},
  author = {Andrei Boiarov and Kostiantyn Khabarlak and Igor Yastrebov},
  year   = {2021},
  eprint = {2110.13188},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.13188}
}

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

Discussion