arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2107.09480cs.IRcs.DBcs.DScs.LG
收藏

学习了小模型空间中的排序表搜索和静态索引

Learned Sorted Table Search and Static Indexes in Small Model Space

Domenico Amato, Giosuè Lo Bosco, Raffaele Giancarlo

摘要:

机器学习技术与数据结构适当结合,产生了学习静态索引,这是一种创新而强大的工具,可以加速二进制搜索,并使用与搜索表相关的额外空间。这样的空间专门用于机器学习模型。虽然它们还处于起步阶段,但由于排序表搜索过程的普遍性,它们在方法论和实践上都很重要。在现代应用中,模型空间是一个关键因素,事实上,关于这个领域的一个主要的开放问题是评估在使用常数或近似常数空间模型的同时,可以在多大程度上享受学习索引实现的二进制搜索的速度。在本文中,我们研究了上述问题,(a)引入两个新的模型,即,(b)系统地探索现有模型层次的时空权衡,即,在参考软件平台上搜索分类数据中的那些,以及这里提出的新的。通过坚持和扩展目前的基准测试方法,我们实验表明,学习的k-ary搜索模型可以加快二进制搜索在恒定的额外空间。我们的第二个模型,加上双标准逐段几何模型索引,可以实现二进制搜索的加速,模型空间比表所占用的空间多0:05%,在时间-空间权衡方面与现有提案具有竞争力。概要递归模型索引和双标准分段几何模型在内部存储层次结构的各个级别上相互补充。最后,我们的研究结果刺激在这方面的研究,因为他们强调需要进一步研究的时间-空间关系的学习指数。

英文摘要:

Machine Learning Techniques, properly combined with Data Structures, have resulted in Learned Static Indexes, innovative and powerful tools that speed-up Binary Search, with the use of additional space with respect to the table being searched into. Such space is devoted to the Machine Learning Model. Although in their infancy, they are methodologically and practically important, due to the pervasiveness of Sorted Table Search procedures. In modern applications, model space is a key factor and, in fact, a major open question concerning this area is to assess to what extent one can enjoy the speed-up of Binary Search achieved by Learned Indexes while using constant or nearly constant space models. In this paper, we investigate the mentioned question by (a) introducing two new models, i.e., the Learned k-ary Search Model and the Synoptic Recursive Model Index, respectively; (b) systematically exploring the time-space trade-offs of a hierarchy of existing models, i.e., the ones in the reference software platform Searching on Sorted Data, together with the new ones proposed here. By adhering and extending the current benchmarking methodology, we experimentally show that the Learned k-ary Search Model can speed up Binary Search in constant additional space. Our second model, together with the bi-criteria Piece-wise Geometric Model index, can achieve a speed-up of Binary Search with a model space of 0:05% more than the one taken by the table, being competitive in terms of time-space trade-off with existing proposals. The Synoptic Recursive Model Index and the bi-criteria Piece-wise Geometric Model complement each other quite well across the various levels of the internal memory hierarchy. Finally, our findings stimulate research in this area, since they highlight the need for further studies regarding the time-space relation in Learned Indexes.

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

↑