Papers › FastVID: Dynamic Density Pruning for Fast Video Large Language Models

FastVID: Dynamic Density Pruning for Fast Video Large Language Models

14 Mar 2025arXiv:2503.11187archive 2025-07-28

Leqi Shen, Guoqiang Gong, Tao He, Yifeng Zhang, Pengzhang Liu, Sicheng Zhao, Guiguang Ding

Video Large Language Models have shown impressive capabilities in video comprehension, yet their practical deployment is hindered by substantial inference costs caused by redundant video tokens. Existing pruning techniques fail to fully exploit the spatiotemporal redundancy inherent in video data. To bridge this gap, we perform a systematic analysis of video redundancy from two perspectives: temporal context and visual context. Leveraging this insight, we propose Dynamic Density Pruning for Fast Video LLMs termed FastVID. Specifically, FastVID dynamically partitions videos into temporally ordered segments to preserve temporal structure and applies a density-based token pruning strategy to maintain essential visual information. Our method significantly reduces computational overhead while maintaining temporal and visual integrity. Extensive evaluations show that FastVID achieves state-of-the-art performance across various short- and long-video benchmarks on leading Video LLMs, including LLaVA-OneVision and LLaVA-Video. Notably, FastVID effectively prunes 90% of video tokens while retaining 98.0% of LLaVA-OneVision's original performance. The code is available at https://github.com/LunarShen/FastVID.

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

Code

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

By repository: official repository: 3 samples from 1 repository, 1 ran; community (archive-listed): 4 samples from 1 repository, 2 ran; 4 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

lunarshen/fastvid officialmentioned in paperpytorchMIT report
cokeshao/holitom mentioned 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

11 samples harvested; 7 ran; 0 honoured the contract we drafted; 4 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.

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

Licence: 4 of the 11 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 2 repositories linked to this paper, official or community; each sample names its own and says which. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “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.

MaskedDrop lunarshen/fastvid/fastvid_llavaonevision/LLaVA-NeXT/llava/model/multimodal_resampler/masked_drop.py official repository ran MIT (permissive) · 53284346fce3ef1c · report
apply_rotary_pos_emb_flashatt lunarshen/fastvid/fastvid_qwen25vl/lmms-eval/lmms_eval/models/qwenvlutils/modeling_qwen2_5_vl.py official repository unverified MIT (permissive) · 24acaeb8ad82253e · report
apply_rotary_pos_emb_vision lunarshen/fastvid/fastvid_qwen25vl/lmms-eval/lmms_eval/models/qwenvlutils/modeling_qwen2_5_vl.py official repository unverified MIT (permissive) · 09445ca10af72017 · report
get_anyres_image_grid_shape cokeshao/holitom/holitom/llava_arch.py community (archive-listed) ran · fixture could not drive it Apache-2.0 (permissive) · dd90994dc116b84b · report
select_best_resolution cokeshao/holitom/holitom/llava_arch.py community (archive-listed) ran · fixture could not drive it Apache-2.0 (permissive) · 3999ff487573f32c · report
LlavaMetaForCausalLM_holitom cokeshao/holitom/holitom/llava_arch.py community (archive-listed) unverified Apache-2.0 (permissive) · 65d341b7890a432b · report
rank0_print cokeshao/holitom/holitom/llava_arch.py community (archive-listed) unverified Apache-2.0 (permissive) · 16c9ecf6f7fea719 · report
repeat_kv identical code first harvested elsewhere ran · fixture could not drive it fingerprinted licence of this copy not recorded · 30d7eec482ebf6b1 · report
apply_rotary_pos_emb identical code first harvested elsewhere ran · our draft was wrong licence of this copy not recorded · bac65c3dafaec040 · report
rotate_half identical code first harvested elsewhere ran · our draft was wrong fingerprinted licence of this copy not recorded · b99eea6376d1e212 · report
rotate_half identical code first harvested elsewhere ran · our draft was wrong fingerprinted licence of this copy not recorded · e03d53ba9d4f9ae5 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Pruning

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