SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2410.16236 · 2024

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

arXiv · PDF · Open in the Atlas

Code that ran

9 of 14 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 6 failures of our instrument; 5 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2410.16236.json · badge: /api/ran/2410.16236.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
Fantasyele/LLaVA-KD canonical (classifier label)
classifier basis: census
9 ran · 5 no recorded run
FunctionStatusWhere it lives
collate_fn Ran
ran; our contract draft was wrong, not the code
Fantasyele/LLaVA-KD/llavakd/eval/model_vqa_loader.py
pointer only (licence: NONE) · get_code("20e4f665698a3d18")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Fantasyele/LLaVA-KD when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_chunk Ran
ran; our contract draft was wrong, not the code
Fantasyele/LLaVA-KD/llavakd/eval/model_vqa.py
pointer only (licence: NONE) · get_code("42a46570620cd9fa")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Fantasyele/LLaVA-KD when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_value_from_kwargs Ran
ran; our contract draft was wrong, not the code
Fantasyele/LLaVA-KD/llavakd/model/modeling_LLaVA_KD.py
pointer only (licence: NONE) · get_code("c2cb10d944648763")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Fantasyele/LLaVA-KD when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

image_parser Ran
ran; our contract draft was wrong, not the code
Fantasyele/LLaVA-KD/llavakd/eval/run_tiny_llava.py
pointer only (licence: NONE) · get_code("a7bee88c1c7fd6a3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Fantasyele/LLaVA-KD when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

is_none Ran
ran, violated the contract we drafted
Fantasyele/LLaVA-KD/llavakd/eval/model_vqa_mmbench.py
pointer only (licence: NONE); the stored copy get_code serves, from ASTRAL-Group/ASTRA, is pointer only (licence: NONE) · get_code("bae18947b56f2be1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Fantasyele/LLaVA-KD when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_image Ran
ran, honoured the contract we drafted
Fantasyele/LLaVA-KD/llavakd/eval/run_tiny_llava.py
pointer only (licence: NONE) · get_code("4552e857b0cf7ef7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Fantasyele/LLaVA-KD when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_images Ran
ran, honoured the contract we drafted
Fantasyele/LLaVA-KD/llavakd/eval/run_tiny_llava.py
pointer only (licence: NONE) · get_code("99d66c86efac69ff")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Fantasyele/LLaVA-KD when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_multi_choice_response Ran
ran; our contract draft was wrong, not the code
Fantasyele/LLaVA-KD/llavakd/eval/model_vqa_mmmu.py
pointer only (licence: NONE) · get_code("f3018307f9301da1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Fantasyele/LLaVA-KD when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

split_list Ran
ran; our contract draft was wrong, not the code
Fantasyele/LLaVA-KD/llavakd/eval/model_vqa.py
pointer only (licence: NONE) · get_code("076c252c52cbb161")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Fantasyele/LLaVA-KD when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

forward_kl Not yet run
unverified (harvested, no recorded run)
Fantasyele/LLaVA-KD/llavakd/utils/distill_loss_utils.py
pointer only (licence: NONE) · get_code("eb488a6c509bb0b2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Fantasyele/LLaVA-KD when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

load_base_ckp_for_lora Not yet run
unverified (harvested, no recorded run)
Fantasyele/LLaVA-KD/llavakd/model/load_model.py
pointer only (licence: NONE) · get_code("391fc0746cff81a2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Fantasyele/LLaVA-KD when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

load_pretrained_model Not yet run
unverified (harvested, no recorded run)
Fantasyele/LLaVA-KD/llavakd/model/load_model.py
pointer only (licence: NONE) · get_code("851298b43d95d91e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Fantasyele/LLaVA-KD when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

reverse_kl Not yet run
unverified (harvested, no recorded run)
Fantasyele/LLaVA-KD/llavakd/utils/distill_loss_utils.py
pointer only (licence: NONE) · get_code("badd0b27a608c8c8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Fantasyele/LLaVA-KD when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

symmetric_kl Not yet run
unverified (harvested, no recorded run)
Fantasyele/LLaVA-KD/llavakd/utils/distill_loss_utils.py
pointer only (licence: NONE) · get_code("38f61e23457096f4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Fantasyele/LLaVA-KD when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 11 are also present in other papers whose code we hold (11 with at least one paper dated earlier, 8 the same month, 9 later) and 3 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
split_list 197 other papers
109 dated earlier, 15 the same month, 66 later, 6 same year, order not determinable, 1 undated
2112.05682 (2021-12)
Self-attention Does Not Need $O(n^2)$ Memory
2306.17107 (2023-06)
LLaVAR: Enhanced Visual Instruction Tuning for Text-Rich Image Understanding
2307.10490 (2023-07)
Abusing Images and Sounds for Indirect Instruction Injection in Multi-Modal LLMs
and 194 more not named here
get_chunk 189 other papers
104 dated earlier, 15 the same month, 64 later, 6 same year, order not determinable
2112.05682 (2021-12)
Self-attention Does Not Need $O(n^2)$ Memory
2306.17107 (2023-06)
LLaVAR: Enhanced Visual Instruction Tuning for Text-Rich Image Understanding
2307.10490 (2023-07)
Abusing Images and Sounds for Indirect Instruction Injection in Multi-Modal LLMs
and 186 more not named here
load_image 85 other papers
49 dated earlier, 8 the same month, 24 later, 4 same year, order not determinable
2112.05682 (2021-12)
Self-attention Does Not Need $O(n^2)$ Memory
2305.10973 (2023-05)
Drag Your GAN: Interactive Point-based Manipulation on the Generative Image Manifold
2307.10490 (2023-07)
Abusing Images and Sounds for Indirect Instruction Injection in Multi-Modal LLMs
and 82 more not named here
is_none 83 other papers
46 dated earlier, 9 the same month, 26 later, 2 same year, order not determinable
2112.05682 (2021-12)
Self-attention Does Not Need $O(n^2)$ Memory
2308.10253 (2023-08)
StableLLaVA: Enhanced Visual Instruction Tuning with Synthesized Image-Dialogue Data
2308.13566 (2023-08)
MLLM-DataEngine: An Iterative Refinement Approach for MLLM
and 80 more not named here
collate_fn 54 other papers
21 dated earlier, 10 the same month, 23 later
2308.13566 (2023-08)
MLLM-DataEngine: An Iterative Refinement Approach for MLLM
2310.08588 (2023-10)
Octopus: Embodied Vision-Language Programmer from Environmental Feedback
2311.07362 (2023-11)
Volcano: Mitigating Multimodal Hallucination through Self-Feedback Guided Revision
and 51 more not named here
load_images 20 other papers
11 dated earlier, 1 the same month, 7 later, 1 same year, order not determinable
2312.14867 (2023-12)
VIEScore: Towards Explainable Metrics for Conditional Image Synthesis Evaluation
2024.findings-emnlp.268 (2024 (year only))
Math-LLaVA: Bootstrapping Mathematical Reasoning for Multimodal Large Language Models
2403.13805 (2024-03)
RAR: Retrieving And Ranking Augmented MLLMs for Visual Recognition
and 17 more not named here
image_parser 16 other papers
10 dated earlier, 1 the same month, 4 later, 1 same year, order not determinable
2304.08485 (2023-04)
Visual Instruction Tuning
2311.05437 (2023-11)
LLaVA-Plus: Learning to Use Tools for Creating Multimodal Agents
2024.findings-emnlp.268 (2024 (year only))
Math-LLaVA: Bootstrapping Mathematical Reasoning for Multimodal Large Language Models
and 13 more not named here
parse_multi_choice_response 9 other papers
5 dated earlier, 1 the same month, 3 later
2311.10774 (2023-11)
MMC: Advancing Multimodal Chart Understanding with Large-scale Instruction Tuning
2402.11530 (2024-02)
Efficient Multimodal Learning from Data-centric Perspective
2402.14289 (2024-02)
TinyLLaVA: A Framework of Small-scale Large Multimodal Models
and 6 more not named here
get_value_from_kwargs 2 other papers
1 dated earlier, 1 later
2402.14289 (2024-02)
TinyLLaVA: A Framework of Small-scale Large Multimodal Models
2503.21776 (2025-03)
Video-R1: Reinforcing Video Reasoning in MLLMs
load_base_ckp_for_lora 1 other paper
1 dated earlier
2402.14289 (2024-02)
TinyLLaVA: A Framework of Small-scale Large Multimodal Models
symmetric_kl 1 other paper
1 dated earlier
2402.03898 (2024-02)
DISTILLM: Towards Streamlined Distillation for Large Language Models

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

The success of Large Language Models (LLMs) has inspired the development of Multimodal Large Language Models (MLLMs) for unified understanding of vision and language. However, the increasing model size and computational complexity of large-scale MLLMs (l-MLLMs) limit their use in resource-constrained scenarios. Although small-scale MLLMs (s-MLLMs) are designed to reduce computational costs, they typically suffer from performance degradation. To mitigate this limitation, we propose a novel LLaVA-KD framework to transfer knowledge from l-MLLMs to s-MLLMs. Specifically, we introduce Multimodal Distillation (MDist) to transfer teacher model's robust representations across both visual and linguistic modalities, and Relation Distillation (RDist) to transfer teacher model's ability to capture visual token relationships. Additionally, we propose a three-stage training scheme to fully exploit the potential of the proposed distillation strategy: 1) Distilled Pre-Training to strengthen the alignment between visual-linguistic representations in s-MLLMs, 2) Supervised Fine-Tuning to equip the s-MLLMs with multimodal understanding capacity, and 3) Distilled Fine-Tuning to refine s-MLLM's knowledge. Our approach significantly improves s-MLLMs performance without altering the model architecture. Extensive experiments and ablation studies validate the effectiveness of each proposed component. Code will be available at https://github.com/Fantasyele/LLaVA-KD.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2410.16236")
get_code_for_paper("2410.16236")
have("2410.16236")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2410.16236.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2410.16236.svg)](https://syntology.ai/paper/2410.16236)

Connect an agent — have() is free.