Manuscript Offprint

arXiv:2610.05940

ReMem: Streaming Video Understanding With Long Context Retention

Li Yiheng, He Xu, Wang Shaobo, Shao Ling, Lu Shijian

Abstract

Despite their impressive performance on a wide range of video understanding tasks, current Vision Language Models (VLMs) are predominantly designed for offline scenarios and struggle to handle online streaming videos that demand low latency response. Several studies have explored memory and token compression strategies in an attempt to adapt offline VLMs for streaming video understanding tasks. However, through our probing experiment, we identify that most existing works tend to progressively lose long context information as length of input stream increases. To address this, we propose ReMem, a novel training-free adaptation technique that enables VLMs to process streaming videos of arbitrary lengths while improving their long context information retention capability. ReMem exploits memory from two perspectives, implemented as two core components. The Streaming Context Memory (SCM) continuously compresses historical context with query-independent attention. The Retrieved Vision Memory (RVM) then retrieves the most salient, query-relevant context from memory to augment the VLM's input. Comprehensive experiments demonstrate that the proposed ReMem achieves state-of-the-art (SOTA) performance across a variety of widely used benchmarks, spanning both streaming video and general long video understanding tasks.

Introduction

Vision Language Models (VLMs) have demonstrated remarkable advancements in a wide range of multi-modal tasks, from single image question-answering (Fu et al. 2025a; Chen et al. 2024b) to complex multi-turn dialogue (Liu et al. 2024; Li and Tajbakhsh 2023) and long video understanding (Fu et al. 2025b; Wu et al. 2024a). However, this progress has largely been confined to offline settings, where models presume access to the entire visual input before generating a response (Bai et al. 2025b; Wang et al. 2024a; Bai et al. 2023; Chen et al. 2024f,e,d; Zhang et al. 2024b; Zohar et al. 2024). This assumption might be impractical for many real-time applications where visual data is provided as a continuous stream. Applications such as autonomous driving (Shao et al. 2024) require fast response and expect low latency from VLMs. Developing models that can operate effectively in these online, streaming environments remains a challenge.

Recent efforts have sought to adapt VLMs to the streaming video setting by lowering the latency of the answer generation process (Zhang et al. 2025a; Di et al. 2025a; Wang et al. 2025a). One key strategy is token compression (Yang et al. 2025a; Tao et al. 2025; Chen et al. 2024c), which reduces the input sequence length to speed up VLM inference. In addition, memory-based modules (Song et al. 2024, 2025; Wang et al. 2024c) are often used in conjunction with compression. These modules store long context information from older segments of the input video stream, allowing relevant context to be retrieved later when a user query arises.

While such methods effectively reduce the token length for VLM transformer operations (Vaswani et al. 2017) and speed up the inference process, they often come at the cost of long context retention. We demonstrate this tradeoff using a variant of visual Needle-In-A-Haystack (NIAH) probing experiment (Wu et al. 2024b). As shown in fig. 1, our results reveal that as the haystack size increases, existing streaming models such as FluxMem (Xie et al. 2026) and OASIS (Liang et al. 2026) suffer a more pronounced drop in retrieval accuracy than the Qwen2.5VL (Bai et al. 2025b) base model. This indicates that these methods increasingly fail to preserve crucial contextual information, progressively losing key details as visual sequences grow longer. In contrast, our proposed method, ReMem, consistently surpasses these evaluated models by effectively capturing and retaining key information despite the increasing context size.

This limitation motivated us to design a streaming VLM adaptation that retains long-term context while maintaining a short input token length for efficiency. We introduce ReMem, a training-free VLM adaptation strategy that seamlessly enables offline pre-trained VLMs to process online streaming data while preserving long-term context. ReMem consists of two main components: Streaming Context Memory (SCM) and Retrieved Vision Memory (RVM). SCM maintains a fixed-length memory module that continuously condenses historical visual information using attention-based compression. RVM then augments the model's input by retrieving the most relevant, query-specific vision tokens. Our experimental results show that ReMem achieves significant performance gains on streaming video benchmarks, especially on tasks requiring contextual understanding.

∗^{*}These authors contributed equally.

†^{\dagger}Corresponding author.

In summary, our main contributions are:

  1. We use visual NIAH probing experiments to demonstrate that existing memory based streaming VLM designs suffer from the progressive loss of long-term context.

  2. We introduce ReMem, a novel, training-free adaptation strategy that equips existing offline VLMs to handle streaming video of arbitrary length while simultaneously improving their ability to retain long-context information.

  3. We conduct comprehensive experiments on streaming and general long video understanding benchmarks. The results demonstrate that ReMem significantly outperforms baselines and competing streaming methods, particularly on streaming tasks, thereby validating the effectiveness of our design.

References (66)