Towards Task Sampler Learning for Meta-Learning

Jingyao Wang, Wenwen Qiang, Xingzhe Su, Changwen Zheng, Fuchun Sun +1 more
7/18/2023
24 citations
cs.LGcs.CV

Official code: WangJingyao07/Adaptive-Sampler (13 stars, Python, last commit 2025-10-24).

Abstract

Meta-learning aims to learn general knowledge with diverse training tasks conducted from limited data, and then transfer it to new tasks. It is commonly believed that increasing task diversity will enhance the generalization ability of meta-learning models.

Show full abstract

However, this paper challenges this view through empirical and theoretical analysis. We obtain three conclusions: (i) there is no universal task sampling strategy that can guarantee the optimal performance of meta-learning models; (ii) over-constraining task diversity may incur the risk of under-fitting or over-fitting during training; and (iii) the generalization performance of meta-learning models are affected by task diversity, task entropy, and task difficulty. Based on this insight, we design a novel task sampler, called Adaptive Sampler (ASr). ASr is a plug-and-play module that can be integrated into any meta-learning framework. It dynamically adjusts task weights according to task diversity, task entropy, and task difficulty, thereby obtaining the optimal probability distribution for meta-training tasks. Finally, we conduct experiments on a series of benchmark datasets across various scenarios, and the results demonstrate that ASr has clear advantages.

View on arXivView PDF

Code Implementations(1)

[IJCV 2024] Official code for "Towards Task Sampler Learning for Meta-Learning"

132Python, ShellAug 30, 20231 years ago
generalizationmeta-learningtask-samplingtransfer-learning

Similar Papers

Cite this paper

@article{wang2023towards,
  title  = {Towards Task Sampler Learning for Meta-Learning},
  author = {Jingyao Wang and Wenwen Qiang and Xingzhe Su and Changwen Zheng and Fuchun Sun and Hui Xiong},
  year   = {2023},
  eprint = {2307.08924},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.08924v4}
}

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

Discussion