Papers › Fine-tuning Multimodal LLMs to Follow Zero-shot Demonstrative Instructions

Fine-tuning Multimodal LLMs to Follow Zero-shot Demonstrative Instructions

8 Aug 2023arXiv:2308.04152archive 2025-07-28

Juncheng Li, Kaihang Pan, Zhiqi Ge, Minghe Gao, Wei Ji, Wenqiao Zhang, Tat-Seng Chua, Siliang Tang, Hanwang Zhang, Yueting Zhuang

Recent advancements in Multimodal Large Language Models (MLLMs) have been utilizing Visual Prompt Generators (VPGs) to convert visual features into tokens that LLMs can recognize. This is achieved by training the VPGs on millions of image-caption pairs, where the VPG-generated tokens of images are fed into a frozen LLM to generate the corresponding captions. However, this image-captioning based training objective inherently biases the VPG to concentrate solely on the primary visual contents sufficient for caption generation, often neglecting other visual details. This shortcoming results in MLLMs' underperformance in comprehending demonstrative instructions consisting of multiple, interleaved, and multimodal instructions that demonstrate the required context to complete a task. To address this issue, we introduce a generic and lightweight Visual Prompt Generator Complete module (VPG-C), which can infer and complete the missing details essential for comprehending demonstrative instructions. Further, we propose a synthetic discriminative training strategy to fine-tune VPG-C, eliminating the need for supervised demonstrative instructions. As for evaluation, we build DEMON, a comprehensive benchmark for demonstrative instruction understanding. Synthetically trained with the proposed strategy, VPG-C achieves significantly stronger zero-shot performance across all tasks of DEMON. Further evaluation on the MME and OwlEval benchmarks also demonstrate the superiority of VPG-C. Our benchmark, code, and pre-trained models are available at https://github.com/DCDmllm/Cheetah.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2308.04152")

Code

Syntology Ran 10 of 12 code samples harvested from 1 repository linked to this paper; 2 have no recorded run. Of those that ran: 1 ran · violated contract; 2 ran · our draft was wrong; 3 ran · fixture could not drive it; 4 ran with no contract checked.

By repository: official repository: 12 samples from 1 repository, 10 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

dcdmllm/cheetah officialmentioned in papermentioned on GitHubpytorchBSD-3-Clause report

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.

Code Syntology ran Syntology

12 samples harvested; 10 ran; 0 honoured the contract we drafted; 2 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · violated contract
2ran · our draft was wrong
3ran · fixture could not drive it
4ran
2unverified

Licence: 0 of the 12 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 DCDmllm/Cheetah. “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. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (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 from a repository marked official are listed first. 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 four 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; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). 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.

repeat_kv DCDmllm/Cheetah/Cheetah/cheetah/models/modeling_llama2.py official repository ran · fixture could not drive it fingerprinted BSD-3-Clause (permissive) · 30d7eec482ebf6b1 · report
apply_rotary_pos_emb DCDmllm/Cheetah/Cheetah/cheetah/models/modeling_llama2.py official repository ran · fixture could not drive it BSD-3-Clause (permissive) · f725bc2d76076485 · report
apply_rotary_pos_emb DCDmllm/Cheetah/Cheetah/cheetah/models/modeling_llama.py official repository ran · fixture could not drive it BSD-3-Clause (permissive) · 9b4dff79d5e6102c · report
collate_fn DCDmllm/Cheetah/Cheetah/i4_cheetah_llama2.py official repository ran BSD-3-Clause (permissive) · 35a6b606c9a3cff3 · report
disabled_train DCDmllm/Cheetah/Cheetah/cheetah/models/blip2.py official repository ran · violated contract BSD-3-Clause (permissive) · 4cb732f513d69dfd · report
main_process DCDmllm/Cheetah/Cheetah/cheetah/common/dist_utils.py official repository ran BSD-3-Clause (permissive) · 98589643273920ba · report
node_to_dict DCDmllm/Cheetah/Cheetah/cheetah/common/config.py official repository ran BSD-3-Clause (permissive) · 791c72070c0b1cfb · report
rotate_half DCDmllm/Cheetah/Cheetah/cheetah/models/modeling_llama.py official repository ran · our draft was wrong fingerprinted BSD-3-Clause (permissive) · b99eea6376d1e212 · report
tile DCDmllm/Cheetah/Cheetah/cheetah/models/base_model.py official repository ran fingerprinted BSD-3-Clause (permissive) · cb33571427334815 · report
zero_module DCDmllm/Cheetah/Cheetah/cheetah/models/cheetah_llama2.py official repository ran · our draft was wrong BSD-3-Clause (permissive) · 4719c763c53be3fe · report
all_gather_with_grad DCDmllm/Cheetah/Cheetah/cheetah/models/base_model.py official repository unverified BSD-3-Clause (permissive) · 0ec9fc2025c16f65 · report
download_cached_file DCDmllm/Cheetah/Cheetah/cheetah/common/dist_utils.py official repository unverified BSD-3-Clause (permissive) · 643539116e049080 · report

Tasks

Caption GenerationImage CaptioningInstruction FollowingMME

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Focus

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