Fermat Distance-to-Measure: a robust Fermat-like metric
Jérôme Taupin, Frédéric Chazal
TL;DR
The paper introduces the Fermat Distance-to-Measure (FDTM), a density-free, Fermat-like metric defined for any probability measure by replacing the density term with the Distance-to-Measure (DTM). It establishes foundational geometric and stability properties, proving existence of geodesics and deriving explicit bounds on geodesic length, as well as stability results with respect to perturbations in the measure and the domain. The authors provide a statistically principled estimator based on random samples, with provable convergence rates and a minimax lower bound, and they validate the approach through numerical simulations on the unit circle and comparisons with the classical Fermat distance. This work yields a robust, dimension-agnostic framework for geometry-aware metric learning and clustering for arbitrary measures, with practical implications for tasks where density is ill-defined or multi-scale.
Abstract
Given a probability measure with density, Fermat distances and density-driven metrics are conformal transformations of the Euclidean metric that shrink distances in high density areas and enlarge distances in low density areas. Although they have been widely studied and have shown to be useful in various machine learning tasks, they are limited to measures with density (with respect to Lebesgue measure, or volume form on manifold). In this paper, by replacing the density with the Distance-to-Measure, we introduce a new metric, the Fermat Distance-to-Measure, defined for any probability measure in R^d. We derive strong stability properties for the Fermat Distance-to-Measure with respect to the measure and propose an estimator from random sampling of the same measure, featuring an explicit bound on its convergence rate.
