REMAIN enables long-horizon memory for egocentric video streams
Researchers have introduced REMAIN, a method for remembering past context in streaming video without expensive continuous captioning. Learn how it works.
Source: Grafy Research LabResearchers have developed a new method called REMAIN that allows AI models to remember context from hours ago in continuous video streams without the high computational cost of constant captioning. This approach addresses a major bottleneck in egocentric video understanding, where models typically must choose between discarding old data to save memory or running expensive generative models to summarize every single frame.
What is the fundamental problem with streaming video memory?
When an AI assistant or a robot processes a continuous video feed from a camera, it faces a difficult trade-off between memory efficiency and how much of the past it can actually remember. According to the research paper by An-Kai Chen and colleagues from National Tsing Hua University and Tohoku University, existing streaming models often use a limited "context window." Once a piece of video moves out of this window, the model effectively forgets it.
To avoid this forgetting, some systems attempt to build a permanent memory by using generative models to write captions, summaries, or graphs for every video clip. However, this requires running heavy computation on every single frame, regardless of whether that information is ever actually needed for a user's question. This makes long-term retention extremely expensive in terms of GPU time and energy.
How does the REMAIN method work?
REMAIN (Retrieval-augmented Egocentric Memory for Answering beyond the INput context) introduces a hybrid approach that pairs a standard local streaming window with a caption-free long-term memory. Instead of using a generative model to describe every clip as it happens, REMAIN indexes past clips using two specific, low-cost keys: speech and frames.
By using speech recognition as a front end, the system can transcribe what is being said and store those lines alongside selected frames. The researchers note that this method bypasses the need for dense captioning during the ingestion phase. When a user eventually asks a question, the system performs a "joint read." It retrieves the relevant past clips based on the speech and frame keys and processes them together with the current streaming window in a single model call.
To keep the memory footprint small, the system uses a pruning-coupled selection process. This picks six frames from every 30-second clip based on the existing window's token-pruning rules, ensuring that only the most relevant visual data is stored without requiring an additional model to decide what is important.
How much more efficient is this than captioning?
One of the most significant advantages of REMAIN is the reduction in computational overhead. The authors report that, aside from the initial speech recognition, writing the memory using this method takes between 84% and 94% less GPU time than the traditional method of captioning every clip.
By deferring the heavy lifting to the moment a query is actually made, the system avoids wasting resources on summarizing video segments that may never be relevant to a user. This makes it a much more viable candidate for real-world applications, such as wearable assistants that might need to process more than ten hours of continuous footage per day.
What are the performance results on video benchmarks?
In testing on the TeleEgo benchmark, which involves multi-hour egocentric streams, REMAIN demonstrated a significant ability to recall information that had long since left the immediate context window. The researchers found that while standard windowed models like FluxMem see a sharp drop in accuracy once evidence leaves the window, REMAIN maintains high performance.
Specifically, on TeleEgo, REMAIN improved accuracy by 9.1 points on queries where the evidence was outside the context window. When using clips ranked by speech alone, the accuracy gain was even more pronounced, increasing by 13.3 points at a 2.8-hour delay. On the EgoLifeQA benchmark, which features week-long video streams, the method improved accuracy over a window-only approach by 7.2 points.
Can this technology be applied to research workflows?
While REMAIN is designed for streaming egocentric video (such as footage from smart glasses), the underlying principle of efficient, retrieval-augmented memory is highly relevant to anyone working with large datasets of unstructured information.
For researchers analyzing long video archives or massive collections of technical documents, the ability to index content via multiple keys (like text and visual features) and retrieve only what is necessary for a specific query is a core component of modern AI workflows. While we do not have a direct video-streaming implementation in our current suite, researchers looking to explore the mechanics of retrieval-augmented generation or analyze the papers surrounding these breakthroughs can use Reader to perform deep research over complex PDFs and academic papers.
Frequently asked questions
Does REMAIN require a generative model to store memory?
No, REMAIN does not use a generative model to write captions or summaries during the memory ingestion phase. Instead, it uses speech recognition and frame selection to create a caption-free index, which significantly reduces the GPU time required to maintain long-term memory compared to systems that caption every clip.
How does REMAIN find relevant past clips without captions?
REMAIN uses a dual-key indexing system consisting of speech and frames. When a question is asked, the system performs clip-to-frame retrieval by matching the query against these two complementary keys. The speech key helps find clips containing relevant dialogue, while the frame key can identify relevant visual information even when no speech is present.
Is REMAIN more efficient than traditional long-video memory systems?
Yes, REMAIN is significantly more efficient because it avoids the constant computational cost of captioning every video segment. According to the study, the method uses 84% to 94% less GPU time for memory writing than systems that rely on generative models to caption every clip, as it only performs heavy processing when a query is made.
Source: An-Kai Chen, Yi-Chun Chang, Cheng-Han Chiang, Chi-Wei Lee, Wingwa Fu, Po-Chih Kuo, Shang-Hong Lai (2026). REMAIN: Remembering Past the Context in Streaming Egocentric Video.
Source: Grafy Research Lab — REMAIN: Remembering Past the Context in Streaming Egocentric Video


