Learned Lock-free Search Data Structures
Gaurav Bhardwaj, Bapi Chatterjee, Abhinav Sharma, Sathya Peri and, Siddharth Nayak

TL;DR
This paper introduces Kanva, a novel non-blocking search data structure that leverages machine learning-based learned queries to improve scalability and performance on multi-core architectures.
Contribution
Kanva is the first non-blocking search structure to integrate learned queries, combining shallow model hierarchies with dynamic search structures for enhanced efficiency.
Findings
Outperforms state-of-the-art non-blocking search structures in various workloads.
Provably linearizable, ensuring correctness in concurrent environments.
Significantly faster in diverse data distributions.
Abstract
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 --…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAlgorithms and Data Compression · Data Quality and Management · Topic Modeling
