FluxMem: Adaptive Hierarchical Memory for Streaming Video Understanding
Authors: Yiweng Xie, Bo He, Junke Wang, Xiangyu Zheng, Ziyi Ye, Zuxuan Wu
Organizations: Institute of Trustworthy Embodied AI, Fudan University · Shanghai Innovation Institute · Shanghai Key Laboratory of Multimodal Embodied AI · University of Maryland, College Park
This paper presents FluxMem, a training-free framework for efficient streaming video understanding. FluxMem adaptively compresses redundant visual memory through a hierarchical, two-stage design: (1) a Temporal Adjacency Selection (TAS) module removes redundant visual tokens across adjacent frames, and (2) a Spatial Domain Consolidation (SDC) module further merges spatially repetitive regions within each frame into compact representations. To adapt effectively to dynamic scenes, we introduce a self-adaptive token compression mechanism in both TAS and SDC, which automatically determines the compression rate based on intrinsic scene statistics rather than manual tuning. Extensive experiments demonstrate that FluxMem achieves new state-of-the-art results on existing online video benchmarks, reaching 76.4 on StreamingBench and 67.2 on OVO-Bench under real-time settings, while reducing latency by 69.9% and peak GPU memory by 34.5% on OVO-Bench. Furthermore, it maintains strong offline performance, achieving 73.1 on MLVU while using 65% fewer visual tokens.
Figures & tables
Figure 2: Overview of FluxMem: Adaptive Hierarchical Memory. Each incoming frame is encoded into visual tokens and written to FluxMem in a cascaded short–mid–long process. On short-term memory overflow, Temporal Adjacency Selection ( TAS ) retains temporally variant tokens for mid-term memory; on mid-term memory overflow, Spatial Domain Consolidation ( SDC ) merges spatially redundant regions into compact anchors for long-term memory. The overflow process is guided by distribution-adaptive thresholds, autonomously calibrating retention strength to the video’s temporal dynamics. Notably, the similarity metric against the preceding frame, required for TAS , is computed upon the token’s entry into the short-term memory, enabling it to serve as a zero-overhead trigger for active LLM output.
Method
Size
Frames
OVO-Bench real-time
StreamingBench real-time
OCR
ACR
ATR
STU
FPD
OJR
Avg.
OP
CR
CS
ATP
EU
TR
PR
SU
ACP
CT
Avg.
Human
Human
–
–
94.0
92.6
94.8
92.7
91.1
94.0
93.2
89.5
92.0
93.6
91.5
95.7
92.5
88.0
88.8
89.7
91.3
91.5
Proprietary Models
Gemini 1.5 Pro [ 46 ]
–
1 fps
85.9
67.0
79.3
58.4
63.4
62.0
69.3
79.0
80.5
83.5
79.7
80.0
84.7
77.8
64.2
72.0
48.7
75.7
GPT-4o [ 21 ]
–
64
69.8
64.2
71.6
51.1
70.3
59.8
64.5
77.1
80.5
83.9
76.5
70.2
83.8
66.7
62.2
69.1
49.2
73.3
Table 1: Results on the real-time subtasks of OVO-Bench and StreamingBench. OVO-Bench real-time encompasses: [OCR] Optical Character Recognition; [ACR] Action Recognition; [ATR] Attribute Recognition; [STU] Spatial Understanding; [FPD] Future Prediction; [OJR] Object Recognition. StreamingBench real-time encompasses: [OP] Object Perception; [CR] Causal Reasoning; [CS] Clip Summarization; [ATP] Attribute Perception; [EU] Event Understanding; [TR] Text-Rich Understanding; [PR] Prospective Reasoning; [SU] Spatial Understanding; [ACP] Action Perception; [CT] Counting. Best results among open-source models are in bold and the best results among training-free methods are underlined . † indicates the reproduced results.
Figure 3: Ablation of FluxMem. (a) Method comparison across drop ratios on the MLVU dataset. (b) and (c) Comparison of our adaptive and fixed thresholds in the mid- and long-term memory banks. The cosine distance of each token is compared against these thresholds to determine whether it is kept or dropped. The shaded area presents the distribution of average per-video drop ratios for the adaptive and optimal fixed thresholds, aggregated across all videos in the MLVU benchmark.
Method
OVO-Bench
StreamingBench
Qwen2.5-VL
49.8
73.9
+ FluxMem
53.3 (+3.5)
76.4 (+2.5)
+ FluxMem + SFT
61.4 (+11.6)
76.7 (+2.8)
Table 5: Ablation study of FluxMem and SFT on the Qwen2.5-VL. Performance is evaluated on OVO-Bench (Overall) and StreamingBench (real-time). The SFT was performed on a subset of data from TimeChat-Online-139K [ 62 ] and VideoChatOnline-IT [ 20 ] .
Streaming video understanding studies how AI systems interpret continuous video in real time while retaining useful history and responding at the right moment.
Vision agent memory has shown remarkable effectiveness in streaming video understanding. However, storing such memory for videos incurs substantial memory overhead, leading to high costs in both storage and computation. To address this issue, we propose StreamMeCo, an efficient Stream Agent Memory Compression framework. Specifically, based on the connectivity of the memory graph, StreamMeCo introduces edge-free minmax sampling for the isolated nodes and an edge-aware weight pruning for connected nodes, evicting the redundant memory nodes while maintaining the accuracy. In addition, we introduce a time-decay memory retrieval mechanism to further eliminate the performance degradation caused by memory compression. Extensive experiments on three challenging benchmark datasets (M3-Bench-robot, M3-Bench-web and Video-MME-Long) demonstrate that under 70% memory graph compression, StreamMeCo achieves a 1.87* speedup in memory retrieval while delivering an average accuracy improvement of 1.0%. Our code is available at https://github.com/Celina-love-sweet/StreamMeCo.
Junxi Wang, Te Sun, Jiayi Zhu +6
Shanghai Jiao Tong University · Fudan University · Shanghai AI Laboratory +2
Online streaming video understanding requires models to process continuous visual inputs and respond to user queries in real time, where the unbounded stream and unpredictable query timing turn memory management into a central challenge. Existing methods typically compress visual tokens via visual similarity heuristics, or augment compression with KV-cache-level retrieval. However, compression decisions rarely incorporate semantic signals, and retrieval is often added after compression is finalized, making the two stages hard to coordinate. We present SAVEMem, a training-free dual-stage framework that brings semantic awareness into memory generation and lets the retrieval scope adapt per query. In Stage1, SAVEMem builds a three-tier streaming memory online under a constant memory budget. A fixed pseudo-question bank provides a lightweight semantic prior, so that long-term retention is shaped by semantic salience rather than visual similarity alone. In Stage2, SAVEMem performs query-aware retrieval over this memory. An anchor-conditioned recency gate adapts the retrieval scope from short-term to mid- and long-term memory based on whether the query targets the present or the distant past. Within this scope, late interaction between query and memory tokens selects candidate frames for answering. Applied to Qwen2.5-VL without training, SAVEMem improves the OVO-Bench overall score from 52.27 to 62.69 and yields consistent gains on StreamingBench and ODV-Bench, while reducing peak GPU memory by 48% at 128 frames over the backbone.
Hang Wu, Sherin Mary Mathews, Yujun Cai +2
University of California, Merced · US Bank · University of Queensland
The rapid growth of video data has created an urgent need for efficient video understanding systems that can handle long and continuous visual inputs, posing significant challenges for Multimodal Large Language Models (MLLMs) due to severe memory bottlenecks. Moreover, existing compression methods often overlook the explosive accumulation of approximation errors. To address this issue, we propose Video-MemComp, a training-free and sensitivity-aware context management framework for memory-constrained streaming video understanding. Our method theoretically decomposes compression error into orthogonal local approximation error and layer-wise structural sensitivity via a first-order Taylor expansion. To minimize local approximation error, we perform token aggregation in a pre-RoPE safe zone with an attention-conserving logit bias, mitigating geometric distortions caused by RoPE rotations. To manage layer-wise structural sensitivity, we dynamically allocate the KV cache budget based on offline gradient priors and online context entropy, prioritizing high-sensitivity layers. Video-MemComp outperforms or achieves performance comparable to full-cache and state-of-the-art compression methods on benchmarks including MLVU, VideoMME, and EgoSchema. Notably, it improves the overall accuracy of Qwen2.5-VL-3B from 62.3% to 64.1% while reducing the KV cache to an equivalent of 6,000 tokens per layer, saving over 90% of KV memory.