Computational Vision

Donald Bren School of Information and Computer Sciences, UC Irvine

Task Adaptive Parameter Sharing for Multi-Task Learning

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

CVPR, 7551-7560, 2022.

Abstract

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.

Cite

@inproceedings{task-adaptive-parameter-sharing-for-multi-task-learning-2022, author = {Matthew Wallingford and Hao Li and Alessandro Achille and Avinash Ravichandran and Charless C. Fowlkes and Rahul Bhotika and Stefano Soatto}, title = {Task Adaptive Parameter Sharing for Multi-Task Learning}, booktitle = {CVPR}, pages = {7551-7560}, year = {2022}, doi = {10.1109/CVPR52688.2022.00741}, }