NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Navigation with QPHIL: Offline Goal-Conditioned RL in a Learned Discretized Space

Alexi Canesse, Mathieu Petitbois, Ludovic Denoyer, sylvain lamprier, Rémy Portelas · Submission to ICLR 2025 · Rejected

TL;DR

QPHIL (Quantizing Planner for Hierarchical Implicit Q-Learning) tackles long-horizon offline goal-conditioned reinforcement learning by discretizing continuous environments into learned topological landmarks. By combining a contrastive VQ-VAE with an autoregressive Transformer planner and low-level goal-conditioned policies, QPHIL replaces noisy, high-frequency continuous waypoint predictions with robust landmark sequences and explicit trajectory stitching, achieving state-of-the-art results on massive navigation benchmarks.

What Problem Does This Paper Address?

In offline goal-conditioned reinforcement learning (GCRL), agents must learn to navigate to arbitrary destinations solely from pre-collected, suboptimal demonstration trajectories without online environment interaction. A central failure mode in long-horizon tasks is the degrading signal-to-noise ratio (SNR) of temporal-difference value estimates: for distant targets, value errors easily overwhelm true policy improvement signals.

While recent hierarchical methods like Hierarchical Implicit Q-Learning (HIQL) mitigate this by breaking tasks into subgoals, they still plan in continuous space. This creates an awkward trade-off when selecting the subgoal horizon $k$: small intervals burden the low-level policy with noisy, erratic waypoint targets, whereas large intervals degrade the high-level policy's signal.

Methods

QPHIL decouples long-range navigation into four key stages:

  1. State Tokenization via Contrastive VQ-VAE: A Vector Quantized Variational Autoencoder maps continuous robot states into a discrete codebook of $k$ spatial landmarks. Crucially, in addition to reconstruction and commitment losses, the authors introduce a temporal contrastive loss (triplet margin loss). This prevents topologically separated regions (e.g., locations separated by a thin wall) from collapsing into the same token.
  2. Trajectory Compression & Explicit Stitching: Token sequences are compressed by removing consecutive identical tokens (e.g., 1 1 2 2 3 $\to$ 1 2 3). Because landmarks represent discrete spatial hubs, datasets can be augmented through explicit trajectory stitching—splicing together different demonstrations whenever they traverse the same landmark and share a future destination token.
  3. Discrete High-Level Planning: An encoder-decoder Transformer ($\pi^{\text{plan}}$) autoregressively generates the sequence of landmark tokens needed to reach the final goal, conditioned on history and the target landmark.
  4. Two-Tier Low-Level Execution (IQL):
  5. $\pi^{\text{landmark}}$: An Implicit Q-Learning (IQL) policy conditioned on the target landmark index, guiding the agent until it enters the target zone.
  6. $\pi^{\text{goal}}$: A standard goal-conditioned IQL policy that handles fine-grained continuous control once the agent arrives at the final landmark.
Raw State s0 ──> [Tokenizer] ──> Token ω0 ──┐
                                             ▼
Target Goal g ──> [Tokenizer] ──> Token ωg ─> [Transformer Planner] ──> Subgoal Plan (ω1, ω2, ..., ωn)
                                                                                  │
                  ┌───────────────────────────────────────────────────────────────┘
                  ▼
         [π_landmark(a | s, ω_t)]  ──> Reaches target zone ω_t, consumes token
                  │
                  ▼ (Once inside goal zone ωg)
         [π_goal(a | s, g)]        ──> Precision control to exact coordinates

Datasets

  • D4RL AntMaze: Standard benchmarks evaluated on medium and large mazes under both play (fixed start/goal regions) and diverse (random trajectories) dataset variants.
  • AntMaze-Ultra: A massive maze configuration introduced in prior literature to evaluate extreme scale.
  • AntMaze-Extreme (New Benchmark): A newly introduced environment roughly 166% larger in surface area than AntMaze-Ultra and three times the size of AntMaze-Large. Accompanied by new play and diverse offline datasets.
  • Random-AntMaze (New Evaluation Setup): Evaluates generalization by cycling across 50 widely distributed start-goal pairs across Ultra and Extreme mazes rather than sampling near two fixed points.

Key Insights and Ideas

  • Discrete beats continuous planning over long horizons: High-level continuous subgoal generators suffer from compounding regression noise. Treating waypoints as discrete token transitions simplifies planning to standard sequence modeling.
  • Contrastive regularization is vital for geometry: A standard VQ-VAE clusters purely based on state reconstruction, often bridging states across thin barriers. The temporal contrastive objective enforces that states within the same token must be reachable within a temporal window $\delta$, naturally aligning cluster boundaries with physical walls.
  • Imitation is sufficient for high-level plans: Experiments show that offline RL at the high-level policy offers marginal gains over simple behavior cloning paired with token-level data augmentation. Discretization enables deterministic trajectory stitching without having to trust noisy offline Q-values.

Key Results

  • AntMaze Scale-Up: On AntMaze-Ultra, QPHIL reaches 70.3% (diverse) and 64.5% (play), outperforming the previous best baseline HIQL (52.6% and 56.0%).
  • AntMaze-Extreme: On the new, largest benchmark, QPHIL scores 50.0% (play w/ aug) and 39.5% (diverse w/ aug), more than doubling HIQL (22.8% and 21.9%) and dramatically outperforming GC-IQL (8.0% and 6.5%).
  • Random Initializations: On Random-AntMaze-Extreme, QPHIL outperforms HIQL by over 20% absolute success rate (45.0% vs. 23.1% on diverse).
  • Ablations: Removing the contrastive loss caused token distributions to skew and split across corridors, degrading extreme maze performance from 39.5% down to 16.5%.

Limitations and Future Work

  • Domain Specialization: The current setup is heavily tailored to spatial navigation where low-dimensional positional tokens (24–96 codebook vectors) suffice; scaling this to high-DoF multi-task manipulation or complex visual state-spaces remains unexplored.
  • Open-Loop Planning: The primary pipeline plans token sequences open-loop at episode start. Although closed-loop replanning was tested and showed modest gains with sampling, integrating tree search (e.g., MCTS or Beam Search) for stochastic or dynamically shifted environments is left for future work.
  • Fixed Codebook Granularity: Codebook sizes are pre-selected per maze size rather than adaptively refined based on local topological complexity or uncertainty.

Summary updated

BibTeX
@inproceedings{canesse2025navigation,
  author = {Alexi Canesse and Mathieu Petitbois and Ludovic Denoyer and sylvain lamprier and Rémy Portelas},
  title = {{Navigation with QPHIL: Offline Goal-Conditioned RL in a Learned Discretized Space}},
  booktitle = {WRL @ ICLR},
  year = {2025},
  url = {https://openreview.net/forum?id=GLuZg4l8ms},
}
Figure