Practical guide: which design choices help when adding image input to LLMs

October 4, 20237 min

Overview

Decision SnapshotNeeds Validation

The paper runs controlled ablations and public checkpoints. Results are practical but limited by GPT-4-based evaluation and some reliance on authors' provided checkpoints.

Citations0

Evidence Strength0.70

Confidence0.80

Risk Signals10

Trust Signals

Findings with numeric evidence: 6/6

Findings with evidence refs: 6/6

Results with explicit delta: 5/5

Reproducibility

Status: Code + data available

Open source: Partial

At A Glance

Cost impact: 60%

Production readiness: 60%

Novelty: 30%

Authors

Utsav Garg, Erhan Bas

Links

Abstract / PDF

Why It Matters For Business

If you need image-aware language models, pick a large frozen vision encoder and train a small vision head plus diverse instruction tuning to get practical improvements without re-training huge backbones.

Who Should Care

Summary TLDR

This paper benchmarks five public recipes for turning a text LLM into a multimodal model (BLIP-2, InstructBLIP, LLaVA, MiniGPT-4, mPLUG-Owl). Main takeaways: bigger frozen vision encoders and training a small vision head help; training the LLM during instruction tuning gives extra gains; data diversity in instruction tuning matters more than sheer size; current multimodal variants still hallucinate and struggle with factuality. Authors back claims with controlled ablations on vision head, encoder size, alignment data, and whether the LLM is fine-tuned.

Problem Statement

How do common architectural and data choices affect the zero-shot and generalization performance of multimodal LLMs? The paper tests vision encoder size, whether to train a vision head, how much alignment/instruction data is needed, and whether to fine-tune the language decoder.

Main Contribution

Systematic comparison of five public multimodal LLM recipes (BLIP-2, InstructBLIP, LLaVA, MiniGPT-4, mPLUG-Owl) across captioning, VQA, MCQ, binary classification, and complex reasoning.

Ablation study isolating effects of vision head training, multimodal vs image-only head, vision encoder size, alignment data size, instruction data size, and LLM fine-tuning.

Key Findings

InstructBLIP (diverse instruction data) performs best across evaluated tasks.

NumbersLLaVA VQA overall 83.3; NoCaps CIDEr 123.65 (Table 2)

Practical UsePrioritize multi-task, diverse instruction tuning data to boost generalization across captioning, VQA, and out-of-distribution tasks.

Evidence RefTable 2

Training a vision head (Q-Former) improves downstream scores versus no head.

NumbersOverall 80.2 (trained Q-Former) vs 78.5 (no head); +1.7 overall (Table 3)

Practical UseTrain a small vision head on frozen encoder outputs to get immediate gains and smaller feature vectors for the LLM.

Evidence RefTable 3

Results

MetricValueBaselineDeltaSplit / DatasetEvidenceEvidence Ref
LLaVA VQA (Overall, GPT-4 relative score)InstructBLIP 83.3LLaVA 78.0+5.3LLaVA VQA (Table 2)InstructBLIP leads overall VQA relative scoreTable 2
NoCaps (CIDEr)InstructBLIP 123.65LLaVA 67.75+55.9NoCaps val (Table 2)InstructBLIP much higher CIDEr on captioningTable 2

What To Try In 7 Days

Swap in a larger frozen image encoder (ViT-g) and benchmark; expect a few points improvement.

Add and train a compact vision head (Q-Former) rather than passing raw patches.

If feasible, fine-tune the decoder; otherwise add LoRA adapters for multimodal mode only.

Reproducibility

Code AvailableYes
Data AvailableYes
Open Source StatusPartial
LicenseUnknown

Risks & Boundaries

Limitations

Evaluations rely on GPT-4 ranking that does not see images directly and can be noisy.

Models still hallucinate visual content and may assert nonexistent objects.

When Not To Use

For high-stakes factual decisions without human verification due to hallucination risk.

If you cannot supply diverse multimodal instruction data and expect broad OOD generalization.

Failure Modes

Hallucinating objects or attributes not present in the image.

Overfitting to task formats seen during instruction tuning and failing OOD.

Core Entities

Models

BLIP-2InstructBLIPLLaVAMiniGPT-4mPLUG-OwlVicuna-7BLLaMA-7BQ-FormerViT-LViT-gPerceiver Resampler

Metrics

GPT-4 relative score (1-10 ranking)CIDErAccuracyLog-likelihood (MCQ)

Datasets

LLaVA VQA (LLaVA-150K)NoCaps (val)ScienceQA (image subset)Visual Spatial Reasoning (VSR)COCOCC3MLAION

Benchmarks

LLaVA VQANoCapsScienceQA (Image)VSR