Table of Contents
Fetching ...

Noisy Sorting Capacity

Ziao Wang, Nadim Ghaddar, Banghua Zhu, Lele Wang

TL;DR

This work introduces the noisy sorting capacity, the maximum sorting rate achievable when sorting n elements via noisy pairwise comparisons with unknown flip probability p ∈ (0,1/2). It develops insertion-sort-based coding schemes that use Burnashev–Zigangirov (BZ) querying with p estimation to achieve positive rates, showing C(p) ≥ 1/2 (1−H(p)) and, for fixed-length codes, C_f(p) ≥ (1/2) log(1/g(p)) with g(p) = 1/2 + sqrt{p(1−p)}. The paper further derives two converse bounds: C(p) ≤ 1−H(p) for general codes and a tighter bound for insertion-based codes, C_ins(p) ≤ 1 / (1/(1−H(p)) + 1/D(p∥1−p)); these results collectively advance the understanding of sorting under unknown noise and connect sorting with classical channel coding with feedback. The proposed, p-agnostic schemes outperform prior methods (e.g., ren 2019) and lay groundwork for tighter characterizations of noisy sorting capacity, with implications for robust ranking and information-theoretic sorting limits.

Abstract

Sorting is the task of ordering $n$ elements using pairwise comparisons. It is well known that $m=Θ(n\log n)$ comparisons are both necessary and sufficient when the outcomes of the comparisons are observed with no noise. In this paper, we study the sorting problem when each comparison is incorrect with some fixed yet unknown probability $p$. Unlike the common approach in the literature which aims to minimize the number of pairwise comparisons $m$ to achieve a given desired error probability, we consider randomized algorithms with expected number of queries $\textsf{E}[M]$ and aim at characterizing the maximal sorting rate $\frac{n\log n}{\textsf{E}[M]}$ such that the ordering of the elements can be estimated with a vanishing error probability asymptotically. The maximal rate is referred to as the noisy sorting capacity. In this work, we derive upper and lower bounds on the noisy sorting capacity. The two lower bounds -- one for fixed-length algorithms and one for variable-length algorithms -- are established by combining the insertion sort algorithm with the well-known Burnashev--Zigangirov algorithm for channel coding with feedback. Compared with existing methods, the proposed algorithms are universal in the sense that they do not require the knowledge of $p$, while maintaining a strictly positive sorting rate. Moreover, we derive a general upper bound on the noisy sorting capacity, along with an upper bound on the maximal rate that can be achieved by sorting algorithms that are based on insertion sort.

Noisy Sorting Capacity

TL;DR

This work introduces the noisy sorting capacity, the maximum sorting rate achievable when sorting n elements via noisy pairwise comparisons with unknown flip probability p ∈ (0,1/2). It develops insertion-sort-based coding schemes that use Burnashev–Zigangirov (BZ) querying with p estimation to achieve positive rates, showing C(p) ≥ 1/2 (1−H(p)) and, for fixed-length codes, C_f(p) ≥ (1/2) log(1/g(p)) with g(p) = 1/2 + sqrt{p(1−p)}. The paper further derives two converse bounds: C(p) ≤ 1−H(p) for general codes and a tighter bound for insertion-based codes, C_ins(p) ≤ 1 / (1/(1−H(p)) + 1/D(p∥1−p)); these results collectively advance the understanding of sorting under unknown noise and connect sorting with classical channel coding with feedback. The proposed, p-agnostic schemes outperform prior methods (e.g., ren 2019) and lay groundwork for tighter characterizations of noisy sorting capacity, with implications for robust ranking and information-theoretic sorting limits.

Abstract

Sorting is the task of ordering elements using pairwise comparisons. It is well known that comparisons are both necessary and sufficient when the outcomes of the comparisons are observed with no noise. In this paper, we study the sorting problem when each comparison is incorrect with some fixed yet unknown probability . Unlike the common approach in the literature which aims to minimize the number of pairwise comparisons to achieve a given desired error probability, we consider randomized algorithms with expected number of queries and aim at characterizing the maximal sorting rate such that the ordering of the elements can be estimated with a vanishing error probability asymptotically. The maximal rate is referred to as the noisy sorting capacity. In this work, we derive upper and lower bounds on the noisy sorting capacity. The two lower bounds -- one for fixed-length algorithms and one for variable-length algorithms -- are established by combining the insertion sort algorithm with the well-known Burnashev--Zigangirov algorithm for channel coding with feedback. Compared with existing methods, the proposed algorithms are universal in the sense that they do not require the knowledge of , while maintaining a strictly positive sorting rate. Moreover, we derive a general upper bound on the noisy sorting capacity, along with an upper bound on the maximal rate that can be achieved by sorting algorithms that are based on insertion sort.
Paper Structure (25 sections, 17 theorems, 91 equations, 2 figures, 6 algorithms)

This paper contains 25 sections, 17 theorems, 91 equations, 2 figures, 6 algorithms.

Key Result

Theorem 1

Any sorting rate is achievable for the noisy sorting problem using the noisy sorting algorithm presented in Section sec:proof-vl-achievability, where $H(\cdot)$ denotes the binary entropy function. In other words, $C(p) \geq \frac{1}{2}(1-H(p))$.

Figures (2)

  • Figure 1: Comparison of achievable rates of the proposed noisy sorting algorithms and the existing algorithm, together with the converse bounds.
  • Figure 2: Illustration of the extended tree $T^*$ for $n=6$ and $s=3$.

Theorems & Definitions (33)

  • Definition 1
  • Definition 2
  • Definition 3
  • Definition 4
  • Definition 5
  • Remark 1
  • Remark 2: Reduction to average error probability
  • Definition 6
  • Definition 7
  • Remark 3
  • ...and 23 more