Towards Few-Shot Adaptation of Foundation Models via Multitask Finetuning

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Xu, Zhuoyan, Shi, Zhenmei, Wei, Junyi, Mu, Fangzhou, Li, Yin, Liang, Yingyu
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866917596027158528
author Xu, Zhuoyan
Shi, Zhenmei
Wei, Junyi
Mu, Fangzhou
Li, Yin
Liang, Yingyu
author_facet Xu, Zhuoyan
Shi, Zhenmei
Wei, Junyi
Mu, Fangzhou
Li, Yin
Liang, Yingyu
contents Foundation models have emerged as a powerful tool for many AI problems. Despite the tremendous success of foundation models, effective adaptation to new tasks, particularly those with limited labels, remains an open question and lacks theoretical understanding. An emerging solution with recent success in vision and NLP involves finetuning a foundation model on a selection of relevant tasks, before its adaptation to a target task with limited labeled samples. In this paper, we study the theoretical justification of this multitask finetuning approach. Our theoretical analysis reveals that with a diverse set of related tasks, this multitask finetuning leads to reduced error in the target task, in comparison to directly adapting the same pretrained model. We quantify the relationship between finetuning tasks and target tasks by diversity and consistency metrics, and further propose a practical task selection algorithm. We substantiate our theoretical claims with extensive empirical evidence. Further, we present results affirming our task selection algorithm adeptly chooses related finetuning tasks, providing advantages to the model performance on target tasks. We believe our study shed new light on the effective adaptation of foundation models to new tasks that lack abundant labels. Our code is available at https://github.com/OliverXUZY/Foudation-Model_Multitask.
format Preprint
id arxiv_https___arxiv_org_abs_2402_15017
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Towards Few-Shot Adaptation of Foundation Models via Multitask Finetuning
Xu, Zhuoyan
Shi, Zhenmei
Wei, Junyi
Mu, Fangzhou
Li, Yin
Liang, Yingyu
Machine Learning
Artificial Intelligence
Computation and Language
Foundation models have emerged as a powerful tool for many AI problems. Despite the tremendous success of foundation models, effective adaptation to new tasks, particularly those with limited labels, remains an open question and lacks theoretical understanding. An emerging solution with recent success in vision and NLP involves finetuning a foundation model on a selection of relevant tasks, before its adaptation to a target task with limited labeled samples. In this paper, we study the theoretical justification of this multitask finetuning approach. Our theoretical analysis reveals that with a diverse set of related tasks, this multitask finetuning leads to reduced error in the target task, in comparison to directly adapting the same pretrained model. We quantify the relationship between finetuning tasks and target tasks by diversity and consistency metrics, and further propose a practical task selection algorithm. We substantiate our theoretical claims with extensive empirical evidence. Further, we present results affirming our task selection algorithm adeptly chooses related finetuning tasks, providing advantages to the model performance on target tasks. We believe our study shed new light on the effective adaptation of foundation models to new tasks that lack abundant labels. Our code is available at https://github.com/OliverXUZY/Foudation-Model_Multitask.
title Towards Few-Shot Adaptation of Foundation Models via Multitask Finetuning
topic Machine Learning
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2402.15017