MemoryVLN: From Ego-Aware Memory Representation to Cross-Context Memory Reuse in Vision-Language Navigation

Xueyao Wei1,2, Yifei Wang3, Delun Li1,2, Shaoan Wang3, Junzhi Yu3, Wenjie Song1,†, Xingyu Chen2,†
1Beijing Institute of Technology 2Zhongguancun Academy 3Peking University
MemoryVLN conceptual overview: memory construction and memory management for long-horizon navigation

Turn a growing stream of first-person observations into compact, spatially grounded memory that can be retrieved within an episode and reused across contexts.

Abstract

Large vision-language models (LVLMs) have shown strong potential for embodied vision-language navigation (VLN), yet their performance degrades on long-horizon trajectories due to context-length limits, redundant historical observations, and unstable spatial alignment across time. These issues make it difficult to both compress long navigation histories and reliably reuse past spatial experience. To address these limitations, we propose MemoryVLN, a unified memory-driven navigation system built around memory construction and management. During memory construction, Long Sequence Compression employs forgetting-curve-inspired temporal sampling to preserve dense recent evidence and sparse yet representative distant observations under a limited token budget. Ego-Aware Memory Representation further integrates 2D semantic tokens, 3D geometric tokens, and 6D agent poses, allowing each memory to encode both what was observed and where it was observed. During memory management, Hierarchical Memory Bank maintains in-episode and context-level memories through cross-context warm-start and confidence-controlled write-back. Memory Enhancement then retrieves the Top-K relevant memories according to the current navigation state and fuses them with the current visual tokens. Together, these mechanisms transform raw navigation history into compact, spatially grounded, selectively retrievable, and reusable navigation experience. Extensive experiments on R2R-CE and RxR-CE demonstrate consistent improvements over the state-of-the-art baselines by a substantial margin (i.e., 2% and 6.5% in success rate).

Highlights

01

Unified Memory-Driven Navigation

We propose MemoryVLN, a unified memory-driven navigation system organized around memory construction and memory management, covering the complete memory process of compression, representation, storage, update, retrieval, and reuse.

02

Four Complementary Modules

Long Sequence Compression reduces long-history redundancy under a fixed token budget; Ego-Aware Memory Representation builds spatially grounded memories from 2D semantics, 3D geometry, and 6D poses; Hierarchical Memory Bank maintains in-episode and context-level experience; and Memory Enhancement retrieves and fuses relevant memories.

03

Strong Long-Horizon Results

On R2R-CE and RxR-CE, MemoryVLN improves the success rate over state-of-the-art, data-comparable baselines by approximately 2% and 6.5%, respectively, while using only a single RGB stream and standard VLN training trajectories.

Method

Memory construction turns raw observations into structured memory; memory management decides when that memory is stored, retrieved, and updated.

(a) Long Sequence Compression

An Ebbinghaus-inspired retention prior combines inter-chunk budget allocation with intra-chunk key-frame selection. Retention grows sublinearly as B(N)=min{N, max[Bmin, ⌊a+b√N⌋]}, preserving dense recent evidence and sparse representative distant landmarks under a bounded visual-token budget.

(b) Ego-Aware Visuospatial Representation

ViT-based 2D appearance tokens, frozen-VGGT 3D geometric tokens, and 6D agent poses are fused through a geometry residual. Each memory therefore encodes both what was observed and where it was observed, disambiguating visually similar locations.

(c) Hierarchical Memory Bank

A persistent Context-Level Bank warm-starts new episodes with the most similar prior and writes back only confidence-gated experience. An In-Episode Bank keeps recent frames in a FIFO short-term pool and consolidates distant history in a cosine-weighted long-term pool.

(d) Memory Enhancement

A frame-level query retrieves the Top-K memories from the joint short- and long-term pools. A softmax-weighted summary is interpolated with the current frame and injected as a residual into the current visual tokens before action prediction.

MemoryVLN pipeline: long sequence compression, ego-aware visuospatial representation, hierarchical memory bank, and memory enhancement feeding a Qwen2.5-VL-7B backbone
Detailed pipeline of MemoryVLN. (a) Long Sequence Compression performs inter-chunk budget allocation and intra-chunk key-frame selection. (b) Ego-Aware Visuospatial Representation integrates ViT-based 2D tokens, VGGT-based 3D tokens, and 6D agent poses. (c) Hierarchical Memory Bank maintains context-level and in-episode memories through warm start, write-back, and short-/long-term updates. (d) Memory Enhancement retrieves Top-K memories and residually fuses them with the current-frame tokens for action prediction.

Quantitative Results

Comparison with state-of-the-art methods on the R2R-CE and RxR-CE val-unseen splits, ablations, and paired significance tests.

Main Comparison

R2R-CE and RxR-CE val-unseen. ★ denotes methods using a waypoint predictor; † denotes models trained only with VLN-CE expert trajectories without additional navigation data. Best results in bold.

Method Observation R2R Val-Unseen RxR Val-Unseen
Pano. Odo. Depth S.RGB NE↓ OS↑ SR↑ SPL↑ NE↓ SR↑ SPL↑ nDTW↑
HPN+DN★✓✓✓--6.3140.036.034.0--------
CMA★✓✓✓--6.2052.041.036.08.7626.522.147.0
Sim2Sim★✓✓✓--6.0752.043.036.0--------
VLN-BERT★✓✓✓--5.7453.044.039.08.9827.022.646.7
Ego2-Map★✓✓✓--5.5456.047.041.0--------
DreamWalker★✓✓✓--5.5359.049.044.0--------
GridMM★✓✓✓--5.1161.049.041.0--------
Reborn★✓✓✓--5.4057.050.046.05.9848.642.063.3
InstructNav✓------6.89--31.024.0--------
COSMO✓--------56.047.040.0--------
AO-Planner✓----✓5.5559.047.033.07.0643.330.550.1
LAW--✓✓✓6.8344.035.031.010.908.08.038.0
MapNav--✓✓✓4.9353.039.737.2--------
g3D-LF--✓✓✓5.7059.547.234.6--------
Seq2Seq----✓✓7.7737.025.022.012.1013.911.930.8
NaVid-4D----✓✓5.9955.743.837.1--------
NavMorph----✓✓5.7556.947.933.28.8530.822.844.2
NaVid------✓5.7249.241.936.55.7245.738.2--
Sim2Real------✓5.9555.844.930.48.7936.725.518.1
Uni-NaVid------✓5.5853.347.042.76.2448.740.9--
StreamVLN-RGB-only------✓5.1064.055.750.96.1651.845.062.1
NaVILA------✓5.2262.554.049.06.7749.344.058.8
InternVLA-N1------✓4.8960.655.452.16.4149.541.862.6
JanusVLN†------✓5.1758.052.849.26.4651.444.359.1
MemoryVLN (Ours)------✓3.5259.9854.7650.263.3357.8450.4263.52

MemoryVLN uses a single RGB stream and standard VLN training trajectories, without DAgger rollouts or additional navigation data. Compared with the strongest data-comparable baseline, SR improves by about 2% on R2R-CE and 6.5% on RxR-CE.

Component Ablation

R2R-CE and RxR-CE val-unseen. Removing Long Sequence Compression leads to out-of-memory (OOM) because historical visual tokens grow with trajectory length.

DatasetVariantNE↓SR↑SPL↑
R2Rw/o Long-Seq. Comp.OOM
R2Rw/o Pos-Encoding3.6652.7549.25
R2Rw/o In-Episode3.5753.3449.06
R2Rw/o Context3.5554.1649.65
R2RFull MemoryVLN3.5254.7650.26
RxRw/o Long-Seq. Comp.OOM
RxRw/o Pos-Encoding3.3557.2448.74
RxRw/o In-Episode3.3056.6948.13
RxRw/o Context3.2957.3749.09
RxRFull MemoryVLN3.3357.8450.42

The four modules provide complementary benefits in scalability, spatial alignment, in-episode history preservation, and cross-episode reuse.

Paired Significance

Episode-level paired tests between JanusVLN and MemoryVLN on the same evaluation episodes. Differences are MemoryVLN minus JanusVLN in percentage points.

DatasetMetricNJanusVLNMemoryVLNΔ (pp)p
R2RSR1,83952.854.8+2.00.158
R2RSPL1,83949.050.3+1.20.327
RxRSR3,66951.057.2+6.22.7×10-12
RxRSPL3,57043.548.7+5.21.3×10-12

On R2R the differences are positive but not statistically significant; on RxR both SR and SPL differences are significant. Confidence intervals are paired bootstrap 95% intervals.

Selected R2R val-unseen comparisons for SR and SPL as functions of training data
Selected R2R val-unseen comparisons for SR and SPL as functions of training data. The dashed line marks 46.4% training data, the last data-matched comparison point; the reported-final point to its right is marked with an asterisk because it is not training-data matched. Annotations report MemoryVLN minus JanusVLN in percentage points.

Qualitative Results

Under identical instructions, JanusVLN loses instruction-relevant context and fails, whereas MemoryVLN preserves historical and spatial context and reaches the target.

Habitat Comparison: JanusVLN vs. MemoryVLN

JanusVLN MemoryVLN (Ours)

“Walk down the stairs and take a right to go down the next flight of stairs. Stop at the bottom of the stairs.”

JanusVLN · Fail · 110 steps · NE 4.28 m

MemoryVLN · Success · 45 steps · NE 0.03 m

JanusVLN MemoryVLN (Ours)

“Walk all the way forward and enter another door. Keep walking forward on the red carpet, and stop where the tiles are on the ground, and the end of the carpet.”

JanusVLN · Fail · 109 steps · NE 32.91 m

MemoryVLN · Success · 41 steps · NE 1.13 m

JanusVLN MemoryVLN (Ours)

“Begin facing 2 grey chairs. Turn around and head into the open closet door way to the right of the bed. Head down the length of the closet towards the washroom and you’re done.”

JanusVLN · Fail · 55 steps · NE 8.76 m

MemoryVLN · Success · 36 steps · NE 0.08 m

JanusVLN MemoryVLN (Ours)

“You are now facing to the wall, from there take an about turn, start walking straight through the narrow corridor. Search for the brown color in front of you and stand near it.”

JanusVLN · Fail · 40 steps · NE 3.03 m

MemoryVLN · Success · 53 steps · NE 0.08 m

JanusVLN MemoryVLN (Ours)

“Right now you are facing toward a stone wall. Make a slight left and get down the stair case in front you, you can see a carpet, walk through the carpet until where you can see a sofa in front of you.”

JanusVLN · Fail · 52 steps · NE 15.95 m

MemoryVLN · Success · 31 steps · NE 0.10 m

Real-World Navigation

Beyond simulation, MemoryVLN executes natural-language instructions on a physical robot in an indoor office environment.

Real-Robot Deployment (Unitree GO2)

Four natural-language instructions executed end-to-end on a quadruped robot, with navigation-policy inference on a single NVIDIA GeForce RTX 4090 GPU. Landmarks and routes are shown at 4× speed.

“Go out of the gym and move right, enter the conference hall, and stop in front of the podium.”

Task 1 · Conference-hall podium

“Go out and turn right, walk pass the printer and turn right, and stop in front of the coffee machine.”

Task 2 · Coffee machine

“Go out and turn right, walk pass the table and turn right, enter the second room and stop in it.”

Task 3 · Designated room

“Move forward and turn right, walk pass the elevator and stop in front of the water dispenser.”

Task 4 · Water dispenser

Failure Case Analysis

Four representative MemoryVLN failures, exposing limitations at the semantic-topological, terminal-grounding, memory-quality, and long-horizon progress levels.

All four trajectories have zero Success, SPL, and Oracle Success. NE is the final navigation error; Oracle NE is the minimum goal distance reached anywhere along the predicted trajectory.

DatasetScene / EpisodeStepsNEOracle NEColl.Failure type
R2RQUCTc6BB5sX / 5777828.6114.130Semantic branch confusion
R2Rx8F5xyUWy9e / 2316010.766.083Final-doorway grounding
R2REU6Fwq7SyZv / 12065610.285.820Failed-context reuse
RxR2azQ1b91cZZ / 56914416.4012.493Progress loss / early stop
Four representative MemoryVLN failure trajectories with egocentric observations and top-down maps
Representative MemoryVLN failure trajectories. From top to bottom, the rows illustrate room-level branch confusion, ordinal-sensitive final-doorway grounding, a landmark-turn error not corrected by context memory, and long-instruction progress loss. Each row pairs egocentric observations with a top-down map showing the goal, shortest path, and executed agent trajectory.

BibTeX

@article{memoryvln2027,
  title={MemoryVLN: From Ego-Aware Memory Representation to Cross-Context Memory Reuse in Vision-Language Navigation},
  author={Xueyao Wei and Yifei Wang and Delun Li and Shaoan Wang and Junzhi Yu and Wenjie Song and Xingyu Chen},
  journal={arXiv preprint},
  year={2027}
}