---
title: 'JanusVLN: Dual-Memory RGB Navigation'
url: https://www.emergentmind.com/topics/janusvln
type: topic
---

# JanusVLN: Dual-Memory RGB Navigation

Searching arXiv for the specified paper to ground the article and cite the correct arXiv ID.
JanusVLN is a vision-and-language navigation framework that decouples visual-semantic and spatial-geometric representations through a dual implicit neural memory for streaming, RGB-only navigation. In the formulation studied in "JanusVLN: Decoupling Semantics and Spatiality with Dual Implicit Memory for Vision-Language Navigation" [2509.22548], an embodied agent receives an egocentric RGB stream $O_T = \{x_0, \ldots, x_t\}$ with $x_t \in \mathbb{R}^{3 \times H \times W}$ and a natural language instruction $I$ of $l$ tokens, and at each timestep selects a low-level action $a_{t+1} \in \{\text{Move\_Forward}, \text{Turn\_Left}, \text{Turn\_Right}, \text{Stop}\}$. The framework extends a Multimodal Large Language Model with an RGB-to-3D spatial encoder, builds fixed-size implicit memories via key–value caching, and incrementally updates those memories using an initial anchor and a sliding window. Its central claim is that compact, implicit neural states can preserve both “what” and “where” more effectively than explicit textual maps or stored frame histories while reducing inference overhead [2509.22548].

## 1. Problem formulation and motivation

Vision-and-Language Navigation requires an embodied agent to navigate through unseen environments, guided by natural language instructions and a continuous video stream. In continuous VLN, each action corresponds to a small physical change, such as a $30^\circ$ rotation or a $25$ cm forward step. The problem is therefore not only instruction following, but also long-horizon accumulation of scene understanding under partial observability.

JanusVLN is motivated by limitations in recent MLLM-based VLN systems. Prior methods typically either build textual cognitive maps, consisting of object nodes and relation edges, or store raw historical frames. The paper argues that text-only maps sacrifice precise spatial relationships, including depth, layout, and orientation, and become cluttered as trajectories get long. Frame histories, by contrast, require reprocessing the entire sequence at each step, which incurs substantial computational redundancy and memory growth. Both approaches are described as leading to spatial information loss, memory bloat, and inefficient inference [2509.22548].

A second motivation concerns representation bias in standard VLM and MLLM vision encoders. Most inherit 2D image-text pretraining, emphasizing semantics—“what”—while under-modeling 3D geometry—“where, layout, relative pose.” JanusVLN is designed around the observation that RGB frames still contain perspective, occlusion, and geometric cues. The framework therefore injects 3D priors into an MLLM without requiring active depth sensors or precomputed point clouds. This suggests a reformulation of RGB-only VLN in which geometry is not an auxiliary modality, but an implicit property to be extracted and retained.

## 2. Dual-memory principle and conceptual contribution

The core contribution is a dual implicit neural memory inspired by hemispheric specialization of the human brain: a “left” semantic system and a “right” spatial system. JanusVLN instantiates this analogy as two compact, fixed-size memories. The visual-semantic memory $M_{\text{sem}}$ stores high-level semantic structure via KV caches from the MLLM’s semantic encoder, while the spatial-geometric memory $M_{\text{spa}}$ stores geometry-aware structure via KV caches from a 3D spatial encoder, specifically VGGT [2509.22548].

This decoupling is operational rather than merely descriptive. The system uses a dual-encoder pipeline, one purely semantic and one purely spatial-geometric, and fuses their outputs into a spatially-aware feature $F_t$ that is then consumed by the action policy of the backbone LLM. Unlike explicit memory approaches, JanusVLN does not cache raw images or generated text. It caches deeply processed neural states, namely transformer keys and values, so that historical information can be reused directly by attention.

The paper positions this as a distinct memory paradigm. Earlier MLLM-based VLN methods store texts or frames and perform full-sequence re-encoding at each step. JanusVLN instead builds streaming KV caches per encoder, retains only initial “attention sinks” and a sliding window of recent frames, and directly attends to cached KVs for each new frame. The stated effect is elimination of redundant extraction under a bounded memory budget. A plausible implication is that JanusVLN reframes navigation memory from an external symbolic record into an internalized latent state that is both task-conditioned and architecture-native.

## 3. Architecture: semantic encoder, spatial encoder, and fusion

The visual-semantic encoder is the vision branch of Qwen2.5-VL 7B. For an input frame $x_t$, it produces patch tokens
$$
S_t = Encoder_{\text{sem}}(x_t), \qquad S_t \in \mathbb{R}^{\lfloor H/p \rfloor \times \lfloor W/p \rfloor \times C}.
$$
JanusVLN then applies the Qwen2.5-VL spatial merging strategy, grouping adjacent $2 \times 2$ patches into one token, yielding
$$
S'_t \in \mathbb{R}^{\lfloor H/(2p) \rfloor \times \lfloor W/(2p) \rfloor \times C}.
$$

The spatial-geometric encoder is VGGT, a feed-forward RGB-to-geometry model pre-trained on pixel–3D point cloud pairs. VGGT consists of an encoder for single-image features, a fusion decoder for cross-frame interaction, and a head that predicts a point map $P_t \in \mathbb{R}^{3 \times H \times W}$ and a confidence map $C_t \in \mathbb{R}^{H \times W}$. JanusVLN uses the encoder and fusion decoder outputs as geometric tokens rather than the predicted 3D outputs themselves:
$$
\{G_t\}_{t=1}^T = Decoder(Encoder(\{x_t\}_{t=1}^T)), \qquad (P_t, C_t) = Head(G_t).
$$
After alignment with Qwen2.5-VL merging, adjacent $2 \times 2$ blocks in $G_t$ are concatenated to form
$$
G'_t \in \mathbb{R}^{\lfloor H/(2p) \rfloor \times \lfloor W/(2p) \rfloor \times C}.
$$

Fusion is additive and spatially aware:
$$
F_t = S'_t + \lambda \cdot MLP(G'_t),
$$
with $\lambda = 0.2$ controlling spatial contribution. The fused visual features $F_t$ are combined with instruction tokens and passed into the Qwen2.5-VL LLM for action prediction in the discrete action space. Both vision encoders are frozen during training, while the Qwen2.5-VL 7B LLM is fine-tuned with a small learning rate, together with the fusion MLP [2509.22548].

The encoder-choice ablation clarifies the role of this design. Adding DINOv2 or SigLIP2 yields only marginal changes, and adding VGGT with random initialization gives no gain, whereas adding VGGT pretrained on pixel↔3D pairs raises performance substantially. This indicates that the improvement is tied to 3D priors rather than parameter count alone.

## 4. Implicit neural memory and incremental KV caching

JanusVLN defines implicit neural memory as the cached key–value tensors produced inside transformer attention blocks. Let $e \in \{\text{sem}, \text{spa}\}$ denote the encoder type, and let $X_t^e \in \mathbb{R}^{N \times C}$ be the token matrix at timestep $t$, where $N = \lfloor H/(2p) \rfloor \cdot \lfloor W/(2p) \rfloor$. For attention projections $W_Q^e, W_K^e, W_V^e \in \mathbb{R}^{C \times d}$, the paper defines
$$
Q_t^e = X_t^e W_Q^e, \qquad
K_t^e = X_t^e W_K^e, \qquad
V_t^e = X_t^e W_V^e,
$$
with each tensor in $\mathbb{R}^{N \times d}$.

The two memories are
$$
M_{\text{sem}}(t) = \{K_{\text{sem}}^{init}, V_{\text{sem}}^{init}, K_{\text{sem}}^{slide}(t), V_{\text{sem}}^{slide}(t)\},
$$
$$
M_{\text{spa}}(t) = \{K_{\text{spa}}^{init}, V_{\text{spa}}^{init}, K_{\text{spa}}^{slide}(t), V_{\text{spa}}^{slide}(t)\}.
$$
The initial memory retains the first $m$ frames permanently:
$$
K_e^{init} = [K_0^e; \ldots; K_{m-1}^e], \qquad
V_e^{init} = [V_0^e; \ldots; V_{m-1}^e].
$$
The sliding memory maintains the most recent $n$ frames in FIFO order:
$$
K_e^{slide}(t) = [K_{t-n+1}^e; \ldots; K_t^e], \qquad
V_e^{slide}(t) = [V_{t-n+1}^e; \ldots; V_t^e],
$$
for $t \ge n-1$, otherwise all $t+1$ frames. The final caches used at time $t$ are
$$
K_e(t) = [K_e^{init}; K_e^{slide}(t)], \qquad
V_e(t) = [V_e^{init}; V_e^{slide}(t)].
$$
Because $m$ and $n$ are fixed, with implementation values $m=8$ and $n=48$, the memory is fixed-size [2509.22548].

Attention uses the cached KVs directly:
$$
Att(Q_t^e, K_e(t), V_e(t)) = softmax\left(\frac{Q_t^e K_e(t)^T}{\sqrt{d}}\right)V_e(t).
$$
For VGGT, the cached $M_{\text{spa}}$ is used in the fusion decoder via cross-attention. The semantic encoder attends to $M_{\text{sem}}(t)$ analogously, and the LLM also retains KV caches from instruction tokens and visual tokens with the same initial-plus-sliding mechanism. The first $m$ frames function as “attention sinks,” serving as global anchors with sustained high attention weights, while the window tracks local dynamics.

The computational consequence is explicit. Let $M = m+n$ be the fixed memory size in frames. Without caching, each step reprocesses all $t+1$ frames and memory grows as $O(t \cdot N \cdot d)$. With dual implicit memory, per-step cost is $O(M \cdot N \cdot d)$ and memory is $O(M \cdot N \cdot d)$ regardless of $t$. The paper reports measured inference time on the current frame as follows: VGGT recomputation requires $268$ ms at $8$ frames and $1549$ ms at $32$ frames, with out-of-memory beyond approximately $48$ frames on a $48$ GB GPU; cached memory requires $82/149/195/244$ ms at $8/32/48/64$ frames. The reported reduction in inference overhead is $69$–$90\%$, with performance saturating around $48$ frames [2509.22548].

## 5. Training regime, benchmarks, and empirical performance

The training objective is the navigation action loss, with no auxiliary spatial losses or contrastive objectives:
$$
L_{nav} = - \sum_{t=0}^{T-1} \sum_{a \in A} y_{t,a} \log \pi(a \mid I, F_t; M_{\text{sem}}(t), M_{\text{spa}}(t)),
$$
and
$$
L_{total} = L_{nav}.
$$
JanusVLN fine-tunes only the Qwen2.5-VL 7B LLM and the fusion MLP, using learning rates $2e^{-5}$ for the LLM and $1e^{-5}$ for the projection MLP. The semantic encoder and the spatial encoder are frozen. Evaluation is conducted on the VLN-CE benchmarks R2R-CE (Val-Unseen) and RxR-CE (Val-Unseen), built from Matterport3D scenes in Habitat, using Navigation Error (NE), Oracle Success (OS), Success Rate (SR), Success-weighted Path Length (SPL), and normalized DTW (nDTW), with SR and SPL treated as primary metrics [2509.22548].

Following StreamVLN, the framework uses a subset of ScaleVLN containing $155$K trajectories, approximately $9{,}207$K image–action pairs, and DAgger data comprising $14$K trajectories, approximately $1{,}485$K image–action pairs, collected on standard R2R-CE and RxR-CE. The paper also reports a zero-extra-data variant, JanusVLN*.

On R2R-CE Val-Unseen, selected reported lines are: GridMM with SR $49.0$ and SPL $41.0$ using Pano+Odo+Depth; DreamWalker with SR $49.0$ and SPL $44.0$ using Pano+Odo+Depth; g3D-LF with SR $47.2$ and SPL $34.6$ using Odo+Depth+RGB; NaVid-4D with SR $43.8$ and SPL $37.1$ using Depth+RGB; NaVid with SR $37.4$ and SPL $35.9$ using single RGB and $953$K external samples; Uni-NaVid with SR $47.0$ and SPL $42.7$ using single RGB and $3577$K; NaVILA with SR $54.0$ and SPL $49.0$ using single RGB and $13132$K; StreamVLN with SR $56.9$ and SPL $51.9$ using single RGB and approximately $26330$K; JanusVLN* with SR $52.8$ and SPL $49.2$ using single RGB and $0$K extra; and JanusVLN with SR $60.5$ and SPL $56.8$ using single RGB and $10692$K extra. The paper summarizes these comparisons by stating that, against multi-input methods, JanusVLN improves SR by $10.5$–$35.5$ using single RGB only, and against methods using more RGB training data, it improves SR by $3.6$–$10.8$ [2509.22548].

On RxR-CE Val-Unseen, the reported selected lines are: Reborn with SR $48.6$, SPL $42.0$, and nDTW $63.3$ using Pano+Odo+Depth; Uni-NaVid with SR $48.7$ and SPL $40.9$ using single RGB; NaVILA with SR $49.3$, SPL $44.0$, and nDTW $58.8$ using single RGB; StreamVLN with SR $52.9$, SPL $46.0$, and nDTW $61.9$ using single RGB and approximately $26330$K; JanusVLN* with SR $51.4$, SPL $44.3$, and nDTW $59.1$ using $0$K extra; and JanusVLN with SR $56.2$, SPL $47.5$, and nDTW $62.1$ using $10692$K. The paper states that on RxR-CE, JanusVLN improves SR by $3.3$–$30.7$ over prior methods, with strong generalization.

## 6. Ablations, qualitative behavior, and limitations

The component ablation on R2R-CE with $0$K extra data attributes a distinct role to each memory. Full JanusVLN reports NE $5.17$, OS $58.0$, SR $52.8$, and SPL $49.2$. Removing spatial implicit memory reduces SR to $47.0$ and SPL to $40.9$. Removing semantic implicit memory reduces SR to $45.5$ and SPL to $40.0$. Removing both memories yields SR $24.8$ and SPL $16.8$. The paper concludes that both memories are indispensable and complementary: spatial memory yields large SPL gains, associated with path efficiency, while semantic memory boosts SR [2509.22548].

The extra-encoder ablation addresses a likely misconception that gains come merely from adding another encoder. With no extra encoder, SR is $47.0$ and SPL is $40.9$. Adding DINOv2 or SigLIP2 gives only marginal changes, with SR at most $47.9$. Adding VGGT with random initialization gives SR $47.2$, effectively no gain. Adding VGGT pretrained on pixel↔3D pairs raises SR to $52.8$ and SPL to $49.2$. The stated conclusion is that gains derive from 3D priors, not parameter count.

Fusion and data ablations further constrain interpretation. The appendix reports that $\lambda = 0.2$ in $F_t = S'_t + \lambda \cdot MLP(G'_t)$ yields the best performance, while concat and cross-attention fusion are competitive but slightly inferior. The data ablation reports that even without extra data, JanusVLN* outperforms several prior methods that use additional data, and that ScaleVLN or DAgger each improve performance, with the combination further boosting SR and SPL. This suggests that the framework is data-efficient within the reported training regime.

Qualitative results are presented through real-world case studies on a Unitree Go2 robot equipped with an Insta360 X5 front RGB camera, with inference performed on a remote server using an NVIDIA A10 GPU. The reported examples include “go to the farthest yellow stool,” which requires monocular distance discrimination; “stop beside the green potted plant (not in front of it),” which requires relational spatial reasoning; and “the stool beside the orange cabinet,” which requires spatial association. The paper notes that the spatial memory can be visualized as inferred depth and point clouds, and that attention sinks stabilize global scene anchors as trajectories evolve.

The limitations identified are bounded-memory limitations on very long instructions and extremely extended trajectories, possible stress on VGGT’s spatial priors under highly dynamic environments or fast camera motion, and the fact that the framework is RGB-only by design. Proposed future directions include adaptive memory policies such as learned retention and content-aware eviction, motion-aware geometry, temporal consistency constraints, lightweight egomotion estimation, multi-sensor integration, and transfer to other continuous embodied tasks such as manipulation and search. These are presented as extensions of the implicit-memory paradigm rather than as resolved capabilities.

Source: https://www.emergentmind.com/topics/janusvln