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

BMTree:用于多维数据索引的分段空间填充曲线的设计、学习与更新

BMTree: Designing, Learning, and Updating Piecewise Space-Filling Curves for Multi-Dimensional Data Indexing

Jiangneng Li, Yuang Liu, Zheng Wang, Gao Cong, Cheng Long, Walid G. Aref, Han Mao Kiah, Bin Cui

AI总结:

本文提出分段空间填充曲线和BMTree数据结构,通过强化学习构建并支持分布变化时的部分重训练,提升了多维数据索引的查询性能与更新效率。

摘要:

空间填充曲线(SFC)被广泛应用于多维数据索引,它首先将数据映射到一维,然后使用一维索引方法(如B树)对映射后的数据进行索引。现有的SFC对整个数据空间采用单一映射方案。然而,单一映射方案通常无法在所有数据空间上表现良好。本文提出了一种新型SFC,称为分段SFC,它针对不同的数据子空间采用不同的映射方案。具体而言,我们提出了一种名为位合并树(BMTree)的数据结构,能够同时生成数据子空间及其SFC,并为整个数据空间实现SFC的理想属性。此外,我们开发了一种基于强化学习的解决方案来构建BMTree,旨在实现卓越的查询性能。为了在数据和/或查询分布发生变化时高效更新BMTree,我们开发了一种新机制,能够快速检测数据和查询中的分布偏移,并支持BMTree的部分重训练。该重训练机制避免了从头开始训练BMTree,从而高效地实现了性能提升。大量实验表明,BMTree及所提出的基于学习方法的有效性和效率。

英文摘要:

Space-filling curves (SFC, for short) have been widely applied to index multi-dimensional data, which first maps the data to one dimension, and then a one-dimensional indexing method, e.g., the B-tree indexes the mapped data. Existing SFCs adopt a single mapping scheme for the whole data space. However, a single mapping scheme often does not perform well on all the data space. In this paper, we propose a new type of SFC called piecewise SFCs that adopts different mapping schemes for different data subspaces. Specifically, we propose a data structure termed the Bit Merging tree (BMTree) that can generate data subspaces and their SFCs simultaneously, and achieve desirable properties of the SFC for the whole data space. Furthermore, we develop a reinforcement learning-based solution to build the BMTree, aiming to achieve excellent query performance. To update the BMTree efficiently when the distributions of data and/or queries change, we develop a new mechanism that achieves fast detection of distribution shifts in data and queries, and enables partial retraining of the BMTree. The retraining mechanism achieves performance enhancement efficiently since it avoids retraining the BMTree from scratch. Extensive experiments show the effectiveness and efficiency of the BMTree with the proposed learning-based methods.

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

↑