Manuscript Offprint

arXiv:2610.33546

MOON: Learning When to Forget and How to Move On in Vision-and-Language Navigation

Jingmeng Zhou, Seson Sun, Binyao Xu, Lingming Zhang, Hanshi Wang, Fudong Ge, Weiming Hu, Jin Gao, Zhipeng Zhang

Abstract

Recent vision-and-language navigation (VLN) policies act on their visual history, and an incorrect action can take them off the instructed route. Paired interventions on four VLN policies show that clearing the history doubles pooled success at the onset of a deviation but lowers it on route, while later in a deviation, removing only the off-route frames helps much less. After a deviation, the retained history keeps the policy from turning where a turn is needed, which we call behavioral inertia. We propose MOON, a framework that equips a frozen VLN policy with two lightweight modules, adding less than 1% of its parameters. A deviation judge decides when to forget, raising an alarm that clears the history when it predicts that the agent is off route. A recovery policy, trained with GRPO from alarm states, learns how to move on, turning more of the successes found only by sampling into a single greedy rollout. Experiments on R2R-CE and RxR-CE show that MOON reaches the highest R2R-CE success rate among the compared methods and raises the success rate of its frozen base by 5.2 and 6.0 points, and an ablation with a random trigger indicates that this gain depends on when the history is cleared. Without retraining, MOON also improves zero-shot object-goal navigation on HM3D-OVON. Together, these results suggest that deviation recovery depends on knowing when to forget, not only how to act. Code is available at https://github.com/AutoLab-SAI-SJTU/MOON.

1 Introduction

Vision-and-Language Navigation (VLN) requires an embodied agent to follow natural-language instructions and reach a target location in a 3D environment using egocentric visual observations [3, 16]. Recent VLN policies leverage pretrained vision-language models to predict navigation actions from the instruction, the current observation, and the visual history [6, 35, 48, 52]. Yet long-horizon navigation remains vulnerable to action errors. An incorrect action can

Figure

Figure 1 MOON learns when to forget and how to move on. Left: one paired episode in an unseen environment, in which the base fails and MOON recovers after the judge's alarm (amber border), and the effect of clearing, which raises pooled success from 13.1% to 26.3% across 779 delayed states of four frozen policies. Middle: a deviation judge triggers history clearing and a trained recovery policy on a frozen 4B backbone. Right: R2R-CE and RxR-CE val-unseen results against recent leading monocular RGB models of Table 1, 4B versions where a model comes in several sizes, and zero-shot HM3D-OVON results against JanusVLN and NavFoM. Each radar axis is scaled to the range of the plotted models; labeled values are MOON's.

take the agent off the instructed route, causing a deviation. Unless corrected promptly, the agent must continue from an off-route state, where later errors can compound into task failure [26]. Beyond avoiding deviations, reliable VLN thus requires correcting course and resuming the instructed route after a deviation, which we refer to as deviation recovery.

Existing approaches to deviation recovery primarily improve the policy itself. They expose the policy to off-route states and teach it to return to the instructed route, either by continuing training on corrective trajectories from failed episodes [38, 43] or by reinforcement learning [19]. These approaches improve overall success, but because they change the policy and evaluate it over complete episodes, which mix on-route and off-route states, they do not isolate the effect of retaining the visual history during recovery. Appendix A reviews related work, including detectors that hand control to a separate controller [14]. Work on human memory suggests that retaining everything is not always useful: forgetting reduces the influence of outdated information on decisions in changing environments [25], and people segment their experience into a new event when their predictions fail [45]. In VLN, visual history may help before a deviation, when it records progress along the instructed route. Once the agent deviates, however, newly accumulated observations begin to describe an off-route trajectory that no longer corresponds to the instruction [15]. The policy must therefore learn to recover while still conditioning on a history increasingly shaped by its own mistakes. This history could provide useful context for retracing the route or reinforce the deviation. We ask: How does visual history affect recovery after a deviation?

To answer this question, we run paired interventions in the Habitat simulator [27] on R2R-CE with four VLN policies (NaVIDA, NaVILA, StreamVLN and Uni-NaVid) that realize three kinds of visual memory, without modifying their parameters. Following prior work [38, 43], a deviation occurs when the agent's distance from the reference route exceeds a threshold; from each deviation onset, we run the policy twice, once with its accumulated visual history and once with the history cleared, leaving only the instruction and the current frame. Clearing the history raises the success rate from 13.7% to 28.6% across 915 onset states from the four policies and lowers it from 76.0% to 48.3% on route; both effects hold for every policy. A natural explanation for the harm is that the accumulated off-route frames mislead the policy. We test this explanation at states ten or more steps after the deviation by retaining only the history up to the onset, which removes the later off-route frames while keeping the agent's on-route context. On these states, doing so raises the success rate only from 13.1% to 16.3%, well below the 26.3% that clearing reaches (Figure 1, left). The harm therefore does not come mainly from the off-route frames.

After a deviation, the retained history keeps the policy from turning where the new state calls for a turn. We call this behavioral inertia. At the deviation onset, after a forward step, a shortest-path expert at the same pose continues without a turn in only 2% of states. The four policies continue without a turn through their next decision in 48% of states, and in 11% once their history is cleared. Further interventions on the visual content of a full-length retained history, shuffling it or swapping in one from another scene, lower the success rate on route but barely change it after a deviation. These findings are consistent with a known failure mode of policies trained on expert demonstrations. During training, features associated with expert histories reliably predict expert actions, leading the policy to depend on them. After the policy leaves the expert distribution, these associations may no longer hold, but the policy continues acting on them and compounds its errors [8, 9, 31, 37]. We hypothesize that, in our setting, the history itself becomes such a feature through its presence and length more than its content: histories filled with current-frame copies or noise still cause most of the harm, and the harm grows with the retained length (Sections 2.2 and 2.3). Clearing the history reduces this inertia and doubles the recovery success rate. It does not reveal how to return to the route, however, and most deviations still end in failure. Yet among onset states where the retained greedy rollout fails, at least one of eight sampled rollouts after clearing succeeds in 61.6%, against 30.3% with the history retained (Section 2.4), so there exist many recoveries that a single greedy rollout misses.

Building on these insights, we propose MOON (Figure 1, middle), whose two components answer, respectively, when to clear the visual history and how to make recovery succeed after clearing. Both are added to a frozen policy and together amount to less than 1% of its parameters. The first component, a deviation judge, clears the visual history when it predicts that the agent is off route, because clearing on route is harmful. The second component, a recovery policy, takes over after clearing. Because reinforcement learning with verifiable rewards is effective at making behaviors that a policy can already sample more reliable [44], we train it with Group Relative Policy Optimization (GRPO) [29] on cleared rollouts from alarm states.

We evaluate MOON on R2R-CE and RxR-CE (Figure 1, right). On R2R-CE it reaches the highest success rate among the compared methods, 2.1 points above the next best, Qwen-RobotNav-4B [50], and it raises the success rate of its frozen base by 5.2 points on R2R-CE and 6.0 on RxR-CE. A random trigger with as many alarms lowers success below the base, so the gain depends on when the history is cleared. Without retraining, the same components improve zero-shot open-vocabulary object-goal navigation on HM3D-OVON [42]. Our contributions are threefold:

• Analysis. On four frozen VLN policies, paired interventions show that the visual history is beneficial on route and harmful after a deviation, that removing the off-route frames recovers only a small part of this harm, that the retained history keeps the policy from turning where a turn is needed (behavioral inertia), and that after clearing, sampling finds successes that a single greedy rollout misses (Section 2).

• Method. We propose MOON, two lightweight modules on a frozen policy: a deviation judge that learns when to clear the history and a recovery policy that learns how to recover (Section 3).

• Experiments. MOON reaches the highest R2R-CE success rate among the compared methods and competitive results on RxR-CE; its gain depends on when the history is cleared, and without retraining it improves zero-shot object-goal navigation (Section 4).

References (53)