Sorting and Selection in Rounds with Adversarial Comparisons

被引:0
|
作者
Trevisan, Christopher [1 ]
机构
[1] Univ Waterloo, Waterloo, ON, Canada
关键词
PARALLEL; COMPLEXITY; NETWORKS;
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We continue the study of selection and sorting of n numbers under the adversarial comparator model, where comparisons can be adversarially tampered with if the arguments are sufficiently close. We derive a randomized sorting algorithm that does O(n log(2) n) comparisons and gives a correct answer with high probability, addressing an open problem of Ajtai, Feldman, Hassadim, and Nelson [AFHN15]. Our algorithm also implies a selection algorithm that does O(n log n) comparisons and gives a correct answer with high probability. Both of these results are a log factor away from the naive lower bound. [AFHN15] shows an Omega(n(1+epsilon)) lower bound for both sorting and selection in the deterministic case, so our results also prove a discrepancy between what is possible with deterministic and randomized algorithms in this setting. We also consider both sorting and selection in rounds, exploring the tradeoff between accuracy, number of comparisons, and number of rounds. Using results from sorting networks, we give general algorithms for sorting in d rounds where the number of comparisons increases with d and the accuracy decreases with d. Using these algorithms, we derive selection algorithms in d + O(log d) rounds that use the same number of comparisons as the corresponding sorting algorithm, but have a constant accuracy. Notably, this gives selection algorithms in d rounds that use n(1+o(1)) comparisons and have constant accuracy for all d = omega(1), which still beats the deterministic lower bound of Omega(n(1+epsilon)).
引用
收藏
页码:1099 / 1119
页数:21
相关论文
共 50 条
  • [1] Sorting and Selection with Imprecise Comparisons
    Ajtai, Miklos
    Feldman, Vitaly
    Hassidim, Avinatan
    Nelson, Jelani
    AUTOMATA, LANGUAGES AND PROGRAMMING, PT I, 2009, 5555 : 37 - +
  • [2] Sorting and Selection with Imprecise Comparisons
    Ajtai, Miklos
    Feldman, Vitaly
    Hassidim, Avinatan
    Nelson, Jelani
    ACM TRANSACTIONS ON ALGORITHMS, 2016, 12 (02)
  • [3] Maximum selection and sorting with adversarial comparators
    Acharya, Jayadev
    Falahatgar, Moein
    Jafarpour, Ashkan
    Orlitsky, Alon
    Suresh, Ananda Theertha
    Journal of Machine Learning Research, 2018, 19
  • [4] Maximum Selection and Sorting with Adversarial Comparators
    Acharya, Jayadev
    Falahatgar, Moein
    Jafarpour, Ashkan
    Orlitsky, Alon
    Suresh, Ananda Theertha
    JOURNAL OF MACHINE LEARNING RESEARCH, 2018, 19
  • [5] SORTING IN ROUNDS
    BOLLOBAS, B
    DISCRETE MATHEMATICS, 1988, 72 (1-3) : 21 - 28
  • [6] SORTING AND MERGING IN ROUNDS
    HAGGKVIST, R
    HELL, P
    SIAM JOURNAL ON ALGEBRAIC AND DISCRETE METHODS, 1982, 3 (04): : 465 - 473
  • [7] SORTING AND SELECTING IN ROUNDS
    PIPPENGER, N
    SIAM JOURNAL ON COMPUTING, 1987, 16 (06) : 1032 - 1038
  • [8] Sorting by Swaps with Noisy Comparisons
    Gavenciak, Tomas
    Geissmann, Barbara
    Lengler, Johannes
    ALGORITHMICA, 2019, 81 (02) : 796 - 827
  • [9] Sorting by Swaps with Noisy Comparisons
    Gavenciak, Tomas
    Geissmann, Barbara
    Lengler, Johannes
    PROCEEDINGS OF THE 2017 GENETIC AND EVOLUTIONARY COMPUTATION CONFERENCE (GECCO'17), 2017, : 1375 - 1382
  • [10] Sorting by Swaps with Noisy Comparisons
    Tomáš Gavenčiak
    Barbara Geissmann
    Johannes Lengler
    Algorithmica, 2019, 81 : 796 - 827