Papers › Less Is More, but Where? Dynamic Token Compression via LLM-Guided Keyframe Prior

Less Is More, but Where? Dynamic Token Compression via LLM-Guided Keyframe Prior

7 Dec 2025NeurIPSarXiv:2512.06866added by Syntology

Yulin Li, Haokun Gui, Ziyang Fan, Junjie Wang, Bin Kang, Bin Chen, Zhuotao Tian

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Recent advances in Video Large Language Models (VLLMs) have achieved remarkable video understanding capabilities, yet face critical efficiency bottlenecks due to quadratic computational growth with lengthy visual token sequences of long videos. While existing keyframe sampling methods can improve temporal modeling efficiency, additional computational cost is introduced before feature encoding, and the binary frame selection paradigm is found suboptimal. Therefore, in this work, we propose Dynamic Token compression via LLM-guided Keyframe prior (DyToK), a training-free paradigm that enables dynamic token compression by harnessing VLLMs' inherent attention mechanisms. Our analysis reveals that VLLM attention layers naturally encoding query-conditioned keyframe priors, by which DyToK dynamically adjusts per-frame token retention ratios, prioritizing semantically rich frames while suppressing redundancies. Extensive experiments demonstrate that DyToK achieves state-of-the-art efficiency-accuracy tradeoffs. DyToK shows plug-and-play compatibility with existing compression methods, such as VisionZip and FastV, attaining 4.3x faster inference while preserving accuracy across multiple VLLMs, such as LLaVA-OneVision and Qwen2.5-VL. Code is available at https://github.com/yu-lin-li/DyToK .

PaperPDFCode 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="2512.06866")

Code

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

By repository: found in paper text by Syntology: 15 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.

yu-lin-li/DyToK found in paper text by SyntologyApache-2.0 report

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

15 samples harvested; 7 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.

2ran · our draft was wrong
5ran
8unverified

Licence: 0 of the 15 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 yu-lin-li/DyToK. “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.

escaped_split yu-lin-li/DyToK/eval/lmms_eval/utils.py found in paper text by Syntology ran Apache-2.0 (permissive) · 57e732507bad40db · report
get_sample_size yu-lin-li/DyToK/eval/lmms_eval/evaluator_utils.py found in paper text by Syntology ran Apache-2.0 (permissive) · 00f5e7d9ee6636ba · report
hash_args yu-lin-li/DyToK/eval/lmms_eval/api/model.py found in paper text by Syntology ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 20a7cc804eb22661 · report
hash_string yu-lin-li/DyToK/eval/lmms_eval/utils.py found in paper text by Syntology ran fingerprinted Apache-2.0 (permissive) · 1fddd33683ef553c · report
is_json yu-lin-li/DyToK/eval/lmms_eval/utils.py found in paper text by Syntology ran Apache-2.0 (permissive) · ae00474f91be5441 · report
remove_none_pattern yu-lin-li/DyToK/eval/lmms_eval/logging_utils.py found in paper text by Syntology ran fingerprinted Apache-2.0 (permissive) · 74386ef186ff5c64 · report
request_caching_arg_to_dict yu-lin-li/DyToK/eval/lmms_eval/evaluator.py found in paper text by Syntology ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · c44830a7722ff5f7 · report
Qwen2Attention_forward yu-lin-li/DyToK/dytok/visionzip/modeling_qwen2.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 2d39981ff01054c0 · report
SigLipAttention_forward yu-lin-li/DyToK/dytok/visionzip/siglip_encoder.py found in paper text by Syntology unverified Apache-2.0 (permissive) · b2e11b191bfb220f · report
SigLipVisionTower_forward yu-lin-li/DyToK/dytok/visionzip/siglip_encoder.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 105d4beb9639b79b · report
SigLip_EncoderLayer_forward yu-lin-li/DyToK/dytok/visionzip/siglip_encoder.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 2aa9dea2423043fa · report
encode_images_visionzip yu-lin-li/DyToK/dytok/visionzip/llava_arch.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 089d3de5fd9f5bee · report
encode_images_visionzip_multi yu-lin-li/DyToK/dytok/visionzip/llava_arch.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 727a5334cd53d7ae · report
generate_static yu-lin-li/DyToK/dytok/visionzip/utils.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 80648f1bef493fe4 · report
validate_inputs yu-lin-li/DyToK/dytok/visionzip/utils.py found in paper text by Syntology unverified Apache-2.0 (permissive) · be9ad8c0e6b90e15 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2512.06866, was issued in December 2025, after that date, so the archive has no leaderboard rows for it.

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