(2+ϵ)-ANN for time series under the Fréchet distance [article]

Anne Driemel, Ioannis Psarros
2021 arXiv   pre-print
We study approximate-near-neighbor data structures for time series under the continuous Fréchet distance. For an attainable approximation factor c>1 and a query radius r, an approximate-near-neighbor data structure can be used to preprocess n curves in ℝ (aka time series), each of complexity m, to answer queries with a curve of complexity k by either returning a curve that lies within Fréchet distance cr, or answering that there exists no curve in the input within distance r. In both cases, the
more » ... answer is correct. Our first data structure achieves a (5+ϵ) approximation factor, uses space in n·𝒪(ϵ^-1)^k + 𝒪(nm) and has query time in 𝒪(k). Our second data structure achieves a (2+ϵ) approximation factor, uses space in n·𝒪(m/kϵ)^k + 𝒪(nm) and has query time in 𝒪(k· 2^k). Our third positive result is a probabilistic data structure based on locality-sensitive hashing, which achieves space in 𝒪(nlog n+nm) and query time in 𝒪(klog n), and which answers queries with an approximation factor in 𝒪(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échet distance. In addition, we show lower bounds for this problem. Consider any data structure which achieves an approximation factor less than 2 and which supports curves of arclength up to L 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).
arXiv:2008.09406v5 fatcat:rb7rt2zk2za4fckkiqw7uxmwda