Manuscript Offprint

arXiv:2610.20312

Reflect After Failure: Brain-Inspired Self-Evolving Agents for Embodied Spatial Intelligence

Xin Li, Xiaohuan Gu, Yifan Wang, Shaobin Ling, Tianli Shi, Jingao Xu, Zhimeng Yin, Dapeng Wu, Yun Wang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Vision-Language Models (VLMs) have made substantial progress in spatial reasoning, and self-evolving agents further extend these capabilities to embodied environments by learning from interactions. However, current self-evolution remains particularly challenging in embodied spatial tasks, complex and multi-step decisions from partial visual evidence making it difficult to determine why an execution fails. The failure may stem from misperception, insufficient exploration, or incorrect planning, yet execution feedback alone rarely reveals which component is responsible. As a result, simply accumulating interaction experience can reinforce ineffective strategies. To address this, we propose HiMeco, a brain-inspired self-evolving agent for embodied spatial intelligence, inspired by metacognitive monitoring and hippocampal memory consolidation. Through Hippocampal-Metacognitive Reflection, HiMeco diagnoses failures in perception-exploration-planning (PEP), then compares execution attempts to derive reusable strategies and guidance for avoiding recurring errors. It also abstracts interaction programs into parameterized skills, using evidence contracts and execution-based validation to determine their retention and reuse. These strategies and skills guide subsequent interactions, with memory updated only between rounds and model parameters kept frozen. HiMeco achieves state-of-the-art performance on ESI-Bench, and it also improves accuracy on EmbSpatial-Bench by 3.94 percentage points without evolution.

1 Introduction

Embodied agents operating in complex physical environments require robust spatial intelligence, the ability to not only perceive visible geometry but also reason about hidden structures and topologies [Majumdar et al., 2024, Yang et al., 2025, Gong et al., 2026, Feng et al., 2026]. While Vision-Language Models (VLMs) have demonstrated remarkable zero-shot reasoning capabilities, their spatial understanding remains fundamentally constrained by passive observation [Yang et al., 2025, Gong et al., 2026, Hong et al., 2026]. In real-world scenarios riddled with non-line-of-sight (NLOS) occlusions and unobservable physical dynamics, passive VLMs struggle to perform deep spatial reasoning without actively interacting with the environment to uncover latent topologies [Feng et al., 2026, Majumdar et al., 2024, Hong et al., 2026].

Existing research on enhancing spatial reasoning in VLMs broadly falls into two paradigms based on physical feedback availability: static perception [Cheng et al., 2024, Song et al., 2025, Zhu et al., 2025] and dynamic interaction [Ziliotto et al., 2025, Hong et al., 2026]. The former, whether through offline optimization (e.g., SFT or RL) or static prior injection from expert modules (e.g., 3D/depth estimation and prompt engineering), treats the environment as a passive and fixed observation space. Lacking closed-loop interaction, it relies heavily on explicit in-view visual cues, suffering from cognitive blind spots under NLOS occlusions and hidden topologies [Feng et al., 2026, Hong et al., 2026]. In contrast, the dynamic interaction paradigm incorporates physical environment feedback into planning, enabling agents to actively resolve local ambiguities [Ziliotto et al., 2025, Kim et al., 2025]. However, extending self-evolving agent to embodied spatial tasks introduces a critical bottleneck. Prior work on self-evolving agent often focused on tasks where the causes of failure are relatively easy to identify. While in embodied spatial tasks, agents must make complex multi-step decisions based on partial and dynamically acquired visual evidence in continuous 3D environments subject to physical noise. These conditions make failures difficult to diagnose, while feedback across interaction rounds offers limited guidance on how to revise the underlying strategies [Li et al., 2024, Duan et al., 2025, Qi et al., 2026, Ju et al., 2026]. This ambiguity hinders agents from reliably assessing which strategies are effective and identifying productive directions for further adaptation. As a result, agents may reinforce flawed experiences and update strategies in the wrong direction, causing errors to accumulate over successive evolution rounds [Ju et al., 2026].

Remarkably, animals can efficiently distill effective strategies from experience to solve embodied spatial tasks in unfamiliar environments. This adaptive ability of biological brains is supported in part by interactions between the hippocampus and prefrontal metacognitive circuits [Liao and Losonczy, 2024, Jensen et al., 2024, Fleming, 2026]. In contrast, existing embodied spatial intelligence, whether static (e.g., via parameter updates or external tools) or dynamic self-evolving systems, struggle to deliver accurate spatial reasoning during active exploration [Yang et al., 2025, Feng et al., 2026, Hong et al., 2026]. Because they cannot determine whether failures stem from noisy perception, suboptimal exploration, or improper planning [Li et al., 2024, Ju et al., 2026]. This makes it difficult to translate interaction feedback and accumulated experience into consistent behavioral improvements, leaving errors unresolved across successive interactions [Ju et al., 2026, Zhang et al., 2026b, Tian et al., 2026]. These limitations motivate Hippocampal-Metacognitive Reflection, which couples failure diagnosis with memory consolidation to guide future interactions. Inspired by these neurobiological functions, we hope to achieve a brain-inspired self-evolving agent equipped with multi-turn Hippocampal-Metacognitive reflection for resource-efficient and adaptive embodied spatial intelligence.

Translating this brain-inspired concept into practice presents two challenges. The first is adaptive semantic abstraction: deciding what to retain from repeated interactions and how broadly it should apply [Zhang et al., 2026b, Shu et al., 2026, Xu et al., 2026]. Across interaction and evolution rounds, a parameter-frozen agent must turn individual attempts into reusable strategies and executable skills. Overly specific knowledge transfers poorly, while overly general knowledge loses the detail needed for reliable execution [Wang et al., 2025e, Zhang et al., 2026b]. The second is reliable failure attribution [Li et al., 2024, Ju et al., 2026]. An incorrect answer alone does not reveal whether the agent misinterpreted its observations, explored insufficiently, or executed a flawed plan. Without this distinction, the agent may retain unreliable procedures or reinforce ineffective strategies.

To address these challenges, we propose HIMECO, a brain-inspired self-evolving agent for embodied spatial reasoning. It consolidates interaction experience into a strategy bank E\mathcal{E} and a library of parameterized executable skills K\mathcal{K}. Evidence contracts and invocation-based validation govern which skills are retained, promoted, or suspended across evolution rounds. A perception-exploration-planning (PEP) diagnostic module U\mathcal{U} uses execution traces, task outcomes, and privileged simulator metadata to assess failures across these three dimensions after execution. These diagnostics guide candidate comparison and reflection, yielding reusable strategies and negative constraints for subsequent interactions. Model parameters remain frozen, and both memories are updated only between rounds.

HIMECO alternates between online inference and offline evolution. During inference, the frozen VLM generates programs conditioned on retrieved experiences and skills, while evidence contracts check the observations and intermediate outputs used for reasoning. Memory remains fixed throughout each interaction

(a) Previous methods

Static perception: without physical environment feedback

1 Parameter update

2 External tool call

3D/Depth Estimation

Prompt Engineering

High resource cost

Rigid and inefficient

Dynamic interaction: incorporating physical environment feedback

3 Current self-evolution

Coarse attribution

The mug is here (wrong)

Learns the same wrong lesson

  1. Wrong decision

Assumes the mug is in front

  1. Execute and fail

The mug is actually behind

  1. Reuse the same mistake next time

Failure repeats

(b) Brain-inspired self-evolution

From human behavior

Explore

Build spatial understanding

Find hidden objects

Observe

Notice

occlusion

Explore

Move and

look around

Plan

Infer likely

location

Act

Find and

grasp

Similar

principles

Inspire

design

Inspired by the brain

A brain region for memory formation and spatial cognition

The ability to monitor and adjust one's own thinking.

Hippocampus

Metacognitive

Building on the dynamic interaction and inspired by brain-like cognition

A Brain-inspired self-evolving agent for embodied spatial intelligence

Representative Cases

Embodied execution

U · Diagnose & Reflect

Update memory

Re-execute

Attribution

Perception

Planning

Exploration

Figure 1: Motivation of our method. (a) Previous methods risk reinforcing errors through inaccurate failure attribution. (b) Inspired by metacognitive monitoring and hippocampal consolidation, our method diagnoses failures to guide future interactions.

round. At the round boundary, diagnostic feedback guides comparative reflection and experience consolidation, while execution outcomes support skill abstraction and lifecycle updates. The resulting memories guide subsequent interactions without modifying model parameters. This separation allows the agent to accumulate experience across rounds while evaluating each attempt against a fixed memory snapshot.

Our contributions are summarized as follows:

• We propose HIMECO, a brain-inspired self-evolving agent for embodied spatial reasoning, which repeats interaction and memory evolution without updating model parameters.

• We develop a Hippocampal-Metacognitive Reflection mechanism that couples PEP diagnostic module with the consolidation of reusable strategies and parameterized skills.

• We comprehensively evaluate on ESI-Bench for active embodied spatial reasoning, HIMECO demonstrating state-of-the-art performance. It also improves accuracy on EmbSpatial-Bench without evolution, showing its effectiveness in passive settings.

References (44)