从特定到通用的学习型有序集合字典:一种理论严谨的范式,在实践中产生有竞争力的数据结构增强器
From Specific to Generic Learned Sorted Set Dictionaries: A Theoretically Sound Paradigm Yelding Competitive Data Structural Boosters in Practice
AI总结:
本研究提出一种通用范式,可为任意有序集合字典生成学习型版本,理论实现最优二叉搜索森林和动态匹配经典字典时间界限,实验证明其竞争力。
摘要:
本研究关注学习型数据结构,这是一个在机器学习与经典数据结构交叉领域新兴的研究方向。它在方法论上具有重要意义,并具有很高的实际影响力。我们聚焦于学习型索引,即学习型有序集合字典。目前已有的方案是特定性的,即它们只能显著提升具有排序布局的表搜索过程的时间性能,例如二分搜索。我们提出了一种新颖的范式,作为已知专门化范式的补充,可以为任何有序集合字典生成学习型版本,例如平衡二叉搜索树或非排序布局(如Eytzinger布局)上的二分搜索。在理论上,基于该范式,我们获得了若干有意义的结果,例如:(a) 首个学习型最优二叉搜索森林,其平均访问时间受限于字典访问概率分布的熵;(b) 首个学习型有序集合字典,在动态情形和摊销分析设置下,匹配已知经典字典的相同时间界限。后者是在关于宇宙规模的广泛接受的假设下成立的。实验部分在软件开发方面较为复杂,但明确表明了一个非显而易见的发现:我们提出的泛化可以产生有效且具有竞争力的学习型数据结构增强器,甚至相对于特定的基准模型也是如此。
英文摘要:
This research concerns Learned Data Structures, a recent area that has emerged at the crossroad of Machine Learning and Classic Data Structures. It is methodologically important and with a high practical impact. We focus on Learned Indexes, i.e., Learned Sorted Set Dictionaries. The proposals available so far are specific in the sense that they can boost, indeed impressively, the time performance of Table Search Procedures with a sorted layout only, e.g., Binary Search. We propose a novel paradigm that, complementing known specialized ones, can produce Learned versions of any Sorted Set Dictionary, for instance, Balanced Binary Search Trees or Binary Search on layouts other that sorted, i.e., Eytzinger. Theoretically, based on it, we obtain several results of interest, such as (a) the first Learned Optimum Binary Search Forest, with mean access time bounded by the Entropy of the probability distribution of the accesses to the Dictionary; (b) the first Learned Sorted Set Dictionary that, in the Dynamic Case and in an amortized analysis setting, matches the same time bounds known for Classic Dictionaries. This latter under widely accepted assumptions regarding the size of the Universe. The experimental part, somewhat complex in terms of software development, clearly indicates the nonobvious finding that the generalization we propose can yield effective and competitive Learned Data Structural Booster, even with respect to specific benchmark models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。