Pix2seq: A Language Modeling Framework for Object Detection

Ting Chen, Saurabh Saxena, Lala Li, David J. Fleet, Geoffrey Hinton
9/22/2021
cs.CVcs.AIcs.CL

Official code: google-research/pix2seq (945 stars, Apache-2.0, last commit 2023-11-07).

Abstract

We present Pix2Seq, a simple and generic framework for object detection. Unlike existing approaches that explicitly integrate prior knowledge about the task, we cast object detection as a language modeling task conditioned on the observed pixel inputs. Object descriptions (e.g., bounding boxes and class labels) are expressed as sequences of discrete tokens, and we train a neural network to perceive the image and generate the desired sequence. Our approach is based mainly on the intuition that if a neural network knows about where and what the objects are, we just need to teach it how to read them out. Beyond the use of task-specific data augmentations, our approach makes minimal assumptions about the task, yet it achieves competitive results on the challenging COCO dataset, compared to highly specialized and well optimized detection algorithms.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Pix2Seq codebase: multi-tasks with generative modeling (autoregressive and diffusion)

94572Python, Jupyter NotebookMar 8, 20222 years agoApache-2.0
computer-visiondeep-learningobject-detectionpix2seqtensorflow2+1 more

Similar Papers

Cite this paper

@article{chen2021pixseq,
  title  = {Pix2seq: A Language Modeling Framework for Object Detection},
  author = {Ting Chen and Saurabh Saxena and Lala Li and David J. Fleet and Geoffrey Hinton},
  year   = {2021},
  eprint = {2109.10852},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.10852}
}

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/2109.10852.svg)](https://codeofpaper.com/paper/2109.10852)

Discussion