Abstract
This research establishes definitive computational limits for finding approximate near neighbors (ANN) in time series data under the continuous Fréchet distance. By integrating novel algorithmic techniques with fine-grained complexity analysis, the authors provide tight upper and lower bounds for one-dimensional curves. Key contributions include a linear-space data structure for $(2+\epsilon)$-approximation and proofs demonstrating that these algorithms are essentially optimal under the Orthogonal Vectors Hypothesis (OVH).
Introduction
Finding similar patterns in massive datasets of time series—such as GPS trajectories or financial trends—is a fundamental task in data science. The Fréchet distance is the preferred metric for this "closeness," often visualized as the minimum leash length required for a dog and its walker to traverse their respective paths. While the discrete Fréchet distance is well-studied, the continuous version has remained computationally challenging. Previous solutions often suffered from excessive memory usage, slow query times, or poor approximation factors. This paper addresses these gaps by determining the precise time and space complexity required for 1D curve searching.
Methodology
The authors utilize a dual approach combining algorithmic innovation with complexity theory.
Algorithmic Innovations
The proposed algorithms rely on a "candidate enumeration" strategy. During preprocessing, a strategic subset of potential query curves is generated, simplified, and stored.
- Straightenings: The authors introduce "straightenings," a refined curve simplification technique that surpasses traditional "signatures." This allows for a $(1+\epsilon)$ approximation factor within the same time complexity previously required for a $(2+\epsilon)$ factor.
- Dualization: To achieve linear space complexity ($O(nm)$), the authors "dualize" the search process. By shifting the generation of candidate curves from the preprocessing phase to the query phase, they minimize the storage footprint without significantly sacrificing query speed.
Hardness Proofs
To establish the optimality of their algorithms, the authors employ Fine-Grained Complexity. They demonstrate that any significantly faster algorithm would imply a breakthrough in solving the "Orthogonal Vectors" (OV) problem, thereby contradicting the widely held Orthogonal Vectors Hypothesis (OVH). A new variant, OneSidedSparseOV, was introduced to extend these lower bounds to scenarios with very short query curves.
Algorithmic Contributions
The paper provides a comprehensive "menu" of trade-offs between preprocessing time, space, and query performance. Notably, the authors achieve linear preprocessing time and space for $(2+\epsilon)$-ANN, a significant improvement over prior exponential-space results.
Hardness Results and the "3-Factor" Barrier
A key insight of this work is the identification of the "3-factor" barrier in metric geometry. Proving hardness for approximation factors greater than 3 is notoriously difficult; thus, the authors focus on providing tight results within the $1 < \alpha < 3$ range. Their proofs show that for any approximation factor $c < 2$, an exponential dependency on the query complexity $k$ is unavoidable under OVH.
Conclusion
This work provides a complete theoretical framework for ANN searching of 1D time series under the continuous Fréchet distance. While the results for 1D curves are tight, the authors note that dimensionality remains a significant hurdle. The "straightening" techniques do not easily generalize to 2D or 3D due to the potentially infinite doubling dimension of continuous curves in higher dimensions. Future research will focus on extending these tight bounds to multi-dimensional trajectories, which is critical for applications in robotics and geographic information systems.
Summary updated