cs.CVNov 8, 2026

Editable Video Context: Mid-Context KV-Cache Reuse for Context-Managing Video LLMs

Authors: Dayu Wang, Shasha Xu

Organizations: Nanyang Technological University, Singapore · Baidu Inc., Beijing, China · Peking University, Beijing, China

Abstract

Context Language Models let a model edit its own context, while Suffix Cache Reuse makes edits to text efficient by adjusting the positions of cached keys for surviving tokens. We extend these ideas to video language models with multimodal rotary position embeddings (M-RoPE). We represent a long video as timestamped segments. After viewing a sparsely sampled version, the model selects segments for decoding at 4x the frame rate, and the remaining segments are removed from its context. Our rebuild method reuses the KV cache of surviving segments by rotating their keys with a single offset shared by the temporal, height, and width components of Qwen2.5-VL's M-RoPE. A content-hashed cache also avoids repeating vision-encoder computation for those segments. In preliminary experiments with Qwen2.5-VL-7B on synthetic needle-in-a-video-haystack questions over public-domain films, the method reduces prefill tokens and end-to-end rebuild latency relative to full recomputation while usually producing the same answer. Densifying the segment containing the answer improves accuracy when that segment is known. When the model selects segments itself, accuracy does not improve: it rarely identifies a needle that was absent from the sparse sample. We release the code, raw logs, and scripts used to reproduce the paper's results.

Figures & tables

Appendix figures & tables6 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Do VLMs Need to Keep Looking at Long Videos? Write It Down, Then Look Away

    Nov 18, 2026Pengyu Li, Zhitao Gao, Lingling Zhang +6Efficient VLM InferenceLong-Context VLMs

  2. PREM: Prefix-Steered Recurrent Memory for Long-Video Understanding

    Sep 20, 2026Siru Zhong, Qiongyan Wang, Xiaohui Lv +5Memory-Augmented VLMsRecurrent Neural Networks

  3. Efficient Video Retrieval Augmented Generation via Token Allocation

    Nov 24, 2026Ayush Barik, Fan Lai, Francis Y. YanLong-Video UnderstandingRetrieval-Augmented Video Generation