Sorting and Selection in Rounds with Adversarial Comparisons

被引:0
|
作者
Trevisan, Christopher [1 ]
机构
[1] Univ Waterloo, Waterloo, ON, Canada
来源
PROCEEDINGS OF THE 2024 ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, SODA | 2024年
关键词
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 条
  • [21] Sorting 13 elements requires 34 comparisons
    Peczarski, M
    ALGORITHMS-ESA 2002, PROCEEDINGS, 2002, 2461 : 785 - 794
  • [22] Comparisons in evolution and engineering: The collective intelligence of sorting
    Scholes, S
    Wilson, M
    Sendova-Franks, AB
    Melhuish, C
    ADAPTIVE BEHAVIOR, 2004, 12 (3-4) : 147 - 159
  • [23] Sorting processes with energy-constrained comparisons
    Geissmann, Barbara
    Penna, Paolo
    PHYSICAL REVIEW E, 2018, 97 (05)
  • [24] FAST SORTING OF WEYL SEQUENCES USING COMPARISONS
    ELLIS, MH
    STEELE, JM
    SIAM JOURNAL ON COMPUTING, 1981, 10 (01) : 88 - 95
  • [25] Neural Spike Sorting Using Unsupervised Adversarial Learning
    Ciecierski, Konrad A.
    FOUNDATIONS OF INTELLIGENT SYSTEMS (ISMIS 2020), 2020, 12117 : 192 - 202
  • [26] Repeated Rounds with Price Feedback in Experimental Auction Valuation: An Adversarial Collaboration
    Corrigan, Jay R.
    Drichoutis, Andreas C.
    Lusk, Jayson L.
    Nayga, Rodolfo M., Jr.
    Rousu, Matthew C.
    AMERICAN JOURNAL OF AGRICULTURAL ECONOMICS, 2012, 94 (01) : 97 - 115
  • [27] SELECTION AND SORTING WITH LIMITED STORAGE
    MUNRO, JI
    PATERSON, MS
    THEORETICAL COMPUTER SCIENCE, 1980, 12 (03) : 315 - 323
  • [28] Sorting and selection on dynamic data
    Anagnostopoulos, Aris
    Kumar, Ravi
    Mahdian, Mohammad
    Upfal, Eli
    THEORETICAL COMPUTER SCIENCE, 2011, 412 (24) : 2564 - 2576
  • [29] Introspective sorting and selection algorithms
    Musser, DR
    SOFTWARE-PRACTICE & EXPERIENCE, 1997, 27 (08): : 983 - 993
  • [30] Introspective sorting and selection algorithms
    Musser, David R.
    Software - Practice and Experience, 1997, 27 (08): : 983 - 993