在大小为o(n log n)的电路中对短键排序
Sorting Short Keys in Circuits of Size o(n log n)
摘要:
我们考虑的经典问题的排序包含$n$元素的输入数组,其中每个元素是用一个$k$位比较键和一个$w$位有效载荷。一个长期存在的问题是是否存在$(k + w) \cdot o(n \log n)$大小的布尔电路进行排序。我们表明,可以克服$n\log n$障碍时,要排序的键是短的。具体来说,我们证明了有一个电路与$(k + w) \cdot O(n k) \cdot \poly(\log^*n - \log^* (w + k))$布尔门能够排序任何输入数组包含$n$元素,每个描述与一个$k$位的关键和$w$位的有效载荷。因此,如果要排序的键是短的,比如说,$k < o(\log n)$,我们的结果是渐近优于经典的AKS排序网络(忽略$\poly\log^*$条款),我们也克服了$n \log n$障碍,在这种情况下。这样的结果最初可能是令人惊讶的,因为早就知道基于比较器的技术必须招致$Ω(n \log n)$比较器门,即使当要排序的关键字仅为$Ω(n \log n)$位长时(例如,参见Knuth的“Art of Programming”教科书)。据我们所知,我们是第一个实现非平凡的结果排序电路使用非比较为基础的技术。我们还表明,如果李-李网络编码猜想是真的,我们的上限是最佳的,除了$\poly\log^*$条款,为每个$k$只要$k = O(\log n)$。
英文摘要:
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) \cdot o(n \log n)$-sized boolean circuits for sorting. 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) \cdot O(n k) \cdot \poly(\log^*n - \log^* (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)$.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。