English

LeaFi: Data Series Indexes on Steroids with Learned Filters

Databases 2025-02-05 v1

Abstract

The ever-growing collections of data series create a pressing need for efficient similarity search, which serves as the backbone for various analytics pipelines. Recent studies have shown that tree-based series indexes excel in many scenarios. However, we observe a significant waste of effort during search, due to suboptimal pruning. To address this issue, we introduce LeaFi, a novel framework that uses machine learning models to boost pruning effectiveness of tree-based data series indexes. These models act as learned filters, which predict tight node-wise distance lower bounds that are used to make pruning decisions, thus, improving pruning effectiveness. We describe the LeaFi-enhanced index building algorithm, which selects leaf nodes and generates training data to insert and train machine learning models, as well as the LeaFi-enhanced search algorithm, which calibrates learned filters at query time to support the user-defined quality target of each query. Our experimental evaluation, using two different tree-based series indexes and five diverse datasets, demonstrates the advantages of the proposed approach. LeaFi-enhanced data-series indexes improve pruning ratio by up to 20x and search time by up to 32x, while maintaining a target recall of 99%.

Keywords

Cite

@article{arxiv.2502.01836,
  title  = {LeaFi: Data Series Indexes on Steroids with Learned Filters},
  author = {Qitong Wang and Ioana Ileana and Themis Palpanas},
  journal= {arXiv preprint arXiv:2502.01836},
  year   = {2025}
}

Comments

This paper was published in Proc. ACM Manag. Data, Vol. 3, No. N1 (SIGMOD), Article 51. Publication date: February 2025

R2 v1 2026-06-28T21:31:22.057Z