arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.16708cs.LGcs.CV
收藏

多任务学习中的任务自适应参数共享

Task Adaptive Parameter Sharing for Multi-Task Learning

University of Washington(华盛顿大学);AWS AI Labs(AWS人工智能实验室)

Matthew Wallingford, Hao Li, Alessandro Achille, Avinash Ravichandran, Charless Fowlkes, Rahul Bhotika, Stefano Soatto

摘要:

调整具有广泛功能的预训练模型已成为学习各种下游任务的标准实践。为每个任务微调不同模型的典型方法是高性能的,但会产生大量的内存成本。为了有效地学习多个下游任务,我们引入了任务自适应参数共享(TAPS),这是一种通过自适应地修改一个小的、特定于任务的层子集来将基本模型调整到新任务的通用方法。这使得多任务学习,同时最大限度地减少资源使用和任务之间的竞争。TAPS解决了一个联合优化问题,该问题确定了与基础模型共享哪些层以及特定于任务的权重值。此外,对活动层数量的稀疏惩罚鼓励与基础模型共享权重。与其他方法相比,TAPS在下游任务上保持了高精度,同时引入了很少的任务特定参数。此外,TAPS与模型架构无关,只需要对训练方案进行微小的更改。我们在一套微调任务和架构(ResNet,DenseNet,ViT)上评估了我们的方法,并表明它在实现简单的同时实现了最先进的性能。

英文摘要:

Adapting pre-trained models with broad capabilities has become standard practice for learning a wide range of downstream tasks. The typical approach of fine-tuning different models for each task is performant, but incurs a substantial memory cost. To efficiently learn multiple downstream tasks we introduce Task Adaptive Parameter Sharing (TAPS), a general method for tuning a base model to a new task by adaptively modifying a small, task-specific subset of layers. This enables multi-task learning while minimizing resources used and competition between tasks. TAPS solves a joint optimization problem which determines which layers to share with the base model and the value of the task-specific weights. Further, a sparsity penalty on the number of active layers encourages weight sharing with the base model. Compared to other methods, TAPS retains high accuracy on downstream tasks while introducing few task-specific parameters. Moreover, TAPS is agnostic to the model architecture and requires only minor changes to the training scheme. We evaluate our method on a suite of fine-tuning tasks and architectures (ResNet, DenseNet, ViT) and show that it achieves state-of-the-art performance while being simple to implement.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑