[Paper Review] Sequential Modeling Enables Scalable Learning for Large Vision Models
The paper trains a large vision model (3B parameters) on a unified visual-token sequence format called visual sentences, using 1.64B images and 420B tokens, to learn from pixels-only data and enable versatile prompting for many vision tasks.
We introduce a novel sequential modeling approach which enables learning a Large Vision Model (LVM) without making use of any linguistic data. To do this, we define a common format, "visual sentences", in which we can represent raw images and videos as well as annotated data sources such as semantic segmentations and depth reconstructions without needing any meta-knowledge beyond the pixels. Once this wide variety of visual data (comprising 420 billion tokens) is represented as sequences, the model can be trained to minimize a cross-entropy loss for next token prediction. By training across various scales of model architecture and data diversity, we provide empirical evidence that our models scale effectively. Many different vision tasks can be solved by designing suitable visual prompts at test time.
Motivation & Objective
- Define a unified data format called visual sentences to represent diverse visual data (images, videos, and annotations) without language priors.
- Build a large transformer-based model that learns from next-token prediction on visual sequences.
- Demonstrate scaling properties by training multiple model sizes on a very large, diverse visual dataset (UVDv1).
- Show that test-time visual prompting can elicit a range of downstream vision capabilities from a single model.
Proposed method
- Represent raw images, videos, and annotations as sequences of visual tokens via a trained VQGAN-based visual tokenizer (256 tokens per image).
- Concatenate tokens from multiple images in a visual sentence to form a 1D token sequence for the transformer.
- Train a causal Transformer (architecture akin to LLaMA) on 420B tokens (1.64B images) with next-token cross-entropy loss, using one epoch on the Unified Vision Dataset v1 (UVDv1).
- Explore model scales (300M, 600M, 1B, 3B parameters) and assess scaling behavior and downstream task performance.
- Enable inference by visual prompting, where partial visual sentences define a task and the model autoregressively generates outputs.
Experimental results
Research questions
- RQ1Can a single, language-free large vision model learn effectively from a diverse, purely visual dataset represented as sequences?
- RQ2How does model size and dataset scale affect training loss and downstream vision tasks when trained with next-token prediction on visual sentences?
- RQ3To what extent can test-time visual prompting enable flexible, multi-task reasoning and generation across vision tasks?
- RQ4Does the model demonstrate generalization to unseen tasks and out-of-distribution inputs through prompting?
- RQ5What is the contribution of each data component (images, videos, annotations) to downstream performance?
Key findings
- Training loss (perplexity) decreases with training and improves faster as model size increases, indicating strong scalability.
- Larger models achieve lower perplexity across semantic segmentation, depth estimation, surface normal estimation, and edge detection tasks in a 5-shot setting.
- Ablation on UVDv1 shows each data component (unlabeled images, videos, and annotations) contributes positively to downstream performance.
- Sequential prompting enables tasks like video frame prediction, rotation and category prediction, and simple visual reasoning, including some generalization to unseen prompts.
- Unseen tasks such as keypoint detection on Pascal 3D+ reach 81.2% PCK with no task-specific training, indicating notable generalization; the approach compares favorably to some visual prompting baselines.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.