A Strongly-Subquadratic $(3+\varepsilon)$-Approximation for the Fréchet Distance for Paths in Metric Spaces
Abstract
The Fr\'echet distance is a well-studied distance measure for paths in a metric space. It is mostly studied for paths in -dimensional Euclidean space. Here, computing the Fr\'echet distance between two polylines takes time roughly quadratic in the number of vertices. Assuming the strong exponential time hypothesis (SETH), it cannot be approximated to within a factor less than in strongly-subquadratic time. Recently, it was shown that for any , there exists a randomized algorithm that can compute a -approximation in strongly-subquadratic expected time [Cheng, Huang, and Zhang; STOC'25]. For polylines with and vertices in a Euclidean space of constant dimension, where , their algorithm takes time in expectation. We present a deterministic approximation algorithm that significantly improves upon the approximation factor and running time. Specifically, our algorithm computes a -approximation in time. Our algorithm nearly matches the conditional lower bound on the approximation factor implied by SETH. For polylines in , we present a -approximation algorithm that runs in time, and exactly matches the conditional lower bound. For our results, we introduce a general strongly-subquadratic time -approximate decision algorithm. This algorithm makes no assumptions on the ambient metric space, and relies only on standard assumptions on the so-called free space of the input paths. Under some mild assumptions, our decision algorithm leads to a -approximation algorithm in general metric spaces. These assumptions hold automatically for polylines in any metric space with .
Keywords
Cite
@article{arxiv.2607.08893,
title = {A Strongly-Subquadratic $(3+\varepsilon)$-Approximation for the Fréchet Distance for Paths in Metric Spaces},
author = {Thijs van der Horst and Tim Ophelders},
journal= {arXiv preprint arXiv:2607.08893},
year = {2026}
}
Comments
To be published in proceedings of ESA 2026