Memryoshka: Adaptive-Fidelity Video Memory for Streaming VLMs

Ahmadreza Jeddi, Enming Zhang, Jasper Gerigk, Shivam Chandhok, Mozhgan Nasr Azadani, Hakki Can Karaimer, Yize Liu, Leonid Sigal, Igor Gilitschenski, Konstantinos G. Derpanis, Marco Pavone, Babak TaatiarXiv 2026

TL;DR

How do you give an AI a continuous, hour-long visual memory without blowing up your RAM? Instead of forcing an all-or-nothing choice between keeping or deleting video frames, Memryoshka lets memories gracefully fade in resolution over time. By storing visual features like nested Russian dolls that can be progressively trimmed as storage fills up, it matches the accuracy of an unlimited, full-precision memory while using roughly 1,000x less space.

What Problem Does This Paper Address?

Imagine a home robot or smart glasses watching the world all day. Unlike standard video Q&A—where you hand a model a short clip and a question at the same time—a streaming Vision-Language Model (VLM) has to process an endless river of video without knowing what you might ask it three hours from now.

Storing everything at full resolution is a non-starter: sampling just one frame per second with a modern VLM generates ~920,000 visual tokens (image patch embeddings) per hour, eating up 6.6 GB of memory and blowing past the model's context window six times over.

Existing memory systems cope by dropping frames, evicting tokens, or merging similar patches—almost always keeping whatever survives at fixed, full precision. But every bit spent keeping one patch in pristine detail is a bit you can't spend remembering another moment in time. The authors ask: how do we dynamically balance temporal coverage (how much history we remember) against fidelity (how sharp each memory is) under a strict storage cap?

Methods

Memryoshka (a portmanteau of Memory and Matryoshka, Russian nesting dolls) is a training-free memory system built on three clever ideas:

Memryoshka's progressive encoding and bounded memory bank, allocating variable bit-lengths across frames and tokens.
  1. Nested Token Codes (Progressive Encoding): When a frame arrives, its visual tokens are projected onto a compact Principal Component Analysis (PCA) basis (fitted once offline on unlabeled video) and quantized. Crucially, the resulting bits are ordered from most to least informative across components. Any prefix of this bitstream can be decoded into a valid token—more bits just mean sharper detail.
  2. Online Writing with a "Shared Price": Think of the memory bank as a Tiny-House economy with a strict bit budget. The system assigns a global "price per bit" ($\theta$). Each token has an estimated utility based on how novel the frame is (via CLIP similarity to recent frames) and how important the patch is (via vision-encoder attention). As new video streams in and memory fills up, the writer raises the price $\theta$. Stored tokens whose marginal utility no longer justifies their bit-cost simply have their bit-tails snipped off—or get dropped entirely—without ever revisiting or re-encoding past frames.
  3. Decoupled Query-Conditioned Readout: Storage and reading have separate budgets. When a question finally arrives, a lightweight CLIP text encoder ranks stored frames by semantic relevance, decodes the most important surviving tokens up to the LLM's context limit, and hands them to a frozen VLM reader.

Datasets

No new benchmarks are introduced. Because the method is training-free, it only uses Video-MME (short/medium splits) to fit the offline PCA basis and tune two hyperparameters. Evaluation spans four distinct domains:

  • Long-video QA: LVBench, LongVideoBench (long splits), Video-MME (long subset), and TimeScope.
  • Streaming Video QA: OVO-Bench and StreamingBench.
  • Robotics & Audio-Visual: RMBench (10 memory-dependent robotic manipulation tasks) and LVOmniBench (audio-visual QA).

Key Insights and Ideas

  • Fuzzier memories beat fewer memories: VLM visual tokens are surprisingly compressible along their feature dimension. Under a tight budget, keeping twice as many frames at half the bit-depth preserves far more useful history than keeping a sparse handful of crystal-clear tokens.
  • One size never fits all: There is no magic fixed compression rate. On LVBench, a 512-bit code wins when storage is tiny (1.8 MB), whereas a 1,024-bit code wins when storage is generous (28.7 MB). Memryoshka's price mechanism discovers this sweet spot automatically as the stream grows.
  • Compress before the LLM, not inside it: Many streaming methods compress the LLM's internal Key-Value (KV) cache. Because KV states are massive (57.3 KB per token vs. 7.2 KB for a visual token in Qwen2.5-VL-7B) and require running every single video frame through the heavy LLM, compressing visual tokens upstream saves orders of magnitude in both streaming compute and memory.

Key Results

Performance comparisons showing Memryoshka outperforming visual-memory baselines across budgets and beating fixed-precision coding.

Performance comparisons showing Memryoshka outperforming visual-memory baselines across budgets and beating fixed-precision coding.
  • 1,000x Compression with Zero Accuracy Drop: Using a frozen Qwen2.5-VL-7B reader, Memryoshka at a 7.2 MB cap achieves 59.7% average accuracy across six benchmarks—matching an uncapped full-precision memory (59.4%) that takes ~6.6 GB per hour of video, and beating bounded visual-memory baselines by 6–8 percentage points (rising to 8.2–9.5 points when always including the 4 most recent frames).
  • Crushing KV-Cache Baselines: On LVBench, Memryoshka hits 45.7–49.7% accuracy using 7.2–28.7 MB, outperforming the best streaming KV-cache method by 5.3 points while using ~450x less storage.
  • Plug-and-Play Across Modalities: Applied to robot policies (SimpleMemVLA on RMBench), it reaches a 95% task success rate using just 256 KiB of memory (56x smaller than baseline). Extended to joint audio-visual PCA codes on LVOmniBench, it beats full-input baselines using 150x less storage (7.2 MB vs. 1.1 GB).

Limitations and Future Work

  • Similarity blind spots on immediate events: On real-time streaming benchmarks where questions often ask about what just happened, pure CLIP-similarity retrieval stumbles; the authors had to hardcode the 4 most recent frames into the readout to get top streaming scores. Smarter temporal/semantic retrieval is an open avenue.
  • Heuristic guesswork for the future: Estimating a token's future value using only frame novelty and encoder attention is a simple proxy. Learning or designing better predictors of what information will actually matter later could sharpen the trade-off between coverage and fidelity even further.

Summary updated

BibTeX
@misc{jeddi2026memryoshka,
  author = {Ahmadreza Jeddi and Enming Zhang and Jasper Gerigk and Shivam Chandhok and Mozhgan Nasr Azadani and Hakki Can Karaimer and Yize Liu and Leonid Sigal and Igor Gilitschenski and Konstantinos G. Derpanis and Marco Pavone and Babak Taati},
  title = {{Memryoshka: Adaptive-Fidelity Video Memory for Streaming VLMs}},
  year = {2026},
  eprint = {2611.35456},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.35456},
}
Figure