Skip to content
Robotics.world

Research

HAM-VLN: Harnessing Hierarchical Agentic Memory for Zero-Shot Vision-and-Language Navigation

Robots that navigate by repeatedly asking a multimodal LLM "what should I do next?" must somehow tell the model where they have already been, how far the instruction has progressed, and which…

The paper’s first page · arXiv:2607.29600
arXiv
2607.29600 · Preprint · not peer-reviewed
Published
2026-07-31
Authors
An Liu, Bingxi Liu, Hongyu Ding, Yixuan Jiang, Yaran Chen, Fulin Tang, Cong Leng, Hong Zhang, Jian Cheng

In plain words

Robots that navigate by repeatedly asking a multimodal LLM "what should I do next?" must somehow tell the model where they have already been, how far the instruction has progressed, and which branches already failed.

AI summary

Overview

Research area: Embodied AI and robot navigation — specifically zero-shot Vision-and-Language Navigation (VLN), where a robot follows natural-language instructions through environments it has never seen, without task-specific training.

Technical level: Intermediate. The core ideas are accessible, but full appreciation requires some familiarity with multimodal LLM agents, waypoint-based navigation benchmarks (R2R-CE, RxR-CE, HM3D ObjectNav), and standard navigation metrics (NE, OSR, SR, SPL, nDTW).

Scope (one sentence): The paper proposes HAM-VLN, a training-free navigation framework in which the same multimodal LLM call that picks the robot's next action also writes structured memory into a depth-grounded world graph, and where older history re-enters the prompt only through subgoal-conditioned retrieval — achieving 61.0% SR on VLN-CE R2R, 52.7% SR on VLN-CE RxR, and 79.7% SR on HM3D-v2 ObjectNav while cutting context length by more than 65%.

What This Paper Is About

Robots that navigate by repeatedly asking a multimodal LLM "what should I do next?" must somehow tell the model where they have already been, how far the instruction has progressed, and which branches already failed. Existing approaches do this either by dumping a growing stream of past camera images into the prompt or by maintaining a dense semantic map whose storage grows with the explored area — both create a memory and reasoning bottleneck over long trajectories. HAM-VLN's goal is to give the robot a compact, persistent, spatially grounded memory that decides what is worth remembering and what is worth recalling for the current subgoal, without adding any extra LLM calls beyond the decision itself.

Key Contributions

  1. A depth-grounded world graph for navigation history. History is stored as a typed place–object graph (place nodes, object nodes, place–place connectivity edges, place–object containment edges) built from RGB-D observations and pose. The graph grows with the number of places and objects discovered rather than with mapped area, and retains the geometry and topology needed for recall and backtracking.

  2. Hierarchical agentic memory with decision-coupled writes. The System 2 model call that selects the action simultaneously emits a structured record containing room type, observed objects, instruction-progress updates, and action rationale. These writes populate four functional views — working, episodic, semantic, and reflection memory — with no separate LLM calls for memory maintenance.

  3. Subgoal-conditioned, topology-aware retrieval. A local sentence encoder scores places by relevance (query–place cosine similarity), recency (exponential decay from last visit), and salience (landmark agreement plus object richness); the top seeds are expanded by one hop and serialized into a compact place–object subgraph for the next planning context.

  4. Grounded failure memory for backtracking. When the agent abandons a branch, the decision rationale is attached to the abandoned place states as advisory (not prohibitive) negative evidence, which resurfaces only when that region is retrieved again under a new subgoal.

  5. Strong training-free results at low context cost. 61.0% SR on VLN-CE R2R, 52.7% SR on VLN-CE RxR, 79.7% SR on HM3D-v2 ObjectNav, with per-episode context reduced by 67% relative to full raw history.

Main Findings

  • State-of-the-art among training-free methods on VLN-CE R2R. HAM-VLN reaches NE 3.92 ± 0.15 m, OSR 78.7 ± 3.1%, SR 61.0 ± 1.7%, and SPL 48.1 ± 0.2% on the val-unseen split (mean ± std over three seeds). Navigation error drops from 5.87 m for the strongest previously reported training-free baseline to 3.92 m.

  • Gains transfer to the longer-instruction RxR benchmark without retuning. NE falls from 8.80 m to 6.27 ± 0.23 m, with SR 52.7 ± 1.5%, SPL 35.7 ± 2.6%, and nDTW 54.3 ± 0.3% — increases of 18.9, 19.6, and 8.6 percentage points respectively over the strongest prior training-free result.

  • Best reported result on HM3D-v2 ObjectNav, including supervised methods. SR 79.7 ± 0.5% and SPL 43.2 ± 0.6%, which is 3.5 and 4.5 points above the strongest training-free results and 2.7 and 1.9 points above the best supervised results in the comparison table.

  • Trained systems still win on success rate and path efficiency in VLN-CE. Although HAM-VLN's OSR of 78.7 on R2R exceeds all supervised methods listed, the strongest trained navigators retain higher SR and SPL — the authors attribute this to agentic exploration sampling directions under uncertainty rather than following a learned shortcut.

  • Memory efficiency is large and measurable. HAM-VLN uses 17.9k System 2 tokens per decision and 244.9k API tokens per episode, which is 45.1% and 34.8% fewer than the cheapest raw-history setting (K=3, at 32.6k and 375.5k) and 69.0% and 67.2% fewer than full raw history (57.7k and 746.1k).

  • More raw visual history does not help. Expanding the raw-history window from K=3 to K=5, K=10, and full history monotonically increases token counts without consistent SR/SPL gains; going from K=3 to full history raises API tokens per episode by 98.7% while SR and SPL fall by 4.7 and 6.6 percentage points.

  • The world graph is the single most important component. Removing it and keeping only a K=1 working window worsens NE from 3.92 to 4.97 m and drops SR by 9.3 points to 51.7%; replacing the graph with full raw history reaches only 53.3% SR and collapses SPL from 48.1 to 38.1.

  • Every memory view contributes, and reflection mainly buys path efficiency. Removing episodic or semantic memory drops SR from 61.0 to 53.3 (SPL to 41.6 without EM, 42.1 without SM). Removing reflection memory drops SR by 5.3 points to 55.7 and SPL by 11.2 points to 36.9. Removing all three views gives SR 50.7 and SPL 31.5 — showing the graph alone is insufficient.

  • Backtracking is frequent and productive. Across 100 R2R-CE episodes the agent backtracked 175 times out of 1,288 waypoint decisions — 1.75 backtracks per episode, or 13.6% of decisions. A qualitative trace shows a rejected stop in a kitchen producing a self-authored note that is later retrieved at a hallway intersection and leads to a successful stop.

Methodology in Plain English

The system splits labor between two models, mirroring fast/slow thinking:

  • System 2 (the slow planner) — a large multimodal LLM, Gemini-3.1-Pro in the experiments — is called once per waypoint, i.e. each time the robot stops and looks around. It reads the instruction, the current panorama, and a compact memory context, and returns a single structured JSON decision: pursue a direction, backtrack to a previously visited waypoint, or stop. Crucially, that same call also writes down what it saw and what it concluded — room type, objects, progress through the instruction, and why it chose what it chose.

  • System 1 (the fast grounder) — a lightweight model, Qwen3.6-35B, takes the chosen direction plus the planner's target description and predicts a bounding box around the intended target in the selected view. A deterministic controller picks a pixel in that box, back-projects it to 3D using depth and camera intrinsics, transforms it into the world frame via odometry, and executes a short trajectory using fast-marching planning over a local traversability map. No pretrained waypoint predictor is used, which lets the robot aim at distant semantic cues like a hallway opening.

Memory works in tiers. The most recent K waypoints (K=1 in all experiments) stay verbatim in the prompt as working memory. Everything older is consolidated into the world graph: places are formed by incremental single-link clustering, objects come from open-set detectors (Grounding DINO) and segmenters (SAM) projected through depth and consolidated into place-level states, and edges record navigational connectivity and semantic containment.

Retrieval happens per subgoal. The first unfinished item in the instruction gives the current subgoal, which is embedded with a local encoder (bge-large-en-v1.5) and compared against place summaries. Each place receives a score of 1.0 × relevance + 0.3 × recency + 0.3 × salience, with recency decaying by 0.85 per waypoint. The top 3 seeds are expanded by one hop, the current neighborhood is added, and at most 5 places are serialized back into the context.

Backtracking writes negative evidence. Returning to a stored waypoint anchor also marks the abandoned places with the planner's rationale. This evidence never alters the retrieval score or blocks a place; it only re-enters the prompt when the associated region is retrieved again, at which point the planner can reinterpret the old failure under the new subgoal.

Evaluation. Three benchmarks — R2R-CE, RxR-CE, and HM3D-v2 ObjectNav — on the same 100-episode val-unseen subsets used by Ding et al. (2026b), with three independent runs per benchmark reported as mean and standard deviation. The paper notes that Ding et al. (2026b) reported these subsets deviate from full-split results by no more than 1.1 percentage points.

Why This Matters

Research impact. The paper reframes navigation memory as a decision problem rather than a storage problem: instead of asking how much history to keep, it asks who decides what is worth keeping. Coupling memory writes to the action-selection call makes the agent author its own memory at zero extra inference cost, and the depth-grounded graph gives that memory the spatial structure that pure text memory streams (as in generative agents, MemGPT, or Reflexion) lack. The controlled comparison against raw-history windows at K=3/5/10/full is a clean demonstration that context accumulation is not a substitute for structured memory.

Real-world applications:

  • Home and service robots following spoken instructions like "bring me the cup from the kitchen counter," where knowing which rooms have already been checked matters more than raw visual fidelity.
  • Warehouse and logistics robots that must recall where an item was seen and avoid re-exploring aisles that were already ruled out.
  • Search-and-rescue or inspection in unknown buildings, where failure notes about blocked or fruitless corridors directly reduce wasted travel time.
  • Assistive navigation for visually impaired users, where low per-step latency and bounded context translate into a responsive and affordable on-robot system.

Industry relevance. The token accounting is the commercially interesting part: 244.9k API tokens per episode versus 746.1k for full history, with a 67% reduction in per-episode context, directly reduces cloud inference cost for any deployed agent that queries a hosted multimodal model. Because retrieval runs on a local GPU-resident encoder and adds no extra LLM calls, the architecture fits latency and bandwidth budgets of real robot deployments, and the training-free property means new buildings and new instruction styles can be handled without collecting a dataset.

Future Directions

  • Pushing success rate past supervised navigators. HAM-VLN leads on OSR (78.7 on R2R) but trails the best trained systems on SR and SPL; the authors point to agentic exploration under uncertainty as the cause, leaving open how to make the agent exploit learned shortcuts without giving up its zero-shot flexibility.

  • Removing or reducing the hand-tuned retrieval weights. Relevance, recency, and salience are combined with fixed coefficients (1.0, 0.3, 0.3) and a fixed decay (0.85), with seed budget 3 and place budget 5; whether these can be learned, adapted per instruction type, or made uncertainty-aware is untested.

  • Extending memory beyond a single episode. The world graph is accumulated during one episode and starts empty each time; persistent cross-episode or cross-robot memory, and how to keep such a graph consistent when the environment changes, is not addressed.

  • Stress-testing long-horizon and dynamic settings. The evaluation uses 100-episode subsets of the val-unseen splits, and the paper notes those subsets deviate from full-split results by no more than 1.1 percentage points; behavior over much longer trajectories, across floors, and with moving obstacles or people remains to be characterized.

  • Understanding the reflection mechanism more deeply. Failure notes are advisory only and never change the retrieval score; the reported 175 backtracks in 1,288 decisions suggest rich material for studying when negative evidence helps versus misleads under a changed subgoal.

Target Audience

Robotics and embodied-AI researchers working on zero-shot navigation and LLM-based agents will get the most from this paper, particularly those wrestling with context growth in long-horizon tasks. It is also valuable to engineers building deployed robot assistants who need to weigh navigation accuracy against per-episode API cost, and to students of agent memory who want a concrete example of grounding a memory stream (relevance/recency/importance plus reflection) in spatial structure. Readers should be comfortable with standard VLN benchmarks and metrics, but the architectural ideas are explained clearly enough for newcomers to follow.

Authors’ abstract

Vision-and-language navigation (VLN) enables robots to follow instructions in previously unseen environments. Recently, a training-free paradigm has emerged: the robot queries a multimodal LLM to understand its observations and plan the next action. However, long-horizon navigation based on either image streams or dense map inevitably introduces a growing memory and reasoning bottleneck. We present HAM-VLN, a decision-coupled, agent-authored memory that equips the robot with…

The full abstract on arXiv
Read the original paper

Related papers