arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.07122cs.DScs.CC
收藏

PCF学习排序:一种具有O(n log log n)期望复杂度的学习增强排序算法

PCF Learned Sort: a Learning Augmented Sort Algorithm with $O(n \log\log n)$ Expected Complexity

Graduate School of Information Science and Technology The University of Tokyo(东京大学信息理工学系研究科)

Atsuki Sato, Yusuke Matsui

AI总结:

本文提出PCF学习排序算法,首次从理论上证明学习排序在温和数据分布假设下具有O(n log log n)期望复杂度,并通过合成与真实数据集实验验证,为学习排序的快速性提供了理论依据。

摘要:

排序是计算机科学中最基础的算法之一。近年来,利用机器学习提升排序速度的学习排序(Learned Sorts)引起了广泛关注。尽管现有研究表明学习排序在经验上比经典排序算法更快,但它们并未提供关于其计算复杂度的理论保证。我们提出了分段常数函数(Piecewise Constant Function,PCF)学习排序,这是一种具有理论保证的学习排序算法。我们证明,在对数据分布的温和假设下,PCF学习排序的期望复杂度为O(n log log n)。我们还通过实验证实,在合成数据集和真实数据集上,PCF学习排序的计算复杂度均为O(n log log n)。这是第一项从理论上支持学习排序经验成功的研究,并为学习排序为何快速提供了证据。代码可在 https://github.com/atsukisato/PCF_Learned_Sort 获取。

英文摘要:

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 $\mathcal{O}(n \log \log n)$ under mild assumptions on the data distribution. We also confirm empirically that PCF Learned Sort has a computational complexity of $\mathcal{O}(n \log \log n)$ 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 code is available at https://github.com/atsukisato/PCF_Learned_Sort .

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑