Property Testing of Curve Similarity

  • Peyman Afshani*
  • , Maike Buchin*
  • , Anne Driemel*
  • , Marena Richter*
  • , Sampson Wong*
  • *Corresponding author for this work

Research output: Contribution to book/anthology/report/proceedingArticle in proceedingsResearchpeer-review

Abstract

We propose sublinear algorithms for probabilistic testing of the discrete and continuous Fré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é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é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é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 ).

Original languageEnglish
Title of host publication33rd Annual European Symposium on Algorithms, ESA 2025
EditorsAnne Benoit, Haim Kaplan, Sebastian Wild, Sebastian Wild, Grzegorz Herman
PublisherDagstuhl Publishing
Publication date1 Oct 2025
Article number84
ISBN (Electronic)9783959773959
DOIs
Publication statusPublished - 1 Oct 2025
Event33rd Annual European Symposium on Algorithms, ESA 2025 - Warsaw, Poland
Duration: 15 Sept 202517 Sept 2025

Conference

Conference33rd Annual European Symposium on Algorithms, ESA 2025
Country/TerritoryPoland
CityWarsaw
Period15/09/202517/09/2025
SeriesLeibniz International Proceedings in Informatics, LIPIcs
Volume351
ISSN1868-8969

Keywords

  • Curve Similarity
  • Fréchet distance
  • Monotonicity Testing
  • Property Testing
  • Trajectory Analysis

Fingerprint

Dive into the research topics of 'Property Testing of Curve Similarity'. Together they form a unique fingerprint.

Cite this