Differentiable Approximations for Distance Queries
Abstract
The widespread use of gradient-based optimization has motivated the adaptation of various classical algorithms into differentiable solvers compatible with learning pipelines. In this paper, we investigate the enhancement of traditional geometric query problems such that the result consists of both the geometric function as well as its gradient. Specifically, we study the fundamental problem of distance queries against a set of points in , which also underlies various similarity measures for learning algorithms. The main result of this paper is a multiplicative -approximation of the Euclidean distance to which is differentiable at all points in with asymptotically optimal bounds on the norms of its gradient and Hessian, from a data structure with storage and query time matching state-of-the-art results for approximate nearest-neighbor searching. The approximation is realized as a regularized distance through a partition-of-unity framework, which efficiently blends multiple local approximations, over a suitably defined covering of space, into a smooth global approximation. In order to obtain the local distance approximations in a manner that facilitates blending, we develop a new approximate Voronoi diagram based on a simple point-location data structure, simplifying away both the lifting transformation and ray shooting.
Create a lesson
Metadata
- Journal
- ACM-SIAM Symposium on Discrete Algorithms (2025) 5065-5099
- Comments
- Presented at SODA 2025
Related papers
Constant Approximation of Fréchet Distance in Near-Linear Time
Shared title terminologycs.CGHaoqiang Huang, Zihe Wang, Shuo Zhang
Witnessed Boolean Contracts: Sound Local Distance Guarantees for Approximate Implicit CSG
Shared title terminologycs.CGJeremy Pei
Optimal Planar k Nearest Neighbors Queries for Additively Weighted Euclidean Distances and Convex Metrics
Shared title terminologycs.CGChih-Hung Liu
Approximating CDTW Distance of Piecewise Algebraic Curves
Shared title terminologycs.CGAlperen A. Ergür, Shamik Khowala
Sierpiński--Knopp Wasserstein Distance for Persistence Diagrams and Applications to 2-Wasserstein Approximation
Shared title terminologycs.CGSebastien Tchitchek, Julien Tierny
Two-point Approximate Shortest Path Queries among Convex Polygonal Obstacles in the Plane
Shared title terminologycs.CGSiddharth Gaur, R. Inkulu