TL;DR
The Spatial Memory Agent (SMA) is a novel runtime framework that enables frozen Vision-Language Models (VLMs) to improve their spatial reasoning without any parameter updates or reliance on external expert tools. By distilling verified experiences into structured, transferable procedural lessons and ranking them using an online-calibrated Transfer Reliability Score (TRS), SMA consistently outperforms standard retrieval baselines across multiple spatial intelligence benchmarks.
What Problem Does This Paper Address?
While Vision-Language Models (VLMs) excel at many multimodal tasks, spatial intelligence—such as understanding 3D relationships, estimating depth, and predicting object motion—remains a major bottleneck for embodied agents and robotic planners.
Existing approaches to fix this typically fall into two camps:
- Post-training methods: Fine-tuning the model via supervised learning or reinforcement learning, which is computationally expensive and alters model weights.
- Agentic tool-use: Forcing the VLM to call external expert tools (like depth estimators or 3D reconstruction pipelines) at inference time, which introduces latency and heavy dependencies.
The authors of this paper propose a third, underexplored route: Can a completely frozen VLM improve its spatial reasoning through parameter-update-free self-evolution?
Standard memory-augmented agents usually retrieve past experiences based purely on semantic similarity. However, in spatial tasks, two problems might look superficially similar but require completely different geometric reasoning. SMA addresses this gap by explicitly evaluating how reliable a distilled lesson is when transferred to new contexts.
Methods
SMA operates in two distinct phases: an experience acquisition phase (where it populates and calibrates its memory bank) and a read-only deployment phase (where the memory bank is frozen and used to guide inference).
1. Procedure Memory Generation
During training/acquisition, the frozen VLM attempts a spatial problem. A verifier checks the answer and provides a scalar reward. If a rollout occurs, a reflection model (the VLM itself) compresses the interaction into a structured JSON "memory card" containing:
- The source task.
- An abstract rollout summary.
- A transferable lesson: A compact, reusable principle capturing the pattern, traps to avoid, and geometric checks to apply.
2. Visit-Evidence Calibration
Instead of assuming a lesson is perfect just because the initial problem was solved correctly, SMA initializes a Transfer Reliability Score (TRS) uniformly for all memories. As the agent encounters more problems, it tracks how often a retrieved memory card actually leads to a successful verifier reward. The TRS is updated online using a Bayesian-style estimator, shrinking low-visit memories toward a conservative neutral prior while letting highly successful lessons rise to the top.
3. Two-Stage Retrieval
When faced with a new deployment task, SMA uses a two-stage retrieval pipeline:
- Semantic Filter: Filters the memory bank using task embedding cosine similarity to form a candidate set.
- Combined Ranking: Re-ranks the candidates by blending normalized semantic similarity with the calibrated TRS. The top-$k$ lessons are then prepended to the VLM's prompt.
Datasets
The authors evaluated SMA across seven prominent spatial benchmarks covering diverse spatial reasoning demands:
- RoboSpatial: Robot-oriented spatial understanding in indoor home scenes.
- ERQA: Embodied robot question-answering grounded in physical actions and trajectories.
- Omni3D: 3D spatial relations, metric estimates, and counterfactual placements from real-world images.
- SAT: Dynamic spatial aptitude testing egocentric and temporal reasoning.
- EmbSpatial: Language-grounded embodied spatial relations.
- SITE-image & ViewSpatial: Multi-perspective spatial localization and scene simulation.
Key Insights and Ideas
- Nearest isn't always best: Maximizing semantic proximity alone can over-rank superficially similar but procedurally unhelpful memories. SMA actually reduces the average semantic similarity of retrieved memories compared to standard methods, yet yields higher accuracy because it prioritizes demonstrated transfer value.
- One-pass writing beats continual rewriting: Constantly adding new memories leads to massive redundancy. SMA writes memories only on its first pass through an environment, keeping the memory bank compact (1/10th the size of continual writing) and maximizing the calibration coverage of existing cards.
- Broad atomic capability lift: Rather than boosting performance on just one niche task, the procedural lessons learned via SMA broadly improve all ten evaluated atomic spatial skills, with the highest gains seen in Correspondence, Attribute recognition, and Object Motion.
Key Results
SMA was evaluated using four frozen base models: Qwen3.5-9B, Qwen3.6-27B, Qwen3.6-35B-A3B, and Qwen3.5-122B-A10B.
- Consistent Wins: SMA achieved the highest macro average accuracy across every single base-model block, outperforming strong baselines like RAG, MemP, and MemRL.
- Quantifiable Gains: On Qwen3.6-27B, SMA improved macro average accuracy to 69.8%, representing a 1.7 to 6.5 percentage point gain over non-memory and standard retrieval baselines.
- Competitive with Training: When compared against SpatialEvo-7B (a training-based self-evolution method), SMA paired with a Qwen3.5-9B base model improved average accuracy from 47.1% to 63.5% ($\Delta = +16.4$), showing that an external procedural memory can compete with weight-updating methods.
Limitations and Future Work
The authors note two primary limitations of the current framework:
- Credit Assignment: SMA relies on task-level verification feedback. If a final answer fails, it's difficult to automatically determine whether the failure was due to poor memory writing, flawed reflection, incorrect retrieval, or the model simply misapplying a good lesson.
- Long-Term Memory Maintenance: As the environment grows, the memory bank can accumulate redundant or stale lessons. SMA currently downweights these via TRS but lacks explicit lifecycle policies to actively delete, merge, or compress memories under a strict storage or latency budget.
Summary updated