GlanceNav: Efficient Vision-and-Language Navigation with Streaming Memory and Counterfactual Rewind

Anh Dao1,2 Quan-Dung Pham2 Danh Vinh Le2 Tuyen Pham Le2 Quan Nguyen2,3 Yuzhang Shang1
1University of Central Florida 2VinMotion 3University of Southern California
At a glance

Encode each frame once. Remember what matters.

A 4B GlanceNav trained without external data, on R2R-CE and RxR-CE val-unseen.

71.9%
success rate on R2R-CE, +9.1 over the best previous single-RGB method without external data
73.6%
success rate on RxR-CE, +7.6 over the best previous method without external data
104ms
per step on an RTX PRO 6000, constant over the whole episode
8.6×
fewer frames encoded per training epoch than step-wise training
Abstract

Abstract

Multimodal large language models (MLLMs) have become strong policies for vision-and-language navigation (VLN). However, most of them encode a sample of past frames again at every decision and are trained on isolated decisions, so computation is redundant and the usable history is short. They also learn from their own mistakes through outcome rewards that give one scalar to a whole episode. We ask whether a navigator can encode each frame only once, at a constant cost per step, and still remember what matters and learn efficiently from its mistakes.

We present GlanceNav, a streaming navigator built on a hybrid MLLM. Its Gated DeltaNet layers carry a recurrent state through the whole episode, while its attention layers keep a short window of recent observations and a small bank of keyframes, selected by how much each frame changes the recurrent state. This constant-size memory keeps the cost per step fixed and allows training on whole episodes with the same memory as at inference. Because the entire memory can also be copied in constant time, we further propose Counterfactual Rewind (CoRe), a reinforcement learning stage that rewinds a drifting rollout to its closest approach to the goal, lets an expert correct a few actions, and credits decisions by the resulting change in outcome.

Trained only on the R2R-CE and RxR-CE training splits, with 1,000 instructions for reinforcement learning, a 4B GlanceNav reaches success rates of 71.9% and 73.6% on R2R-CE and RxR-CE val-unseen. On R2R-CE, it outperforms the strongest previous single-RGB method trained without external data by 9.1 points, while running at 104 ms per step.

Overview

Step-wise vs. streaming navigation

Most MLLM navigators treat each step as video question answering and re-encode about eight sampled frames at every decision. GlanceNav encodes each frame once and keeps a fixed-size memory.

GlanceNav at a glance: step-wise navigators vs. GlanceNav, and R2R-CE success rates
GlanceNav at a glance. (a) Step-wise navigators repeatedly encode sampled historical frames at each decision. (b) GlanceNav encodes each frame once, maintaining a recurrent state alongside a fixed-size window of recent observations and selected keyframes, which enables episode-level training with the same memory used at inference. Step latency is measured on an RTX PRO 6000, against StageVLN with a similarly sized backbone. (c) Success rates of single-RGB navigators on R2R-CE val-unseen; arrows show the gains of our three training stages.
Problem 1 · memory

Re-encoding is redundant, and eviction is final

Each frame is processed again for every later decision that samples it, and the policy cannot see what falls outside the sample. Streaming KV caches avoid re-encoding but grow with the episode, so they are bounded, and whatever leaves the cache is gone.

Problem 2 · learning from mistakes

One scalar for ~100 decisions

Outcome-based RL such as GRPO gives one reward to a whole rollout and learns mostly from instructions with mixed success and failure, which become rarer as the policy improves.

Method

A constant-size streaming memory

GlanceNav builds on a hybrid MLLM (Qwen3.5-4B). Most of its layers are Gated DeltaNet (GDN) layers that fold every token into a fixed-size recurrent state; a few are softmax attention. The question becomes not which history to keep, but which few frames should also be kept exactly.

Overview of GlanceNav: streaming memory, keyframe selection and Counterfactual Rewind
Overview of GlanceNav. (a) Each frame is encoded once. GDN layers update recurrent states, while attention retains the instruction prefix, recent steps, and selected keyframes within a fixed memory budget. (b) Frames are scored once by their relative recurrent-state change δs; on leaving the recent window they compete for a layer-specific top-F bank. (c) CoRe (training only) restores the pose and full memory at k*, the closest approach before the drift trigger t†, lets an expert supply at most H corrective actions, and credits by the branch–main return difference.

Recurrent state

GDN states are carried through the whole episode and never evicted. They summarize every observation in a fixed-size state (48 MiB), whatever the episode length.

Recent window

Each attention layer keeps the exact KV rows of the instruction prefix and the W = 4 most recent steps, with their visual and action tokens.

Keyframe bank

Frames that leave the window compete for F = 4 slots per attention layer, ranked by how much they changed the recurrent state below. Kept rows are never re-encoded.

The state-change score

A frame that the state already predicts barely changes it; a frame with new content, such as a new room, changes it a lot and is kept. The score has no parameters and is computed once, when the frame is encoded:

\delta^{(\ell)}_s=\frac{\lVert S_{e_s}-S_{b_s-1}\rVert_F}{\max\big(\lVert S_{b_s-1}\rVert_F,\ \varepsilon_\ell\big)}relative change of the GDN state below attention layer ℓ across the token span [bs, es] of frame s

Unrolling the gated delta rule over a frame shows what the score measures: the frame scores high if the state could not predict it (large residuals are written), or if it makes the state forget, as at a room transition.

S_e-S_{b-1}=\underbrace{(A-1)\,S_{b-1}}_{\text{forgetting}}+\underbrace{\textstyle\sum_{i=b}^{e}\bar\alpha_i\,\beta_i\,k_i e_i^{\top}}_{\text{new writes}}

Episode-level training that matches deployment

Keyframes are selected from the past only, so the memory of every step can be built inside one forward pass over a whole episode with a block-sparse attention mask. GlanceNav is trained on entire episodes with exactly its test-time memory, instead of on isolated decisions. The training and streaming paths agree on the top response token in 99.5–100% of cases.

Step-wiseEpisode-level (ours)
History per decision8 sampled framesstate + window + bank
Frames encoded per epoch27.0M3.13M
Decisions per forward pass1102
Training time per epoch (4× H100)42.6 h13.5 h
R2R-CE SR / SPL46.5 / 42.352.4 / 48.7

Same Qwen3.5-4B backbone and data (30.8K episodes, 3.13M actions), one epoch. The step-wise model comes from a separate code base, so the SR row compares two systems.

Reinforcement learning

Counterfactual Rewind (CoRe)

Because the memory has a constant size, a snapshot of the agent's entire memory takes 136 MiB and 1.4 ms to copy at any step. CoRe uses these snapshots to turn a drifting rollout into a contrast between two outcomes from the same state.

  1. Detect drift

    A rollout is triggered at the first decision t† where it is a margin η = 1 m farther from the goal than its best so far.

  2. Rewind

    Restore the simulator pose and the full streaming memory at k*, the rollout's closest approach to the goal, in O(1).

  3. Correct

    A shortest-path expert redoes at most H = 16 actions, written into the agent's own memory; then the policy finishes the episode.

  4. Credit by outcome

    The branch–main return difference Δ credits the policy's continuation, and the expert's actions only when the branch did better.

\Delta_b=\frac{R_b-R_m}{s},\qquad w_{t,j}=\begin{cases}\hat A^{g} & \text{main rollout}\\ \Delta_b & \text{policy continuation}\\ \max(0,\Delta_b) & \text{expert correction}\\ 0 & \text{shared prefix}\end{cases}a counterfactual Q-filter estimated by a rollout instead of a learned critic. With no trigger, CoRe reduces to GRPO.
Why the closest approach? At the trigger t†, the agent is already lost: 80% of expert actions there are turns toward a goal it cannot see, and the policy learns to spin. At k*, the expert instead redoes the moves with which the agent left its best position. Branching at k* rescued 12 of 16 failed rollouts in a probe, against 6 at t†.

Training stages

R2R-CE val-unseen SR. RL rows use one pass over the same 1,000 mixed R2R-CE + RxR-CE instructions (500 from each), with the same order and seed.

Groups that still carry a training signal

Share of instruction groups with an outcome contrast, by quarter of RL training.

As GRPO improves, fewer groups mix success and failure (64% → 36%). CoRe keeps about 60% of groups informative; 75% of its branches succeed and they rescue 53% of failed main rollouts.

Results

Comparison with the state of the art

GlanceNav (4B, no external data) against single-RGB navigators on R2R-CE and RxR-CE val-unseen. In the table, best and second best among single-RGB methods are in bold and underlined.

Model performance comparison

Success rate (%) of single-RGB navigators, val-unseen
GlanceNav (ours, 4B) Prior single-RGB methods Trained on R2R-CE + RxR-CE only
R2R-CE val-unseenRxR-CE val-unseen
MethodBackboneNE↓OS↑SR↑SPL↑NE↓SR↑SPL↑nDTW↑
Panoramic, depth or multi-view input (for reference)
GridMM–5.1161.049.041.0––––
Reborn–5.4057.050.046.05.9848.642.163.4
NavMorph–5.7556.947.933.28.8530.822.844.2
AgentVLN3B3.8873.567.264.73.9269.561.374.6
OmniNav‡3B3.7474.669.566.13.7773.662.0–
Qwen-RobotNav‡8B3.5378.572.166.63.5876.565.772.5
Single RGB, trained with external data
NaVid7B5.4749.137.435.98.4123.821.2–
Uni-NaVid7B5.5853.347.042.76.2448.740.9–
ActiveVLN3B5.3158.350.143.75.8450.741.258.1
NaVILA8B5.2262.554.049.06.7749.344.058.8
InternVLA-N1 (S2)7B4.8960.655.452.16.4149.541.862.6
NavFoM7B5.0164.956.251.25.5157.449.460.2
StreamVLN7B4.9063.656.450.25.6554.445.463.7
JanusVLN†7B+1B4.7865.260.556.86.0656.247.562.1
NaVIDA3B4.3269.561.454.75.2357.449.667.0
DualVLN7B4.0570.764.358.54.5861.451.870.0
SACA8B4.1969.364.756.94.7562.151.766.0
CorrectNav7B4.2467.565.162.34.0969.363.375.2
FutureNav†4B+1B4.2470.265.461.34.6060.952.868.0
Qwen-RobotNav4B4.2273.666.960.54.1571.361.568.6
Qwen-RobotNav8B4.3672.765.759.64.1673.463.569.9
SeekVLN8B3.775.267.561.44.959.750.363.6
Efficient-VLN8B3.2978.273.265.03.1875.660.0–
Single RGB, R2R-CE and RxR-CE only: expert demonstrations
JanusVLN†7B+1B5.1758.052.849.26.4651.444.359.1
FutureNav†4B+1B5.1361.855.150.15.6254.546.061.8
AdaGeoVLN†4B+1B5.2760.755.751.45.6454.144.761.8
StageVLN4B5.1764.756.351.45.6554.342.858.3
Single RGB, R2R-CE and RxR-CE only: demonstrations and on-policy training (DAgger, recovery data or RL)
MonoDream2B5.4561.555.849.16.3849.440.9–
BudVLN7B4.7465.657.651.15.7956.146.663.2
SACA8B4.5764.960.355.14.9060.349.862.1
ReflectVLN2×3B4.1967.362.858.53.9866.057.2–
GlanceNav (ours)4B3.3278.671.963.73.5573.659.670.7

† additional geometry encoder. ‡ multi-view RGB. Gray rows use panoramic, odometry, depth or multi-view input and are shown for reference only. Published numbers as reported by each method.

Efficiency

Constant cost per step

Each step processes only the tokens of one new observation. Attention reads a bounded number of rows and the GDN state has a fixed size, so step time stays flat along the episode.

Step time at batch size 1

Milliseconds per policy call; lower is better.

Full KV cache vs. bounded memory

Median step time (ms) along a 500-step episode, same backbone, RTX PRO 6000.

RTX 5090RTX PRO 6000Jetson AGX Orin
MethodGiB↓ms↓GiB↓ms↓GiB↓ms↓
JanusVLNOOMOOM35.73481.335.77389.8
NaVILA17.47365.217.47383.117.53531.0
StreamVLN17.48233.417.48209.817.62135.5
StageVLN10.24304.510.24229.810.22175.8
GlanceNav8.68135.78.68103.98.9839.1

Peak VRAM and step time per policy call (StreamVLN may emit up to four actions per call). Desktop baselines from StageVLN; Jetson numbers measured with the same protocol. OOM: out of memory on the 32 GB RTX 5090.

Ablations

What makes it work

Each row is a separately trained model.

Memory budget

Stage-1 val-unseen SR. Frames = W + F visible to an attention layer.

MemoryWFFramesR2R-CERxR-CE
Window only40448.755.0
80849.055.3
1201251.256.7
Window + bank
24649.256.2
42650.858.3
ours44852.456.6
481251.357.4
841251.056.0

With eight visible frames, four steps plus four keyframes beat an eight-step window by 3.4 SR; a window alone needs twelve frames to come close.

Ablation of CoRe

R2R-CE val-unseen, RL on 1,000 R2R-CE instructions only (the Training stages chart uses mixed R2R-CE + RxR-CE instructions); single runs.

MethodSRSPLOS
GRPO, G = 464.357.372.4
GRPO, G = 5 (same compute)66.558.775.2
CoRe variants
Self-rewind: policy acts in branch67.359.674.2
Branch at the trigger t†66.757.376.9
Imitate every correction67.059.376.3
No credit for expert actions64.957.774.6
CoRe (η = 1 m, H = 16)68.760.976.7

The outcome-filtered credit on expert corrections carries most of the gain; extra GRPO rollouts at matched compute do not close the gap.

Selecting the bank

Stage-1 R2R-CE SR, W = 4, bank of four frames' worth of rows.

Selection ruleUnitSRSPL
Window only–48.745.0
Committed write β‖e‖ (HOLA)token51.748.4
Prediction error ‖e‖token50.146.5
Mean committed writeframe49.345.5
New-writes term onlyframe51.648.7
Learned linear rankertoken51.748.2
State change δs (ours)frame52.448.7

Selected rows of the ten parameter-free scores and two learned rankers in the paper. A randomly filled bank does not help at all.

DAgger labels and data

R2R-CE val-unseen, from Stage 1, one epoch. TL: trajectory length (m).

Training dataSRSPLOSTL
Stage 152.448.758.09.4
DAgger, executed actions52.042.470.316.0
DAgger, oracle relabeling58.845.072.715.7
+ STOP correction60.748.873.215.1
+ demonstrations (Stage 2)63.756.770.611.2

Supervising executed actions imitates the learner's mistakes; relabeling every visited state with the expert's action adds 6.8 points with the same inputs.

Real-world deployment

Zero-shot on a Unitree G1 humanoid

Trained only in simulation (R2R-CE and RxR-CE), GlanceNav follows free-form instructions in an unseen office building, with no fine-tuning on real-world data. As in the paper, the instructions fall into two categories, moderate-length (T1) and long-range (T2). Every video is an uncut rollout, shown at 2× speed.

T1 · Moderate-length navigation

Tell visually similar objects apart and use their spatial or sequential relations to find the right stop.

T1 · moderate 2× speed
Paper Fig. 7a

Past the game tables to the wooden cabinet

Go straight, pass the foosball table, continue past the pool table, and stop in front of the wooden cabinet.
T1 · moderate 2× speed
Appendix A

Stop beside the pool table

Go straight, pass the foosball table, and stop beside the pool table.
T1 · moderate 2× speed
Appendix A

Left at the fire cabinet

Go straight until you reach the red fire extinguisher cabinet, then turn left, continue straight, and stop near the potted plant on your right.

T2 · Long-range navigation

Recognize landmarks and make decisions at several points along the route.

T2 · long-range 2× speed
Paper Fig. 7b

Fire cabinet to the hallway plant

Go straight until you reach the red fire extinguisher cabinet, then turn right. Continue straight along the hallway and stop in front of the potted plant at the end.
T2 · long-range 2× speed
Appendix A

Plants by the blue couch

Turn left at the intersection. Continue straight past a potted plant on your right, then keep going straight and stop in front of the next potted plant near the blue couch.
T2 · long-range 2× speed
Appendix A

Into the pantry, to the refrigerator

Go straight to the intersection with the red fire extinguisher box, turn right, continue straight for a short distance, then turn right into the pantry. Continue straight and stop in front of the refrigerator on the right side of the room.
Robot Unitree G1 humanoid Camera chest-mounted ZED X Mini, left RGB only Compute RTX 5090 workstation over Wi-Fi Real-world fine-tuning none

Plants by the blue couch (T2), key moments. The robot turns at the intersection, passes the first plant, and stops in front of the next potted plant near the blue couch.

Blue couch episode, step 1
1 · turn left
Blue couch episode, step 2
2 · pass plant
Blue couch episode, step 3
3 · go straight
Blue couch episode, final stop
4 · stop

Fire cabinet to the hallway plant (T2, Fig. 7b), key moments. The robot reaches the red fire-extinguisher cabinet, turns right, follows the hallway, and stops at the plant at its end.

Hallway episode, step 1
1 · go straight
Hallway episode, step 2
2 · turn right
Hallway episode, step 3
3 · hallway
Hallway episode, final stop
4 · stop
Citation

BibTeX

@article{dao2026glancenav,
  title   = {GlanceNav: Efficient Vision-and-Language Navigation
             with Streaming Memory and Counterfactual Rewind},
  author  = {Dao, Anh and Pham, Quan-Dung and Le, Danh Vinh and
             Le, Tuyen Pham and Nguyen, Quan and Shang, Yuzhang},
  journal = {arXiv preprint arXiv:2611.30900},
  year    = {2026}
}