Skip to main content
QUICK REVIEW

[Paper Review] Sublinear data structures for short Fréchet queries

Anne Driemel, Ioannis Psarros|arXiv (Cornell University)|Jul 9, 2019
Data Management and AlgorithmsComputer Science36 references5 citations
TL;DR

This paper presents sublinear data structures for approximate discrete Fréchet distance queries on polygonal curves in doubling spaces, particularly for short query curves (k ≪ m). It introduces a deterministic distance oracle with space complexity O((k log(ε⁻¹)ε⁻ᵈ)ᵏ) and O(k²) query time, and an ANN data structure with exponential improvement in dependency on input curve complexity, both achieving (1+ε)-approximation in Euclidean Rᵈ with constant d.

ABSTRACT

We study metric data structures for curves in doubling spaces, such as trajectories of moving objects in Euclidean $\mathbb{R}^d$, where the distance between two curves is measured using the discrete Fréchet distance. We design data structures in an \emph{asymmetric} setting where the input is a curve (or a set of $n$ curves) each of complexity $m$ and the queries are with curves of complexity $k\ll m$. We show that there exist approximate data structures that are independent of the input size $N = d \cdot n \cdot m$ and we study how to maintain them dynamically if the input is given in the stream. Concretely, we study two types of data structures: (i) distance oracles, where the task is to store a compressed version of the input curve, which can be used to answer queries for the distance of a query curve to the input curve, and (ii) nearest-neighbor data structures, where the task is to preprocess a set of input curves to answer queries for the input curve closest to the query curve. In both cases we are interested in approximation. For curves embedded in Euclidean $\mathbb{R}^d$ with constant $d$, our distance oracle uses space in $\mathcal{O}((k \log(ε^{-1}) ε^{-d})^k)$ ($ε$ is the precision parameter). The oracle performs $(1+ε)$-approximate queries in time in $\mathcal{O}(k^2)$ and is deterministic. We show how to maintain this distance oracle in the stream using polylogarithmic additional memory. In the stream, we can dynamically answer distance queries to the portion of the stream seen so far in $\mathcal{O}(k^4 \log^2 m)$ time. We apply our techniques to the second problem, approximate near neighbor (ANN) data structures, and achieve an exponential improvement in the dependency on the complexity of the input curves compared to the state of the art.

Motivation & Objective

  • To design efficient data structures for approximate discrete Fréchet distance queries when query curves are significantly shorter than input curves (k ≪ m).
  • To achieve sublinear space complexity independent of the total input size N = d·n·m, particularly in Euclidean spaces with constant dimension d.
  • To support dynamic, streaming processing of input curves while maintaining a small, accurate sketch for real-time distance queries.
  • To improve the state of the art in approximate near neighbor (ANN) search under the discrete Fréchet distance by reducing dependency on input curve complexity.
  • To provide a composable coreset framework via merge-and-reduce for streaming Fréchet distance approximation.

Proposed method

  • Design a deterministic distance oracle using a hierarchical net-tree and ε-net-based compression to store a compressed representation of input curves.
  • Apply the merge-and-reduce framework to maintain a composable coreset in the streaming model, enabling dynamic updates with polylogarithmic memory overhead.
  • Use a weakly explicit model to efficiently access points within εr-covering balls, reducing preprocessing and query time.
  • Construct query representatives by partitioning the query curve into k segments, each covered by a ball in a net, and index compatible cell sequences.
  • For ANN, use a randomized data structure with a hashtable of query representatives per cell, leveraging the doubling property and net decomposition.
  • Derandomize the ANN structure with low additional cost by using a deterministic net construction and bounded independence.

Experimental results

Research questions

  • RQ1Can we design a data structure for discrete Fréchet distance that achieves (1+ε)-approximation with space independent of input curve complexity when queries are short?
  • RQ2Can we maintain such a data structure dynamically in a streaming setting with polylogarithmic memory overhead?
  • RQ3Can we achieve exponential improvement in the dependency on input curve complexity for approximate near neighbor search under the discrete Fréchet distance?
  • RQ4How can we leverage the doubling property and composable coresets to build efficient, streaming-friendly data structures for Fréchet distance?
  • RQ5What is the trade-off between approximation accuracy, query time, and space usage in the asymmetric setting (k ≪ m)?

Key findings

  • The distance oracle uses space in O((k log(ε⁻¹)ε⁻ᵈ)ᵏ), supports (1+ε)-approximate queries in O(k²) time, and is deterministic.
  • The streaming distance oracle maintains a sketch with polylogarithmic additional memory and supports (1+ε)-approximate queries in O(k⁴ log²m) time on the stream seen so far.
  • The ANN data structure achieves space complexity of n·O((k d³ᐟ² ε⁻¹)ᵈᵏ) plus O(dnm) for input storage, with query time in O(dk).
  • The ANN structure improves the state of the art by reducing the exponential dependency on input curve complexity from O(mᵏ) to O((k d³ᐟ² ε⁻¹)ᵈᵏ), achieving exponential improvement.
  • The randomized ANN structure can be derandomized with only a small increase in space and preprocessing time, maintaining the same query time and approximation guarantees.
  • The correctness of the ANN structure is proven via a probabilistic argument showing that the probability of separating a query from its true near neighbor is at most 1/10, under appropriate net and partitioning parameters.

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.