Prismatic VLMs: Investigating the Design Space of Visually-Conditioned Language Models

Siddharth Karamcheti, Suraj Nair, Ashwin Balakrishna, Percy Liang, Thomas Kollar, Dorsa Sadigh

Abstract

Visually-conditioned language models (VLMs) have traditionally been built by combining pretrained vision encoders with large language models (LLMs). However, many design choices in this process have been adopted without rigorous validation. This paper introduces Prismatic VLMs, a family of models developed through a systematic investigation of the VLM design space. By optimizing image preprocessing, visual representations, and training strategies, Prismatic VLMs outperform state-of-the-art open-source models like LLaVA v1.5 while requiring 30% less training compute. Our findings provide a foundational recipe for building efficient and capable VLMs, highlighting the effectiveness of single-stage training and the power of fused visual backbones.

Introduction

The field of Visually-Conditioned Language Models (VLMs) is currently experiencing a "gold rush," with models like LLaVA and InstructBLIP demonstrating impressive capabilities by bridging vision and language. Despite this progress, the rapid pace of development has led to the adoption of various "best practices"—such as multi-stage training and specific image preprocessing techniques—that lack empirical justification.

Researchers from Stanford and the Toyota Research Institute (TRI) argue that current VLM development is akin to building "castles in the air." To address this, they present Prismatic VLMs, a study that deconstructs the VLM design space to identify which factors truly drive performance. The result is a more efficient training recipe and a suite of models that set a new standard for open-source VLMs.

Deconstructing the VLM Design Space

The authors focus on the popular "patch-as-token" architecture, where an image is processed by a vision backbone, projected into the LLM’s embedding space, and treated as a sequence of visual tokens. They systematically explored four key design axes:

  1. Optimization Procedure: Comparing the standard two-stage training (aligning the projector first, then finetuning the whole system) against a simplified single-stage approach.
  2. Visual Representations: Testing various backbones (CLIP, SigLIP, DINOv2) and preprocessing methods, such as cropping, padding, and "naive" resizing.
  3. Language Models: Evaluating the impact of using "Base" LLMs (e.g., Llama-2) versus "Instruct-tuned" versions (e.g., Vicuna).
  4. Scaling: Investigating performance gains relative to training time and data diversity.

To facilitate this research, the team developed an optimized, FSDP-backed training codebase that is approximately 20% faster than the reference LLaVA implementation.

Key Insights and Empirical Findings

The systematic exploration yielded several counter-intuitive insights that challenge current VLM conventions:

  • Single-Stage Training is Sufficient: The study found that the separate "alignment" stage for the projector is unnecessary. Skipping this stage saves 20-25% of compute without any loss in downstream performance.
  • Frozen Vision Backbones are Superior: Full finetuning of the visual encoder was found to actually degrade performance, particularly on localization tasks. Keeping the backbone frozen is both more efficient and more effective.
  • The Power of Fused Backbones: A major breakthrough was the discovery that combining different vision encoders—specifically DINOv2 (for low-level spatial features) and SigLIP (for high-level semantics)—leads to significant gains in localization and spatial reasoning.
  • Base LMs are Highly Capable: Using a base Llama-2 model often results in a VLM that is less "chatty" and less prone to hallucination than those built on instruct-tuned models like Vicuna, while maintaining comparable accuracy.
  • Naive Resizing Works: For CLIP-based models, simply resizing an image to a square ("naive resize") often outperforms more complex strategies like letterboxing or resizing-and-cropping.

Results and Performance

The resulting Prismatic (PRISM) models, available at 7B and 13B scales, achieve state-of-the-art results for open VLMs.

Efficiency and Benchmarking

Prismatic VLMs outperform LLaVA v1.5 while utilizing 30% less training compute. The PRISM-DINOSigLIP 13B model demonstrated superior performance across a 12-task evaluation suite, including VQA (VQAv2, GQA), localization (RefCOCO), and challenge sets (VSR for spatial reasoning, POPE for hallucination).

Safety and Data Diversity

The research also emphasizes the importance of data composition. The authors demonstrate that co-training on language-only safety data (such as ShareGPT) is essential. Without this, VLMs trained on base LLMs can exhibit harmful biases when presented with adversarial images. By including diverse datasets like LVIS-Instruct-4V and LRV-Instruct, the models achieve better generalization and robustness.

Conclusion and Future Work

Prismatic VLMs provide a rigorous foundation for the next generation of visually-conditioned language models. By identifying and eliminating unnecessary training overhead and optimizing visual representations, this work offers a clear path toward more efficient VLM development.

While this study focuses on the "patch-as-token" architecture, future research could extend these insights to alternative architectures like Perceivers or models designed for interleaved image-text training. Additionally, exploring these design axes at even larger scales (70B+ parameters) and with higher-resolution image tiling strategies remains a promising direction for the field.

Summary updated

BibTeX
@inproceedings{karamcheti2024prismatic,
  author = {Siddharth Karamcheti and Suraj Nair and Ashwin Balakrishna and Percy Liang and Thomas Kollar and Dorsa Sadigh},
  title = {{Prismatic VLMs: Investigating the Design Space of Visually-Conditioned Language Models}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=6FXtu8clyp},
}
Figure