Skip to main content
QUICK REVIEW

[Paper Review] Approximate Nearest Neighbor for Polygonal Curves Under Fréchet Distance

Siu-Wing Cheng, Haoqiang Huang|arXiv (Cornell University)|Jan 1, 2023
Advanced Numerical Analysis TechniquesEngineering1 citations
TL;DR

This paper presents approximate nearest neighbor (ANN) data structures for polygonal curves under the Fréchet distance, achieving sublinear query times without exponential space growth in dimension or curve complexity. It introduces a novel hierarchical grid and interval tree indexing scheme with approximate segment queries, enabling (1+ε)-ANN and (3+ε)-ANN with query times of Õ(k(mn)^{0.5+ε}/ε^O(d) + k(d/ε)^O(dk)) and Õ(k(mn)^{0.5+ε}/ε^O(d)), respectively, in d-dimensional space.

ABSTRACT

We propose $κ$-approximate nearest neighbor (ANN) data structures for $n$ polygonal curves under the Fréchet distance in $\mathbb{R}^d$, where $κ\in \{1+\varepsilon,3+\varepsilon\}$ and $d \geq 2$. We assume that every input curve has at most $m$ vertices, every query curve has at most $k$ vertices, $k \ll m$, and $k$ is given for preprocessing. The query times are $ ilde{O}(k(mn)^{0.5+\varepsilon}/\varepsilon^d+ k(d/\varepsilon)^{O(dk)})$ for $(1+\varepsilon)$-ANN and $ ilde{O}(k(mn)^{0.5+\varepsilon}/\varepsilon^d)$ for $(3+\varepsilon)$-ANN. The space and expected preprocessing time are $ ilde{O}(k(mnd^d/\varepsilon^d)^{O(k+1/\varepsilon^2)})$ in both cases. In two and three dimensions, we improve the query times to $O(1/\varepsilon)^{O(k)} \cdot ilde{O}(k)$ for $(1+\varepsilon)$-ANN and $ ilde{O}(k)$ for $(3+\varepsilon)$-ANN. The space and expected preprocessing time improve to $O(mn/\varepsilon)^{O(k)} \cdot ilde{O}(k)$ in both cases. For ease of presentation, we treat factors in our bounds that depend purely on $d$ as~$O(1)$. The hidden polylog factors in the big-$ ilde{O}$ notation have powers dependent on $d$.

Motivation & Objective

  • To design efficient data structures for the approximate nearest neighbor (ANN) problem on polygonal curves under the Fréchet distance.
  • To achieve sublinear query time without space complexity that is exponential in dimension d or curve complexity m and n.
  • To support the asymmetric case where query curves have significantly fewer vertices (k ≪ m) than input curves.
  • To provide theoretical guarantees for both (1+ε)-ANN and (3+ε)-ANN with improved query and preprocessing time bounds.

Proposed method

  • Employs a hierarchical grid decomposition of the space into cells of varying resolution to index polygonal curves.
  • Uses interval trees and dictionaries over canonical segments to support fast (11εδ)-segment queries for curve segments.
  • Applies a reduction from (κ, δ)-ANN to (11εδ)-segment queries via geometric approximations and grid-based proximity testing.
  • Introduces a novel data structure combining Danp, Danl, Tℓ, and Tξ to answer segment queries in Õ((mn)^{0.5+ε}/ε^d) time.
  • Leverages probabilistic and deterministic techniques to manage failure probabilities and ensure correctness under approximation.
  • Uses a recursive query strategy that handles cases where the query segment lies before, within, or after the relevant grid cell.

Experimental results

Research questions

  • RQ1Can we achieve sublinear query time for (1+ε)-ANN on polygonal curves under Fréchet distance without exponential space growth in dimension or curve complexity?
  • RQ2What is the minimal space and preprocessing time required to support (3+ε)-ANN with sublinear query time?
  • RQ3How can we efficiently answer (11εδ)-segment queries to enable a reduction to the (κ, δ)-ANN problem?
  • RQ4Can the exponential dependence on d and k in query time be reduced while maintaining approximation guarantees?
  • RQ5What are the optimal trade-offs between space, preprocessing time, and query time for asymmetric Fréchet ANN?

Key findings

  • The (1+ε)-ANN query time is Õ(k(mn)^{0.5+ε}/ε^O(d) + k(d/ε)^O(dk)) with space and preprocessing time Õ(k(mndd/ε^d)^O(k+1/ε^2)).
  • The (3+ε)-ANN query time is Õ(k(mn)^{0.5+ε}/ε^O(d)) with the same space and preprocessing bounds.
  • In 2D and 3D, query time improves to Õ(k/ε^O(k)) for (1+ε)-ANN and Õ(k) for (3+ε)-ANN.
  • Space and preprocessing time in 2D/3D reduce to O(mn/ε)^O(k) · Õ(k), avoiding exponential dependence on d.
  • The method achieves correctness with O(f log n) failure probability when using a probabilistic (κ, δ)-ANN solution.
  • The framework supports the asymmetric case where k ≪ m, making it suitable for user-sketch-based queries.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.