Gaussian Episodic Memory for Long-Term Spatiotemporal Reasoning

Ling-Chia Chen1*, Abdelrhman Werby1,2*, Kaan Aytekin1,2, Kai O. Arras1
1 University of Stuttgart    2 IMPRS-IS    * Equal contribution
GEMS overview: a robot revisits a semi-static scene, GEMS stores a Gaussian map and per-visit differences, and an agent answers questions using the map

A robot revisits a semi-static scene, yielding a posed RGB-D sequence per visit (left). GEMS reconstructs the first visit into a Gaussian map and records each later visit as a difference capturing only the regions that changed, so the scene at any past visit is recovered by rendering the map together with the differences up to that visit (middle). Given a question (right), the agent explores the scene using its toolbox and answers based on the collected evidence.

Abstract

Real-world environments undergo continual semi-static changes, requiring a memory representation that captures both the spatial and temporal evolution of a scene. Existing spatio-temporal memories for robots typically rely either on structured representations, which are limited to the entities and attributes captured during construction, or on image-based memories, which are constrained to previously observed viewpoints. We introduce GEMS, a framework that combines a persistent spatio-temporal 3D Gaussian Splatting (3DGS) map with an agentic reasoning pipeline. The 3DGS map is reconstructed once and subsequently updated only in regions where the scene changes, storing only these modifications while preserving visual detail across time. The agentic pipeline leverages this map to render novel views on demand, iteratively accumulating evidence to answer spatio-temporal questions and ground objects from natural-language queries. To advance future research, we introduce GEMS-Bench, a spatiotemporal question-answering benchmark focused on semi-static environments. It comprises 3 real-world and 12 synthetic environments, spanning 473 question-answer pairs. We evaluate GEMS on novel-view synthesis quality across scene updates, 3D object grounding, spatiotemporal question answering, and storage efficiency. GEMS outperforms recent baselines in 3D object grounding and spatiotemporal question answering, while achieving rendering quality on par with dedicated scene-update methods.

Method

GEMS method overview: mapping with change detection and Add, Remove, Refine updates, and reasoning with an LLM planner and memory tools

Left: mapping. On each revisit, keyframes rendered from the previous map are compared against the incoming observations to obtain a change mask, components of which are labeled as Add, Remove, or Refine based on the depth error. The affected Gaussian primitives are re-optimized. Each Gaussian carries a lifespan [b, d), so the state of the scene at any past time can be retrieved as a temporal slice. Right: reasoning. An LLM planner answers a query through memory tools, and an answer synthesizer concludes from the gathered evidence.

Qualitative Results

Qualitative comparison of GEMS against GEMS-all-images on spatiotemporal questions, showing collected evidence and judge scores

Qualitative comparison of GEMS against GEMS-all-images. Each column shows a question, the evidence each agent collected, and the LLM-judge score. Left: a synthesized closer view resolves a spatial ambiguity from an oblique camera angle. Middle and right: time_view lets GEMS compare both visits from one pose, where the baseline is restricted to two different stored viewpoints.