Lune

SODA2021顶会

Sorting Short Keys in Circuits of Size o(n log n)

Gilad Asharov, Wei-Kai Lin, Elaine Shi

摘要

We consider the classical problem of sorting an input array containing n elements, where each element is described with a k-bit comparison-key and a w-bit payload. A long-standing open problem is whether there exist (k + w) • o(n log n)-sized boolean circuits for sorting. A landmark result in this area is the work by Ajtai, Komlós, and Szemerédi (STOC'83), where they showed how to achieve sorting circuits with (k + w) • O(n log n) boolean gates. The recent work of Farhadi et al. (STOC'19) showed that if the famous Li-Li network coding conjecture is true, then sorting circuits of size w • o(n log n) do not exist for general k; however, no unconditional lower bound is known (in fact proving super-linear circuit lower bounds in general is out of the reach of existing techniques).

In this paper, we show that one can overcome the n log n barrier when the keys to be sorted are short. Specifically, we prove that there is a circuit with (k + w) • O(nk) • poly(log * nlog * (w + k)) boolean gates capable of sorting any input array containing n elements, each described with a k-bit key and a w-bit payload. Therefore, if the keys to be sorted are short, say, k < o(log n), our result is asymptotically better than the classical AKS sorting network (ignoring poly log * terms); and we also overcome the n log n barrier in such cases. Such a result might be surprising initially because it is long known that comparator-based techniques must incur Ω(n log n) comparator gates even when the keys to be sorted are only 1-bit long (e.g., see Knuth's "Art of Programming" textbook). To the best of our knowledge, we are the first to achieve non-trivial results for sorting circuits using non-comparison-based techniques. We also show that if the Li-Li network coding conjecture is true, our upper bound is optimal, barring poly log * terms, for every k as long as k = O(log n).

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper1

  1. OptORAMa: Optimal Oblivious RAMGilad Asharov, Ilan Komargodski, Wei-Kai Lin, Kartik Nayak 等EUROCRYPT 2020 · 92 次引用

相关 Paper

  1. Optimal Sorting Circuits for Short KeysWei-Kai Lin, Elaine ShiSODA 2022 · 2 次引用
  2. Sorting and Selection in Rounds with Adversarial ComparisonsChristopher TrevisanSODA 2024
  3. Optimal Bounds for Noisy SortingYuzhou Gu, Yinzhan XuSTOC 2023 · 11 次引用
  4. Beating Brute Force for Compression ProblemsShuichi Hirahara, Rahul Ilango, R. Ryan WilliamsSTOC 2024 · 3 次引用
  5. Nearly Tight Bounds for the Online Sorting ProblemYossi Azar, Debmalya Panigrahi, Or VardiSODA 2026
黄昏的海面,两侧是细线勾勒的悬崖