TL;DR
KeyRec is a training-free memory framework that enables Vision-Language Models (VLMs) to efficiently process long videos and continuous streams by organizing visual data into a "recent cache" and a "historical event bank." By using a smart, text-only router to adaptively balance these two memory sources, KeyRec achieves state-of-the-art performance using only 10% of the original visual tokens, often outperforming uncompressed models.
What Problem Does This Paper Address?
As we move toward VLMs that can "watch" hours of video or live streams, we hit a massive computational wall: the token explosion. A standard VLM represents every video frame with dozens or hundreds of visual tokens. In a long video, these tokens accumulate linearly, but the computational cost of processing them (via self-attention) grows quadratically.
Existing solutions usually prune tokens based on simple importance scores. However, the authors identify three critical gaps:
- Loss of Coherence: Pruning isolated tokens often breaks the "story" of an event.
- Recency vs. History: Models struggle to distinguish between fine-grained details of what just happened and the broad context of the distant past.
- Architecture Rigidity: Most methods are designed for modular VLMs (with separate vision encoders) and don't translate well to newer "native one-vision" models like NEO-ov, where vision and text share the same backbone.
Methods
KeyRec introduces a dual-component memory system that operates directly on model-facing visual embeddings without requiring any additional training.
1. Query-Agnostic Writing
As frames arrive, KeyRec updates two distinct memory structures:
- Recent Visual Cache: A high-resolution FIFO (First-In-First-Out) buffer that preserves the most recent observations in full detail.
- Key Event Memory: A structured bank of historical "events." New frames are compared to existing events; if a frame is "novel" enough, it starts a new event. If it's similar and temporally close to an existing event, it is merged. If the bank is full, the least useful or most redundant event is evicted.
2. Query-Adaptive Readout
When a question is asked, KeyRec doesn't just dump all its memory into the VLM. Instead, it uses a text-only router. The VLM's language component performs a quick pass on the question to decide the best "readout state" (e.g., "AllRecent" for "What is happening now?" vs. "HeavyEvent" for "How many times did the cat jump?"). This router then allocates a fixed token budget between the cache and the event bank.
3. Native One-Vision Support
For models like NEO-ov, KeyRec preserves the spatial and temporal metadata of tokens, ensuring that even after compression, the tokens can be re-inserted into their native grid structure for the model to process correctly.
Datasets
The authors evaluated KeyRec across four diverse benchmarks to test both real-time streaming and long-form video understanding:
- OVO-Bench: Focused on real-world online video understanding (backward-tracing and real-time tasks).
- StreamingBench: A benchmark for real-time visual reasoning.
- LongVideoBench: Evaluates reasoning over long-context interleaved video.
- Video-MME-v2: A comprehensive benchmark for multi-modal video understanding.
Key Insights and Ideas
- Structure Over Selection: The authors found that how you organize memory (preserving event boundaries) is just as important as which tokens you keep. Using neutral segment labels to separate events in the prompt significantly improved reasoning.
- The "Noise" of Full Context: Surprisingly, KeyRec often outperformed "Vanilla" models that had access to all tokens. This suggests that for frozen LLMs, too much redundant visual data can actually dilute the "signal," and a structured bottleneck acts as a beneficial filter.
- Adaptive Budgeting: No single memory split works for every question. By letting the LLM act as a "librarian" first, the system can prioritize high-resolution recent data or broad historical coverage as needed.
Key Results
KeyRec demonstrated dominant performance across 15 different experimental settings:
- Efficiency: It achieved the best compressed results in 13 of 15 settings while using only 10% of the visual token budget.
- Streaming Superiority: On real-time questions in OVO-Bench and StreamingBench, it outperformed the strongest compressed baselines by 2.21 to 18.37 points.
- Scaling: As shown in the scaling plots, KeyRec's accuracy often peaks at very low token ratios (around 5-10%), proving its effectiveness in resource-constrained environments.

Limitations and Future Work
While powerful, KeyRec has a few notable limitations:
- Fixed Heuristics: The novelty and eviction rules are currently hand-tuned. The authors suggest that learning these policies from data could further boost performance.
- Encoding Bottleneck: KeyRec reduces memory and inference costs but does not reduce the initial cost of encoding every frame through the Vision Transformer (ViT).
- Lack of Explicit Tracking: The system stores patches but doesn't explicitly model object trajectories or state transitions, which can limit precise reasoning about complex physical interactions over time.
Summary updated