atlas

Research map / Vision-language and multimodal / Multimodal LLMs

Visual Program Distillation: Distilling Tools and Programmatic Reasoning into Vision-Language Models

CVPR 2024 · Vision-language and multimodal › Multimodal LLMs · approach: Chain-of-thought multimodal reasoning · 34 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Visual Program Distillation (VPD) samples multiple LLM-generated visual programs, keeps executable correct ones, converts their traces into chain-of-thought rationales, and distills them into PaLI-3 and PaLI-X so a VLM answers complex visual queries in one forward pass.

Problem

Visual programs built from LLM code generation and specialist vision tools solve compositional visual tasks but are error-prone, slow, and costly at inference, while standard visual instruction tuning lacks fine-grained compositional reasoning.

Approach

Use an LLM to sample k candidate ViperGPT-style programs, execute them with vision tools, filter for correct executions against labels, rewrite execution traces into natural-language CoTs, and fine-tune a VLM on both short answers and these rationales (step-by-step distillation).

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Distill verified visual programs as synthesized CoT instead of training without synthesized CoT (ablation)PaLI-X (55B) · GQAEM: +1.6Helped
Distill verified visual programs as synthesized CoT instead of training without synthesized CoT (ablation)PaLI-X (55B) · TallyQA ComplexEM: +1.2Helped
Distill verified visual programs as synthesized CoT instead of training without synthesized CoT (ablation)PaLI-X (55B) · MMBenchEM: +1.2Helped
Distill verified visual programs as synthesized CoT instead of training without synthesized CoT (ablation)PaLI-X (55B) · POPEEMHurt
Distill verified visual programs as synthesized CoT instead of training without synthesized CoT (ablation)PaLI-X (55B) · VQA benchmarksbenchmark scoreMixed
Add CoT training to label-only fine-tuning (ablation)PaLI-X-VPD on Hateful Memes · Hateful Memes seen testAccuracyHelped
Add CoT training to label-only fine-tuning (ablation)PaLI-X-VPD on Hateful Memes · Hateful Memes seen testAUC-ROCHelped
Sample top-5 candidate programs instead of top-1 (ablation)VPD program generation · GQA training data synthesisprogram success rate: +45%Helped
Sample top-5 candidate programs instead of top-1 (ablation)VPD program generation · A-OKVQA training data synthesisprogram success rate: +45%Helped
Sample top-5 candidate programs instead of top-1 (ablation)VPD program generation · OK-VQA training data synthesisprogram success rate: +33%Helped
Sample top-5 candidate programs instead of top-1 (ablation)VPD program generation · TallyQA training data synthesisprogram success rate: +10%Helped
Use VPD instead of instruction tuning without synthesized CoT (ablation)PaLI-X · Human evaluationanswer accuracy: +16.7%Helped

Surprising findings

Limitations

Experimental setup

Datasets: VQAv2 OCR-VQA GQA OK-VQA A-OKVQA TallyQA Hateful Memes Visual Genome MMIT

Benchmarks: VQAv2 GQA OK-VQA A-OKVQA TallyQA TextVQA POPE MMBench Hateful Memes

Metrics: VQA score exact match accuracy AUC-ROC human correctness/factuality/consistency ratings

Baselines: PaLI-3 Instruct PaLI-X Instruct Flamingo InstructBLIP Shikra Qwen-VL LLaVA-1.5 VisualBERT Generated Programs

Builds on: ViperGPT Distilling step-by-step PaLI Program-of-Thoughts Self-Instruct

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy