English

AutoTaskFormer: Searching Vision Transformers for Multi-task Learning

Computer Vision and Pattern Recognition 2023-04-21 v2

Abstract

Vision Transformers have shown great performance in single tasks such as classification and segmentation. However, real-world problems are not isolated, which calls for vision transformers that can perform multiple tasks concurrently. Existing multi-task vision transformers are handcrafted and heavily rely on human expertise. In this work, we propose a novel one-shot neural architecture search framework, dubbed AutoTaskFormer (Automated Multi-Task Vision TransFormer), to automate this process. AutoTaskFormer not only identifies the weights to share across multiple tasks automatically, but also provides thousands of well-trained vision transformers with a wide range of parameters (e.g., number of heads and network depth) for deployment under various resource constraints. Experiments on both small-scale (2-task Cityscapes and 3-task NYUv2) and large-scale (16-task Taskonomy) datasets show that AutoTaskFormer outperforms state-of-the-art handcrafted vision transformers in multi-task learning. The entire code and models will be open-sourced.

Keywords

Cite

@article{arxiv.2304.08756,
  title  = {AutoTaskFormer: Searching Vision Transformers for Multi-task Learning},
  author = {Yang Liu and Shen Yan and Yuge Zhang and Kan Ren and Quanlu Zhang and Zebin Ren and Deng Cai and Mi Zhang},
  journal= {arXiv preprint arXiv:2304.08756},
  year   = {2023}
}

Comments

15 pages

R2 v1 2026-06-28T10:09:17.938Z