arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2502.09937cs.DBcs.LG
收藏

ML增强型R树在处理查询和支持更新时的权衡

Tradeoffs in Processing Queries and Supporting Updates over an ML-Enhanced R-tree

Abdullah Al-Mamun, Ch. Md. Rakin Haider, Jianguo Wang, Walid G. Aref

AI总结:

针对多维数据索引的R树,本文提出ML增强型AI+R树,通过加入ML模型避免无效分支遍历,研究模型选择与更新策略的权衡,实验显示其可提升传统R树查询性能5.4倍且召回率达99%。

摘要:

机器学习(ML)技术已成功应用于设计一维和多维空间的各种学习型数据库索引结构。特别是,一类传统多维索引已通过ML模型增强,设计出其传统对应结构的ML增强变体。本文聚焦R树多维索引结构,因其广泛用于多维数据索引。R树已通过机器学习模型增强以提升性能。AI+R树是一种ML增强型R树索引结构,它在传统基于磁盘的R树中加入ML模型,以增强R树的查询处理性能,主要是避免遍历R树中不产生查询结果的重叠分支,例如在R树节点的矩形高度重叠时。我们研究了在AI+R树上处理动态查询工作负载和支持更新时的实证权衡。特别是,我们研究了ML模型的选择对AI+R树查询处理性能的影响。此外,我们提出了一个案例研究,为神经网络模型设计定制损失函数,以适应AI+R树的查询处理需求。最后,我们提出了采用各种策略支持动态插入、更新和删除的设计权衡,旨在实现可变的AI+R树。在真实数据集上的实验表明,对于高度重叠的范围查询,AI+R树可将传统R树的查询处理性能提升高达5.4倍,同时实现高达99%的平均查询召回率。

英文摘要:

Machine Learning (ML) techniques have been successfully applied to design various learned database index structures for both the one- and multi-dimensional spaces. Particularly, a class of traditional multi-dimensional indexes has been augmented with ML models to design ML-enhanced variants of their traditional counterparts. This paper focuses on the R-tree multi-dimensional index structure as it is widely used for indexing multi-dimensional data. The R-tree has been augmented with machine learning models to enhance the R-tree performance. The AI+R-tree is an ML-enhanced R-tree index structure that augments a traditional disk-based R-tree with an ML model to enhance the R-tree's query processing performance, mainly, to avoid navigating the overlapping branches of the R-tree that do not yield query results, e.g., in the presence of high-overlap among the rectangles of the R-tree nodes. We investigate the empirical tradeoffs in processing dynamic query workloads and in supporting updates over the AI+R-tree. Particularly, we investigate the impact of the choice of ML models over the AI+R-tree query processing performance. Moreover, we present a case study of designing a custom loss function for a neural network model tailored to the query processing requirements of the AI+R-tree. Furthermore, we present the design tradeoffs for adopting various strategies for supporting dynamic inserts, updates, and deletes with the vision of realizing a mutable AI+R-tree. Experiments on real datasets demonstrate that the AI+R-tree can enhance the query processing performance of a traditional R-tree for high-overlap range queries by up to 5.4X while achieving up to 99% average query recall.

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

↑