TL;DR
Streaming video-language models slow to a crawl over time because every new video frame has to search through an ever-expanding memory of past frames to decide what to pay attention to. TaRo solves this without any model retraining by giving each spatial patch of the video a short "VIP list" of relevant past memories to reuse across nearby frames, refreshing that list only when the scene at that spot noticeably changes. The result is real-time-friendly streaming whose processing latency stays nearly flat even as video history piles up.
What Problem Does This Paper Address?
Imagine watching a live video feed—through smart glasses or a robot's camera—and asking an AI assistant questions on the fly. Under the hood, streaming Video-Language Models (VideoLLMs) turn each incoming video frame into visual tokens and append their Key-Value (KV) representations into a memory bank called the KV cache.
In standard ("Dense") attention, every new token compares itself against every past token in the cache. As a video runs for minutes, that cache balloons to tens of thousands of entries, making each new frame progressively slower to process (a phase called prefill).
A popular fix is selective (Exact Top-$k$) attention: only compute final attention over the $k$ most relevant past entries. Here’s the catch—to find those top $k$ entries, the model still has to score the current query against the entire, growing history at every single frame! In fact, the authors' profiling shows that just searching for the top-128 entries eats up 59% to 75.7% of the language model's frame-processing time. Shrinking what you attend to doesn't help much if looking for it still requires rummaging through the whole attic every half-second.
Methods
TaRo (Temporal Reuse of Top-Ranked KV Cache Entries) is a plug-and-play, training-free method that separates discovering good historical candidates from selecting which ones to use right now. Importantly, it never deletes anything from the full KV cache; it just avoids searching all of it on every frame.
Here is how it works:
- Position-Wise Candidate Banks: Video frames have natural spatial continuity—the top-left corner of Frame 10 usually looks a lot like the top-left corner of Frame 11. For every layer, attention head, and spatial grid position $p$, TaRo stores a "candidate bank" of $M$ (e.g., 512) top-scoring KV indices from a full-history search, alongside the "reference query" that built it.
- Reuse and Dynamic Rescoring: When the next frame arrives, the query at position $p$ skips the full-history search. Instead, it combines its saved $M$ candidates with the brand-new KV entries from the current frame, rescores just that tiny, fixed-size pool, and picks the top $k$ (e.g., 128) for standard softmax attention. Because it rescores with the current query, the final top-$k$ choice can still adapt frame-to-frame!
- Query-Guided Refresh: Reusing an old list forever would miss new events. TaRo checks the cosine similarity between the current query and the saved reference query. If similarity drops below a threshold $\tau$ (meaning the visual query at that spot shifted), or if the bank hits a maximum age limit (e.g., 32 frames), TaRo triggers a fresh full-history search to rebuild the bank.
Datasets
Because TaRo is training-free, datasets are used strictly for profiling and evaluation—no new benchmarks are introduced. The authors test two open-source models (LLaVA-OneVision-0.5B and Qwen2.5-VL-3B) on subsets of two established online video benchmarks:
- OVO-Bench (182 multiple-choice questions across 126 videos)
- StreamingBench (87 multiple-choice questions across 74 videos)
Videos are sampled at 2 FPS, specifically filtering for long prefixes (at least 12,000 KV entries in LLaVA, up to ~32K) to stress-test accumulating history.
Key Insights and Ideas
- Temporal query stability is high—and predictive: Adjacent frames have high query cosine similarity at matching spatial positions (0.75 to 0.83 on average). Crucially, when query similarity is $\ge 0.95$, a prior 512-entry bank already contains 94% to 99% of the exact top-128 keys! Query similarity isn't just trivia; it's a reliable thermometer for whether cached candidates are still valid.
- Rescoring beats static reuse: Unlike methods that blindly reuse past attention outputs, TaRo rescores a slightly larger candidate pool ($M > k$) plus current-frame tokens. This keeps computation bounded—independent of total video length between refreshes—while letting attention weights shift dynamically.
- ** When you refresh matters more than how often: In an ablation on cumulative event-counting tasks, refreshing on a dumb fixed schedule (every 14 frames) got 31.25% accuracy. Query-guided TaRo refreshed at nearly the exact same overall rate (~14% of steps) yet doubled accuracy to 62.50%**, because it refreshed right when visual queries actually changed.
Key Results
- Speedups over streaming baselines: Compared to ReKV (a sliding-window + retrieval baseline), TaRo achieves 1.37$\times$ to 3.58$\times$ LLM-prefill speedups across models and benchmarks.
- Near-flat latency growth: Comparing early video history (0–16K tokens in LLaVA; 0–8K in Qwen) to late history (24K+ and 12K+), Exact Top-$k$ latency balloons by 38.9% to 99.1%. TaRo's latency grows by less than 5% (just 2.7% to 4.9%).
- Accuracy holds steady (and sometimes improves): Across benchmarks, overall accuracy shifts range from $-4.60$ to $+6.59$ percentage points compared to ReKV, and closely tracks (or slightly beats on LLaVA) Exact Top-$k$ and Dense baselines.
Limitations and Future Work
- No memory footprint reduction: Because TaRo keeps the entire KV cache intact in GPU memory for occasional full refreshes—plus a small fixed overhead for storing candidate banks and reference queries—it speeds up compute but doesn't stop VRAM usage from growing with video length.
- Prefill-only scope: Experiments measure frame-prefill latency (and Vision+LLM encoding), leaving end-to-end question processing and answer generation latency outside the study's scope.
- Context length ceiling: Evaluations top out around 32K KV entries for LLaVA and 16K for Qwen; testing hour-long, ultra-long contexts remains an open direction, potentially by pairing TaRo with token-merging or cache-compression techniques.
Summary updated