Meta-learning with an Adaptive Task Scheduler

Huaxiu Yao, Yu Wang, Ying Wei, Peilin Zhao, Mehrdad Mahdavi +2 more
10/26/2021
61 citations
cs.LG

Official code: huaxiuyao/ATS (25 stars, Python, last commit 2021-11-04).

Abstract

To benefit the learning of a new task, meta-learning has been proposed to transfer a well-generalized meta-model learned from various meta-training tasks. Existing meta-learning algorithms randomly sample meta-training tasks with a uniform probability, under the assumption that tasks are of equal importance.

Show full abstract

However, it is likely that tasks are detrimental with noise or imbalanced given a limited number of meta-training tasks. To prevent the meta-model from being corrupted by such detrimental tasks or dominated by tasks in the majority, in this paper, we propose an adaptive task scheduler (ATS) for the meta-training process. In ATS, for the first time, we design a neural scheduler to decide which meta-training tasks to use next by predicting the probability being sampled for each candidate task, and train the scheduler to optimize the generalization capacity of the meta-model to unseen tasks. We identify two meta-model-related factors as the input of the neural scheduler, which characterize the difficulty of a candidate task to the meta-model. Theoretically, we show that a scheduler taking the two factors into account improves the meta-training loss and also the optimization landscape. Under the setting of meta-learning with noise and limited budgets, ATS improves the performance on both miniImageNet and a real-world drug discovery benchmark by up to 13% and 18%, respectively, compared to state-of-the-art task schedulers.

View on arXivView PDF

Code Implementations(1)

huaxiuyao/ATSOfficial100%

ATS for NeurIPS 2021

252PythonNov 3, 20215 years ago

Similar Papers

Cite this paper

@article{yao2021metalearning,
  title  = {Meta-learning with an Adaptive Task Scheduler},
  author = {Huaxiu Yao and Yu Wang and Ying Wei and Peilin Zhao and Mehrdad Mahdavi and Defu Lian and Chelsea Finn},
  year   = {2021},
  eprint = {2110.14057},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.14057}
}

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

Discussion