Finding geodesics with the Deep Ritz method
Conor Rowan
TL;DR
The paper addresses finding geodesics between fixed endpoints on parameterized surfaces by formulating the problem as a variational boundary-value problem and solving it with the Deep Ritz method (DRM). By parameterizing the trajectory with a neural network and minimizing the discretized energy $E(\boldsymbol \theta(t))$ while enforcing Dirichlet boundaries automatically, the authors avoid shooting methods and demonstrate results across path planning, optics, solid mechanics, and latent-space interpolation. They derive the geodesic equations through the metric $g_{jk}(\boldsymbol \theta)$ and Christoffel symbols $\Gamma_{ijk}$, and show DRM optimizes a nonlinear system driven by the variational structure. The work highlights architectural strategies (e.g., Fourier feature embeddings) to overcome local minima and suggests that DRM can offer a competitive, scalable alternative for geodesic computations in SciML, with broad implications for trajectory optimization and generative modeling.
Abstract
Geodesic problems involve computing trajectories between prescribed initial and final states to minimize a user-defined measure of distance, cost, or energy. They arise throughout physics and engineering -- for instance, in determining optimal paths through complex environments, modeling light propagation in refractive media, and the study of spacetime trajectories in control theory and general relativity. Despite their ubiquity, the scientific machine learning (SciML) community has given relatively little attention to investigating its methods in the context of these problems. In this work, we argue that given their simple geometry, variational structure, and natural nonlinearity, geodesic problems are particularly well-suited for the Deep Ritz method. We substantiate this claim with four numerical examples drawn from path planning, optics, solid mechanics, and generative modeling. Our goal is not to provide an exhaustive study of geodesic problems, but rather to identify a promising application of the Deep Ritz method and a fruitful direction for future SciML research.
