学习增强的搜索数据结构
Learning-Augmented Search Data Structures
AI总结:
研究整合机器学习建议改进传统搜索数据结构,提出学习增强的跳表和KD树,在预言机可能出错时仍保证接近最优的期望搜索时间并具鲁棒性,且在合成与真实数据集上优于传统结构。
摘要:
我们研究如何整合机器学习建议来改进为高效搜索查询而设计的传统数据结构。尽管近期已有利用机器学习建议来改善二叉搜索树性能的尝试(例如 Lin 等人,ICML 2022),但由此产生的结构仍然存在二叉搜索树固有的缺陷,例如在多次更新中维持平衡的复杂性,以及无法处理部分有序或高维数据集。出于这些原因,我们在本工作中重点关注跳表(skip lists)和 KD 树(KD trees)。在给定一个可能出错的预言机(该预言机输出一组数据项上搜索查询的估计分数频率)的情况下,我们构建了跳表和 KD 树,并证明它们能提供最优的期望搜索时间,误差在近两倍以内。事实上,即使预言机仅在常数因子内准确,我们的学习增强跳表和 KD 树在常数因子内依然是最优的。我们还通过证明展示了其鲁棒性:即使预测任意错误,我们的数据结构所达到的期望搜索时间,与无感知的跳表/KD 树构造相比也仅在常数因子以内。最后,我们通过实验证明,我们的学习增强搜索数据结构在合成和真实数据集上均优于其对应的传统模拟结构。
英文摘要:
We study the integration of machine learning advice to improve upon traditional data structure designed for efficient search queries. Although there has been recent effort in improving the performance of binary search trees using machine learning advice, e.g., Lin et. al. (ICML 2022), the resulting constructions nevertheless suffer from inherent weaknesses of binary search trees, such as complexity of maintaining balance across multiple updates and the inability to handle partially-ordered or high-dimensional datasets. For these reasons, we focus on skip lists and KD trees in this work. Given access to a possibly erroneous oracle that outputs estimated fractional frequencies for search queries on a set of items, we construct skip lists and KD trees that provably provides the optimal expected search time, within nearly a factor of two. In fact, our learning-augmented skip lists and KD trees are still optimal up to a constant factor, even if the oracle is only accurate within a constant factor. We also demonstrate robustness by showing that our data structures achieves an expected search time that is within a constant factor of an oblivious skip list/KD tree construction even when the predictions are arbitrarily incorrect. Finally, we empirically show that our learning-augmented search data structures outperforms their corresponding traditional analogs on both synthetic and real-world datasets.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。