Stochastic and Worst-Case Generalized Sorting Revisited
William Kuszmaul, Shyam Narayanan

TL;DR
This paper improves the bounds for generalized sorting in both random and worst-case graphs, providing more efficient algorithms with optimal or near-optimal comparison complexities.
Contribution
It introduces new algorithms for generalized sorting that significantly reduce the number of comparisons needed on Erdős-Rényi and arbitrary graphs.
Findings
Expected $O(n \, \log (np))$ comparisons for Erdős-Rényi graphs, proven optimal.
Algorithm with $ ilde{O}(\\sqrt{mn})$ comparisons for arbitrary graphs.
Improves upon previous algorithms with higher comparison complexities.
Abstract
The \emph{generalized sorting problem} is a restricted version of standard comparison sorting where we wish to sort elements but only a subset of pairs are allowed to be compared. Formally, there is some known graph on the elements , and the goal is to determine the true order of the elements using as few comparisons as possible, where all comparisons must be edges in . We are promised that if the true ordering is for an unknown permutation of the vertices , then for all : this Hamiltonian path ensures that sorting is actually possible. In this work, we improve the bounds for generalized sorting on both random graphs and worst-case graphs. For Erd\H{o}s-Renyi random graphs (with the promised Hamiltonian path added to ensure sorting is possible), we…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
