atlas

Research map / Detection and segmentation / CNN features

Object Recognition as Next Token Prediction

CVPR 2024 · Detection and segmentation › CNN features · approach: Convolution-transformer backbones · 7 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Frames object recognition as next-token prediction with a LLaMA-based language decoder using a non-causal mask, one-shot parallel sampling, and a truncated 6-block decoder.

Problem

Object recognition with fixed label galleries (linear classifiers, CLIP) limits the set of recognizable objects and generative VLMs need predefined prompts or exemplars; the paper asks whether labels can be decoded directly from image embeddings without predefined vocabularies.

Approach

A language decoder auto-regressively decodes label tokens from image embeddings, with a non-causal attention mask that makes tokens of different labels independent and treats image tokens as a prefix; this enables one-shot parallel sampling of multiple labels ranked by probability, and a compact decoder built by keeping only the first 6 LLaMA blocks plus the output layer.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
train on G70M instead of G3MObject Recognition as Next Token Prediction · COCO CaptionsF1: 0.702 -> 0.758Helped
truncate LLaMA 7B to 6 decoder blocks instead of retaining 32 (ablation)Object Recognition as Next Token Prediction · CC3MF1: 0.632 -> 0.627No clear effect
truncate LLaMA 7B to 1 decoder block instead of retaining 32 (ablation)Object Recognition as Next Token Prediction · CC3MF1: 0.632 -> 0.620Hurt
use truncated LLaMA 7B instead of LLaMA 3B at similar model scale (ablation)Object Recognition as Next Token Prediction · CC3MF1: 0.599 -> 0.615Helped
use one-shot sampling instead of greedy search (ablation)Object Recognition as Next Token Prediction · CC3MF1: 0.624 -> 0.627Helped
use one-shot sampling instead of beam search (ablation)Object Recognition as Next Token Prediction · CC3MF1: 0.608 -> 0.627Helped
add image-prefix masking (ablation)Object Recognition as Next Token Prediction with greedy search · CC3MF1: 0.611 -> 0.613Helped
add image-prefix masking (ablation)Object Recognition as Next Token Prediction with one-shot sampling · COCO CaptionsF1: 0.687 -> 0.689Helped
model labels independently instead of conditionally across labels (ablation)Object Recognition as Next Token Prediction with greedy search · CC3MF1: 0.613 -> 0.625Helped
model labels independently instead of conditionally across labels (ablation)Object Recognition as Next Token Prediction with one-shot sampling · COCO CaptionsF1: 0.689 -> 0.698Helped
use LLaMA 2 instead of LLaMA 1 for the truncated decoder (ablation)Object Recognition as Next Token Prediction · CC3MF1: 0.627 -> 0.627No clear effect
rank labels by full-label probabilities instead of initial-token probabilities (ablation)Object Recognition as Next Token Prediction · CC3MF1: 0.627 -> 0.627No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: CC3M COCO Captions SBU LAION-Synthetic-115M OpenImages V7

Benchmarks: CC3M validation COCO Captions validation OpenImages V7 validation

Metrics: semantic recall precision F1 (BERTScore-style with sentence-BERT) precision-recall curves

Baselines: CLIP CaSED Open Flamingo LLaVA 1.0 LLaVA 1.5 BLIP-2 InstructBLIP

Builds on: CLIP LLaMA BERTScore column mask

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy