Papers › LLaVA-KD: A Framework of Distilling Multimodal Large Language Models

LLaVA-KD: A Framework of Distilling Multimodal Large Language Models

21 Oct 2024arXiv:2410.16236archive 2025-07-28

Yuxuan Cai, Jiangning Zhang, Haoyang He, Xinwei He, Ao Tong, Zhenye Gan, Chengjie Wang, Xiang Bai

The success of Large Language Models (LLM) has led researchers to explore Multimodal Large Language Models (MLLM) for unified visual and linguistic understanding. However, the increasing model size and computational complexity of MLLM limit their use in resource-constrained environments. Small-scale MLLM (s-MLLM) aims to retain the capabilities of the large-scale model (l-MLLM) while reducing computational demands, but resulting in a significant decline in performance. To address the aforementioned issues, we propose a novel LLaVA-KD framework to transfer knowledge from l-MLLM to s-MLLM. Specifically, we introduce Multimodal Distillation (MDist) to minimize the divergence between the visual-textual output distributions of l-MLLM and s-MLLM, and Relation Distillation (RDist) to transfer l-MLLM's ability to model correlations between visual features. Additionally, we propose a three-stage training scheme to fully exploit the potential of s-MLLM: 1) Distilled Pre-Training to align visual-textual representations, 2) Supervised Fine-Tuning to equip the model with multimodal understanding, and 3) Distilled Fine-Tuning to further transfer l-MLLM capabilities. Our approach significantly improves performance without altering the small model's architecture. Extensive experiments and ablation studies validate the effectiveness of each proposed component. Code will be available at https://github.com/Fantasyele/LLaVA-KD.

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="2410.16236")

Code

Syntology Ran 6 of 14 code samples harvested from 1 repository linked to this paper; 8 have no recorded run. Of those that ran: 1 ran · violated contract; 5 ran · our draft was wrong.

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

Fantasyele/LLaVA-KD officialmentioned in papermentioned on GitHubpytorch 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

14 samples harvested; 6 ran; 0 honoured the contract we drafted; 8 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
5ran · our draft was wrong
8unverified

Licence: 14 of the 14 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 Fantasyele/LLaVA-KD. “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.

collate_fn Fantasyele/LLaVA-KD/llavakd/eval/model_vqa_loader.py official repository ran · our draft was wrong no licence file found · pointer only · 20e4f665698a3d18 · report
get_chunk Fantasyele/LLaVA-KD/llavakd/eval/model_vqa.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 42a46570620cd9fa · report
get_value_from_kwargs Fantasyele/LLaVA-KD/llavakd/model/modeling_LLaVA_KD.py official repository ran · our draft was wrong no licence file found · pointer only · c2cb10d944648763 · report
image_parser Fantasyele/LLaVA-KD/llavakd/eval/run_tiny_llava.py official repository ran · our draft was wrong no licence file found · pointer only · a7bee88c1c7fd6a3 · report
is_none Fantasyele/LLaVA-KD/llavakd/eval/model_vqa_mmbench.py official repository ran · violated contract no licence file found · pointer only · bae18947b56f2be1 · report
split_list Fantasyele/LLaVA-KD/llavakd/eval/model_vqa.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 076c252c52cbb161 · report
forward_kl Fantasyele/LLaVA-KD/llavakd/utils/distill_loss_utils.py official repository unverified no licence file found · pointer only · eb488a6c509bb0b2 · report
load_base_ckp_for_lora Fantasyele/LLaVA-KD/llavakd/model/load_model.py official repository unverified no licence file found · pointer only · 391fc0746cff81a2 · report
load_image Fantasyele/LLaVA-KD/llavakd/eval/run_tiny_llava.py official repository unverified no licence file found · pointer only · 4552e857b0cf7ef7 · report
load_images Fantasyele/LLaVA-KD/llavakd/eval/run_tiny_llava.py official repository unverified no licence file found · pointer only · 99d66c86efac69ff · report
load_pretrained_model Fantasyele/LLaVA-KD/llavakd/model/load_model.py official repository unverified no licence file found · pointer only · 851298b43d95d91e · report
parse_multi_choice_response Fantasyele/LLaVA-KD/llavakd/eval/model_vqa_mmmu.py official repository unverified no licence file found · pointer only · f3018307f9301da1 · report
reverse_kl Fantasyele/LLaVA-KD/llavakd/utils/distill_loss_utils.py official repository unverified no licence file found · pointer only · badd0b27a608c8c8 · report
symmetric_kl Fantasyele/LLaVA-KD/llavakd/utils/distill_loss_utils.py official repository unverified no licence file found · pointer only · 38f61e23457096f4 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

ALIGN

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