Constructing coherent spatial memory in LLM agents through graph rectification
On the map: LLM agents and tool use → Agent memory systems
Abstract (arXiv)
Given a map description through global traversal navigation instructions, an LLM can often infer the implicit spatial layout and answer user queries by providing shortest paths. However, such context-dependent querying becomes incapable as environments grow larger, motivating the need for incremental map construction that builds a complete topological graph from stepwise observations. We propose LLM-MapRepair, a framework for LLM-driven construction and map repair, designed to detect, localize, and correct structural inconsistencies in incrementally constructed navigation graphs. Our contributions include a Version Control mechanism for graph construction, an Edge Impact Score for repair prioritization, and a cleaned variant of the MANGO benchmark tailored for LLM-driven map construction and repair. We evaluate the framework on four evaluation settings: a synthetic per-component ablation (gpt-4.1, n=20 seeds per cell), a cross-vendor sweep over seven LLMs from OpenAI, Anthropic, and Google on both synthetic and TextWorld procedurally-generated text-adventure games, a repair-stage evaluation on all 42 cleaned-MANGO games with non-zero residual conflicts (534 conflicts; three vendors x three modes plus two non-LLM references), and an end-to-end natural-text deployment on Chapters 16-17 of Dream of the Red Chamber. On the DRC deployment, LLM-MapRepair achieves 94.3% node recall (+8.6 pp over direct LLM mapping) and 88.2% edge recall (+55.8 pp), using GPT-4.1; the recall improvements come with predicted node and edge counts that are roughly 4x the ground-truth counts (Table 4), reflecting the discretization-driven over-generation trade-off we discuss in the Limitations.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in Agent memory systems, one of 16 directions in LLM agents and tool use. Builds on 20 of its 36 references that are in the map. First posted on arXiv 5 Oct 2025.
Builds on
20 of 36 references.
References · 20
- 2015ORB-SLAM: a Versatile and Accurate Monocular SLAM Systemcited by 983
- 2023Logic-LM: Empowering Large Language Models with Symbolic Solvers for Faithful Logical Reasoningcited by 379
- 2023ConceptGraphs: Open-Vocabulary 3D Scene Graphs for Perception and Planningcited by 357
- 2018TextWorld: A Learning Environment for Text-based Gamescited by 304
- 2019Interactive Fiction Games: A Colossal Adventurecited by 165
- 2023LINC: A Neurosymbolic Approach for Logical Reasoning by Combining Language Models with First-Order Logic Proverscited by 161
- 2021SceneGraphFusion: Incremental 3D Scene Graph Prediction from RGB-D Sequencescited by 159
- 2020If beam search is the answer, what was the question?cited by 114
- 2024SG-Nav: Online 3D Scene Graph Prompting for LLM-based Zero-shot Object Navigationcited by 106
- 2023SatLM: Satisfiability-Aided Language Models Using Declarative Promptingcited by 100
- 2024Mind's Eye of LLMs: Visualization-of-Thought Elicits Spatial Reasoning in Large Language Modelscited by 65
- 2025AlphaMaze: Enhancing Large Language Models' Spatial Intelligence via GRPOcited by 33
8 more
- 2025KARMA: Leveraging Multi-Agent LLMs for Automated Knowledge Graph Enrichmentcited by 26
- 2024OneEdit: A Neural-Symbolic Collaboratively Knowledge Editing Systemcited by 12
- 2024MANGO: A Benchmark for Evaluating Mapping and Navigation Abilities of Large Language Modelscited by 9
- 2025Research on Navigation Methods Based on LLMscited by 3
- 2022Scene Graph Modification as Incremental Structure Expandingcited by 2
- 2025Efficiently Closing Loops in LiDAR-Based SLAM Using Point Cloud Density Mapscited by 2
- 2024ConVer-G: Concurrent versioning of knowledge graphscited by 1
- 2025Can LLMs Learn to Map the World from Local Descriptions?cited by 1
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2026Procedural Graphs: Self-Evolving Execution Structures for LLM Agents
- 2026Hypothesis Graph Refinement: Hypothesis-Driven Exploration with Cascade Error Correction for Embodied Navigation
- 2026LLMs for Text-Based Exploration and Navigation Under Partial Observability
- 2026MemMA: Coordinating the Memory Cycle through Multi-Agent Reasoning and In-Situ Self-Evolution
- 2026Graph-based Agent Memory: Taxonomy, Techniques, and Applications
- 2026Repair the Amplifier, Not the Symptom: Stable World-Model Correction for Agent Rollouts
- 2025Task Memory Engine: Spatial Memory for Robust Multi-Step LLM Agents
- 2025Understanding the Geospatial Reasoning Capabilities of LLMs: A Trajectory Recovery Perspective