PCF Learned Sort: a Learning Augmented Sort Algorithm with $O(n \log\log n)$ Expected Complexity
Atsuki Sato, Yusuke Matsui

TL;DR
This paper introduces PCF Learned Sort, a machine learning-based sorting algorithm with a proven expected complexity of O(n log log n), supported by empirical results on synthetic and real datasets.
Contribution
It provides the first theoretical guarantee for Learned Sort algorithms, demonstrating their expected O(n log log n) complexity under mild data distribution assumptions.
Findings
Empirically achieves O(n log log n) complexity on various datasets.
First theoretical analysis supporting the empirical efficiency of Learned Sort.
Code implementation is publicly available.
Abstract
Sorting is one of the most fundamental algorithms in computer science. Recently, Learned Sorts, which use machine learning to improve sorting speed, have attracted attention. While existing studies show that Learned Sort is empirically faster than classical sorting algorithms, they do not provide theoretical guarantees about its computational complexity. We propose Piecewise Constant Function (PCF) Learned Sort, a theoretically guaranteed Learned Sort algorithm. We prove that the expected complexity of PCF Learned Sort is under mild assumptions on the data distribution. We also confirm empirically that PCF Learned Sort has a computational complexity of on both synthetic and real datasets. This is the first study to theoretically support the empirical success of Learned Sort, and provides evidence for why Learned Sort is fast. The…
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
TopicsMachine Learning and Algorithms · Algorithms and Data Compression · Machine Learning and Data Classification
