Sorting, partitioning, and randomizing yields optimal LDP binary hypothesis tests
The Sort-Partition-Randomize class of mechanisms is optimal for any ε and any f-divergence objective
Crypto & theory arXiv 5 Jun 2026 Method Theory
Published as “Sort, Partition, Randomize: Optimal Binary Hypothesis Testing under Local Differential Privacy”
Why it matters
Practitioners can now efficiently compute the exact optimal LDP mechanism for binary testing even for large alphabets, enabling maximal statistical power under strict local privacy constraints.
Summary
The paper proves that for any ε-LDP binary hypothesis testing problem and any f-divergence utility, an optimal mechanism can be taken from the Sort-Partition-Randomize (SPR) class, which sorts symbols by likelihood ratio, partitions them into contiguous blocks, and applies randomized response to the block label. This structural result leads to an exact dynamic program that finds the optimum in O(k3) time (or O(l k2) with an l-output budget), and the authors validate it numerically on synthetic Dirichlet-generated instances up to k=100. The evidence consists of rigorous theorems, proofs, and empirical agreement with prior exponential-time LP baselines.
What they found 1
- Extreme points of the joint range are always realized by SPR mechanisms.
“If (u, v) ∈Rl(p, q) is an extreme point, then there exists an LR-contiguous partition π = (B1, . . . , Bs) of [k] such that (u, v) is induced by an l-output channel obtained from Qπ by relabeling its active outputs and padding with zero columns.”
Caveats 2
- The characterization is specific to simple binary hypothesis testing under pure, non-interactive ε-LDP on a finite alphabet.
- Extending the SPR geometry to multi-hypothesis or composite testing, approximate or Rényi local privacy, and interactive protocols remains open.
What’s new here 4
- Provides a sharp structural characterization (SPR) that holds for every ε and any f-divergence, not just asymptotic regimes.
- Introduces the first polynomial-time exact algorithm (O(k3) / O(l k2)) for computing optimal LDP mechanisms for binary testing.
- Derives a closed-form optimal binary mechanism for all Eγ-divergences, extending prior bounds to exact optimality.
- Shows that the SPR optimality extends to Rényi divergences and lr-distance objectives.