English

A Unified Sequence Interface for Vision Tasks

Computer Vision and Pattern Recognition 2022-10-18 v2 Computation and Language Machine Learning

Abstract

While language tasks are naturally expressed in a single, unified, modeling framework, i.e., generating sequences of tokens, this has not been the case in computer vision. As a result, there is a proliferation of distinct architectures and loss functions for different vision tasks. In this work we show that a diverse set of "core" computer vision tasks can also be unified if formulated in terms of a shared pixel-to-sequence interface. We focus on four tasks, namely, object detection, instance segmentation, keypoint detection, and image captioning, all with diverse types of outputs, e.g., bounding boxes or dense masks. Despite that, by formulating the output of each task as a sequence of discrete tokens with a unified interface, we show that one can train a neural network with a single model architecture and loss function on all these tasks, with no task-specific customization. To solve a specific task, we use a short prompt as task description, and the sequence output adapts to the prompt so it can produce task-specific output. We show that such a model can achieve competitive performance compared to well-established task-specific models.

Keywords

Cite

@article{arxiv.2206.07669,
  title  = {A Unified Sequence Interface for Vision Tasks},
  author = {Ting Chen and Saurabh Saxena and Lala Li and Tsung-Yi Lin and David J. Fleet and Geoffrey Hinton},
  journal= {arXiv preprint arXiv:2206.07669},
  year   = {2022}
}

Comments

The first three authors contributed equally

R2 v1 2026-06-24T11:52:44.357Z