Representative Surrogate Query for
Streaming Video KV Cache Compression
Same video, same question (Qwen2.5-VL-7B, LongVideoBench, a 19-minute video). Full KV prefills the whole video, 52K tokens, after the question is asked. InfiniPot-V and ReSQue process the stream with a fixed cache of about 6.5K tokens. ReSQue answers correctly like Full KV, while InfiniPot-V answers incorrectly.
In streaming video, the KV cache must be compressed before any question arrives. If the future questions were known, we would keep the visual tokens that they attend to most. ReSQue approximates this ideal with a small set of learned, fixed query vectors per attention head: they are fitted once per model and then reused for every video and every compression round.
Averaging the attention of all future questions over the cached visual tokens gives the oracle attention. Keeping its highest-scoring tokens maximizes the expected attention retained by a fixed-size cache.
The oracle is unknown, so we build a target attention per calibration video by averaging the attention of its questions, and optimize S = 8 query vectors per head to match that distribution with a KL divergence. The fit takes under two hours on one GPU.
At every round the fixed queries score the cached keys with one batched matrix product — no model or scorer-network forward pass — and each KV head keeps its top-B tokens.
Under the same budget of about 6K, 3K and 1K visual tokens per head, ReSQue achieves the best or tied-best accuracy in 25 of the 27 long-video settings of three backbones, three benchmarks and three budgets. Its overall accuracy leads the strongest baseline, TriAttention, by 0.4 to 3.0 points, and at 6K it matches the uncompressed model on Qwen2.5-VL.
Accuracy (%) at 6K / 3K / 1K visual tokens per head. MLVU: average over task groups; Video-MME: medium and long videos; LongVideoBench: average over the four video-length groups; Overall: mean of the three. Bold: best, underline: second best (Full KV excluded).
Because the queries are fixed, scoring needs no forward pass: a compression round of ReSQue is close to that of SWA, which scores nothing, while it is 1.1–5.9× faster than the other compressors on Qwen2.5-VL.
When questions arrive while the stream is playing, ReSQue is the most accurate over all questions on Qwen2.5-VL and LLaVA-OV, and ties TriAttention on Qwen3-VL.
Accuracy (%) at about 6K tokens per head on the ego-centric (Ego) and movie (Mov.) splits and on all questions; open-ended answers are judged by an LLM (gpt-5-mini).
We draw the patches that each query keeps in one head when the question arrives. ReSQue keeps more of the evidence frames (blue) that the question actually reads.
Why can a single fitted query stand in for questions it has never seen?
The attention induced by ReSQue is the closest to the question-averaged attention (lowest KL) on every backbone, and it is the most accurate of the deployable queries. Across queries, a lower KL goes with a higher accuracy (Spearman 0.94 on the Qwen models).
Recomputing the query of a text prompt at every round brings no consistent gain over computing it once (−1.6 to +1.2 points). A learned soft token or scorer network adds overhead: ReSQue is 1.3–1.4× and 2.1–5.2× faster and 0.5–1.5 / 0.2–2.3 points more accurate.
TriAttention and Expected Attention estimate importance from query statistics. Fitting the queries to the attention itself yields substantially closer alignment, even when the same calibration questions are used.
The calibration set pairs videos with questions, as the model meets them at inference. Both video sources (NExT-QA and TempCompass) are closer to the target attention than DESCRIBE (KL about 0.4 against 0.73) and more accurate, whereas the text corpora (FineWeb and Wikipedia) are farther from it than DESCRIBE and only slightly more accurate.
Ten NExT-QA videos already close 84% of the KL distance from DESCRIBE to the fit on all 570 videos. From 10 to 100 videos the accuracy stays nearly flat while the KL keeps falling slowly, and all 570 videos add 0.8 points: a small calibration set suffices.
The KL decreases with every added vector on all three backbones and is nearly saturated by S = 8. The 8 vectors of a head do not collapse into one (mean pairwise cosine about 0.8, against 0.99 at the start), and S = 8 improves the accuracy over S = 1 on every backbone, while S = 16 is not consistently better.
@misc{choi2026resque,
title = {ReSQue: Representative Surrogate Query for Streaming Video KV Cache Compression},
author = {Choi, Daehyeon and Youn, Sangwoo and Park, Chanho and Kim, Jaihoon and Lee, Phillip Y. and Lee, Byung-Kwan and Sung, Minhyuk},
year = {2026}
}