How to Distribute Data across Tasks for Meta-Learning?

Authors

  • Alexandru Cioba MediaTek Research
  • Michael Bromberg MediaTek Research
  • Qian Wang MediaTek Research
  • Ritwik Niyogi MediaTek Research
  • Georgios Batzolis University of Cambridge
  • Jezabel Garcia MediaTek Research
  • Da-shan Shiu MediaTek Research
  • Alberto Bernacchia MediaTek Research

DOI:

https://doi.org/10.1609/aaai.v36i6.20590

Keywords:

Machine Learning (ML)

Abstract

Meta-learning models transfer the knowledge acquired from previous tasks to quickly learn new ones. They are trained on benchmarks with a fixed number of data points per task. This number is usually arbitrary and it is unknown how it affects performance at testing. Since labelling of data is expensive, finding the optimal allocation of labels across training tasks may reduce costs. Given a fixed budget of labels, should we use a small number of highly labelled tasks, or many tasks with few labels each? Should we allocate more labels to some tasks and less to others? We show that: 1) If tasks are homogeneous, there is a uniform optimal allocation, whereby all tasks get the same amount of data; 2) At fixed budget, there is a trade-off between number of tasks and number of data points per task, with a unique solution for the optimum; 3) When trained separately, harder task should get more data, at the cost of a smaller number of tasks; 4) When training on a mixture of easy and hard tasks, more data should be allocated to easy tasks. Interestingly, Neuroscience experiments have shown that human visual skills also transfer better from easy tasks. We prove these results mathematically on mixed linear regression, and we show empirically that the same results hold for few-shot image classification on CIFAR-FS and mini-ImageNet. Our results provide guidance for allocating labels across tasks when collecting data for meta-learning.

Downloads

Published

2022-06-28

How to Cite

Cioba, A., Bromberg, M., Wang, Q., Niyogi, R., Batzolis, G., Garcia, J., Shiu, D.- shan, & Bernacchia, A. (2022). How to Distribute Data across Tasks for Meta-Learning?. Proceedings of the AAAI Conference on Artificial Intelligence, 36(6), 6394-6401. https://doi.org/10.1609/aaai.v36i6.20590

Issue

Section

AAAI Technical Track on Machine Learning I