arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1811.01313cs.DScs.CCcs.DBcs.ITmath.IT
收藏

基于网络编码的外存储器排序的下界

Lower Bounds for External Memory Integer Sorting via Network Coding

Alireza Farhadi, MohammadTaghi Hajiaghayi, Kasper Green Larsen, Elaine Shi

摘要:

对超大型数据集进行排序是实践中经常发生的任务。这些数据集通常比计算机的主存储器大得多,因此经常使用由Aggarwal和Vitter(1988)首次引入的外部存储器排序算法。基于比较的外部存储器排序的复杂性已经被理解了几十年,但是如果我们假设要排序的键是整数,情况仍然难以理解。在内部存储器中,可以使用经典的基数排序算法在$O(n)$时间内对每个$Θ(\lg n)$比特的一组$n$整数密钥进行排序,然而在外部存储器中,没有已知的比基于简单比较的整数排序算法更快的整数排序算法。在本文中,我们提出了一个严格的条件下界的外部存储排序的整数的复杂性。我们的下界是基于一个著名的猜想,在网络编码的李和李,谁证明了网络编码不能帮助任何超出标准的多商品流率在无向图。以前唯一将Li和Li猜想与算法的下界联系起来的工作是Adler等人的工作。Adler等人确实获得了遗忘算法的相对简单的下界(存储器访问模式是固定的并且与输入数据无关)。不幸的是,遗忘是一个很强的限制,特别是整数排序:我们表明,李和李猜想意味着一个$Ω(n \log n)$下界的内部存储器遗忘排序时的关键字是$Θ(\lg n)$位。这与经典的(非遗忘的)基数排序算法形成鲜明对比。事实上,超越遗忘是非常重要的;我们需要引入几个新的方法和相关技术,这是他们自己的兴趣,以获得我们的外部存储器整数排序的紧下界。

英文摘要:

Sorting extremely large datasets is a frequently occuring task in practice. These datasets are usually much larger than the computer's main memory; thus external memory sorting algorithms, first introduced by Aggarwal and Vitter (1988), are often used. The complexity of comparison based external memory sorting has been understood for decades by now, however the situation remains elusive if we assume the keys to be sorted are integers. In internal memory, one can sort a set of $n$ integer keys of $Θ(\lg n)$ bits each in $O(n)$ time using the classic Radix Sort algorithm, however in external memory, there are no faster integer sorting algorithms known than the simple comparison based ones. In this paper, we present a tight conditional lower bound on the complexity of external memory sorting of integers. Our lower bound is based on a famous conjecture in network coding by Li and Li, who conjectured that network coding cannot help anything beyond the standard multicommodity flow rate in undirected graphs. The only previous work connecting the Li and Li conjecture to lower bounds for algorithms is due to Adler et al. Adler et al. indeed obtain relatively simple lower bounds for oblivious algorithms (the memory access pattern is fixed and independent of the input data). Unfortunately obliviousness is a strong limitations, especially for integer sorting: we show that the Li and Li conjecture implies an $Ω(n \log n)$ lower bound for internal memory oblivious sorting when the keys are $Θ(\lg n)$ bits. This is in sharp contrast to the classic (non-oblivious) Radix Sort algorithm. Indeed going beyond obliviousness is highly non-trivial; we need to introduce several new methods and involved techniques, which are of their own interest, to obtain our tight lower bound for external memory integer sorting.

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

↑