Preserve the present
Append visual embeddings to a fixed-capacity recent cache, retaining detailed evidence from the latest observations.
KeyRec preserves recent details and historical events in bounded visual memory, with query-adaptive readout using approximately 10% of the dense decoder-facing visual tokens.
Dense visual tokens accumulate as a video grows. Simply keeping fewer tokens can discard coherent event evidence or the fine details of what is happening right now.
KeyRec separates these two needs. A recent visual cache preserves detailed observations, while a bounded event bank organizes historical evidence. Incoming frames update both memories without knowing the question. When a question arrives, a text-only router allocates a fixed readout budget between them—without reprocessing historical frames.
The framework is training-free and operates on model-facing visual embeddings, supporting both modular Gemma VLMs and the encoder- and projector-free NEO-ov architecture.
A recent cache and an event bank preserve complementary evidence under a fixed readout budget.
Append visual embeddings to a fixed-capacity recent cache, retaining detailed evidence from the latest observations.
Propose novel events and use semantic similarity and temporal proximity to add, merge, or evict them within a bounded bank.
A text-only router chooses recent and event allocations, then retrieves by relevance or temporal coverage.
Explore the five router states in the Gemma streaming profile. This illustration uses the paper’s allocation values; it does not run a model.
For Gemma, KeyRec reduces retained visual context and language-model cost after visual encoding; it does not skip the vision encoder.
Across three VLM backbones and four benchmarks, KeyRec achieves the best compressed result in 13 of 15 settings, including ties.
All values are from the paper, with frozen backbones and matched frame sampling. Compressed methods use ≈10% of the dense decoder-facing token budget; KeyRec’s persistent candidate memory is ≈20%. Vanilla uses the full visual input.
| Benchmark / subset | Backbone | Vanilla | STC-Pruner | STOM-CTR | CausalMem | KeyRec |
|---|
Bold indicates the best compressed result, including ties. “—” denotes an unsupported architecture.
At 512 sampled frames, KeyRec remains feasible while dense Vanilla runs out of memory in the paper’s LongVideoBench evaluation.
Gemma 4 E4B · Paper Table 2. Peak memory includes weights, ingestion, and query processing.
| Frames | Vanilla | STOM-CTR | KeyRec |
|---|---|---|---|
| 64 | 17.09 | 15.05 | 15.06 |
| 256 | 39.23 | 15.47 | 16.17 |
| 512 | OOM | 16.57 | 18.93 |
The trade-off: KeyRec adds routing overhead and uses more candidate memory than STOM-CTR. Long-video compression is not lossless; see the full paper for latency and accuracy comparisons.
A StreamingBench example with NEO-ov 2B shows how historical evidence supports an answer.
The question needs evidence from preceding events. KeyRec selects historical events for temporal coverage and combines them with recent evidence.
“Because the masters have all fallen asleep.”
The orange patches are retained visual evidence. Red borders in the paper figure identify selected events.
Read the method, experimental protocol, ablations, and qualitative analysis.
@article{chen2026keyrec,
title={KeyRec: Bounded Visual Memory for Streaming and Long-Video Understanding},
author={Chen, Zihan and Rong, Xuejian and Wang, Xiaojuan and Gong, Boqing and Zicher, Adi and Pritch, Yael and Karnad, Nikhil},
journal={arXiv preprint arXiv:2609.32182},
year={2026}
}