arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.01836cs.DB
收藏

LeaFi:利用学习型过滤器实现数据序列索引的强化

LeaFi: Data Series Indexes on Steroids with Learned Filters

Qitong Wang, Ioana Ileana, Themis Palpanas

AI总结:

LeaFi框架利用机器学习模型作为学习型过滤器,预测节点级距离下界以提升树型数据序列索引的剪枝效果,实验表明剪枝率最高提升20倍、搜索时间最高缩短32倍,同时保持99%召回率。

摘要:

不断增长的数据序列集合催生了对高效相似性搜索的迫切需求,而相似性搜索是各类分析流程的基石。近期研究表明,基于树的序列索引在许多场景中表现优异。然而,我们观察到由于剪枝效果欠佳,搜索过程中存在显著的工作浪费。为解决这一问题,我们提出了LeaFi,这是一个新颖的框架,利用机器学习模型来提升基于树的数据序列索引的剪枝效果。这些模型充当学习型过滤器,预测紧凑的节点级距离下界,用于做出剪枝决策,从而提高剪枝效果。我们描述了LeaFi增强的索引构建算法,该算法选择叶节点并生成训练数据以插入和训练机器学习模型;以及LeaFi增强的搜索算法,该算法在查询时校准学习型过滤器,以支持用户为每个查询定义的质量目标。我们使用两种不同的基于树的序列索引和五个多样化的数据集进行了实验评估,结果证明了所提方法的优势。LeaFi增强的数据序列索引将剪枝率提高了最高20倍,搜索时间缩短了最高32倍,同时保持了99%的目标召回率。

英文摘要:

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%.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑