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

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

TL;DR

This paper presents a systematic "deconstruction" of visually-conditioned language models (VLMs), rigorously testing design choices like image preprocessing, visual backbones, and training strategies. The result is Prismatic VLMs, a family of models that outperform state-of-the-art open models like LLaVa v1.5 and InstructBLIP across 12 diverse benchmarks while requiring over 30% less training compute.

What Problem Does This Paper Address?

The field of VLMs is currently in a "Cambrian explosion" phase, with new models like LLaVa, InstructBLIP, and PaLI-3 appearing constantly. However, most of these models follow a similar "recipe" without a clear understanding of which ingredients actually drive performance. Key design decisions—such as whether to use multi-stage training, how to resize images, or which pretrained vision backbone is best—are often made based on intuition rather than empirical evidence.

Furthermore, the lack of standardized, objective evaluation makes it difficult to compare models fairly. Researchers often rely on subjective "GPT-4-as-a-judge" metrics, which can be noisy and hard to replicate. This paper aims to turn VLM design from an art into a science by providing a unified evaluation framework and a rigorous ablation of the VLM design space.

Methods

The authors investigate four primary design axes, as illustrated in the figure below:

Figure 2. Exploring VLM Design Axes. We explore four key design axes for developing VLMs: 1) optimization procedure, 2) image processing and pretrained visual representations, 3) language models, and 4) scaling properties around training time and data (left). To enable this exploration, we make a key resource contribution: an open-source, flexible codebase for efficiently training VLMs (right).
  1. Optimization Procedure: They compare the standard two-stage training (aligning vision-language features first, then instruction tuning) against a simpler single-stage approach. They also test the impact of freezing vs. finetuning the visual backbone.
  2. Image Processing & Visual Representations: They evaluate different backbones (CLIP, SigLIP, DINOv2) and image resizing strategies (cropping, padding, or "naive" stretching).
  3. Language Models: They compare base LMs (like Llama-2) against instruct-tuned variants (like Vicuna) and explore the impact of co-training with language-only safety data.
  4. Scaling Properties: They investigate how performance changes with increased training time (epochs) and the addition of diverse synthetic data.

To enable this research, the authors developed an optimized, FSDP-backed training codebase that is 20% faster than the reference LLaVa implementation.

Datasets

For training, the authors primarily use the LLaVa v1.5 data mixture, which includes:

  • 558K image-caption pairs for alignment (LAION, Conceptual Captions, SBU).
  • 665K multimodal instruction tuning examples (GQA, TextCaps, RefCOCO, and GPT-4 generated data).
  • 40K language-only samples from ShareGPT for safety and conversational flow.

For evaluation, they compiled a standardized suite of 12 benchmarks spanning three areas:

  • Open-Ended VQA: VizWiz, VQAv2, GQA, TextVQA.
  • Localization: RefCOCO, RefCOCO+, RefCOCOg, OCID-Ref.
  • Challenge Sets: VSR (spatial reasoning), TallyQA (counting), POPE (hallucination), AI2D (diagrams).
Figure 3. Evaluation Suite Overview. We compile multiple established benchmarks spanning visual question answering, localization, and challenge tasks (e.g., evaluating counting, spatial relationships, propensity to hallucinate). This evaluation suite forms the backbone for all of our analysis, giving us fine-grained insight into the impact of individual VLM design choices.

Key Insights and Ideas

  • Multi-stage training is unnecessary: Skipping the initial "alignment" stage and going straight to full training actually improves performance and saves 20-25% in compute costs.
  • Don't finetune the vision backbone: Keeping the pretrained visual representation frozen leads to better downstream performance, especially on spatial reasoning and localization tasks.
  • Ensembling is a "cheat code": Fusing features from two different backbones—specifically DINOv2 (which captures low-level spatial features) and SigLIP (which captures high-level semantics)—yields massive gains across the board.
  • "Naive" resizing works: Surprisingly, simply stretching an image to a square (naive resize) often performs as well as or better than more complex "letterbox" padding, likely because it avoids "dead pixels" and minimizes distribution shift for the transformer.
  • Base LMs are safer: Using a base LM (like Llama-2) instead of an instruct-tuned one results in similar performance but makes the model less prone to verbose hallucinations and toxic outputs, provided it is co-trained with safety data.
  • We are undertraining: Most open VLMs are trained for a single epoch. The authors found that training for two epochs provides a significant performance boost before plateauing.

Key Results

The resulting Prismatic VLMs set a new bar for open-source models. As shown in the radar plot below, the Prismatic 7B model (orange) strictly outperforms the state-of-the-art LLaVa v1.5 7B (gray) across all 12 tasks.

Prismatic VLM Performance and Training Time
  • Compute Efficiency: Prismatic 7B trains in just 8.8 hours on 8x A100 GPUs, compared to 13.09 hours for LLaVa v1.5—a 33% reduction in time.
  • Performance: The 13B Prismatic model achieves even higher scores, particularly on localization and complex reasoning tasks, outperforming both LLaVa v1.5 13B and InstructBLIP.

Limitations and Future Work

  • Architectural Scope: The study focuses on the "patch-as-token" architecture used by LLaVa and PaLI. It does not explore Perceiver-based architectures (like Flamingo) or models that use interleaved image-text training.
  • Evaluation Style: The evaluation focuses on objective, short-form metrics. It does not fully capture the nuances of long-form, multi-turn dialogue.
  • Scale: While the 7B and 13B scales were thoroughly investigated, it remains an open question whether these insights hold for massive models (70B+ parameters).
  • Future Directions: The authors suggest that exploring fused, multi-resolution features and co-designing VLMs for specific downstream applications (like robotics) are promising next steps.

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