NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Visual Instruction Tuning

Haotian Liu, Chunyuan Li, Qingyang Wu, Yong Jae Lee

Introduction

Large Language Models (LLMs) like GPT-4 have revolutionized our ability to follow complex text instructions. However, extending this "instruction-following" capability to the multimodal domain—specifically combining vision and language—has remained a significant challenge.

Existing vision-language models often feature fixed interfaces designed for specific tasks, such as image captioning or object detection. They generally lack the flexibility to act as general-purpose assistants capable of dynamic, multi-turn conversations about visual inputs. A major bottleneck in developing such models is the scarcity of high-quality, diverse vision-language instruction data.

To address this, researchers introduce LLaVA (Large Language and Vision Assistant), a pioneering end-to-end multimodal model. By leveraging a novel dataset of instruction-following data generated by a text-only GPT-4, LLaVA achieves impressive visual reasoning capabilities and sets a new state-of-the-art on the ScienceQA benchmark.

Methodology

The authors tackle the multimodal challenge through a two-pronged approach: a novel data generation pipeline and a streamlined model architecture.

1. GPT-Assisted Data Generation

Because human-annotated multimodal instruction data is prohibitively expensive to collect at scale, the researchers devised a clever workaround: using a text-only GPT-4 to "hallucinate" multimodal conversations.

They provided GPT-4 with symbolic representations of images—specifically, captions and bounding box coordinates from the COCO dataset. Using this text-based spatial and descriptive context, they prompted GPT-4 to generate three distinct types of instruction-following data:

  • Conversations: Multi-turn Q&A about the visual content.
  • Detailed Descriptions: Rich, comprehensive accounts of the scene.
  • Complex Reasoning: Questions requiring step-by-step logic based on visual cues.
Example of using symbolic image representations to prompt GPT-4 for multimodal instruction data.

This insight—that a text-only model can generate high-quality training data for a vision model if given enough symbolic context—bypasses the need for expensive human labeling.

2. The LLaVA Architecture

The model architecture itself is elegantly simple. It connects a pre-trained CLIP ViT-L/14 vision encoder with a Vicuna LLM (a fine-tuned LLaMA model).

Instead of relying on complex "Q-Formers" or gated cross-attention mechanisms seen in other models, LLaVA uses a simple, trainable linear projection matrix ($W$). This bridge converts visual features into tokens that exist in the same embedding space as the LLM’s word tokens.

The LLaVA network architecture connects a vision encoder to an LLM via a simple projection layer.

Training occurs in two stages:

  1. Feature Alignment: The vision encoder and LLM are frozen. Only the projection matrix is trained to "align" visual features with language using a filtered subset of Conceptual Captions (CC-595K).
  2. End-to-End Fine-tuning: The projection matrix and the LLM are updated together on the core LLaVA-Instruct-158K dataset generated by GPT-4.

Key Results and Capabilities

LLaVA demonstrates remarkable emergent reasoning abilities. It can understand humor and cultural context—such as explaining complex visual jokes and memes—that were not explicitly present in its training data. This suggests the LLM's internal knowledge is successfully being "grounded" by the visual inputs.

  • ScienceQA State-of-the-Art: When ensembled with GPT-4, LLaVA achieved a new state-of-the-art accuracy of 92.53% on the ScienceQA benchmark.
  • Strong Relative Performance: On a synthetic LLaVA-Bench evaluation, the model achieved an 85.1% relative score compared to a text-only GPT-4 that was provided with ground-truth image descriptions.

Limitations and Future Work

Despite its strong performance, LLaVA has a few notable limitations:

  • "Bag of Patches" Perception: The model sometimes fails to grasp complex spatial semantics, treating the image more like a collection of features than a structured scene.
  • Hallucination: Like its LLM ancestors, LLaVA can occasionally hallucinate details not present in the image, particularly when prompted with leading questions.
  • Resolution Constraints: The model is limited by the input resolution of the CLIP encoder (typically 224x224 or 336x336), which can obscure fine-grained details.

Future directions include scaling the instruction data and exploring more sophisticated architectural connections between vision and language to overcome these perceptual bottlenecks.

Summary updated

BibTeX
@inproceedings{liu2023visual,
  author = {Haotian Liu and Chunyuan Li and Qingyang Wu and Yong Jae Lee},
  title = {{Visual Instruction Tuning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=w0H2xGHlkw},
}
Figure