@inproceedings{ec4f437ef662458faeacbf08af9576e7,
title = "Property Testing of Curve Similarity",
abstract = "We propose sublinear algorithms for probabilistic testing of the discrete and continuous Fr{\'e}chet distance – a standard similarity measure for curves. We assume the algorithm is given access to the input curves via a query oracle: a query returns the set of vertices of the curve that lie within a radius δ of a specified vertex of the other curve. The goal is to use a small number of queries to determine with constant probability whether the two curves are similar (i.e., their discrete Fr{\'e}chet distance is at most δ) or they are “ε-far” (for 0 < ε < 2) from being similar, i.e., more than an ε-fraction of the two curves must be ignored for them to become similar. We present two algorithms which are sublinear assuming that the curves are t-approximate shortest paths in the ambient metric space, for some t ≪ n. The first algorithm uses O(εt log εt ) queries and is given the value of t in advance. The second algorithm does not have explicit knowledge of the value of t and therefore needs to gain implicit knowledge of the straightness of the input curves through its queries. We show that the discrete Fr{\'e}chet distance can still be tested using roughly (Equation Presented) queries ignoring logarithmic factors in t. Our algorithms work in a matrix ε representation of the input and may be of independent interest to matrix testing. Our algorithms use a mild uniform sampling condition that constrains the edge lengths of the curves, similar to a polynomially bounded aspect ratio. Applied to testing the continuous Fr{\'e}chet distance of t-straight curves, our algorithms can be used for (1 + ε′)-approximate testing using essentially the same bounds as stated above with an additional factor of poly(ε1′ ).",
keywords = "Curve Similarity, Fr{\'e}chet distance, Monotonicity Testing, Property Testing, Trajectory Analysis",
author = "Peyman Afshani and Maike Buchin and Anne Driemel and Marena Richter and Sampson Wong",
year = "2025",
month = oct,
day = "1",
doi = "10.4230/LIPIcs.ESA.2025.84",
language = "English",
series = "Leibniz International Proceedings in Informatics, LIPIcs",
publisher = "Dagstuhl Publishing",
editor = "Anne Benoit and Haim Kaplan and Sebastian Wild and Sebastian Wild and Grzegorz Herman",
booktitle = "33rd Annual European Symposium on Algorithms, ESA 2025",
address = "Germany",
note = "33rd Annual European Symposium on Algorithms, ESA 2025 ; Conference date: 15-09-2025 Through 17-09-2025",
}