cs.ROOct 15, 2026

Spatial Memory by Agents, for Agents

Authors: Qianwei Wang, Ce Zhang, Zhanpeng Luo, Pengpeng Su, Shuo Yang, Hao Xu

Organizations: Qianwei Wang is with Princeton University · Ce Zhang is with Carnegie Mellon University · Zhanpeng Luo is with Johns Hopkins University · Pengpeng Su and Shuo Yang are with Mondo Robotics · 

Abstract

Spatial memory enables robots to reuse past observations for localization, navigation, and question answering. Designing such memory involves jointly deciding what to retain and how to retrieve it for diverse semantic, metric, and temporal needs. We investigate whether coding agents can automate this design process through iterative implementation and evaluation. Under a fixed development budget, a Designer Agent writes and revises code for memory construction and retrieval using feedback from a fixed Query Agent. The resulting implementations are frozen before building memories from held-out observation histories, without access to downstream questions, and evaluated across five complementary task tracks using the same Query Agent. Across three independent design searches, Codex / GPT-6 Astra averages 44.23 on the equally weighted five-track score, versus 29.32 for ReMEmbR, the strongest evaluated baseline supporting all five tracks, a 50.9% relative improvement. Qualitative analysis relates performance differences to evidence retention and retrieval, while identifying grounding and evidence-use failures. These results demonstrate the potential of coding agents to automate spatial memory design, while revealing task-dependent trade-offs in performance and computational cost. Project page: https://ba-fa-3344.github.io/.

Explore similar work

CardsList
  1. Spatial Memory Agent: Experience-Grounded Procedural Memory for Spatial Intelligence

    Aug 13, 2026Haokai Zhang, Yuhang Ding, Yunshu Zhou +5Memory-Augmented VLMsVisual Spatial Reasoning

  2. MemCodex: Self-Programming Hierarchical Memory for Language Agents

    Sep 30, 2026Xiaoqiang Wang, Bang LiuAgent Memory ManagementMemory-Augmented Language Model Agents

  3. Measure Before You Manage: Evaluating Agent Working Memory in Coding Agents

    Aug 31, 2026Le Chen, Zishen Wan, Baixi Sun +6Agent MemoryAI Coding Agents