Papers › Visual Instruction Tuning
Visual Instruction Tuning
Haotian Liu, Chunyuan Li, Qingyang Wu, Yong Jae Lee
Instruction tuning large language models (LLMs) using machine-generated instruction-following data has improved zero-shot capabilities on new tasks, but the idea is less explored in the multimodal field. In this paper, we present the first attempt to use language-only GPT-4 to generate multimodal language-image instruction-following data. By instruction tuning on such generated data, we introduce LLaVA: Large Language and Vision Assistant, an end-to-end trained large multimodal model that connects a vision encoder and LLM for general-purpose visual and language understanding.Our early experiments show that LLaVA demonstrates impressive multimodel chat abilities, sometimes exhibiting the behaviors of multimodal GPT-4 on unseen images/instructions, and yields a 85.1% relative score compared with GPT-4 on a synthetic multimodal instruction-following dataset. When fine-tuned on Science QA, the synergy of LLaVA and GPT-4 achieves a new state-of-the-art accuracy of 92.53%. We make GPT-4 generated visual instruction tuning data, our model and code base publicly available.
In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.
Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.
For agents, on Syntology's MCP service (how to connect):
get_harvested_code_for_paper(arxiv_id="2304.08485")get_code(code_sha256="…")with a sample'scode_sha256from the list belowget_citation_path(paper_1="2304.08485", paper_2="…")with another paper's arXiv id or titleget_concepts_for_paper(arxiv_id="2304.08485")
Code
Syntology 51 code samples harvested from 12 repositories linked to this paper: 16 ran (of which 6 constructed an object rather than computing a result; 8 with no instrument failure: 0 honoured, 1 violated, 7 with no contract checked; 8 where Syntology's instrument failed) · 35 unverified. Where Syntology's instrument failed: 4 where our contract draft was wrong; 4 where the contract check could not run; failures of Syntology's instrument, not of the code.
By repository: official repository: 12 samples from 1 repository, 4 ran (1 with no instrument failure; 3 where Syntology's instrument failed); named in the paper: 5 samples from 1 repository, 2 ran (1 with no instrument failure; 1 where Syntology's instrument failed); community (archive-listed): 29 samples from 7 repositories, 9 ran (6 with no instrument failure; 3 where Syntology's instrument failed); community: 5 samples from 3 repositories, 1 ran (0 with no instrument failure; 1 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.
No sample is linked to this paper from 2 of its repositories that Syntology harvested for other papers:
- huggingface/transformers, community (archive-listed): harvested for 4 other papers, listed under the repository
- qiujihao19/artemis, community (archive-listed): harvested for another paper, listed under the repository
Levels written on 2026-09-22 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed. 6 of the 16 samples that ran have no recorded date.
13 repositories listed; official and paper-mentioned ones first.
Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.
A paper named beside a repository with no sample linked to this paper is shown with that paper's own run record, not this paper's: “ran” means executed on a synthesized input, not that the code is correct, and “where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Papers are listed in arXiv-id order, at most three per repository.
Code Syntology ran Syntology
51 samples harvested: 16 ran (of which 6 constructed an object rather than computing a result; 8 with no instrument failure: 0 honoured, 1 violated, 7 with no contract checked; 8 where Syntology's instrument failed) · 35 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page has not changed since , the first build that kept a record date for it; when this build read Syntology's graph is in the build record. That date is not when the samples ran.
Licence: 0 of the 51 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.
Harvested from 12 repositories linked to this paper, official or community; the list below is grouped by repository, each group headed by its name and what it is to the paper. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. For 2 samples that ran, the graph records a signature this page does not show: for a class the fixture built without calling, the harness called the object with inputs it made up itself, so the recorded signature is the harness's probe, not the fixture's arguments. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.
Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (how to connect); click an identity to copy that call.
Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of six reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.
A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.
f01242335a1498b3 · report
fixture: returned LlavaConfig · level recorded 2026-09-22 2ff0d742a84cb8e2 · report
fixture: signature image_size:tuple/1/int, grid_pinpoints:list/1/tuple, patch_size:int/0/int · returned tuple · level recorded 2026-09-22 10893c4608c08075 · report
fixture: signature indices:list/1/int, lengths:dict/0/?, num_chunks:int/0/int · returned list · level recorded, date not recorded census: 4 implementations from 34 papers, 2 distinct outputs on one shared input this sample: bucket 1 of 1, arg 1: rank 3, kind float, dtype float32 llava/model/llava_arch.py ran; the contract check could not run (RAISES) · metamorphic tier: invariant fingerprinted Apache-2.0 (permissive) ·
55c32993da87759b · report
fixture: signature tensor:Tensor/3/float, original_size:tuple/1/int · returned Tensor · level recorded, date not recorded 5d1c9ab7042cee8d · report
4363aef6226bb213 · report
9707b7b56a48db85 · report
8e3647258cae7507 · report
0bfdaed6a43a5263 · report
3ee345b55cc88a11 · report
bb35e3ac741bb2c9 · report
735025744c1ab0cf · report
92cb18f9e27a4e39 · report
fixture: returned LlavaConfig · level recorded 2026-09-22 94fda0761ce0d5b9 · report
fixture: signature results:list/1/dict · returned list · level recorded, date not recorded 7adeedb5a7dcbd7a · report
e992c05c75e7c542 · report
268b6194c5c23103 · report
08787a49ef19e0aa · report
fixture: signature args:Args/0/? · returned bool · level recorded, date not recorded census: 4 implementations from 34 papers, 2 distinct outputs on one shared input this sample: bucket 1 of 1, arg 1: rank 3, kind float, dtype float32 llava/model/llava_arch.py ran; the contract check could not run (RAISES) · metamorphic tier: invariant fingerprinted Apache-2.0 (permissive) ·
7606525af238fb64 · report
fixture: signature tensor:Tensor/3/float, original_size:tuple/1/int · returned Tensor · level recorded, date not recorded 39343c26374462af · report
44969b8364ff17f1 · report
7fc60199325c39f5 · report
abf7b5851a13bc76 · report
38d280bea74c1e01 · report
014050859277825c · report
1707c6987676247e · report
fixture: signature x:Tensor/2/float · returned Tensor · level recorded 2026-09-22 dbe52eb96f05b6db · report
fixture: returned LlavaConfig · level recorded 2026-09-22 4a7e5ec29fb79acb · report
fixture: returned SimpleResBlock · level recorded 2026-09-22 ea7ba84c548c5a33 · report
fixture: signature config:MockConfig/0/?, delay_load:bool/0/bool, vision_cfg:MockVisionConfig/0/? · returned Linear · level recorded 2026-09-22 10f2142755f4bbb5 · report
fixture: signature model_args:MockModelArgs/0/?, delay_load:bool/0/bool · returned IdentityMap · level recorded 2026-09-22 98e6fcd805f498d1 · report
d7be74cc1bd52de7 · report
1717d5d0a430f17f · report
a39a4ca102cca6cc · report
31bedbeb8856618e · report
7732a5ae006ababd · report
875ebbe8f3a0c711 · report
e589073e81d58266 · report
d9cce1fb106ab082 · report
5990c8af59a1551f · report
078a686c14a5d016 · report
fixture: returned _MLPVectorProjector · level recorded 2026-09-22 e6460881f1cf311c · report
fixture: returned LlavaLlamaModel · level recorded 2026-09-22 d2904a880e39bfc2 · report
d138a906d3799efb · report
d70c330590b6be51 · report
2efb2d959762f4ed · report
a7bee88c1c7fd6a3 · report
fixture: signature args:Args/0/? · returned list · level recorded, date not recorded 150a20daa039f495 · report
63959934f6d1fa06 · report
e2e5c3a95a6aebb4 · report
22930d58d32e2d08 · report
Method as code Syntology
What Syntology's graph records as this paper's claimed method, lifted into code: each assembly names its bricks (functions and classes), each with its own role and its own verification level. An assembly is not a check that the code implements the method correctly or reproduces the paper's results. Levels are each brick's own verification level in Syntology's graph (level 0: no recorded run), listed brick by brick and never combined into one level; “ran” means the brick executed on a synthesized input, not that its output is correct, and the instrument figure counts failures of Syntology's instrument, not of the code. Where a model read the code against the paper's claim, each assembly's label verdict is one model's judgement, kept in this page's JSON twin; it is not calibrated, so no card prints it. Siblings are assemblies lifted from this paper in the same batch for the same method: alternative readings kept side by side; none replaces or supersedes another.
9 assemblies on this paper: 9 harvested, 0 generated, listed in 1 groups (siblings lifted in one batch form one group).
9 sibling assemblies for LLaVA (harvested), lifted in the same batch on 2026-09-09: alternative readings kept side by side; none replaces or supersedes another.
harvested Assembly for LLaVA (graph method: LLaVA). 5 bricks; individually on a fixture: 3 ran (of which 0 constructed an object rather than computing a result; 0 with no instrument failure: 0 honoured, 0 violated, 0 with no contract checked; 3 where Syntology's instrument failed) · 2 unverified. The assembly has not been run end-to-end.
one of 9 siblings
- LlavaMetaForCausalLM entry · level 0 · unverified ·
39343c26374462af - get_anyres_image_grid_shape helper · level 1 · ran; the contract check could not run ·
dd90994dc116b84b - rank0_print helper · level 0 · unverified ·
16c9ecf6f7fea719 - unpad_image helper · level 1 · ran; the contract check could not run (RAISES) ·
7606525af238fb64 - select_best_resolution helper · level 1 · ran; the contract check could not run ·
3999ff487573f32c
harvested Assembly for LLaVA (graph method: LLaVA). 16 bricks; individually on a fixture: 8 ran (of which 2 constructed an object rather than computing a result; 3 with no instrument failure: 0 honoured, 0 violated, 3 with no contract checked; 5 where Syntology's instrument failed) · 8 unverified. The assembly has not been run end-to-end.
one of 9 siblings
- LlavaLlamaForCausalLM entry · level 0 · unverified ·
1717d5d0a430f17f - LlavaConfig helper · level 1 · ran ·
dbe52eb96f05b6db - LlavaLlamaModel helper · level 0 · unverified ·
a39a4ca102cca6cc - LlavaMetaForCausalLM helper · level 0 · unverified ·
31bedbeb8856618e - LlavaMetaModel model · level 0 · unverified ·
7732a5ae006ababd - get_anyres_image_grid_shape helper · level 1 · ran; the contract check could not run ·
dd90994dc116b84b - rank0_print helper · level 0 · unverified ·
16c9ecf6f7fea719 - unpad_image helper · level 1 · ran; the contract check could not run (RAISES) ·
7606525af238fb64 - build_vision_projector helper · level 1 · ran · our draft was wrong ·
ea7ba84c548c5a33 - build_vision_resampler helper · level 1 · ran · our draft was wrong ·
10f2142755f4bbb5 - build_vision_tower model · level 0 · unverified ·
875ebbe8f3a0c711 - select_best_resolution helper · level 1 · ran; the contract check could not run ·
3999ff487573f32c - IdentityMap helper · level 1 · ran ·
1707c6987676247e - SimpleResBlock helper · level 1 · ran ·
4a7e5ec29fb79acb - CLIPVisionTower helper · level 0 · unverified ·
98e6fcd805f498d1 - CLIPVisionTowerS2 helper · level 0 · unverified ·
d7be74cc1bd52de7
harvested Assembly for LLaVA (graph method: LLaVA). 9 bricks; individually on a fixture: 3 ran (of which 2 constructed an object rather than computing a result; 2 with no instrument failure: 0 honoured, 0 violated, 2 with no contract checked; 1 where Syntology's instrument failed) · 6 unverified. The assembly has not been run end-to-end.
one of 9 siblings
- LlavaLlamaForCausalLM entry · level 0 · unverified ·
44969b8364ff17f1 - LlavaConfig helper · level 1 · ran ·
e9cfb7ae423d3e3a - LlavaLlamaModel model · level 0 · unverified ·
7fc60199325c39f5 - LlavaMetaForCausalLM model · level 0 · unverified ·
abf7b5851a13bc76 - LlavaMetaModel model · level 0 · unverified ·
38d280bea74c1e01 - build_vision_projector helper · level 1 · ran · our draft was wrong ·
ef4db0da176c674c - build_vision_tower helper · level 0 · unverified ·
014050859277825c - IdentityMap helper · level 1 · ran ·
9f0f5d62445adabe - CLIPVisionTower model · level 0 · unverified ·
6422a6162a5e6169
harvested Assembly for LLaVA (graph method: LLaVA). 13 bricks; individually on a fixture: 7 ran (of which 3 constructed an object rather than computing a result; 3 with no instrument failure: 0 honoured, 0 violated, 3 with no contract checked; 4 where Syntology's instrument failed) · 6 unverified. The assembly has not been run end-to-end.
one of 9 siblings
- LlavaLlamaForCausalLM entry · level 0 · unverified ·
4363aef6226bb213 - LlavaConfig helper · level 1 · ran ·
f01242335a1498b3 - LlavaLlamaModel model · level 0 · unverified ·
9707b7b56a48db85 - LlavaMetaForCausalLM helper · level 0 · unverified ·
8e3647258cae7507 - LlavaMetaModel helper · level 0 · unverified ·
0bfdaed6a43a5263 - get_anyres_image_grid_shape helper · level 1 · ran; the contract check could not run (RAISES) ·
2ff0d742a84cb8e2 - unpad_image helper · level 1 · ran; the contract check could not run (RAISES) ·
55c32993da87759b - build_vision_projector model · level 1 · ran · our draft was wrong ·
ef4db0da176c674c - build_vision_tower helper · level 0 · unverified ·
3ee345b55cc88a11 - select_best_resolution helper · level 1 · ran; the contract check could not run ·
3999ff487573f32c - IdentityMap helper · level 1 · ran ·
9f0f5d62445adabe - CLIPVisionTower model · level 1 · ran ·
ee3792b1ae45cbb6 - CLIPVisionTowerS2 helper · level 0 · unverified ·
5d1c9ab7042cee8d
harvested Assembly for LLaVA (graph method: LLaVA). 3 bricks; individually on a fixture: 1 ran (of which 1 constructed an object rather than computing a result; 1 with no instrument failure: 0 honoured, 0 violated, 1 with no contract checked; 0 where Syntology's instrument failed) · 2 unverified; the one sample that ran constructed an object rather than computing a result. The assembly has not been run end-to-end.
one of 9 siblings
- LlavaLlamaForCausalLM entry · level 0 · unverified ·
7adeedb5a7dcbd7a - LlavaConfig helper · level 1 · ran ·
92cb18f9e27a4e39 - LlavaLlamaModel model · level 0 · unverified ·
e992c05c75e7c542
harvested Assembly for LLaVA (graph method: LLaVA). 9 bricks; individually on a fixture: 3 ran (of which 2 constructed an object rather than computing a result; 2 with no instrument failure: 0 honoured, 0 violated, 2 with no contract checked; 1 where Syntology's instrument failed) · 6 unverified. The assembly has not been run end-to-end.
one of 9 siblings
- LlavaLlamaForCausalLM entry · level 0 · unverified ·
e589073e81d58266 - LlavaConfig helper · level 1 · ran ·
e9cfb7ae423d3e3a - LlavaLlamaModel model · level 0 · unverified ·
d9cce1fb106ab082 - LlavaMetaForCausalLM model · level 0 · unverified ·
abf7b5851a13bc76 - LlavaMetaModel helper · level 0 · unverified ·
5990c8af59a1551f - build_vision_projector helper · level 1 · ran · our draft was wrong ·
ef4db0da176c674c - build_vision_tower helper · level 0 · unverified ·
014050859277825c - IdentityMap helper · level 1 · ran ·
9f0f5d62445adabe - CLIPVisionTower model · level 0 · unverified ·
6422a6162a5e6169
harvested Assembly for LLaVA (graph method: LLaVA). 1 brick; individually on a fixture: 1 ran (of which 1 constructed an object rather than computing a result; 1 with no instrument failure: 0 honoured, 0 violated, 1 with no contract checked; 0 where Syntology's instrument failed) · 0 unverified; the one sample that ran constructed an object rather than computing a result. The assembly has not been run end-to-end.
one of 9 siblings
- _MLPVectorProjector entry · level 1 · ran ·
078a686c14a5d016
harvested Assembly for LLaVA (graph method: LLaVA). 3 bricks; individually on a fixture: 1 ran (of which 1 constructed an object rather than computing a result; 1 with no instrument failure: 0 honoured, 0 violated, 1 with no contract checked; 0 where Syntology's instrument failed) · 2 unverified; the one sample that ran constructed an object rather than computing a result. The assembly has not been run end-to-end.
one of 9 siblings
- LlavaLlamaForCausalLM entry · level 0 · unverified ·
d138a906d3799efb - LlavaConfig helper · level 0 · unverified ·
d2904a880e39bfc2 - LlavaLlamaModel model · level 1 · ran ·
e6460881f1cf311c
harvested Assembly for LLaVA (graph method: LLaVA). 9 bricks; individually on a fixture: 3 ran (of which 2 constructed an object rather than computing a result; 2 with no instrument failure: 0 honoured, 0 violated, 2 with no contract checked; 1 where Syntology's instrument failed) · 6 unverified. The assembly has not been run end-to-end.
one of 9 siblings
- LlavaLlamaForCausalLM entry · level 0 · unverified ·
d70c330590b6be51 - LlavaConfig helper · level 1 · ran ·
e9cfb7ae423d3e3a - LlavaLlamaModel model · level 0 · unverified ·
8fe347da378cfb91 - LlavaMetaForCausalLM helper · level 0 · unverified ·
2efb2d959762f4ed - LlavaMetaModel helper · level 0 · unverified ·
2f7959e2c2e658be - build_vision_projector helper · level 1 · ran · our draft was wrong ·
ef4db0da176c674c - build_vision_tower helper · level 0 · unverified ·
014050859277825c - IdentityMap helper · level 1 · ran ·
9f0f5d62445adabe - CLIPVisionTower helper · level 0 · unverified ·
6422a6162a5e6169
Each brick ends with its code_sha256, Syntology's identity for that exact code; click one to copy the get_code call that returns it. For agents, on Syntology's MCP service: assembly(arxiv_id="2304.08485") returns these assemblies with each brick's role and wiring (how to connect).
Tasks
Datasets
Introduced by this paper, per the archive.
Results from the paper archive 2025-07-28
Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.
Methods
Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections