Papers › EfficientVLM: Fast and Accurate Vision-Language Models via Knowledge Distillation and...

EfficientVLM: Fast and Accurate Vision-Language Models via Knowledge Distillation and Modal-adaptive Pruning

14 Oct 2022arXiv:2210.07795archive 2025-07-28

Tiannan Wang, Wangchunshu Zhou, Yan Zeng, Xinsong Zhang

Pre-trained vision-language models (VLMs) have achieved impressive results in a range of vision-language tasks. However, popular VLMs usually consist of hundreds of millions of parameters which brings challenges for fine-tuning and deployment in real-world applications due to space, memory, and latency constraints. In this work, we introduce a distilling then pruning framework to compress large vision-language models into smaller, faster, and more accurate ones. We first shrink the size of a pre-trained large VLM and apply knowledge distillation in the vision-language pre-training stage to obtain a task-agnostic compact VLM. Then we propose a modal-adaptive pruning algorithm to automatically infer the importance of vision and language modalities for different downstream tasks and adaptively remove redundant structures and neurons in different encoders with controllable target sparsity. We apply our framework to train EfficientVLM, a fast and accurate vision-language model consisting of 6 vision layers, 3 text layers, and 3 cross-modal fusion layers, accounting for only 93 million parameters in total, which is 44.3% of the teacher model. EfficientVLM retains 98.4% performance of the teacher model and accelerates its inference speed by 2.2x. EfficientVLM achieves a large absolute improvement over previous SoTA efficient VLMs of similar sizes by a large margin on various vision-language tasks, including VQAv2 (+4.9%), NLVR2 (+5.6%), ITR (R@1 on TR +17.2%, on IR + 15.6% ) and COCO caption generation (CIDEr +6.5), demonstrating a large potential on training lightweight VLMs.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

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

Code

Syntology Ran 7 of 9 code samples harvested from 1 repository linked to this paper; 2 have no recorded run. Of those that ran: 2 ran · our draft was wrong; 5 ran with no contract checked.

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

swaggy-tn/efficientvlm officialmentioned in paperpytorchBSD-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

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

2ran · our draft was wrong
5ran
2unverified

Licence: 9 of the 9 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 swaggy-tn/efficientvlm. “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.

clip_loss swaggy-tn/efficientvlm/efficient_models/eff_vit.py official repository ran · our draft was wrong fingerprinted BSD-3-Clause recorded; this copy not marked cleared · pointer only · e5b89b1f72c319ed · report
contrastive_loss swaggy-tn/efficientvlm/efficient_models/eff_vit.py official repository ran · our draft was wrong fingerprinted BSD-3-Clause recorded; this copy not marked cleared · pointer only · 4675779aec92d6c0 · report
get_cor_teacher swaggy-tn/efficientvlm/Eff_Captioning.py official repository ran BSD-3-Clause recorded; this copy not marked cleared · pointer only · a59f653ef4653ae4 · report
get_kd_loss swaggy-tn/efficientvlm/Eff_Captioning.py official repository ran BSD-3-Clause recorded; this copy not marked cleared · pointer only · a6e8b08bf21e4ea6 · report
soft_cross_entropy swaggy-tn/efficientvlm/Eff_Captioning.py official repository ran fingerprinted BSD-3-Clause recorded; this copy not marked cleared · pointer only · e9a9fd7c33b84f9a · report
tile swaggy-tn/efficientvlm/efficient_models/model_generation.py official repository ran fingerprinted BSD-3-Clause recorded; this copy not marked cleared · pointer only · cb33571427334815 · report
top_k_top_p_filtering swaggy-tn/efficientvlm/efficient_models/eff_bert.py official repository ran BSD-3-Clause recorded; this copy not marked cleared · pointer only · 9e8f81565e828ebf · report
load_tf_weights_in_bert swaggy-tn/efficientvlm/efficient_models/eff_bert.py official repository unverified BSD-3-Clause recorded; this copy not marked cleared · pointer only · 26be70dca3249c0b · report
reinit_scheduler_properties_mysched swaggy-tn/efficientvlm/Captioning_pretrain.py official repository unverified BSD-3-Clause recorded; this copy not marked cleared · pointer only · e3d6fbf640a143ee · report

Tasks

Caption GenerationKnowledge DistillationLanguage Modelling

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Knowledge DistillationPruningSPEED

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