Universal Sorting: Finding a DAG using Priced Comparisons

11/08/2022
by   Mayank Goswami, et al.
0

We resolve two open problems in sorting with priced information, introduced by [Charikar, Fagin, Guruswami, Kleinberg, Raghavan, Sahai (CFGKRS), STOC 2000]. In this setting, different comparisons have different (potentially infinite) costs. The goal is to sort with small competitive ratio (algorithmic cost divided by cheapest proof). 1) When all costs are in {0,1,n,∞}, we give an algorithm that has O(n^3/4) competitive ratio. Our algorithm generalizes the algorithms for generalized sorting (all costs are either 1 or ∞), a version initiated by [Huang, Kannan, Khanna, FOCS 2011] and addressed recently by [Kuszmaul, Narayanan, FOCS 2021]. 2) We answer the problem of bichromatic sorting posed by [CFGKRS]: The input is split into A and B, and A-A and B-B comparisons are more expensive than an A-B comparisons. We give a randomized algorithm with a O(polylog n) competitive ratio. These results are obtained by introducing the universal sorting problem, which generalizes the existing framework in two important ways. We remove the promise of a directed Hamiltonian path in the DAG of all comparisons. Instead, we require that an algorithm outputs the transitive reduction of the DAG. For bichromatic sorting, when A-A and B-B comparisons cost ∞, this generalizes the well-known nuts and bolts problem. We initiate an instance-based study of the universal sorting problem. Our definition of instance-optimality is inherently more algorithmic than that of the competitive ratio in that we compare the cost of a candidate algorithm to the cost of the optimal instance-aware algorithm. This unifies existing lower bounds, and opens up the possibility of an O(1)-instance optimal algorithm for the bichromatic version.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/31/2020

Generalized Sorting with Predictions

Generalized sorting problem, also known as sorting with forbidden compar...
research
11/14/2021

Stochastic and Worst-Case Generalized Sorting Revisited

The generalized sorting problem is a restricted version of standard comp...
research
12/17/2020

Query-Competitive Sorting with Uncertainty

We study the problem of sorting under incomplete information, when queri...
research
02/03/2022

Noisy Sorting Capacity

Sorting is the task of ordering n elements using pairwise comparisons. I...
research
06/11/2022

Lower Bounds for Sorting 16, 17, and 18 Elements

It is a long-standing open question to determine the minimum number of c...
research
08/30/2022

Sorting Genomes by Prefix Double-Cut-and-Joins

In this paper, we study the problem of sorting unichromosomal linear gen...
research
03/15/2018

Pivot Sampling in QuickXSort: Precise Analysis of QuickMergesort and QuickHeapsort

QuickXSort is a strategy to combine Quicksort with another sorting metho...

Please sign up or login with your details

Forgot password? Click here to reset