TL;DR
How do you make an AI watch an endless live video stream without running out of memory or forgetting the plot? FreshMem solves this by mimicking the human brain: it uses Fourier transforms to let old memories fade into a blurry "gist" while keeping emotionally or visually salient details sharp, and groups continuous video into tidy "episodic" thumbnails. Best of all, you can drop it into existing Multimodal Large Language Models (MLLMs) with zero training and immediately beat several fully fine-tuned competitors.
What Problem Does This Paper Address?
Most video-understanding AI models operate offline—they get to see the entire video file at once, scrubbing back and forth like a film editor. Moving these models online to understand live, streaming video is much harder. As frames pour in continuously, memory fills up fast.
Existing workarounds usually drop frames uniformly, evict old data from the model's key-value (KV) cache, or crunch history into lossy text summaries. Because these approaches treat time uniformly with rigid rules, they suffer from an ugly trade-off: either lose fine-grained recent details (like a subtle hand gesture) or end up with a fragmented, incoherent understanding of the overarching story. We need an adaptive memory system that preserves razor-sharp short-term fidelity alongside a coherent long-term narrative.
Methods
Instead of inventing another arbitrary heuristic for dropping tokens, the authors looked at how biological brains handle continuous life streams: logarithmic perception (the Weber-Fechner Law, where recent moments are vivid and the distant past blurs into a general "gist") and memory consolidation (Sharp-Wave Ripples in the hippocampus, which replay and compress long experiences into dense snapshots).
FreshMem sits between a standard vision encoder and an LLM. Incoming frames first enter a standard Sliding Window to keep immediate context in raw, high-fidelity detail. When frames overflow this window, instead of being deleted, they are routed in parallel to two novel, training-free modules:
- Multi-scale Frequency Memory (MFM): Mimicking logarithmic time decay, overflowing frames are projected into the frequency domain using an incremental Discrete Fourier Transform (DFT) with $O(1)$ update complexity. To prevent vital details from blurring away—much like the brain's amygdala vividly locks onto shocking events—MFM also grabs the top-$k$ visual tokens with the highest $L_2$ norm (feature magnitude) and stores them in a "salient residual" buffer. When queried, an Inverse DFT reconstructs a holographic "gist" of the past, overlaid with sharp residual edges.
- Space Thumbnail Memory (STM): Mimicking memory consolidation, STM watches cosine similarity between frames to detect scene changes, chopping the stream into distinct "episodes." It adaptively downsamples each episode—keeping high frame rates for short, fast actions and heavily compressing long, static scenes. When memory fills up, rather than deleting the oldest clip (FIFO), it merges adjacent episodes that share similar semantic centroids into "Macro-Events."
Finally, tokens from the MFM, STM, and Sliding Window are concatenated and handed to the LLM.
Datasets
FreshMem was evaluated across five established video benchmarks (no new datasets were introduced):
- Online Streaming Benchmarks: OV-Bench, OVO-Bench, and StreamingBench (multiple-choice QA where the model can only see video up to the question's timestamp).
- Offline Benchmarks: MLVU (long-video understanding) and MVBench (short-video understanding), where the model gets the whole video upfront.
- For optional fine-tuning experiments, the authors followed the end-to-end training dataset and recipe established by StreamForest.
Key Insights and Ideas
- Fourier transforms naturally model memory decay: Reconstructing video frames from MFM's frequency coefficients shows that as $\Delta t$ increases, frames naturally blur into rough outlines. Pairing this blurred background with high-magnitude residual tokens (which empirically cluster around object and person edges) gives the LLM both context and sharp structural detail.
- Topology beats "First-In, First-Out": Standard ring buffers blindly forget the beginning of a movie. By merging semantically similar adjacent episodes via centroids, STM preserves the story's structure even when scenes jump back and forth in time.
- Structure rivals brute-force training: Simply organizing visual tokens in a brain-aligned way (without touching a single model weight) allows a base model to outperform rival architectures that underwent expensive full-model fine-tuning for streaming.
Key Results
- Training-Free Plug-and-Play: Dropped directly onto
Qwen2-VL-7B, FreshMem boosts accuracy by +5.20% on StreamingBench (to 74.20%), +4.52% on OV-Bench (to 50.82%), and +2.34% on OVO-Bench (to 54.53%). Similar consistent jumps occur onInternVL2-2B(e.g., +6.13% on StreamingBench). - State-of-the-Art with Fine-Tuning: When fine-tuning just the LLM component alongside FreshMem,
Qwen2-VL-7Bhits 82.31% on StreamingBench—a massive +13.31% jump over the baseline, beating proprietary giants like Gemini 1.5 Pro (75.69%) and fully trained streaming models like StreamForest (77.26%). - Offline Generalization: It even helps when the whole video is available, boosting
Qwen2-VL-7Bby +2.4% on MLVU and +4.7% on MVBench.
Limitations and Future Work
The authors do not include a dedicated limitations section, though Table 3 reveals a slight trade-off on one specific sub-metric (Contextual Tracking on StreamingBench drops from 35.75% to 30.05% in the training-free Qwen2-VL-7B setup before rebounding to 58.48% after LLM fine-tuning). For future work, the authors view FreshMem as a stepping stone—bridging the gap from heuristic, non-parametric memory designs toward highly efficient, fully trainable parametric memory architectures for continuous perception.
Summary updated