Optimal Dislocation with Persistent Errors in Subquadratic Time

We study the problem of sorting N elements in the presence of persistent errors in comparisons: In this classical model, each comparison between two elements is wrong independently with some probability up to p , but repeating the same comparison gives always the same result. In this model, it is impossible to reliably compute a perfectly sorted permutation of the input elements. Rather, the quality of a sorting algorithm is often evaluated w.r.t. the maximum dislocation of the sequences it computes, namely, the maximum absolute difference between the position of an element in the returned sequence and the position of the same element in the perfectly sorted sequence. The best known algorithms for this problem have running time O ( N 2 ) and achieve, w.h.p., an optimal maximum dislocation of O ( log N ) $O(\log N)$ for constant error probability p . Note that no algorithm can achieve maximum dislocation o ( log N ) $o(\log N)$ w.h.p., regardless of its running time. In this work we present the first subquadratic time algorithm with optimal maximum dislocation. Our algorithm runs in O ~ ( N 3 / 2 ) $\widetilde {O}(N^{3/2})$ time and it guarantees O ( log N ) $O(\log N)$ maximum dislocation with high probability for any p ≤ 1/16.

[1]  K. B. Lakshmanan,et al.  Recursive merge sort with erroneous comparisons , 2011, Discret. Appl. Math..

[2]  Avinatan Hassidim,et al.  Sorting and Selection with Imprecise Comparisons , 2009, ICALP.

[3]  Peter Damaschke The Solution Space of Sorting with Recurring Comparison Faults , 2016, IWOCA.

[4]  Ferdinando Cicalese,et al.  Fault-Tolerant Search Algorithms , 2013, Monographs in Theoretical Computer Science. An EATCS Series.

[5]  Ferdinando Cicalese Fault-Tolerant Search Algorithms: Reliable Computation with Unreliable Information , 2013 .

[6]  Mark Braverman,et al.  Noisy sorting without resampling , 2007, SODA '08.

[7]  Eli Upfal,et al.  Computing with Noisy Information , 1994, SIAM J. Comput..

[8]  Svante Janson,et al.  Quicksort with Unreliable Comparisons: A Probabilistic Analysis , 2004, Comb. Probab. Comput..

[9]  Atri Rudra,et al.  Ordering by weighted number of wins gives a good ranking for weighted tournaments , 2006, SODA '06.

[10]  Andrzej Pelc,et al.  Searching games with errors - fifty years of coping with liars , 2002, Theor. Comput. Sci..

[11]  Chih-Hung Liu,et al.  Sorting with Recurrent Comparison Errors , 2017, ISAAC.

[12]  Vasek Chvátal,et al.  The tail of the hypergeometric distribution , 1979, Discret. Math..

[13]  David P. Woodruff,et al.  Tolerant Algorithms , 2011, ESA.

[14]  Aviad Rubinstein,et al.  Sorting from Noisier Samples , 2017, SODA.

[15]  Barbara Geissmann,et al.  Sorting by swaps with noisy comparisons , 2017, GECCO.