TL;DR
ReMEmbR (Retrieval-augmented Memory for Embodied Robots) enables robots to build and reason over long-term spatio-temporal memories. By integrating video captioning, vector databases, and an LLM-based agent with function-calling capabilities, ReMEmbR allows robots to answer complex environmental questions and translate them into actionable navigational goals.
The Challenge of Long-Horizon Memory
As robots transition from controlled labs to complex environments like warehouses and offices, they must "remember" visual information over hours of deployment. Current robotic memory systems face a significant scalability bottleneck: Transformer-based models and Vision-Language Models (VLMs) have finite context windows, limiting them to processing only a few minutes of video at a time. Furthermore, most existing systems provide text-based answers that lack the precise $(x, y, z)$ coordinates required for a robot to actually navigate to a remembered location.
The ReMEmbR Framework
ReMEmbR addresses these challenges by decoupling memory storage from reasoning through a two-phase approach:
- Memory Building: As the robot moves, it processes video in $t$-second segments. A VLM (specifically VILA) generates text captions for these segments. These captions are converted into vector embeddings and stored in a Vector Database alongside the robot’s precise $(x, y, z)$ coordinates and timestamps. This creates a compressed, searchable history of the robot's entire deployment.
- Querying Phase: When a user asks a question, an LLM-based agent (such as GPT-4o) acts as a state machine. Instead of processing the entire history, the agent uses function calling to retrieve specific memories. It can perform text, position, or time-based queries, iterating up to three times to refine its search before generating a response that includes a navigational goal.
Benchmarking with NaVQA
To evaluate long-horizon reasoning, the authors introduced NaVQA (Navigation Video Question Answering), a benchmark built on the CODa robot navigation dataset. It consists of 210 expert-annotated questions across seven long-horizon videos (15–30 minutes each). Questions are categorized by history length (Short, Medium, Long) and type (Spatial, Temporal, and Descriptive). Unlike standard VQA datasets, NaVQA requires models to output precise coordinates and relative time (e.g., "10 minutes ago"), making it specifically tailored for robotics.
Key Results and Real-World Deployment
- Scalability and Latency: ReMEmbR maintains high accuracy over long videos where standard VLMs fail or crash. For a 21.5-minute video, ReMEmbR answered queries in ~25 seconds, significantly faster than VLMs processing much shorter sequences.
- Performance: Using GPT-4o as the backbone, ReMEmbR achieved an Overall Correctness of ~61% on long-horizon tasks, significantly outperforming open-source baselines like Llama-3, which struggled with temporal arithmetic.
- Actionability: Deployed on a Nova Carter robot, the system successfully handled ambiguous requests like "Take me somewhere with a nice view" by searching its memory for visual features like "tall glass windows" and "greenery" and translating those memories into a navigable trajectory.
Limitations and Future Work
The system's performance is tied to the quality of initial video captions; semantic gaps (e.g., confusing a water fountain for a "soda machine") can lead to retrieval errors. Additionally, the vector database can become redundant if the robot remains stationary for long periods. Future work will explore more structured memory representations, such as 3D scene graphs, to allow the agent to reason more deeply about the spatial relationships between objects.
Summary updated