A Riemannian Take on Distance Fields and Geodesic Flows in Robotics
Yiming Li, Jiacheng Qiu, Sylvain Calinon
TL;DR
The paper addresses the challenge of representing and exploiting spatial relationships on non-Euclidean robot manifolds by solving the Riemannian eikonal equation to obtain geodesic distance fields. It introduces NES, a grid-free, physics-informed neural network that learns a two-point distance field $U(\mathbf{q}_s, \mathbf{q}_e)$ and its gradient, enabling real-time geodesic backtracking on high-dimensional configuration spaces; the method is extensible via conditioning on task-space boundaries and on metric parameters $\omega$. NES leverages two loss terms, $\mathcal{L}_{\mathrm{eik}}$ and $\mathcal{L}_{\mathrm{div}}$, and enforces symmetry and non-negativity through a factorized distance representation, achieving globally consistent distance fields without labeled distances. The paper validates NES on kinetic-energy and Jacobi metrics, task-space pullbacks, and obstacle/stability scenarios, showing comparable or superior geodesic quality and substantial online efficiency relative to baselines like GRT and OC, with clear integration into QP-based control and task prioritization. Overall, the approach provides a scalable, geometry-aware prior that improves energy-efficient planning and control for both 2-DoF and 7-DoF manipulators, with potential to extend to broader metric spaces and dynamic programming frameworks.
Abstract
Distance functions are crucial in robotics for representing spatial relationships between a robot and its environment. They provide an implicit, continuous, and differentiable representation that integrates seamlessly with control, optimization, and learning. While standard distance fields rely on the Euclidean metric, many robotic tasks inherently involve non-Euclidean structures. To this end, we generalize Euclidean distance fields to more general metric spaces by solving the Riemannian eikonal equation, a first-order partial differential equation whose solution defines a distance field and its associated gradient flow on the manifold, enabling the computation of geodesics and globally length-minimizing paths. We demonstrate that geodesic distance fields, the classical Riemannian distance function represented as a global, continuous, and queryable field, are effective for a broad class of robotic problems where Riemannian geometry naturally arises. To realize this, we present a neural Riemannian eikonal solver (NES) that solves the equation as a mesh-free implicit representation without grid discretization, scaling to high-dimensional robot manipulators. Training leverages a physics-informed neural network (PINN) objective that constrains spatial derivatives via the PDE residual and boundary and metric conditions, so the model is supervised by the governing equation and requires no labeled distances or geodesics. We propose two NES variants, conditioned on boundary data and on spatially varying Riemannian metrics, underscoring the flexibility of the neural parameterization. We validate the effectiveness of our approach through extensive examples, yielding minimal-length geodesics across diverse robot tasks involving Riemannian geometry.
