Sections

MaLoW · Memory as LoRA Weights

Memory as Weights: Internalizing Long-Term History for Streaming Videos

Zhuoming Liu1, Jinhong Lin1, Lin Zhang1, Yiwu Zhong2, Yin Li1

1 University of Wisconsin–Madison   2 Peking University

MaLoW converts historical video observations into LoRA weights for a frozen vision-language model, which takes the current observation and question as input.
History as weights, current observation as input. A streaming memory framework that carries the past in evolving LoRA weights, so vision-language models can focus on the current observation while remembering earlier experiences.

Introduction

Streaming vision-language models must remember what happened earlier, understand what is happening now, and respond as new observations arrive. Storing historical observations in the input context makes the past and the present compete for a limited context window.

MaLoW takes a different approach: history as weights, current observation as input. A recurrent hypernetwork incrementally consolidates earlier observations into lightweight LoRA updates. The adapted model receives the current observation and user query, while its evolving weights carry information from the past.

On the backward split of OVO-Bench, MaLoW outperforms prior memory approaches by 3.9%-11.8% across different video backbones while incurring only modest latency overhead. Across base VLMs ranging from 0.8B to 11B parameters, MaLoW yields consistent performance gains. Beyond streaming video understanding, MaLoW also generalizes to vision-language-action models, improving the action success rate on Simpler WidowX by 9.4 percentage points.

Problem

An expanding history competes with current observations for limited model input context.

Core Idea

Internalize history into evolving, fixed-size LoRA weights through a recurrent hypernetwork.

Scope

Streaming video setting includes streaming video understanding, interactive AI assistants and robotic planning.

Method Overview

MaLoW converts incoming experience into a compact memory state and then into parameter updates for the next interaction.

MaLoW architecture: recurrent history-to-LoRA updates, context compression with learned queries, parallel state-space and gated semantic memory branches, and LoRA weight decoding.
MaLoW method overview. (1) Recurrent updates encode history into LoRA weights for the current prediction. (2) Learned queries compress visual and timestamp tokens. (3) A state-space model (SSM) captures local temporal dynamics while a parallel branch preserves global semantics. (4) The resulting memory is decoded into LoRA weights. (5) Cosine-similarity gating filters redundant observations during global semantic accumulation.

1. Context Encoding

Encode visual observations and textual context, then compress them using learned queries.

2. Recurrent Memory

Combine a state-space model for temporal dynamics with gated accumulation of global semantic information.

3. LoRA Generation

Decode memory into lightweight LoRA weights. Use the adapted model to answer the current query or predict an action.

MaLoW-Instruct

MaLoW-Instruct adapts public offline video datasets to streaming video understanding, with 381K question-answer pairs over 56K videos from 14 datasets. Its timestamped questions teach models to recall past events, understand ongoing activity, and anticipate future events from the evidence already observed.

MaLoW-Instruct question generation, answer generation, and verification pipeline, with charts showing query timing, question types, and video sources.
MaLoW-Instruct construction and statistics. (1) A Question Generator creates timestamped questions and expected answers; an Answer Generator answers using only video available up to each query; a Verifier checks question validity and answer consistency. (2) Dataset distributions cover question timing relative to the target event, question formats, and source videos. Select the figure to view it at full size.

The pipeline retains only QA pairs that pass verification and filters videos overlapping with OVO-Bench. Questions include open-ended, multiple-choice, and yes/no formats. Approximately 36% of queries occur after the target event has ended, directly supervising historical recall, while many real-time questions also require evidence outside the current observation window further encouraging the model to leverage historical context through MaLoW.

Performance

MaLoW achieves state-of-the-art results.

MaLoW improves both StreamingBench real-time accuracy and overall OVO-Bench accuracy over each corresponding base model. Among the compared methods, MaLoW (Qwen3-VL-4B) achieves the highest StreamingBench real-time accuracy at 84.8%, while MaLoW (MOSS-VL-Real-11B) achieves the highest overall OVO-Bench accuracy at 74.5%. MaLoW (Qwen3.5-9B) also achieves the highest episodic memory accuracy at 63.6%, highlighting its ability to retain evidence from earlier observations.

MaLoW is particularly effective on memory-critical tasks while retaining competitive performance on real-time perception. Importantly, the gains are consistent across model scales from 4B to 11B and across base VLMs pre-trained for both offline video understanding (Qwen series) and streaming video understanding (VideoChat3 and MOSS-VL-Realtime).

MaLoW offers a lightweight memory patch.

Across different base VLMs, MaLoW introduces only 1.4%-4.0% additional parameters. The pretrained backbone architecture and parameters remain unchanged, while historical information is encoded entirely through the evolving LoRA weights. Preserving the backbone helps retain its pretrained capabilities and minimizes interference with real-time perception. Moreover, widespread LoRA support in modern inference frameworks facilitates efficient deployment.

Table 1. Full results in streaming video understanding
ModelFrames / samplingStreamingBench (R)OVO-Bench
Real-Time Visual PerceptionBackward TracingAvg.
OCRACRATRSTUFPDOJRAvg.EPMASIHLDAvg.
Offline Video LLMs
Qwen3-VL-4B1 fps78.485.260.674.151.176.267.969.257.961.516.745.457.3
Qwen3.5-9B1 fps81.983.962.470.746.176.270.668.361.662.859.161.264.8
Streaming Video LLMs with full context
VideoChat3-4B2-4 fps*79.0 (83.0)92.678.077.659.074.371.775.558.858.646.854.765.1
MOSS-VL-Real-11B1 fps80.6 (82.9)86.670.684.864.671.273.975.260.664.592.472.573.8
Streaming Video LLMs with Local Context Window
Simplestream-8B4 (1 fps)78.389.377.183.668.576.281.079.349.556.154.853.566.4
AURA-8B30 (1 fps)83.289.979.880.270.277.281.579.854.967.658.660.470.1
Streaming Video LLMs with Local Context Window and Memory Mechanism
OASIS-8B2 fps78.292.080.781.067.467.379.978.162.060.147.357.267.7
StreamTTT-4B2 fps81.391.380.780.256.282.277.778.160.958.160.859.969.0
Ours
MaLoW (VideoChat3-4B)197.6M trainable (4.0%)1 fps81.289.970.680.260.776.275.375.560.258.154.857.766.6
MaLoW (Qwen3-VL-4B)197.6M trainable (3.9%)1 fps84.890.669.775.064.074.374.574.762.067.661.863.869.3
MaLoW (Qwen3.5-9B)308.9M trainable (3.0%)1 fps82.387.966.181.060.184.277.776.263.666.269.466.471.3
MaLoW (MOSS-VL-Real-11B)321.1M trainable (1.4%)1 fps81.091.974.385.362.973.376.677.462.062.890.371.774.5

The results shown in Accuracy (%). StreamingBench (R) measures real-time understanding. The OVO-Bench columns cover real-time perception and backward tracing. Scroll horizontally to view all tasks. *VideoChat3 uses 2 fps on OVO-Bench and 4 fps on StreamingBench.
1. Gray numbers denote results reported in the original paper that differ from our re-evaluation using the official implementation and reported evaluation hyperparameters. Please refer to `Baselines Re-evaluation` in sec C.1 of the paper for more information.
2. Matching row colors pair base models with their MaLoW instantiations: green for Qwen, blue for VideoChat3, and yellow for MOSS.
3. MaLoW (Qwen3-VL-4B) use the most recent 8-second clips as the current observations, while the other MaLoW instantiations use the most recent 2 seconds.
For more information please refer to the Table 1 in the paper.

MaLoW generalizes across model scales and families.

Across all four Gemma4 and Qwen3.5 backbones, MaLoW improves average accuracy on both benchmarks over the corresponding full-context and local-window baselines. On OVO-Bench backward tracing, it improves over local-window baselines by 7.7–23.9 percentage points, while also improving real-time accuracy over full-context baselines on both benchmarks. These results show that MaLoW preserves historical information while maintaining strong understanding of current observations.

Table 4. Performance across base-model scales and families
MethodOVO-BenchStreamingBench
BackwardReal-timeForwardAvg.Real-timeOmniProactiveSQAAvg.
Base model with 1 fps, full-context baseline
Gemma4-E4B56.863.137.952.668.637.024.450.054.6
Qwen3.5-0.8B34.260.848.047.769.132.122.439.652.5
Qwen3.5-2B44.662.546.351.275.138.16.442.857.2
Qwen3.5-4B60.166.951.259.480.440.754.846.063.8
Base model with the last 2 frames from the last 2 seconds, local-window baseline
Gemma4-E4B54.965.739.653.467.151.120.446.858.1
Qwen3.5-0.8B32.369.945.149.170.153.518.848.060.5
Qwen3.5-2B39.272.845.152.476.754.25.256.864.1
Qwen3.5-4B50.675.139.355.179.460.945.652.869.8
MaLoW models with 1 fps, maximum 768 frames
MaLoW (Gemma4-E4B)190.4M trainable (1.2%)62.664.847.858.474.644.840.046.061.1
MaLoW (Qwen3.5-0.8B)115.5M trainable (10.8%)54.767.748.757.076.748.926.048.463.0
MaLoW (Qwen3.5-2B)170.7M trainable (6.3%)63.170.149.360.980.354.354.455.668.8
MaLoW (Qwen3.5-4B)235.0M trainable (4.6%)62.574.749.362.282.363.768.050.073.5

The results shown in Accuracy (%). We build MaLoW across Gemma4 and Qwen3.5 models, comparing full-context baselines, local-window baselines, and MaLoW.
Scroll horizontally to compare both benchmarks. Green cells compare real-time perception with full-context baselines; blue cells compare memory performance with local-window baselines.
Trainable parameter counts and percentages are shown beneath each MaLoW model.

Extension to Vision-Language-Action (VLA) Models.

MaLoW raises the average task success rate from 59.4% to 68.8%, a gain of 9.4 percentage points. Success rates improve on three of the four tasks, with the largest gain on putting the spoon on the towel (70.8% → 87.5%), while carrot placement remains at 75.0%. These results demonstrate the benefit of incorporating historical observations and action trajectories into action prediction.

Simpler WidowX: released checkpoint reference results
PolicyStack green block on yellow blockPut carrot on platePut spoon on towelPut eggplant in yellow basketOverall
Qwen3.5-2B-MLP baseline20.875.070.870.859.4
MaLoW (Qwen3.5-2B-MLP)29.275.087.583.368.8

VLA results on SimplerEnv-Bridge with WidowX Robot. For each task we run 24 episodes.

Inference Overhead

We profile the streaming inference latency of MaLoW and four baselines on subset of OVO-Bench. At each query timestamp, we measure the time required to process the current observation, prefill the KV-cache, and decoding. For MaLoW, this also includes the time to generate and apply the LoRA weights.

MaLoW achieves a favorable trade-off between inference latency and performance on memory-critical tasks. The additional latency introduced by our memory mechanism is only around 23 ms, accounting for less than 15% of the total inference time. Moreover, LoRA generation can be parallelized with backbone inference, providing further opportunities to reduce the runtime overhead.

Latency versus OVO-Bench episodic memory accuracy for MaLoW and four baselines. MaLoW (Qwen3.5-9B) has a median profiled latency of 153 milliseconds and the highest EPM score among the compared models.
Latency–accuracy tradeoffs. MaLoW and baselines on the Episodic Memory (EPM) task of OVO-Bench. Lower latency and higher EPM scores are better; marker size indicates model size. Select the figure to view it at full size.

Qualitative Results

Streaming video examples show how MaLoW recalls earlier evidence and combines it with the current observation. Choose a sample, then press 'Play video'. Use fullscreen to inspect the annotations.

SA-01 — Remembering an earlier advertisement

This later mall view no longer shows the earlier celebrity display.

Open original video

Resources

Paper

Memory as Weights: Internalizing Long-Term History for Streaming Videos.

Read the paper on arXiv

Hugging Face

Browse all six checkpoints here.

The corresponding Qwen3.5 or Qwen3-VL base model is also required.

Citation

@misc{liu2026memoryweightsinternalizinglongterm,
      title={Memory as Weights: Internalizing Long-Term History for Streaming Videos}, 
      author={Zhuoming Liu and Jinhong Lin and Lin Zhang and Yiwu Zhong and Yin Li},
      year={2026},
      eprint={2610.22070},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2610.22070}, 
}