Work

The Distributed Selection Problem and the AKS Sorting Network.

Year: 2015
Type: preprint
Abstract: We consider the selection problem on a completely connected network of $n$ processors with no shared memory. Each processor initially holds a given numeric item of $b$ bits, allowed to send a $b$-bit message to another processor at a time. On such a communication network ${\cal G}$, we show that the $k^{th}$ smallest of the $n$ inputs can be detected in $O( \log n )$ time with $O ( n \log \log n )$ messages. The possibility of such a parallel algorithm for this distributed $k$-selection problem has been unknown despite the intensive investigation on many variations of the selection problem carried out since 1970s. Satisfying the constraint of total $O ( n \log \log n )$ messages, it improves on ${\cal G}$ the asymptotic running time of Kuhn, Locker and Wattenhofer's algorithm. Our parallel algorithm simulates the comparisons and swaps performed by the AKS sorting network, the one of logarithmic depth discovered by Ajtai, Koml\'os and Szemer\'edi in 1983. Simulation of such a sorting network is our main trick to achieve $O ( \log n )$ time and $O ( n \log \log n )$ messages simultaneously. Extending its correctness proof, we will be able improve by about 47% the upper bound found by Seiferas on the constant factor of the $O ( \log n )$ depth of an $n$-input sorting network. Furthermore, we show the universal time lower bound $\lg n$ for many basic data aggregation problems on ${\cal G}$. The class of problems having this lower bound is huge including the selection problem, the problem of finding the sum of $n$ items, and that of counting items exceeding a threshold. Thus the universal lower bound means the asymptotic time optimality of our parallel algorithm.
Language: English
Open Access status: green
OpenAlex ID: W2242586777
Cites: 10
Cited by:
Related to: 10