Learned Lock-free Search Data Structures(基于学习的无锁搜索数据结构)
Learned Lock-free Search Data Structures
AI总结:
针对现有无阻塞搜索数据结构未应用学习型查询的问题,本文提出Kanva框架,通过浅层轻量线性模型层级遍历至无阻塞动态有序搜索结构,性能优于现有最优方案且可证明可线性化。
摘要:
无阻塞搜索数据结构在高性能多核架构上具备可扩展性,同时能保证进程推进。近年来,“learned queries(学习型查询)”受到了广泛关注,它指的是通过训练机器学习模型来推断有序数据集的累积分布函数,进而预测键的排名。已有一系列研究证明了学习型查询相较于经典查询算法的优越性,但据我们所知,目前还没有无阻塞搜索数据结构采用这类方法。本文提出了Kanva,一种用于学习型无阻塞搜索的框架。Kanva的设计直观却颇具巧思:沿着由轻量级线性模型构成的浅层层级向下遍历,抵达作为动态有序搜索结构的“无阻塞容器(non-blocking bins)”。该方法在多种工作负载和数据分布下,性能显著优于当前最先进的无阻塞插值搜索树与消除型(a,b)树,且Kanva可证明是可线性化的。
英文摘要:
Non-blocking search data structures offer scalability with a progress guarantee on high-performance multi-core architectures. In the recent past, "learned queries" have gained remarkable attention. It refers to predicting the rank of a key computed by machine learning models trained to infer the cumulative distribution function of an ordered dataset. A line of works exhibits the superiority of learned queries over classical query algorithms. Yet, to our knowledge, no existing non-blocking search data structure employs them. In this paper, we introduce \textbf{Kanva}, a framework for learned non-blocking search. Kanva has an intuitive yet non-trivial design: traverse down a shallow hierarchy of lightweight linear models to reach the "non-blocking bins," which are dynamic ordered search structures. The proposed approach significantly outperforms the current state-of-the-art -- non-blocking interpolation search trees and elimination (a,b) trees -- in many workload and data distributions. Kanva is provably linearizable.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。