← AUTOMATER NEWSROOM

ReSQue helps streaming video models keep useful details within a fixed cache budget

A KAIST and NVIDIA preprint reports that learned queries improve long-video question answering at the same cache size, with about 96% of sliding-window throughput on average.

Illustrated cache comparison. A sliding window retains the three newest tokens, while ReSQue retains three high-scoring tokens including one from earlier in the stream.Illustrated cache comparison. A sliding window retains the three newest tokens, while ReSQue retains three high-scoring tokens including one from earlier in the stream.
A schematic comparison at the same token budget. The three slots illustrate the selection rule. The preprint’s main comparison used about 6,000 visual tokens per attention head.

A video assistant that watches a lecture live may have to make room for the latest slide before anyone asks about a diagram shown ten minutes earlier. Researchers at KAIST and NVIDIA have proposed a way to make that decision. Their method, ReSQue, learns which visual tokens tend to matter for video questions and uses that information to decide what stays in memory. The team submitted the preprint on November 30. arXiv submission

At about 6,000 visual tokens per attention head, ReSQue improved average question-answering accuracy by 2.7 to 11.1 percentage points over a sliding window across three tested models on long-video benchmarks. It retained about 96% of the sliding window’s frame-processing throughput on average in a separate timing test at the same budget. The result gives developers of streaming video assistants a way to retain information from earlier in a stream while staying close to the processing speed of a simple recency rule. Full preprint

arXiv abstract page for the ReSQue preprint
The ReSQue preprint’s listing on arXiv. · Original source

How the model decides what to keep

As frames arrive, the model encodes them into visual tokens and stores their key and value vectors in a KV cache. That lets it use information from earlier frames without processing those frames again. A sliding window keeps the newest visual tokens when the cache fills. ReSQue scores the cached visual tokens and keeps the highest-ranked ones, so an older detail can survive several rounds of eviction. Selection happens at the token level, and the retained tokens can differ across heads. Preprint, Sections 3–4 and Appendix A

The researchers used 570 videos from the NExT-QA validation set to learn what a useful cache looks like. For each video, they averaged the attention maps produced by its questions, then fitted eight query vectors per query head to approximate that distribution. The underlying model stayed frozen. During streaming, the same learned vectors score the current cache each time it needs trimming. The model still processes incoming frames, and scoring the cache requires additional computation. The learned vectors eliminate the extra forward pass that would be needed to generate fresh queries or run a separate scoring network. Preprint, Section 4 and Appendix A

The advantage depends on when the question arrives

On three long-video benchmarks, the models processed the video in chunks and received the question after the final chunk. ReSQue led or tied the best tested compressor in 25 of 27 combinations of model, benchmark and cache budget. At about 6,000 visual tokens per head, the gains over TriAttention, the strongest compression baseline by average accuracy, ranged from 0.5 to 2.2 percentage points across the three models. The larger gains over the sliding window show how costly a recency rule can be when questions arrive after a long stream. Preprint, Section 5.2 and Appendix F

The picture changed when questions arrived during playback. On VStream-QA, where a language model graded the open-ended answers, ReSQue had the highest overall score with two backbones and tied TriAttention with the third. The paper attributes that overall advantage to the movie split. The sliding window placed first or second on the first-person video split for every backbone and beat ReSQue there on both Qwen models. For a live assistant, the relevant comparison depends on how far back users typically ask it to look. A test that mixes questions about the latest action with questions about earlier events can hide that distinction in a single average. Preprint, Table 1

What the throughput result measures

With a fused Triton implementation on one RTX PRO 6000, ReSQue processed about 58 to 65 frames per second across the three backbones at the 6,000-token budget. The authors measured steady-state processing of six-frame chunks. On Qwen3-VL, processing throughput was 57.7 frames per second with the fused implementation and 27.7 with the per-head implementation. That gap shows how much the implementation contributed to the reported speed. The frame-processing figure describes the rate at which the system can handle sampled frames in the benchmark. End-to-end response latency also includes answering the viewer’s question. Preprint, Appendix B

Automater’s earlier coverage of Tencent’s DFly2 looked at another use of KV caches in inference, where a speculative decoder reads the target model’s sparse cache. ReSQue addresses the decision that comes before a video question arrives, when discarding a visual token can remove evidence the model will need later. For now, the research is available as a preprint, and the project repository lists the implementation as “Coming soon.” Automater’s DFly2 coverage · ReSQue repository

Sources

  1. [2611.41446] ReSQue: Representative Surrogate Query for Streaming Video KV Cache Compression
  2. ReSQue: Representative Surrogate Queryfor Streaming Video KV Cache Compression
  3. GitHub - KAIST-Visual-AI-Group/ReSQue: Official implementation of ReSQue: Representative Surrogate Query for Streaming Video KV Cache Compression · GitHub