TL;DR
This paper introduces Eik-HiQRL, a novel framework that reformulates Quasimetric Reinforcement Learning using a continuous-time Eikonal Partial Differential Equation (PDE). By enforcing value function consistency through gradients rather than discrete trajectories, it enables trajectory-free learning, acts as a powerful regularizer, and achieves state-of-the-art performance in offline goal-conditioned navigation.
What Problem Does This Paper Address?
Goal-Conditioned Reinforcement Learning (GCRL) allows agents to learn how to reach arbitrary goals without requiring meticulously hand-crafted reward functions. A key geometric insight in GCRL is that the optimal value function corresponds to the shortest path distance between states, which mathematically satisfies the properties of a quasimetric (a metric where the distance from $A$ to $B$ does not necessarily equal the distance from $B$ to $A$).
While Quasimetric RL (QRL) exploits this structure, existing implementations rely on discrete, trajectory-based constraints to enforce local consistency. This means they depend heavily on sequential transitions or short rollouts from a dataset. Consequently, standard QRL suffers from limited state-space coverage, struggles to generalize to out-of-distribution state-goal pairs, and fails to scale effectively to long-horizon, high-dimensional tasks.
Methods
The authors propose a continuous-time reformulation of QRL called Eikonal-Constrained Quasimetric RL (Eik-QRL). By assuming unit-speed, isotropic dynamics, they simplify the standard Hamilton-Jacobi-Bellman (HJB) equation into the classical Eikonal PDE.
Instead of checking sequential transitions, Eik-QRL uses automatic differentiation—akin to Physics-Informed Neural Networks (PINNs)—to enforce a local unit-slope gradient constraint: $$\|\nabla_s d(s,g)\| \le 1$$ This formulation makes the value learning process completely trajectory-free, meaning it only requires random, independently sampled pairs of states and goals rather than connected trajectories.
To overcome the limitations of the Eikonal assumption in complex systems, the authors introduce Eik-Hierarchical QRL (Eik-HiQRL). As illustrated below, the architecture splits the problem:
- High-Level Module: Learns an Eikonal-constrained quasimetric value function ($d^h$) over a lower-dimensional abstract space (e.g., coordinate positions) where the isotropic dynamics assumption holds true. It uses this to generate optimal subgoals.
- Low-Level Module: Uses standard temporal-difference (TD) learning to command the agent to reach those subgoals.
Datasets
The algorithms were evaluated using OGbench, a modern benchmark suite designed specifically for offline goal-conditioned RL. The environments tested include:
pointmaze: An idealized setup with isotropic dynamics.antmaze&humanoidmaze: High-dimensional locomotion tasks testing long horizons and data stitching.antsoccer,cube, &scene: Non-regular environments involving complex, contact-rich object manipulation and discrete mode switches (e.g., grasping).
Key Insights and Ideas
- Trajectory-Free Value Learning: Shifting to a continuous-time PDE allows the model to learn valid distance metrics from completely unsequenced, random states and goals. This is highly beneficial for domains where maps or free-space configurations are known but trajectories are not.
- Implicit PDE Regularization: Enforcing the Eikonal constraint requires calculating the full gradient vector at each sampled point. This couples all coordinate directions together, acting as a powerful regularizer that significantly improves out-of-distribution value estimation and trajectory stitching.
- Bypassing the Curse of Dimensionality: The approximation error of quasimetric neural networks scales exponentially with state dimensions. Eik-HiQRL elegantly solves this by restricting the quasimetric projection to a low-dimensional abstract space, leaving the high-dimensional control to a standard MLP.
Key Results
- State-of-the-Art Navigation: Eik-HiQRL achieves SOTA performance on the highly challenging
humanoidmazebenchmark. The performance gains are most pronounced in thelarge-stitchandgiant-stitchdatasets, proving its superior ability to stitch fragmented data together. - Collision Avoidance: Thanks to the smoother and more accurate value landscape provided by the PDE constraint, Eik-HiQRL drastically reduces collision rates. In
pointmaze, it achieved up to a 10x reduction in collisions compared to standard QRL, which frequently exploits wall-bumping behaviors. - Negligible Computational Overhead: Even though computing the Eikonal constraint requires an extra backward pass per minibatch for the input gradients, the wall-clock training time increased by less than 3% compared to standard QRL.
Limitations and Future Work
The primary limitation of Eik-QRL stems from its core assumption: isotropic, unit-speed dynamics ($f(s,a) = a$). While this is an excellent fit for navigation tasks, it introduces a geometric bias in contact-rich manipulation environments (like cube and scene). In these domains, the sharp discontinuities caused by making and breaking contact violate the smooth topology assumed by the Eikonal PDE, leading to performance that merely matches, rather than exceeds, standard TD baselines.
Future Directions: * Extending the continuous-time PDE framework to handle anisotropic, non-smooth, and hybrid dynamics. * Leveraging this geometric analysis to design representation-learning mechanisms that automatically construct embedding spaces optimized for PDE-constrained value learning.
Summary updated