A Study of Autoregressive Decoders for Multi-Tasking in Computer Vision

Lucas Beyer, Bo Wan, Gagan Madan, Filip Pavetic, Andreas Steiner +7 more
3/30/2023
cs.CVcs.AIcs.LG

No official code found. Best implementation: google-research/big_vision (3,478 stars, Apache-2.0, last commit 2025-05-19).

Abstract

There has been a recent explosion of computer vision models which perform many tasks and are composed of an image encoder (usually a ViT) and an autoregressive decoder (usually a Transformer). However, most of this work simply presents one system and its results, leaving many questions regarding design decisions and trade-offs of such systems unanswered. In this work, we aim to provide such answers. We take a close look at autoregressive decoders for multi-task learning in multimodal computer vision, including classification, captioning, visual question answering, and optical character recognition. Through extensive systematic experiments, we study the effects of task and data mixture, training and regularization hyperparameters, conditioning type and specificity, modality combination, and more. Importantly, we compare these to well-tuned single-task baselines to highlight the cost incurred by multi-tasking. A key finding is that a small decoder learned on top of a frozen pretrained encoder works surprisingly well. We call this setup locked-image tuning with decoder (LiT-decoder). It can be seen as teaching a decoder to interact with a pretrained vision model via natural language.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Official codebase used to develop Vision Transformer, SigLIP, MLP-Mixer, LiT and more.

3,478222HTML, SCSSApr 4, 20221 years agoApache-2.0

Similar Papers

Cite this paper

@article{beyer2023study,
  title  = {A Study of Autoregressive Decoders for Multi-Tasking in Computer Vision},
  author = {Lucas Beyer and Bo Wan and Gagan Madan and Filip Pavetic and Andreas Steiner and Alexander Kolesnikov and André Susano Pinto and Emanuele Bugliarello and Xiao Wang and Qihang Yu and Liang-Chieh Chen and Xiaohua Zhai},
  year   = {2023},
  eprint = {2303.17376},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.17376v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2303.17376.svg)](https://codeofpaper.com/paper/2303.17376)

Discussion