KTV: Keyframes and Key Tokens Selection for Efficient Training-Free Video LLMs

Baiyang Song, Jun Peng, Yuxin Zhang, Guangyao Chen, Feidiao Yang, Jianyuan Guo

TL;DR

KTV (Keyframes and Key Tokens selection) is a training-free framework that drastically reduces the computational overhead of video understanding in Vision-Language Models (VLMs). By combining question-agnostic keyframe clustering with fine-grained spatial token pruning, KTV compresses long videos into a fraction of the usual token budget—processing a 60-minute video using fewer tokens than a single standard image—while outperforming state-of-the-art training-free baselines.

What Problem Does This Paper Address?

Adapting Large Vision-Language Models (VLMs) to video understanding typically requires massive, expensive video-text datasets for fine-tuning. "Training-free" methods bypass this by treating videos as sequences of static frames and feeding them directly into pre-trained image VLMs.

However, this approach faces two major bottlenecks:

  1. Temporal Redundancy: Consecutive frames in a video often contain nearly identical information.
  2. Spatial Redundancy: Passing dozens of frames, each generating hundreds of visual tokens (e.g., 576 tokens per frame), quickly overwhelms an LLM’s context window and tanks inference speed.

Furthermore, existing methods that try to solve this by selecting frames based on the user's question (using CLIP text-image similarity) often fall into "semantic traps." They over-index on literal keywords in the question while completely missing the broader context or temporal progression (such as understanding what happens after a specific action).

Methods

KTV introduces a novel two-stage pipeline to eliminate both temporal and spatial redundancy without requiring any video-specific training.

The KTV two-stage pipeline reducing temporal and spatial redundancy.
  1. Question-Agnostic Keyframe Selection (Temporal Pruning): To avoid semantic traps, KTV initially ignores the user's question. It uses DINOv2 to extract global features for all video frames and groups them using K-means clustering. The frames closest to each cluster's centroid are selected as keyframes, ensuring a holistic and visually diverse summary of the video.
  2. Key Visual Token Selection (Spatial Pruning): Within each selected keyframe, individual visual tokens are evaluated and pruned. KTV scores each token based on a weighted combination of its Importance (its attention score relative to the frame's [CLS] token) and its Redundancy (its average cosine similarity to all other tokens in the same frame).
  3. Question-Aware Dynamic Allocation: Finally, KTV uses a pre-trained CLIP text encoder to rank the selected keyframes against the user's question. Frames that are highly relevant to the query are allocated a larger token budget, while less relevant background frames are pruned more aggressively.

Datasets

The authors evaluated KTV across seven popular Multiple-Choice Video Question Answering (VideoQA) benchmarks:

  • NExT-QA & IntentQA: For causal and temporal relation reasoning.
  • EgoSchema: For very long-form video understanding.
  • STAR: For situated reasoning in real-world videos.
  • VideoMME: A comprehensive evaluation benchmark for multimodal LLMs.
  • MVBench & MLVU-Test: Multi-task benchmarks covering a wide range of video content and question types.

Key Insights and Ideas

  • The Danger of Keyword Matching: Question-relevant frame selection methods easily get tripped up by temporal logic. For example, if a question asks what a character did after touching an object, keyword-matching models only select frames of the character touching the object. KTV’s question-agnostic clustering ensures the "before" and "after" states are both captured.
An illustration of how question-agnostic clustering avoids the "semantic traps" of CLIP keyword matching.
  • Complementarity of Importance and Redundancy: Pruning tokens based purely on semantic importance creates clusters of duplicate data around informational hubs. Conversely, pruning purely for uniqueness discards critical core context. Balancing both allows the model to retain informative yet diverse tokens.
  • Extreme Token Economy: KTV demonstrates that a 60-minute video (10,800 frames) can be effectively summarized using just 504 visual tokens. For context, LLaVA-v1.6 uses 576 tokens to process a single static image.

Key Results

  • State-of-the-Art Training-Free Performance: KTV consistently outperforms competitive training-free baselines (like IG-VLM, SF-LLaVA, and DYTO). For instance, KTV-7B-dense achieves 44.0% on VideoMME and 46.0% on MVBench.
  • Competitive with Training-Based Models: On the challenging MLVU-Test benchmark, KTV-34B-dense achieved a mean average accuracy of 45.0%. This not only beats all training-free methods but also outperforms training-based models like Video-LLaVA (7B) and performs comparably to InternVL2 (76B), despite InternVL2 having double the LLM parameter size.
  • Significant Speedups: On the NExTQA dataset, KTV-7B-sparse achieved an average inference time of 1.19 seconds per sample—just 36.4% of the time required by SF-LLaVA-7B.

Limitations and Future Work

The authors do not include a dedicated limitations section, but a few constraints are apparent from the methodology:

  • Hyperparameter Dependency: KTV relies on several fixed hyperparameters, such as the importance-redundancy balancing coefficient ($\alpha$) and predefined token-keeping ratios ($\beta$). These may require manual tuning depending on the video style or dataset.
  • Fixed Cluster Count: The framework uses a fixed number of clusters ($m=6$) to select keyframes. While efficient, an adaptive clustering mechanism that scales based on video length or visual complexity could improve performance on exceptionally long or fast-paced videos.

Summary updated

BibTeX
@inproceedings{song2026ktv,
  author = {Baiyang Song and Jun Peng and Yuxin Zhang and Guangyao Chen and Feidiao Yang and Jianyuan Guo},
  title = {{KTV: Keyframes and Key Tokens Selection for Efficient Training-Free Video LLMs}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i11.37862},
}
Figure