Abstract
Geodesic paths and distances are among the most popular intrinsic properties of 3D surfaces. Traditionally, geodesic paths on discrete polygon surfaces were computed using shortest path algorithms, such as Dijkstra. However, such algorithms have two major limitations. They are non-differentiable which limits their direct usage in learnable pipelines and they are considerably time demanding. To address such limitations and alleviate the computational burden, we propose a learnable network to approximate geodesic paths. The proposed method is comprised by three major components: a graph neural network that encodes node positions in a high dimensional space, a path embedding that describes previously visited nodes and a point classifier that selects the next point in the path. The proposed method provides efficient approximations of the shortest paths and geodesic distances estimations. Given that all of the components of our method are fully differentiable, it can be directly plugged into any learnable pipeline as well as customized under any differentiable constraint. We extensively evaluate the proposed method with several qualitative and quantitative experiments.
Introduction
In 3D computer vision and graphics, finding the "geodesic" (the shortest path along a curved surface) is a fundamental task for everything from mesh morphing to robotics. Traditionally, we rely on algorithms like Dijkstra or A*. However, these classical methods have two major "deal-breakers" for modern AI workflows: they are non-differentiable, making it impossible to integrate them directly into end-to-end deep learning pipelines, and they scale poorly with large, complex meshes.
GraphWalks is the first fully differentiable, neural-based estimator for geodesic shortest paths on 3D surfaces. By framing pathfinding as an autoregressive classification task, it achieves up to a 9x speedup over traditional algorithms while maintaining high accuracy across diverse, unseen shapes and even unstructured point clouds.
Methodology
The authors introduce a learnable framework that predicts a path step-by-step using three integrated modules:
- Vertex Embedding Layer (VEL): Instead of using raw coordinates, the model uses Relative Multi-Aggregation Graph Convolution (RMAGC). This novel operator uses relative features (the difference between a node and its neighbors) and multiple aggregation functions (mean, min, max, std) to capture local surface topology regardless of the shape's global orientation or scale.
- Path Descriptor: To prevent the model from walking in circles, it uses a momentum-based autoregressive paradigm. It encodes the history of the path traveled so far, giving the model a "memory" of where it has been.
- Point Selector: This module acts as a classifier. At each step, it looks at the current node’s neighbors and selects the best candidate for the next step in the path based on the target destination.
The model is trained using a combination of a classification loss and a Probabilistic Geodesic Distance Loss. During inference, they use Beam Search to explore multiple potential paths simultaneously, avoiding "short-sighted" errors.
Key Results
The model was trained and evaluated on the TOSCA dataset, which contains 80 unique 3D shapes. Remarkably, the model generalized well to topologies never seen during training.
- Accuracy and Error: GraphWalks achieved a Convergence Rate of 82% and a Geodesic Distance Error (GDE) of 0.17, which is less than half the error of the next best learnable baseline (0.35).
- Efficiency: The method is significantly faster than traditional CPU-based implementations, offering up to a 9x speedup compared to SciPy's Dijkstra implementation.
- Point Cloud Generalization: The model worked on unstructured point clouds by using k-nearest neighbors to define a local topology, achieving a GDE of 0.21.
Conclusion
GraphWalks bridges the gap between geometric deep learning and pathfinding by treating the problem as a sequence translation task. Its differentiability is a "killer feature," allowing researchers to optimize 3D shapes based on geodesic constraints directly within a neural network. While the model's performance is bound by the approximation quality of the network in extreme scenarios, it represents a significant step forward in efficient, shape-agnostic geometric analysis.
Summary updated