English

$(2+\epsilon)$-ANN for time series under the Fr\'echet distance

Computational Geometry 2021-03-08 v5

Abstract

We study approximate-near-neighbor data structures for time series under the continuous Fr\'echet distance. For an attainable approximation factor c>1c>1 and a query radius rr, an approximate-near-neighbor data structure can be used to preprocess nn curves in R\mathbb{R} (aka time series), each of complexity mm, to answer queries with a curve of complexity kk by either returning a curve that lies within Fr\'echet distance crcr, or answering that there exists no curve in the input within distance rr. In both cases, the answer is correct. Our first data structure achieves a (5+ϵ)(5+\epsilon) approximation factor, uses space in nO(ϵ1)k+O(nm)n\cdot \mathcal{O}\left({\epsilon^{-1}}\right)^{k} + \mathcal{O}(nm) and has query time in O(k)\mathcal{O}\left(k\right). Our second data structure achieves a (2+ϵ)(2+\epsilon) approximation factor, uses space in nO(mkϵ)k+O(nm)n\cdot \mathcal{O}\left(\frac{m}{k\epsilon}\right)^{k} + \mathcal{O}(nm) and has query time in O(k2k)\mathcal{O}\left(k\cdot 2^k\right). Our third positive result is a probabilistic data structure based on locality-sensitive hashing, which achieves space in O(nlogn+nm)\mathcal{O}(n\log n+nm) and query time in O(klogn)\mathcal{O}(k\log n), and which answers queries with an approximation factor in O(k)\mathcal{O}(k). All of our data structures make use of the concept of signatures, which were originally introduced for the problem of clustering time series under the Fr\'echet distance. In addition, we show lower bounds for this problem. Consider any data structure which achieves an approximation factor less than 22 and which supports curves of arclength up to LL and answers the query using only a constant number of probes. We show that under reasonable assumptions on the word size any such data structure needs space in LΩ(k)L^{\Omega(k)}.

Keywords

Cite

@article{arxiv.2008.09406,
  title  = {$(2+\epsilon)$-ANN for time series under the Fr\'echet distance},
  author = {Anne Driemel and Ioannis Psarros},
  journal= {arXiv preprint arXiv:2008.09406},
  year   = {2021}
}

Comments

34 pages, 6 figures. The previous version had a flaw which affected Section 3