Papers › FrameFusion: Combining Similarity and Importance for Video Token Reduction on Large...

FrameFusion: Combining Similarity and Importance for Video Token Reduction on Large Visual Language Models

30 Dec 2024arXiv:2501.01986archive 2025-07-28

Tianyu Fu, Tengxuan Liu, Qinghao Han, Guohao Dai, Shengen Yan, Huazhong Yang, Xuefei Ning, Yu Wang

The increasing demand to process long and high-resolution videos significantly burdens Large Vision-Language Models (LVLMs) due to the enormous number of visual tokens. Existing token reduction methods primarily focus on importance-based token pruning, which overlooks the redundancy caused by frame resemblance and repetitive visual elements. In this paper, we analyze the high vision token similarities in LVLMs. We reveal that token similarity distribution condenses as layers deepen while maintaining ranking consistency. Leveraging the unique properties of similarity over importance, we introduce FrameFusion, a novel approach that combines similarity-based merging with importance-based pruning for better token reduction in LVLMs. FrameFusion identifies and merges similar tokens before pruning, opening up a new perspective for token reduction. We evaluate FrameFusion on diverse LVLMs, including Llava-Video-{7B,32B,72B}, and MiniCPM-V-8B, on video understanding, question-answering, and retrieval benchmarks. Experiments show that FrameFusion reduces vision tokens by 70%, achieving 3.4-4.4x LLM speedups and 1.6-1.9x end-to-end speedups, with an average performance impact of less than 3%. Our code is available at https://github.com/thu-nics/FrameFusion.

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

Code

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

By repository: official repository: 13 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.

thu-nics/framefusion officialmentioned in papermentioned on GitHubpytorchMIT 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

13 samples harvested; 10 ran; 0 honoured the contract we drafted; 3 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.

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

Licence: 0 of the 13 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 thu-nics/framefusion. “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 thu-nics/framefusion/framefusion/models/internvl/modeling_internlm2.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · 3c76e52815c5401d · report
Qwen2DecoderLayer_merge_then_prune_by_cost_forward thu-nics/framefusion/framefusion/models/qwen2/modeling_qwen2.py official repository ran MIT (permissive) · 12a855af63d45bc2 · report
Qwen2VLDecoderLayer_fastv_forward thu-nics/framefusion/framefusion/models/qwen2/modeling_qwen2_vl_baseline.py official repository ran MIT (permissive) · 682eafc6f1711f42 · report
Qwen2VLDecoderLayer_merge_then_fastv_cost_given_forward thu-nics/framefusion/framefusion/models/qwen2/modeling_qwen2_vl.py official repository ran MIT (permissive) · 3153f92d89ff16c1 · report
Qwen2VLModel_merge_then_fastv_cost_given_forward thu-nics/framefusion/framefusion/models/qwen2/modeling_qwen2_vl.py official repository ran MIT (permissive) · 5661336a3d308111 · report
compute_density_overhead thu-nics/framefusion/framefusion/models/qwen2/modeling_qwen2_baseline.py official repository ran fingerprinted MIT (permissive) · 264c5b9a2f25be7e · report
get_attr_by_name thu-nics/framefusion/framefusion/utils.py official repository ran MIT (permissive) · ccac3bd0c453b847 · report
get_vllm_embedding thu-nics/framefusion/framefusion/models/minicpmv/modeling_minicpmv.py official repository ran MIT (permissive) · 6f3669639f7ffa02 · report
rotate_half thu-nics/framefusion/framefusion/models/internvl/modeling_internlm2.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · e03d53ba9d4f9ae5 · report
scaled_dot_product_attention thu-nics/framefusion/framefusion/utils.py official repository ran MIT (permissive) · 2e002934a51f4e51 · report
Qwen2VLModel_fastv_forward thu-nics/framefusion/framefusion/models/qwen2/modeling_qwen2_vl_baseline.py official repository unverified MIT (permissive) · 18116389c0c9cc0c · report
apply_rotary_pos_emb thu-nics/framefusion/framefusion/models/internvl/modeling_internlm2.py official repository unverified MIT (permissive) · c028aebfc37921e4 · report
generate thu-nics/framefusion/framefusion/models/internvl/modeling_internvl_chat.py official repository unverified MIT (permissive) · 421deb414feba11c · report

Tasks

Question AnsweringToken ReductionVideo Understanding

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

FocusPruning

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