English

Constant-Depth Sorting Networks

Computational Complexity 2022-08-18 v1

Abstract

In this paper, we address sorting networks that are constructed from comparators of arity k>2k > 2. That is, in our setting the arity of the comparators -- or, in other words, the number of inputs that can be sorted at the unit cost -- is a parameter. We study its relationship with two other parameters -- nn, the number of inputs, and dd, the depth. This model received considerable attention. Partly, its motivation is to better understand the structure of sorting networks. In particular, sorting networks with large arity are related to recursive constructions of ordinary sorting networks. Additionally, studies of this model have natural correspondence with a recent line of work on constructing circuits for majority functions from majority gates of lower fan-in. Motivated by these questions, we obtain the first lower bounds on the arity of constant-depth sorting networks. More precisely, we consider sorting networks of depth dd up to 4, and determine the minimal kk for which there is such a network with comparators of arity kk. For depths d=1,2d=1,2 we observe that k=nk=n. For d=3d=3 we show that k=n2k = \lceil \frac n2 \rceil. For d=4d=4 the minimal arity becomes sublinear: k=Θ(n2/3)k = \Theta(n^{2/3}). This contrasts with the case of majority circuits, in which k=O(n2/3)k = O(n^{2/3}) is achievable already for depth d=3d=3.

Cite

@article{arxiv.2208.08394,
  title  = {Constant-Depth Sorting Networks},
  author = {Natalia Dobrokhotova-Maikova and Alexander Kozachinskiy and Vladimir Podolskii},
  journal= {arXiv preprint arXiv:2208.08394},
  year   = {2022}
}

Comments

17 pages, 3 figures

R2 v1 2026-06-25T01:46:28.257Z