# Improved Baselines with Visual Instruction Tuning

Simple changes to LLaVA close its gap with InstructBLIP on academic benchmarks

Haotian Liu, Chunyuan Li, Yuheng Li, Yong Jae Lee · arXiv · 2023-10-5

- **Problem** LLaVA handles visual conversation well but falls short on academic VQA that wants short answers. It also tends to say yes to yes/no questions.
- **Method** The authors swap LLaVA's linear projection for a two-layer MLP and add academic VQA data with a fixed formatting prompt that asks for single-word answers.
- **Results** The 7B model scored 1510.7 on MME, compared to 809.6 for LLaVA.

## Why LLaVA and InstructBLIP pull apart

LLaVA and InstructBLIP look like opposites on the same kind of benchmark. LLaVA handles visual conversation well, but it falls short on academic VQA that wants single-word or short answers, and it tends to say yes to yes/no questions. InstructBLIP does the reverse, because it adds academic VQA data and so improves on VQA benchmarks, yet recent studies find it trails LLaVA in real-life conversation.

The gap is hard to explain because the two models differ in both architecture and training data.

Earlier work offered conjectures, such as the amount of training data or the Qformer resampler, without settling which one matters. The authors instead point to two causes in InstructBLIP's recipe, and both concern how the model learns the answer format. The first is an ambiguous prompt template, which can push the LLM toward short answers even when a user wants a conversation.

The second is that InstructBLIP tunes only the Qformer, so the Qformer's visual tokens must control answer length, and it may handle that poorly next to an LLM.

## Key idea: a stronger connector and prompted VQA data

The authors bet that LLaVA's simple design is not the limit, and that two small changes can close the gap. The first change replaces LLaVA's single linear layer with a two-layer MLP that maps vision features into the language model's space. The authors took this idea from self-supervised learning, where an MLP projection in place of a linear one improved results.

The second change appends a fixed formatting instruction to VQA questions when a short answer is wanted. That instruction tells the model to answer in a single word or phrase. Because the LLM itself is tuned on these prompts, the output length is set by the language model rather than by visual tokens from a resampler. This also removes the need to post-process VQA answers with ChatGPT, so more data sources can be added.

For multiple-choice data, the prompt asks for the option's letter, as used with A-OKVQA.

## How the two training stages run

Training keeps the usual two stages, starting with pretraining on image-text pairs that aligns visual features with the LLM's word embeddings. In this first stage the vision-language connector is pretrained on a 558K set, which is where the MLP is trained. The pretraining learning rate is 1e-3 at batch size 256, and it is halved relative to LLaVA because the connector is now an MLP.

The second stage is visual instruction tuning on a 665K mixture, at learning rate 2e-5 and batch size 128. The mixture combines 158K LLaVA conversations, 83K VQAv2 items, 72K GQA items and 40K ShareGPT conversations. Two data choices cut cost: QA pairs from the same image are merged into one conversation, and long ShareGPT dialogues are truncated at 2048 tokens rather than split.

Batches are drawn from a single modality, which the authors say sped training by 25% without changing the final outcome.

The higher 336 pixel input makes training about twice as long as LLaVA's, roughly 6 hours of pretraining and 20 hours of instruction tuning on 8 A100s.

## Benchmark gains, one change at a time

The authors add one change at a time on a 7B model and track GQA, MME and MM-Vet, so each step's effect can be read on its own. Once VQAv2 and the format prompt were in place, MME rose from 809.6 to 1323.8. The MLP connector added a smaller step, from 1323.8 to 1355.2 on MME. So the data change carried most of the early gain, while the connector gave a modest one.

With only a subset of InstructBLIP's data plus OKVQA and OCR, the 7B model scored GQA 50.0, MME 1377.6 and MM-Vet 29.6. InstructBLIP-14B scored 49.5, 1212.8 and 25.6 on the same three benchmarks. The authors read this as evidence that LLaVA's design works well even with less data than InstructBLIP uses. Scale adds more, and the 13B LLM lifted MM-Vet from 31.1 to 36.1, the largest MM-Vet step in that table.

Across the full comparison, the authors report LLaVA-1.5 as best on 4 of 5 academic benchmarks and best overall across 12 benchmarks. This is achieved with far less pretraining and instruction data than models such as InstructBLIP and Qwen-VL. These rows are not one controlled comparison, since Qwen-VL uses in-house data and some academic rows were trained on the images they test.

Format prompting also changes behavior on unanswerable questions. On VizWiz, the rate of correct Unanswerable responses rose from 11.1% to 67.8% with the format prompt.

## Scaling to higher resolution without retraining the encoder

Earlier approaches raise ViT input size by interpolating positional embeddings and fine-tuning on large image-text data, which caps the resolution the model accepts. The merged features are flattened and sent to the LLM, which lets the input cover the grid's extent.

A downsampled full image is also encoded and concatenated to the merged map, which gives the LLM a global view and reduces split artifacts. In the 7B ablation, adding that global view raised GQA from 62.9 to 63.8, MME from 1425.8 to 1497.5 and MM-Vet from 31.9 to 35.1. Because only the global view differs between these two runs, the ablation isolates its effect at this scale.

## Data efficiency, hallucination and composition

The authors randomly sub-sampled the mixture with ratios from 0.1 to 0.5 to test data efficiency. With half the samples, the model kept more than 98% of full-data performance. MMBench, ScienceQA and POPE did not drop at 50%, and performance stayed steady down to 30%. The authors treat this as room for smarter data selection rather than proof that the extra data is useless.

LLaVA-Instruct's detailed descriptions may contain some hallucinated content, which could teach a model to hallucinate. The authors frame the trade-off as a balance between adding detail to annotations and the model's ability to resolve that detail.

The authors also report composition: a model trained on separate tasks handles combined tasks without joint training. Adding ShareGPT led to longer, more detailed visual answers, and multilingual replies follow the user's language. The limit is that a correct VQA attribute does not guarantee an accurate detailed description, and Korean conversation still lags.

## Limitations

Full image patches make each training iteration longer, and visual resamplers, which cut the patch count, did not converge as efficiently in the authors' setting. The model can't process multiple images, because the training data lacks such instructions and the context length is limited. Problem solving is limited in some domains, and the model still produces hallucinations and can spread misinformation, so the authors advise caution in critical uses such as medicine.

MM-Vet and LLaVA-Bench-in-the-Wild are scored with GPT-4 judgments of correctness and helpfulness.

## Paper info

- **Authors**: Haotian Liu, Chunyuan Li, Yuheng Li, Yong Jae Lee
- **Venue**: arXiv · Preprint
- **First published**: 2023-10-5
- **Added**: 2026-11-12
- **Updated**: 2024-5-15
- **Version**: v2
- **arXiv**: 2310.03744
- **Category**: cs.CV · cs.AI · cs.CL · cs.LG
- **Original paper terms**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **What we show**: Paper info and commentary

[Original paper ↗](https://arxiv.org/abs/2310.03744v2) · [PDF ↗](https://arxiv.org/pdf/2310.03744v2)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Quote from the paper

Haotian Liu, Chunyuan Li, Yuheng Li, Yong Jae Lee (2023). Improved Baselines with Visual Instruction Tuning. arXiv:2310.03744v2. https://arxiv.org/abs/2310.03744v2

**BibTeX**

```
@misc{liu2023improved,
  title = {{Improved Baselines with Visual Instruction Tuning}},
  author = {Haotian Liu and Chunyuan Li and Yuheng Li and Yong Jae Lee},
  year = {2023},
  eprint = {2310.03744},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.03744v2}
}
```

## Other paper commentary

- [Qwen2-VL: Enhancing Vision-Language Model's Perception of the World at Any Resolution](https://refivu.com/en/papers/6c3c16f7-9275-4dac-84c5-17175ff5b338-qwen2-vl-enhancing-vision-language-model-s-perception.md)
- [Multimodal Machine Learning: A Survey and Taxonomy](https://refivu.com/en/papers/2148fea3-852f-4876-ab29-675f2c95c8d9-multimodal-machine-learning-a-survey-and-taxonomy.md)
- [Gemini: A Family of Highly Capable Multimodal Models](https://refivu.com/en/papers/210f7673-6e80-4763-9ef2-d58f1a878648-gemini-a-family-of-highly-capable-multimodal-models.md)
- [Multimodal Machine Learning-based Knee Osteoarthritis Progression Prediction from Plain Radiographs and Clinical Data](https://refivu.com/en/papers/2b4e96e0-64f3-4752-8b7e-3e4c0c68dc86-multimodal-machine-learning-based-knee-osteoarthritis.md)
- [Collaborative Federated Learning For Healthcare: Multi-Modal COVID-19 Diagnosis at the Edge](https://refivu.com/en/papers/716b1271-0a25-4e75-a046-8918241dcd06-collaborative-federated-learning-for-healthcare-multi-modal.md)
- [SmolVLA: A Vision-Language-Action Model for Affordable and Efficient Robotics](https://refivu.com/en/papers/39053767-ba8f-472c-b05c-af9ccbcac6d4-smolvla-a-vision-language-action-model-for-affordable.md)
- [CCNet: Criss-Cross Attention for Semantic Segmentation](https://refivu.com/en/papers/0b5bae85-f19c-40ec-85a8-6d588ce0497b-ccnet-criss-cross-attention-for-semantic-segmentation.md)
- [Semantics derived automatically from language corpora contain human-like biases](https://refivu.com/en/papers/abf5bfd6-5402-457c-958c-81fe475605f3-semantics-derived-automatically-from-language-corpora.md)
- [Estimation and Inference of Heterogeneous Treatment Effects using Random Forests](https://refivu.com/en/papers/ee58e924-ae1d-4d66-9ec5-6c7d18a8692c-estimation-and-inference-of-heterogeneous-treatment-effects.md)
- [Deep Learning and Its Applications to Machine Health Monitoring: A Survey](https://refivu.com/en/papers/8b968c5c-f4ea-4c3b-9ca4-f3e2b3ad82db-deep-learning-and-its-applications-to-machine-health.md)
- [Deep Learning for Anomaly Detection: A Review](https://refivu.com/en/papers/f9b3200a-543c-4a6c-8593-e6e80704328f-deep-learning-for-anomaly-detection-a-review.md)
- [RefineNet: Multi-Path Refinement Networks for High-Resolution Semantic Segmentation](https://refivu.com/en/papers/ab95d2b5-2254-4fd6-9e48-b56d4580e670-refinenet-multi-path-refinement-networks-for-high-resolution.md)

## Terms in this paper

- [CLIP](https://refivu.com/en/terms/b5b5b48d5f4e-clip)
- [GQA](https://refivu.com/en/terms/912d41ed8914-gqa)
- [hallucination](https://refivu.com/en/terms/8cd41568c9a2-hallucination)
- [ScienceQA](https://refivu.com/en/terms/4deed9de0244-scienceqa)
- [POPE](https://refivu.com/en/terms/b523bbe1227c-pope)
- [MME](https://refivu.com/en/terms/92bd03138164-mme)
- [visual instruction tuning](https://refivu.com/en/terms/da1b9f19793f-visual-instruction-tuning)
- [InstructBLIP](https://refivu.com/en/terms/b426a690806f-instructblip)
- [MMBench](https://refivu.com/en/terms/1688e568c3b8-mmbench)
- [Qwen-VL](https://refivu.com/en/terms/fd7b8b14cea3-qwen-vl)
- [ShareGPT](https://refivu.com/en/terms/eec8a738c5eb-sharegpt)
- [VQAv2](https://refivu.com/en/terms/e4f208a17818-vqav2)
- [MM-Vet](https://refivu.com/en/terms/29020655ef08-mm-vet)
- [TextVQA](https://refivu.com/en/terms/522fd646e388-textvqa)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/3cfdbdfa-775a-4f66-9c2e-f6fc6c4b4e96-improved-baselines-with-visual-instruction-tuning)
