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

Media reports Hugging Face Papers Source language: Chinese

GlanceNav uses constant‑size streaming memory and a counterfactual rewind RL method to achieve 71.9% success on R2R‑CE with only 104 ms per step.

Full text

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

Figure 1: 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. This design enables episode-level training with the same memory mechanism used at inference. Step latency is measured on an RTX PRO 6000, using StageVLN [7] with a similarly sized backbone as the baseline. (c) Success rates (SR) of si
Figure 1: 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. This design enables episode-level training with the same memory mechanism used at inference. Step latency is measured on an RTX PRO 6000, using StageVLN [7] with a similarly sized backbone as the baseline. (c) Success rates (SR) of si

Figure 1: 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. This design enables episode-level training with the same memory mechanism used at inference. Step latency is measured on an RTX PRO 6000, using StageVLN [7] with a similarly sized backbone as the baseline. (c) Success rates (SR) of single-RGB navigators on R2R-CE val-unseen (see Tab. 1). Arrows indicate improvements across our three training stages. ++1B denotes an additional geometry encoder.

1 Introduction

Vision-and-language navigation in continuous environments (VLN-CE) [3, 18, 20] asks an agent to follow a natural-language instruction through an unseen building, using only its egocentric observations. Multimodal large language models (MLLMs) now power most strong VLN-CE agents [50, 49, 5, 40, 48]. Many of them treat navigation as video question answering (Fig. 1a): at every step, they sample a fixed number of past frames, typically eight, and encode them again together with the current view.

This design has two problems. The first is the memory: each frame is processed once for every later decision that samples it, the policy cannot see what falls outside the sample, and every decision is trained as a separate sample. Streaming navigators avoid re-encoding by caching the key-value (KV) states of past observations [40, 56]. A full cache, however, grows linearly with the episode, so these methods bound it with sliding windows and pruned or compressed memories. Bounding the cache fixes the cost but not the memory: eviction is final, and whatever leaves the cache is invisible to every later decision. The second problem is how the agent learns from its own mistakes. Beyond DAgger [27], recent navigators are fine-tuned with outcome-based reinforcement learning (RL) such as GRPO [30, 55], which gives one scalar to all of the roughly one hundred decisions of a rollout and learns mostly from instructions on which some rollouts succeed and others fail, which become rarer as the policy improves. We therefore ask: can a navigator encode each frame only once, at a constant cost per step, and still remember what matters and learn efficiently from its own mistakes?

Hybrid MLLMs [45, 11, 26] remove the need to choose between cost and memory. Most of their layers are Gated DeltaNet (GDN) layers, which fold every token into a fixed-size recurrent state, and only a few are softmax attention. The whole episode is therefore always summarized in the state. The summary is lossy, so the few attention layers still need exact tokens, but only as a complement. The memory question thus changes from which part of the history to keep to which few frames should also be kept exactly.

GlanceNav (Fig. 1b) answers this question with the state itself. Its attention layers see a window of the most recent observations and a small bank of older keyframes, selected by a state-change score: the relative change that a frame causes in the recurrent state of the GDN layer below. A frame that the state already predicts changes it little, whereas a frame with new content, such as a new room, changes it more and is kept. The score has no parameters. Two properties follow. The memory has a constant size: each frame is encoded once, and a step costs the same throughout an episode. It is also causal: keyframes are selected from the past only, so the memory of every step can be built inside one forward pass over an episode, and GlanceNav is trained on whole episodes with its test-time memory instead of on isolated decisions.

The constant size also addresses the second problem: a snapshot of the agent’s entire memory takes 136 MiB and 1.4 ms to copy, at any step, so a rollout can be rewound to any earlier decision. Our Counterfactual Rewind (CoRe) detects when a rollout starts to move away from the goal, restores the simulator and the agent’s memory at the rollout’s closest approach to the goal, lets a shortest-path expert redo a few actions, and lets the policy finish. The difference in outcome between this branch and the original rollout then credits the policy’s continuation, and the expert’s actions only when the branch did better. A drifting rollout thus yields a contrast between two outcomes from the same state, instead of one scalar for the whole episode.

We train GlanceNav in three stages, using only the R2R-CE and RxR-CE training splits: episode-level supervised fine-tuning (SFT), DAgger, and CoRe on 1,000 instructions. With a 4B backbone, GlanceNav reaches 71.9% success rate (SR) on R2R-CE val-unseen and 73.6% on RxR-CE (Fig. 1c, Tab. 1). On R2R-CE, this is 9.1 points above the best previous single-RGB method trained without external data, and among all single-RGB methods that we compare with, only an 8B model trained with additional data scores higher. GlanceNav runs at 104 ms per step, less than half the step time of a step-wise navigator with a backbone of the same size (Tab. 3).

Our contributions are:

•

We propose a constant-size streaming memory for hybrid MLLM navigators, which keeps keyframes selected by a parameter-free state-change score, and an episode-level training scheme that matches deployment and encodes 8.6×8.6\times fewer frames than step-wise training.

•

We propose Counterfactual Rewind, an RL method that branches from a rollout’s closest approach to the goal using an 𝒪⁡(1)\mathcal{O}(1) memory snapshot, and credits the expert’s corrections and the policy’s continuation by their counterfactual outcome. One pass over 1,000 instructions adds 8.2 SR to the DAgger-trained policy, against 3.1 for GRPO on the same instructions (Sec. 4.4).

•

With a 4B backbone and no external training data, GlanceNav reaches 71.9% and 73.6% SR on R2R-CE and RxR-CE val-unseen at a constant 104 ms per step.

2 Related Work

Vision-language models for navigation. Early VLN-CE agents rely on panoramas, depth and waypoint predictors [18, 19, 13, 37]. Video MLLMs made navigation from a single RGB camera competitive [50, 49, 5]. Later work scales the training data [51, 52], or adds self-correction data [47], dual-system planners [39, 43], geometry encoders [48, 53, 25], auxiliary objectives [57, 7, 34], agentic decomposition [42] or stereo input [35]. Most of these methods build each decision from a resampled set of frames, and their best results use external data such as ScaleVLN [36], VQA or web video. GlanceNav keeps one persistent stream and uses no external data.

Streaming and selective memory. StreamVLN [40] keeps a sliding window of dialogue turns and a pruned memory of older ones. JanusVLN [48] keeps the KV caches of the initial and the most recent frames from a semantic and a geometry encoder [31]. Efficient-VLN [56] reuses the KV cache as well and packs several decisions of a trajectory into one training sequence. In LLMs and video models, KV-eviction methods keep tokens by recency, attention mass or query relevance [41, 54, 23]. Linear-attention and state-space layers replace the cache with a fixed-size state [29, 10, 8, 44, 45], and hybrid models interleave them with a few attention layers [17, 26]. Two recent works read the delta rule to decide which exact tokens to keep: HOLA [6] keeps tokens with a large committed write, and the concurrent DeltaS [21] evicts video chunks by their state drift without training. Our state-change score belongs to this family. Unlike these works, which target language and video understanding, we train a navigation policy end to end with the resulting memory and evaluate it in closed-loop control.

Learning from policy errors. DAgger [27] labels the states visited by the learner and is widely used by MLLM navigators [40, 48, 56]. ActiveVLN [55] trains an MLLM navigator with multi-turn GRPO [30], which we adopt as our RL baseline. Recent methods make its sparse outcome reward more informative: SACA [22] resamples from a divergence point found by an auditor, SeekVLN [38] contrasts counterfactual branches at evidence-seeking steps, and BudVLN [12] rectifies failures from the farthest progress along the reference path. Branching from intermediate states is also used in LLM reasoning [15], exploration [9] and test-time backtracking for VLN [16]. CoRe branches at the closest approach to the goal, restores the full streaming memory there in 𝒪⁡(1)\mathcal{O}(1), and imitates the expert only when its branch outperforms the original rollout, a Q-filter [24] estimated by a rollout instead of a learned critic.

3 Method

3.1 Preliminaries

Task Formulation. Given a natural-language instruction II, the agent navigates using egocentric RGB observations oto_{t} received at each time step tt. It selects an action ata_{t} from 𝒜={FORWARD,LEFT,RIGHT,STOP}\mathcal{A}=\{\texttt{FORWARD},\texttt{LEFT},\texttt{RIGHT},\texttt{STOP}\} according to a policy πθ(at∣I,o1:t,a1:t−1)\pi_{\theta}(a_{t}\mid I,o_{1:t},a_{1:t-1}). Navigation succeeds when the agent issues STOP within a predefined radius of the goal. We consider an RGB-only setting without access to depth, odometry, or panoramic observations.

Figure 2: Overview of GlanceNav. (a) Each frame is encoded once. GDN layers update recurrent states, while attention retains the instruction prefix 𝒫\mathcal{P}, recent steps, and selected keyframes within a fixed memory budget. (b) Frames are scored once by their relative recurrent-state change δs\delta_{s} (Eq. 2). On leaving the recent window, they compete for a layer-specific top-FF bank. (c) CoRe (training only). After the main rollout ends, CoRe restores the pose and full memory at k⋆k^{\s
Figure 2: Overview of GlanceNav. (a) Each frame is encoded once. GDN layers update recurrent states, while attention retains the instruction prefix 𝒫\mathcal{P}, recent steps, and selected keyframes within a fixed memory budget. (b) Frames are scored once by their relative recurrent-state change δs\delta_{s} (Eq. 2). On leaving the recent window, they compete for a layer-specific top-FF bank. (c) CoRe (training only). After the main rollout ends, CoRe restores the pose and full memory at k⋆k^{\s

Figure 2: Overview of GlanceNav. (a) Each frame is encoded once. GDN layers update recurrent states, while attention retains the instruction prefix 𝒫\mathcal{P}, recent steps, and selected keyframes within a fixed memory budget. (b) Frames are scored once by their relative recurrent-state change δs\delta_{s} (Eq. 2). On leaving the recent window, they compete for a layer-specific top-FF bank. (c) CoRe (training only). After the main rollout ends, CoRe restores the pose and full memory at k⋆k^{\star}, the closest checkpoint before the first drift trigger t†t^{\dagger}. An expert supplies at most HH corrective actions before the policy resumes. The branch–main return difference, Rb−RmR_{b}-R_{m}, determines positive-only expert credit and signed policy credit.

Backbone. We build on a hybrid MLLM [26]. A frozen vision encoder maps each frame to NvN_{v} visual tokens. The language model stacks NN blocks, each made of several GDN layers [45] followed by one softmax-attention layer, so every attention layer sits directly above a GDN layer. Each GDN head keeps a matrix state S∈ℝdk×dvS\in\mathbb{R}^{d_{k}\times d_{v}} and updates it at every token ii with the gated delta rule

Si=αi​Si−1+βi​ki​ei⊤,ei=vi−αi​Si−1⊤​ki,S_{i}=\alpha_{i}S_{i-1}+\beta_{i}\,k_{i}e_{i}^{\top},\qquad e_{i}=v_{i}-\alpha_{i}S_{i-1}^{\top}k_{i}, (1)

where αi∈(0,1)\alpha_{i}\in(0,1) is a data-dependent decay, βi∈(0,1)\beta_{i}\in(0,1) a write strength, kik_{i} a normalized key, and eie_{i} the part of the value viv_{i} that the decayed state does not predict.

Token stream. An episode is one token stream x=[𝒫;𝒢1;𝒢2;…]x=[\mathcal{P};\mathcal{G}_{1};\mathcal{G}_{2};\dots]. The prefix 𝒫\mathcal{P} holds the system prompt and the instruction. The step group 𝒢t\mathcal{G}_{t} holds the visual tokens of oto_{t} and the response rtr_{t}, i.e. the action as text. At test time, rtr_{t} is decoded greedily and appended to the stream, so the agent sees its own past actions.

3.2 Streaming memory

At step tt, only the tokens of 𝒢t\mathcal{G}_{t} pass through the model. What they can see is defined by a memory with three parts (Fig. 2a).

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

Recent window. Each attention layer keeps the exact KV rows of 𝒫\mathcal{P} and of the WW most recent groups, with their visual and action tokens.

Keyframe bank. When a group leaves the window, its action tokens are dropped and its NvN_{v} visual rows become a candidate for the bank ℬ(ℓ)\mathcal{B}^{(\ell)} of each attention layer ℓ\ell, which holds at most FF frames. We rank frames by how much they changed the recurrent state of the GDN layer directly below ℓ\ell (Fig. 2b). Let [bs,es][b_{s},e_{s}] be the token span of observation ss and SiS_{i} the state of that GDN layer (all heads) after token ii. The state-change score of frame ss is

δs(ℓ)=‖Ses−Sbs−1‖Fmax⁡(‖Sbs−1‖F,εℓ),\delta^{(\ell)}_{s}=\frac{\left\lVert S_{e_{s}}-S_{b_{s}-1}\right\rVert_{F}}{\max\big(\left\lVert S_{b_{s}-1}\right\rVert_{F},\ \varepsilon_{\ell}\big)}, (2)

where εℓ\varepsilon_{\ell} is a small constant that only matters for the first frames, when the state is still small. The score is computed once, when the frame is encoded. The bank keeps the FF frames of ℬ(ℓ)∪{s}\mathcal{B}^{(\ell)}\cup\{s\} with the highest scores, and the other frame is deleted. Kept rows retain their original positions, so nothing is re-encoded. A query of step tt in attention layer ℓ\ell attends to

𝒱t(ℓ)=𝒫∪ℬt(ℓ)∪𝒢t−W+1∪⋯∪𝒢t,\mathcal{V}^{(\ell)}_{t}=\mathcal{P}\,\cup\,\mathcal{B}^{(\ell)}_{t}\,\cup\,\mathcal{G}_{t-W+1}\cup\dots\cup\mathcal{G}_{t}, (3)

causally within 𝒢t\mathcal{G}_{t}. Each attention layer has its own bank, because useful frames may differ across depth.

What the score measures. Unrolling Eq. 1 over a frame gives, for each head,

Se−Sb−1=(A−1)​Sb−1⏟forgetting+∑i=beα¯i​βi​ki​ei⊤⏟new writes,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}}, (4)

with A=∏i=beαiA=\prod_{i=b}^{e}\alpha_{i} and α¯i=∏j=i+1eαj\bar{\alpha}_{i}=\prod_{j=i+1}^{e}\alpha_{j}. A frame scores high if the state could not predict it (large residuals eie_{i} are written) or if it makes the state forget, as at a room transition. A frame that the state already explains scores low. The score measures the net effect of both terms, a heuristic for how much new content a frame carries.

Constant cost. Each step processes only the tokens of one group. Attention reads at most |𝒫|+F​Nv+W​gmax|\mathcal{P}|+FN_{v}+W\,g_{\max} rows per layer, where gmaxg_{\max} is the size of the largest group, and the GDN state has a fixed size. The cost per step therefore does not grow with tt (Tab. 3).

Inference. Algorithm 1 summarizes one decision of GlanceNav.

Figure 3: Attention mask of episode-level training for one attention layer (schematic, W=3W{=}3, F=2F{=}2). Row tt shows the groups that step tt attends to. A group that leaves the window competes for the bank with its state-change score δs\delta_{s} (top), so every row is known before the layer runs, and one forward pass trains all steps of the episode with the memory used at test time.

Algorithm 1 One GlanceNav decision at step tt

1: GDN states, per-layer KV rows of 𝒫\mathcal{P}, ℬ(ℓ)\mathcal{B}^{(\ell)} and 𝒢t−W:t−1\mathcal{G}_{t-W:t-1}; image oto_{t}

2: if t>Wt>W then ⊳\triangleright step s=t−Ws=t{-}W leaves the window

3: for each attention layer ℓ\ell do

4: ℬ(ℓ)←TopFδ(ℓ)​(ℬ(ℓ)∪{visual rows of ​𝒢s})\mathcal{B}^{(\ell)}\leftarrow\mathrm{TopF}_{\delta^{(\ell)}}\big(\mathcal{B}^{(\ell)}\cup\{\text{visual rows of }\mathcal{G}_{s}\}\big)

5: delete the action rows of 𝒢s\mathcal{G}_{s} and the rejected frame

6: end for

7: end if

8: encode oto_{t} with the vision encoder ⊳\triangleright once

9: append the observation tokens through all layers; GDN states update, attention reads 𝒱t(ℓ)\mathcal{V}^{(\ell)}_{t} (Eq. 3)

10: store δt(ℓ)\delta^{(\ell)}_{t} for all attention layers (Eq. 2)

11: decode rtr_{t} greedily, append it, return at=parse⁡(rt)a_{t}=\mathrm{parse}(r_{t})

3.3 Training

Episode-level training. The scores of a frame depend only on tokens up to that frame, and the bank is a deterministic function of past scores. The visible sets 𝒱t(ℓ)\mathcal{V}^{(\ell)}_{t} of all steps can therefore be computed before attention layer ℓ\ell runs. We serialize a full expert episode with teacher-forced responses rt⋆r_{t}^{\star} and run a single forward pass. A detached side pass computes the scores and the bank of every step, and each attention layer applies the block-sparse mask Mi​j=𝟏[j∈𝒱t⁡(i)(ℓ)∧j≤i]M_{ij}=\mathbf{1}[j\in\mathcal{V}^{(\ell)}_{t(i)}\wedge j\leq i], where t⁡(i)t(i) is the step of token ii (). The loss averages the cross-entropy of the TT responses:

ℒSFT=−1T∑t=1T1|rt⋆|∑j=1|rt⋆|logπθ(rt,j⋆∣x<(t,j);M).\mathcal{L}_{\mathrm{SFT}}=-\frac{1}{T}\sum_{t=1}^{T}\frac{1}{|r^{\star}_{t}|}\sum_{j=1}^{|r^{\star}_{t}|}\log\pi_{\theta}\big(r^{\star}_{t,j}\mid x_{<(t,j)};M\big). (5)

Gradients flow through every GDN recurrence and through attention over the selected rows. Only the discrete selection is not differentiated. Unlike step-wise training, which builds one sample per decision and re-encodes its sampled history, one forward pass supervises every decision of an episode and encodes each frame once (Tab. 3).

DAgger. To expose the policy to its own mistakes, we follow common practice [40, 48] and collect on-policy data with the Stage-1 policy. A shortest-path expert takes over after clear failures. We keep the executed actions in the input stream, so that the memory is that of the rollout, but label every visited state with the expert’s action and train on these episodes together with the expert demonstrations (Sec. 4.3).

3.4 Counterfactual Rewind

Base algorithm. We follow the multi-turn GRPO recipe of ActiveVLN [55]. For each instruction, the policy samples GG main rollouts τ1:G\tau^{1:G}. Rollout τg\tau^{g} receives a terminal reward RgR^{g}, which is zero unless the agent stops within the success radius and otherwise decreases linearly with its final distance to the goal. All its decisions share the advantage A^g=(Rg−mean​R)/(std​R+ϵ)\hat{A}^{g}=(R^{g}-\mathrm{mean}\,R)/(\mathrm{std}\,R+\epsilon) within the group. In navigation, this signal is coarse, since one scalar covers every decision of a long episode. It also vanishes when all rollouts of a group fail, and merely ranks their stop distances when all succeed; such groups become common as the policy improves (Sec. 4.4).

Closest approach. Let dkd_{k} be the geodesic distance to the goal before decision kk, which the simulator provides, as for the reward. A main rollout is triggered at the first decision at which it is a margin η\eta farther from the goal than its best so far (Fig. 2c):

t†\displaystyle t^{\dagger} =min⁡{t:dt≥mink<t⁡dk+η},\displaystyle=\min\{t:\ d_{t}\geq\min_{k<t}d_{k}+\eta\}, (6)

k⋆\displaystyle k^{\star} =arg​mink<t†⁡dk.\displaystyle=\argmin_{k<t^{\dagger}}d_{k}.

Decision k⋆k^{\star} is the rollout’s closest approach to the goal.

Counterfactual branch. While a main rollout runs, we copy the agent’s memory whenever dkd_{k} reaches a new minimum, until the rollout is triggered. Because the memory has a constant size, a copy is cheap and costs the same at every step. If the rollout is triggered, we restore the simulator pose and the memory at k⋆k^{\star} after it ends. A shortest-path expert then takes at most HH actions, which are written into the agent’s own memory as its responses, and the policy continues with fresh samples for as many decisions as the main rollout had left at k⋆k^{\star}. Let RbR_{b} be the return of branch bb and RmR_{m} that of its main rollout.

Counterfactual credit. The branch is scored against its main rollout, Δb=(Rb−Rm)/s\Delta_{b}=(R_{b}-R_{m})/s, where s=max⁡(σR,smin)s=\max(\sigma_{R},s_{\min}), σR\sigma_{R} is the standard deviation of the main returns in the batch, and the floor smins_{\min} prevents division by a vanishing spread. Each response token (t,j)(t,j) then receives a weight wt,jw_{t,j}. Tokens of a main rollout τg\tau^{g} keep its advantage A^g\hat{A}^{g}. In a branch, the policy’s continuation receives Δb\Delta_{b}, and the expert’s actions receive [Δb]+=max⁡(0,Δb)[\Delta_{b}]_{+}=\max(0,\Delta_{b}), so a correction is imitated only if its branch obtained a higher return than the main rollout, a counterfactual Q-filter [24]. The prefix that the branch shares with its main rollout receives wt,j=0w_{t,j}=0. Δb\Delta_{b} contrasts two outcomes from the same state: it credits the correction and the continuation as a whole, not each action. The objective is

ℒCoRe=−1Z∑(t,j)wt,jlogπθ(yt,j∣x<(t,j)),\mathcal{L}_{\mathrm{CoRe}}=-\frac{1}{Z}\sum_{(t,j)}w_{t,j}\,\log\pi_{\theta}\big(y_{t,j}\mid x_{<(t,j)}\big), (7)

where yt,jy_{t,j} is response token jj at decision tt, conditioned on the full stream x<(t,j)x_{<(t,j)} before it, and ZZ is the number of response tokens of the main rollouts, as in the baseline. We optimize it with the clipped surrogate of the GRPO baseline and one on-policy update per batch, so that the importance ratio is one and the gradient equals that of Eq. 7. Equation 7 thus combines a policy gradient on sampled tokens with outcome-filtered imitation of the expert’s. Each triggered rollout has one branch. If no rollout is triggered, Eq. 7 is the GRPO objective, so CoRe changes training only where a rollout drifts. Algorithm 2 summarizes one CoRe update.

Algorithm 2 One CoRe update

1: policy πθ\pi_{\theta}, instructions {In}\{I_{n}\}, group size GG

2: for each InI_{n} and g=1,…,Gg=1,\dots,G do

3: roll out τg∼πθ\tau^{g}\sim\pi_{\theta}; until the trigger, copy memory and pose at each new minimum of dkd_{k} ⊳\triangleright 𝒪⁡(1)\mathcal{O}(1)

4: compute RgR^{g}; if triggered (Eq. 6), the last copy is the one at k⋆k^{\star}

5: end for

6: re-roll all-fail groups, then compute A^g\hat{A}^{g}

7: for each triggered main rollout mm do

8: restore pose and memory at k⋆k^{\star}

9: expert acts for at most HH actions, written into memory

10: policy continues; Δb←(Rb−Rm)/s\Delta_{b}\leftarrow(R_{b}-R_{m})/s

11: end for

12: one update on Eq. 7: mains A^\hat{A}, expert [Δb]+[\Delta_{b}]_{+}, continuation Δb\Delta_{b}

Validity of the credit. The return of the main rollout does not depend on the actions sampled in the branch, so RmR_{m} is a valid baseline for the policy’s continuation. The expert’s tokens are not samples of the policy, so their term is imitation, weighted by the outcome of the branch. The weight [Δb]+[\Delta_{b}]_{+} is shared by the whole correction: a helpful correction is not credited if the continuation fails by chance, and each of its actions is credited when the branch as a whole does better.

Why the closest approach? At the trigger t†t^{\dagger}, the agent is already lost, and most expert actions there are turns toward a goal that the agent cannot see. At k⋆k^{\star}, the expert instead redoes the moves with which the agent left its best position (Sec. 4.4). Distances and expert actions are used only during training; the policy needs neither at test time.

4 Experiments

Table 1: Comparison with state-of-the-art methods on R2R-CE and RxR-CE val-unseen. Pano., Odo., Depth and S.RGB: panoramic view, odometry, depth and single RGB input. External data: ✓ if a method trains on data from sources other than the R2R-CE and RxR-CE training splits, as reported by each method, and ✗ if it does not. Methods with other inputs are shown in gray for reference. Among single-RGB methods, the best and second-best results are in bold and underlined. †Additional geometry encoder. ‡Multi-view RGB.

Observation R2R-CE val-unseen RxR-CE val-unseen External Method Backbone Pano. Odo. Depth S.RGB NE↓\downarrow OS↑\uparrow SR↑\uparrow SPL↑\uparrow NE↓\downarrow SR↑\uparrow SPL↑\uparrow nDTW↑\uparrow data Panoramic, depth or multi-view input (for reference) GridMM [37] – ✓ ✓ ✓ 5.11 61.0 49.0 41.0 – – – – ✓ Reborn [1] – ✓ ✓ ✓ 5.40 57.0 50.0 46.0 5.98 48.6 42.1 63.4 ✓ NavMorph [46] – ✓ ✓ 5.75 56.9 47.9 33.2 8.85 30.8 22.8 44.2 – AgentVLN [42] 3B ✓ ✓ 3.88 73.5 67.2 64.7 3.92 69.5 61.3 74.6 ✓ OmniNav‡ [43] 3B ✓ 3.74 74.6 69.5 66.1 3.77 73.6 62.0 – ✓ Qwen-RobotNav‡ [52] 8B ✓ 3.53 78.5 72.1 66.6 3.58 76.5 65.7 72.5 ✓ Single RGB, trained with external data NaVid [50] 7B ✓ 5.47 49.1 37.4 35.9 8.41 23.8 21.2 – ✓ Uni-NaVid [49] 7B ✓ 5.58 53.3 47.0 42.7 6.24 48.7 40.9 – ✓ ActiveVLN [55] 3B ✓ 5.31 58.3 50.1 43.7 5.84 50.7 41.2 58.1 ✓ NaVILA [5] 8B ✓ 5.22 62.5 54.0 49.0 6.77 49.3 44.0 58.8 ✓ InternVLA-N1 (S2) [39] 7B ✓ 4.89 60.6 55.4 52.1 6.41 49.5 41.8 62.6 ✓ NavFoM [51] 7B ✓ 5.01 64.9 56.2 51.2 5.51 57.4 49.4 60.2 ✓ StreamVLN [40] 7B ✓ 4.90 63.6 56.4 50.2 5.65 54.4 45.4 63.7 ✓ JanusVLN† [48] 7B+1B ✓ 4.78 65.2 60.5 56.8 6.06 56.2 47.5 62.1 ✓ NaVIDA [57] 3B ✓ 4.32 69.5 61.4 54.7 5.23 57.4 49.6 67.0 ✓ DualVLN [39] 7B ✓ 4.05 70.7 64.3 58.5 4.58 61.4 51.8 70.0 ✓ SACA [22] 8B ✓ 4.19 69.3 64.7 56.9 4.75 62.1 51.7 66.0 ✓ CorrectNav [47] 7B ✓ 4.24 67.5 65.1 62.3 4.09 69.3 63.3 75.2 ✓ FutureNav† [53] 4B+1B ✓ 4.24 70.2 65.4 61.3 4.60 60.9 52.8 68.0 ✓ Qwen-RobotNav [52] 4B ✓ 4.22 73.6 66.9 60.5 4.15 71.3 61.5 68.6 ✓ Qwen-RobotNav [52] 8B ✓ 4.36 72.7 65.7 59.6 4.16 73.4 63.5 69.9 ✓ SeekVLN [38] 8B ✓ 3.7 75.2 67.5 61.4 4.9 59.7 50.3 63.6 ✓ Efficient-VLN [56] 8B ✓ 3.29 78.2 73.2 65.0 3.18 75.6 60.0 – ✓ Single RGB, R2R-CE and RxR-CE only: expert demonstrations JanusVLN† [48] 7B+1B ✓ 5.17 58.0 52.8 49.2 6.46 51.4 44.3 59.1 ✗ FutureNav† [53] 4B+1B ✓ 5.13 61.8 55.1 50.1 5.62 54.5 46.0 61.8 ✗ AdaGeoVLN† [25] 4B+1B ✓ 5.27 60.7 55.7 51.4 5.64 54.1 44.7 61.8 ✗ StageVLN [7] 4B ✓ 5.17 64.7 56.3 51.4 5.65 54.3 42.8 58.3 ✗ Single RGB, R2R-CE and RxR-CE only: demonstrations and on-policy training (DAgger, recovery data or RL) MonoDream [33] 2B ✓ 5.45 61.5 55.8 49.1 6.38 49.4 40.9 – ✗ BudVLN [12] 7B ✓ 4.74 65.6 57.6 51.1 5.79 56.1 46.6 63.2 ✗ SACA [22] 8B ✓ 4.57 64.9 60.3 55.1 4.90 60.3 49.8 62.1 ✗ ReflectVLN [32] 2×\times3B ✓ 4.19 67.3 62.8 58.5 3.98 66.0 57.2 – ✗ GlanceNav (ours) 4B ✓ 3.32 78.6 71.9 63.7 3.55 73.6 59.6 70.7 ✗

4.1 Experimental Setup

Benchmarks and metrics. We evaluate on the val-unseen splits of R2R-CE [18] (1,839 episodes) and RxR-CE [20] (3,669 English episodes) in Habitat [28] with Matterport3D scenes [4]. The agent observes 480×640480{\times}640 RGB images, moves forward 0.25 m or turns 15∘15^{\circ} per action, and succeeds if it stops within 3 m of the goal. Following standard practice, we report navigation error (NE), oracle success (OS), success rate (SR) and success weighted by path length (SPL) [2], and on RxR-CE also normalized dynamic time warping (nDTW) [14].

Model. We instantiate GlanceNav with Qwen3.5-4B [26], whose language model has N=8N{=}8 blocks of three GDN layers and one attention layer. The frozen vision encoder maps each frame to Nv=300N_{v}{=}300 tokens. The memory keeps W=4W{=}4 recent steps and F=4F{=}4 keyframes per attention layer, so attention reads at most 4,784 KV rows per layer, and the recurrent state occupies 48 MiB.

Training. All three stages use only the R2R-CE and English RxR-CE training splits (30,815 episodes with 3.13M actions). Stage 1 trains for one epoch, which takes 13.5 h on four H100 GPUs. Stage 2 collects DAgger episodes with the Stage-1 policy on the same instructions and trains for one more epoch with the same recipe. Stage 3 runs CoRe on 1,000 training instructions, 500 from R2R-CE and 500 from RxR-CE. Each update uses G=4G{=}4 rollouts per instruction, and one pass over the 1,000 instructions takes 125 updates, or 12.5 h on two RTX PRO 6000 GPUs. CoRe uses a trigger margin η=1\eta{=}1 m and at most H=16H{=}16 expert actions. Full hyperparameters and data-collection settings will be released with the code.

Compared methods. We report published results, and group the methods by their training data (Tab. 1). Most methods add data from other sources, such as ScaleVLN [36], VQA or web video. The others use only the R2R-CE and RxR-CE training splits, either as demonstrations or, like GlanceNav, also for DAgger or RL.

4.2 Comparison with the State of the Art

Navigation performance. GlanceNav reaches 71.9 SR and 63.7 SPL on R2R-CE val-unseen (Tab. 1). Among single-RGB methods that use only the R2R-CE and RxR-CE training splits, the best previous SR that we are aware of is 62.8 (ReflectVLN [32], which runs two 3B models and trains on recovery data), and the best SR from demonstrations alone is 56.3 (StageVLN [7]). GlanceNav improves on them by 9.1 and 15.6 points with a 4B backbone. Among all single-RGB methods of Tab. 1, only Efficient-VLN [56], an 8B model trained with ScaleVLN data, has a higher SR (73.2), and GlanceNav has the highest OS (78.6). On RxR-CE, GlanceNav reaches 73.6 SR, 7.6 points above ReflectVLN, and again only Efficient-VLN is higher (75.6).

Table 2: Inference cost per step at batch size 1: peak VRAM (GiB) and step time (ms). One step is one policy call (StreamVLN may emit up to four actions per call). Baseline numbers on the two desktop GPUs are from [7]; the Jetson numbers are measured with the same protocol. OOM: out of memory (32 GB; the other devices have 96 and 64 GB).

RTX 5090 RTX PRO 6000 Jetson AGX Orin Method GiB↓\downarrow ms↓\downarrow GiB↓\downarrow ms↓\downarrow GiB↓\downarrow ms↓\downarrow JanusVLN [48] OOM OOM 35.73 481.3 35.7 7389.8 NaVILA [5] 17.47 365.2 17.47 383.1 17.5 3531.0 StreamVLN [40] 17.48 233.4 17.48 209.8 17.6 2135.5 StageVLN [7] 10.24 304.5 10.24 229.8 10.2 2175.8 GlanceNav 8.68 135.7 8.68 103.9 8.9 839.1

Table 3: Step-wise vs. episode-level training of a Qwen3.5-4B navigator for one epoch on the same data (30.8K episodes, 3.13M actions). The step-wise model is the uniform-8 SFT model. Time: one epoch on four H100 GPUs.

Step-wise Episode-level (ours) History per decision 8 sampled frames state + window + bank Frames encoded per epoch 27.0M 3.13M Decisions per forward pass 1 102 Training time per epoch 42.6 h 13.5 h R2R-CE SR / SPL 46.5 / 42.3 52.4 / 48.7

Inference cost. Table 3 follows the protocol of StageVLN [7]. On an RTX PRO 6000, GlanceNav takes 103.9 ms and 8.68 GiB per step, about half the time and memory of StreamVLN and less than half the time of StageVLN, which re-encodes eight frames with a backbone of the same size. Because the memory has a constant size, the step time stays flat along an episode. With a full KV cache instead, the same backbone slows from 93.6 to 152.8 ms per step over 500 steps, while an eight-step window stays at 84 ms (Tab. 4). For the same reason, a snapshot of the full memory, as used by CoRe, takes 136 MiB and 1.4 ms at any step.

Latency breakdown. In an instrumented run on the RTX PRO 6000, a step spends 8.7 ms in the vision encoder, 35.5 ms appending the observation, and 55.4 ms decoding the response. Window-only models (W=4W{=}4 to 99) run at 84–87 ms per step and bank models at 103–106 ms, for every bank size we measured. A randomly filled bank of the same size runs at 89.1 ms, so about 15 ms go to our unfused scoring code, which could be fused into the GDN kernel.

Steps Full cache Window (W=8W{=}8) Full-cache KV rows 16–115 93.6 84.0 36,962 116–215 110.4 84.1 68,762 216–315 120.4 84.5 100,562 316–415 138.1 84.1 132,362 416–515 152.8 84.6 164,162

Table 4: Full KV cache vs. bounded window. Median step time (ms) of a full KV cache and an eight-step window over 500 measured steps after 16 warm-up steps, in bins of 100 steps (RTX PRO 6000, same backbone). KV rows: the largest number of rows of an attention layer in each bin.

Memory snapshot. A snapshot holds the recurrent and convolution states of the 24 GDN layers (49.5 MiB in FP32), the KV rows of prefix, bank and window of the 8 attention layers, the bank scores and the step counter: 135.7 MiB in total, cloned on the GPU in 1.4 ms. These numbers are measured on training episodes, whose instruction prefixes are far shorter than the maximum prefix length. A full-history KV cache of the same layers would need at least 914 MiB at t=100t{=}100 and 3,502 MiB at t=400t{=}400, and a re-encoding policy would have to re-encode its history after each rewind.

Training cost. Table 3 compares episode-level training with the step-wise training used by most MLLM navigators, on the same backbone and data. The step-wise model encodes, for every decision, the current frame and up to eight sampled history frames, 27.0M frames per epoch. The episode-level model encodes each of the 3.13M frames once, 8.6×8.6\times fewer, and supervises about 100 decisions per forward pass, so one epoch takes 13.5 h instead of 42.6 h. It also reaches a higher SR (52.4 vs. 46.5), although the step-wise model comes from a separate code base, so this compares two systems and does not isolate the training scheme.

Agreement of training and inference. We replay real episodes of 64 and 128 steps with the same actions through the training pass and through the streaming path of the Stage-1 model. The two paths agree on the most likely response token in 99.5 to 100% of the cases and on 99.4 to 99.7% of the bank rows, and their logits differ by a root mean square of 0.03. The remaining differences are consistent with the different numerical kernels that the two paths use for the GDN recurrence.

4.3 Ablation Study

Table 5: Selecting the bank (Stage 1, R2R-CE val-unseen). Each row is a separately trained model with W=4W{=}4. A bank holds the visual rows of four frames (B=1,200B{=}1{,}200 rows) per attention layer: token rules keep the 1,200 highest-scoring visual rows, frame rules keep four whole frames. ee, vv, β\beta: residual, value and write strength of Eq. 1, averaged over heads unless noted. Cosine error: one minus the cosine between viv_{i} and its prediction by the state. Bottom: learned rankers.

Memory Unit Selection rule SR SPL Window only – – 48.7 45.0 Window + bank token β​‖e‖\beta\left\lVert e\right\rVert (committed write [6]) 51.7 48.4 token ‖e‖\left\lVert e\right\rVert (prediction error) 50.1 46.5 token (1−β)​‖e‖(1{-}\beta)\left\lVert e\right\rVert (unwritten error) 50.7 47.4 token β​‖v‖\beta\left\lVert v\right\rVert 50.4 46.9 token ‖v‖\left\lVert v\right\rVert 50.5 47.2 token cosine error, min over heads 49.9 46.7 token cosine error, mean over heads 49.0 45.4 frame mean committed write over the frame 49.3 45.5 frame new-writes term of Eq. 4, normalized as δs\delta_{s} 51.6 48.7 frame state change δs\delta_{s} of Eq. 2 (ours) 52.4 48.7 token learned linear ranker 51.7 48.2 token learned MLP ranker 50.7 47.2

Figure 4: Spending the memory budget (Stage 1, val-unseen SR; the models of Tab. 7). Orange: W=4W{=}4 with F=0,2,4,8F{=}0,2,4,8 keyframes. Blue: F=4F{=}4 with W=2,4,8W{=}2,4,8. Gray: no bank, W=4,8,12W{=}4,8,12. Both panels span 4.8 points.

Table 6: Random vs. scored bank under an earlier schedule (epoch-1 checkpoint of a two-epoch run; R2R-CE val-unseen). BB: bank rows per attention layer.

Memory WW BB Selection SR SPL Window only 8 0 – 46.3 41.8 Window only 9 0 – 43.5 40.2 Random bank 8 300 random 46.1 43.4 Token bank 8 300 β​‖e‖\beta\left\lVert e\right\rVert 49.3 45.9 Random bank 4 1,200 random 47.7 43.9 Token bank 4 1,200 β​‖e‖\beta\left\lVert e\right\rVert 51.0 47.4

Table 7: Memory budget (Stage 1, val-unseen SR). Each row is a separately trained model. Frames: W+FW{+}F, the frames visible to an attention layer. Plot: Tab. 5.

Memory WW FF Frames R2R-CE RxR-CE Window only 4 0 4 48.7 55.0 8 0 8 49.0 55.3 12 0 12 51.2 56.7 Window + bank 2 4 6 49.2 56.2 4 2 6 50.8 58.3 4 4 8 52.4 56.6 4 8 12 51.3 57.4 8 4 12 51.0 56.0

Streaming memory. Table 5 trains a Stage-1 model for each memory. Adding a bank of four keyframes to the four-step window raises SR from 48.7 to 52.4. The gain depends on what the bank holds. Averaging the token scores of a frame gives 49.3, close to the window alone, and under an earlier training schedule, a bank of randomly chosen tokens did not help at all, whereas a scored bank of the same size raised SR from 46.3 to 49.3 (Tab. 7). Among the better scores, the differences are small. Keeping tokens by their committed write, as in HOLA [6], or by a learned ranker gives 51.7, and our frame-level score is not significantly better (p=0.59p{=}0.59, exact McNemar test). We use δs\delta_{s} because it keeps whole frames, has no parameters, and has the clear reading of Eq. 4.

Scoring rule. Table 5 compares ten parameter-free scores read from the GDN layer below each attention layer, and two learned rankers trained to predict a token’s future attention mass. The frame-level state-change score of Eq. 2 gives the highest SR. However, the SR of the ten GDN-derived scores has a standard deviation of only 1.1 points (49.0 to 52.4). Neither learned ranker improves on the parameter-free scores. Averaging the committed write over a frame is the worst frame-level rule, so the result is not explained by frame granularity alone.

Random bank. Under an earlier schedule (the epoch-1 checkpoint of a two-epoch run), we compared random and scored banks directly (Tab. 7). A bank of random old tokens does not help (−0.2-0.2 against the window alone, p=0.90p{=}0.90), whereas a bank of the same size filled by the committed write raises SR from 46.3 to 49.3 (p=0.023p{=}0.023) and beats the random bank by 3.2 points (p=0.018p{=}0.018). Moving budget from the window to the bank helps further, and a ninth recent step, which costs about as much as a one-frame bank, lowers SR. The policy also relies on its bank: serving the committed-write model of Tab. 5 without its bank costs 1.7 points (p=0.12p{=}0.12).

Memory budget. Table 7 trains a model for each budget. With eight visible frames, a window of four steps and four keyframes outperforms a window of eight steps by 3.4 SR on R2R-CE and 1.3 on RxR-CE, and a window alone needs twelve frames to come close (51.2 and 56.7). On R2R-CE, a larger bank or window does not help further (51.3 and 51.0). On RxR-CE, the banks with W=4W{=}4 lie within 1.7 points of each other, and two keyframes score highest. We keep W=4W{=}4 and F=4F{=}4, the best budget on R2R-CE. Table 5 plots the eight models of Tab. 7 against the number of frames visible to an attention layer. Starting from the four-step window, the next frames help more as keyframes than as recent steps on both benchmarks: with six or eight visible frames, every model with a bank outperforms the window-only models, and a window alone needs twelve frames to be on par. The split matters as well. A window of two steps with four keyframes is 3.2 points below W=4W{=}4 on R2R-CE (0.4 on RxR-CE), and a window of eight steps does not improve on W=4W{=}4 either.

DAgger labels and data. We follow the recovery protocol of JanusVLN [48]: the Stage-1 policy drives greedily on the training instructions, and a shortest-path expert takes over after clear failures and returns control to the policy at the next waypoint. Because the memory of GlanceNav contains its own responses, a takeover restores the memory snapshot taken after the observation and appends the expert’s response instead of the learner’s. Inputs, recurrent state and bank are therefore those of the executed trajectory. We keep episodes that end at the goal and contain a detour, which gives 14,195 episodes with 1.61M steps. In 31% of the collected steps, the executed action is a mistake of the learner made before a takeover, so supervising the executed actions imitates these mistakes. We therefore keep the input stream bit-exact, so that recurrent state and bank match the rollout, and replace only the targets by the expert’s action at every visited state (oracle relabeling). During collection, the expert also overrides the learner’s STOP proposals until the agent is very close to the goal, so near the goal both labels say “keep moving”. We truncate each episode at the learner’s first STOP proposal near the goal and label that step STOP (STOP correction). We train for one epoch from the Stage-1 weights on the DAgger episodes together with the expert demonstrations of the 16,620 training instructions for which no DAgger episode was kept, so that every instruction appears once (30,815 episodes in total).

Table 8 shows that both the labels and the demonstrations matter. Supervising executed actions does not improve SR, although the agent reaches the goal area far more oft

Sources

← Back to Daily AI Report