StreamForest: Efficient Online Video Understanding with Persistent Event Memory

Jing Wang (Huawei Technologies Ltd.) · Yi Wang (Beijing University of Posts and Telecommunications) · Xinhao Li (University of California, San Diego) · Limin Wang (Nanjing University) · Ziang Yan (Zhejiang University) · Xiangyu Zeng (Nanjing University; Shanghai AI Lab) · Kefan Qiu (nanjing university) · Qingyu Zhang (Nanjing University) · Jiaxin Li (Southwest University) · Kun Tian (Huawei Technologies Ltd.) · Meng Tian (Huawei Technologies Ltd.) · Xinhai Zhao (Huawei Technologies Ltd.)
accuracy retentionautonomous driving scenarioscontent similarityevent-level tree structuresfine-grained spatiotemporal windowgeneralizabilityinstruction-tuning datasetmultimodal large language modelsodv-benchonlineitpenalty functionspersistent event memory forestreal-time streamingtemporal distancevideo understandingvisual token compression

Multimodal Large Language Models (MLLMs) have recently achieved remarkable progress in video understanding. However, their effectiveness in real-time streaming scenarios remains limited due to storage constraints of historical visual features and insufficient real-time spatiotemporal reasoning. To address these challenges, we propose StreamForest, a novel architecture specifically designed for streaming video understanding. Central to StreamForest is the Persistent Event Memory Forest, a memory mechanism that adaptively organizes video frames into multiple event-level tree structures. This process is guided by penalty functions based on temporal distance, content similarity, and merge frequency, enabling efficient long-term memory retention under limited computational resources. To enhance real-time perception, we introduce a Fine-grained Spatiotemporal Window, which captures detailed short-term visual cues to improve current scene perception. Additionally, we present OnlineIT, an instruction-tuning dataset tailored for streaming video tasks. OnlineIT significantly boosts MLLM performance in both real-time perception and future prediction. To evaluate generalization in practical applications, we introduce ODV-Bench, a new benchmark focused on real-time streaming video understanding in autonomous driving scenarios. Experimental results demonstrate that StreamForest achieves the state-of-the-art performance, with accuracies of 77.3% on StreamingBench, 60.5% on OVBench, and 55.6% on OVO-Bench. In particular, even under extreme visual token compression (limited to 1024 tokens), the model retains 96.8% of its average accuracy in eight benchmarks relative to the default setting. These results underscore the robustness, efficiency, and generalizability of StreamForest for streaming video understanding.