Reproduce “Pix2seq: A Language Modeling Framework for Object Detection” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Ting Chen, Saurabh Saxena, Lala Li, David J. Fleet, Geoffrey Hinton
Pix2Seq represents object detections as sequences of discrete tokens, encoding each box with coordinates and a class label. A Transformer predicts tokens autoregressively using next-token training, with sequence augmentation to improve recall. On COCO validation, it scores 44.5 AP and 26.0 small-object AP, exceeding DETR on both, but Faster R-C-N-N+ has higher small-object AP; autoregressive inference remains costly.
Key insights
- Object detection can be effectively formulated as a sequence generation problem, demonstrating that generic language modeling frameworks can replace complex, specialized detection pipelines.
- Random ordering of serialized objects in the output sequence is critical for optimal performance, enhancing robustness against prediction errors.
- Sequence augmentation, which introduces synthetic noise objects, implicitly teaches the model to suppress redundant or low-quality predictions, improving recall without explicit NMS.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.