Skip to main content
QUICK REVIEW

[Paper Review] Return of the Lernaean Hydra: Experimental Evaluation of Data Series Approximate Similarity Search

Karima Echihabi, Kostas Zoumpatianos|arXiv (Cornell University)|Jun 20, 2020
Time Series Analysis and ForecastingComputer Science139 references15 citations
TL;DR

This paper proposes and evaluates approximate similarity search techniques for data series by extending exact data series indexing methods to provide theoretical guarantees on accuracy. It demonstrates that these modified data series methods outperform state-of-the-art vector-based approximate techniques, especially on disk, and offer superior empirical performance and tighter error bounds than LSH methods.

ABSTRACT

Data series are a special type of multidimensional data present in numerous domains, where similarity search is a key operation that has been extensively studied in the data series literature. In parallel, the multidimensional community has studied approximate similarity search techniques. We propose a taxonomy of similarity search techniques that reconciles the terminology used in these two domains, we describe modifications to data series indexing techniques enabling them to answer approximate similarity queries with quality guarantees, and we conduct a thorough experimental evaluation to compare approximate similarity search techniques under a unified framework, on synthetic and real datasets in memory and on disk. Although data series differ from generic multidimensional vectors (series usually exhibit correlation between neighboring values), our results show that data series techniques answer approximate %similarity queries with strong guarantees and an excellent empirical performance, on data series and vectors alike. These techniques outperform the state-of-the-art approximate techniques for vectors when operating on disk, and remain competitive in memory.

Motivation & Objective

  • To unify terminology and classify similarity search techniques from data series and multidimensional vector communities based on quality guarantees.
  • To extend exact data series indexing methods to support approximate similarity search with theoretical accuracy guarantees.
  • To conduct a comprehensive, unbiased experimental evaluation of approximate similarity search across in-memory and out-of-core settings.
  • To compare the efficiency and accuracy of data series-specific methods against general-purpose vector approximate search techniques.
  • To provide practical recommendations for selecting the best method based on dataset size, accuracy needs, and hardware constraints.

Proposed method

  • Proposes a taxonomy of similarity search methods based on the quality of guarantees provided, unifying terminology from data series and multidimensional vector communities.
  • Modifies existing exact data series indexing structures (e.g., DSTree, iSAX2+) to support δ-ε-approximate queries with theoretical bounds on approximation error.
  • Develops optimized C/C++ implementations of all methods, including new, faster versions of previously implemented algorithms in higher-level languages.
  • Employs a unified experimental framework using both synthetic and real-world datasets, including the two largest publicly available vector datasets (Deep25GB and Deep250GB).
  • Evaluates performance using multiple criteria: query time, index construction time, recall, mean average precision (MAP), and approximation error.
  • Introduces and evaluates incremental and progressive query answering strategies to improve interactivity and adaptability to user needs.

Experimental results

Research questions

  • RQ1How do data series-specific approximate similarity search methods compare in accuracy and efficiency to general-purpose vector-based approximate search techniques?
  • RQ2Can exact data series indexing methods be extended to support approximate queries with theoretical guarantees on approximation error?
  • RQ3What are the relative strengths and weaknesses of different approximate search techniques across varying data sizes, storage models (in-memory vs. disk), and workloads?
  • RQ4How do the performance and accuracy of LSH and other probabilistic methods compare to the proposed deterministic, bounded-error approaches?
  • RQ5What are the practical implications of index construction time, query response time, and hardware utilization for selecting an optimal approximate search method?

Key findings

  • The modified data series indexing methods (e.g., DSTree, iSAX2+) consistently outperform state-of-the-art vector-based approximate techniques like HNSW and IMI, especially on disk, due to superior index construction and query efficiency.
  • The proposed extensions to exact data series methods achieve strong theoretical guarantees (δ = 1) and exhibit empirical accuracy significantly above theoretical bounds, outperforming LSH methods that rely on probabilistic guarantees (δ < 1).
  • HNSW and IMI require extensive manual tuning and long training times (over 40 hours per run), making them impractical for many real-world deployments, especially with large datasets.
  • DSTree emerges as the top performer overall, particularly when index construction time is considered, and is recommended for most workloads except small in-memory datasets where HNSW leads.
  • For ng-approximate queries, iSAX2+ performs competitively, and its performance can be further enhanced using modern hardware such as SIMD, multi-core, and GPU acceleration.
  • The results suggest a promising research direction toward progressive query answering, where intermediate results are returned with increasing accuracy until exact answers are found.

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.