通过虚拟点实现分布平滑的学习型索引
Learned Indexes with Distribution Smoothing via Virtual Points
AI总结:
针对分层学习型索引中难建模键区域处于深层导致查询性能受限的问题,提出通过插入虚拟点平滑键分布的方法,开发CSV算法集成到现有索引中,以低存储成本提升深层键的查询性能。
摘要:
近期关于学习型索引的研究为索引领域提供了新视角,即将索引视为将键映射到对应存储位置的模型。这类学习型索引旨在近似键集的累积分布函数,仅使用单个模型时准确性可能有限。为克服这一局限,一种典型方法是采用分层排列的多个模型,其查询性能取决于两个方面:(i)找到正确模型的遍历时间,以及(ii)在所选模型中查找键的搜索时间。这类方法可能导致一些难以建模的键空间区域被置于层级结构的更深层。为解决该问题,我们提出一种替代方法,它不对结构或模型做任何修改,而是对键空间进行调整。具体通过插入虚拟点让键集更易于学习(即平滑分布)来实现。此外,我们开发了名为CSV的算法,将虚拟点插入方法集成到现有学习型索引中,同时减少其遍历时间和搜索时间。我们在当前最优的学习型索引上实现了CSV,并在真实世界数据集上进行了评估。大量实验结果表明,该方法以较低的存储成本,显著提升了索引结构更深层中键的查询性能。
英文摘要:
Recent research on learned indexes has created a new perspective for indexes as models that map keys to their respective storage locations. These learned indexes are created to approximate the cumulative distribution function of the key set, where using only a single model may have limited accuracy. To overcome this limitation, a typical method is to use multiple models, arranged in a hierarchical manner, where the query performance depends on two aspects: (i) traversal time to find the correct model and (ii) search time to find the key in the selected model. Such a method may cause some key space regions that are difficult to model to be placed at deeper levels in the hierarchy. To address this issue, we propose an alternative method that modifies the key space as opposed to any structural or model modifications. This is achieved through making the key set more learnable (i.e., smoothing the distribution) by inserting virtual points. Furthermore, we develop an algorithm named CSV to integrate our virtual point insertion method into existing learned indexes, reducing both their traversal and search time. We implement CSV on state-of-the-art learned indexes and evaluate them on real-world datasets. Extensive experimental results show significant query performance improvement for the keys in deeper levels of the index structures at a low storage cost.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。