TY - GEN
T1 - Sorting in One and Two Rounds Using t-Comparators
AU - Gelles, Ran
AU - Lotker, Zvi
AU - Mallmann-Trenn, Frederik
N1 - Publisher Copyright: © Ran Gelles, Zvi Lotker, and Frederik Mallmann-Trenn.
PY - 2024/10/24
Y1 - 2024/10/24
N2 - We examine sorting algorithms for n elements whose basic operation is comparing t elements simultaneously (a t-comparator). We focus on algorithms that use only a single round or two rounds – comparisons performed in the second round depend on the outcomes of the first round comparators. Algorithms with a small number of rounds are well-suited to distributed settings in which communication rounds are costly. We design deterministic and randomized algorithms. In the deterministic case, we show an interesting relation to design theory (namely, to 2-Steiner systems), which yields a single-round optimal algorithm for n = t2k with any k ≥ 1 and a variety of possible values of t. For some values of t, however, no algorithm can reach the optimal (information-theoretic) bound on the number of comparators. For this case (and any other n and t), we show an algorithm that uses at most three times as many comparators as the theoretical bound. We also design a randomized Las-Vegas two-round sorting algorithm for any n and t. Our algorithm uses an asymptotically optimal number of (Formula presented) comparators, with high probability, i.e., with probability at least 1 - 1/n. The analysis of this algorithm involves the gradual unveiling of randomness, using a novel technique which we coin the binary tree of deferred randomness.
AB - We examine sorting algorithms for n elements whose basic operation is comparing t elements simultaneously (a t-comparator). We focus on algorithms that use only a single round or two rounds – comparisons performed in the second round depend on the outcomes of the first round comparators. Algorithms with a small number of rounds are well-suited to distributed settings in which communication rounds are costly. We design deterministic and randomized algorithms. In the deterministic case, we show an interesting relation to design theory (namely, to 2-Steiner systems), which yields a single-round optimal algorithm for n = t2k with any k ≥ 1 and a variety of possible values of t. For some values of t, however, no algorithm can reach the optimal (information-theoretic) bound on the number of comparators. For this case (and any other n and t), we show an algorithm that uses at most three times as many comparators as the theoretical bound. We also design a randomized Las-Vegas two-round sorting algorithm for any n and t. Our algorithm uses an asymptotically optimal number of (Formula presented) comparators, with high probability, i.e., with probability at least 1 - 1/n. The analysis of this algorithm involves the gradual unveiling of randomness, using a novel technique which we coin the binary tree of deferred randomness.
KW - Deferred Randomness
KW - Round Complexity
KW - Sorting
KW - Steiner-System
UR - http://www.scopus.com/inward/record.url?scp=85208420072&partnerID=8YFLogxK
U2 - https://doi.org/10.4230/LIPIcs.DISC.2024.27
DO - https://doi.org/10.4230/LIPIcs.DISC.2024.27
M3 - Conference contribution
T3 - Leibniz International Proceedings in Informatics, LIPIcs
BT - 38th International Symposium on Distributed Computing, DISC 2024
A2 - Alistarh, Dan
PB - Schloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing
T2 - 38th International Symposium on Distributed Computing, DISC 2024
Y2 - 28 October 2024 through 1 November 2024
ER -