Sort, Partition, Randomize: Optimal Binary Hypothesis Testing under Local Differential Privacy

We study optimal design of $\varepsilon$-locally differentially private mechanisms for binary hypothesis testing. Each observation is drawn from one of two known distributions $P_0,P_1$ on a finite alphabet of size $k$, privatized by a mechanism $Q$, and then used to infer which distribution generated the data. We measure testing utility using an $f$-divergence, including total variation, KL, and hockey-stick divergences, between the two induced output distributions. Previous work established structural properties of optimal mechanisms, but only yielded exponential-time algorithms. We prove a sharp structure: for every $\varepsilon$ and every $f$-divergence objective, after sorting the alphabet by likelihood ratio, there exists an optimal mechanism that partitions the sorted alphabet into contiguous blocks and applies randomized response to the block label. We call this class Sort-Partition-Randomize (SPR). This characterization yields an exact dynamic program that computes an optimal mechanism in $O(k^3)$ time, and more generally in $O(\ell k^2)$ time with an $\ell$-output budget. Our results make it possible to efficiently compute and characterize the exact optimum across the full privacy range, beyond asymptotic privacy regimes.

Paper

References (12)

10What can we learn privately?2011 · SIAM Journal on Computing
11E γ -mixing time2024 IEEE International Symposium on Information Theory (ISIT)
12Numerical experiments E.1 Monte-Carlo verification of the joint-range polytope E.2KL comparison: setup, bootstrap CIs, and runtimes 2

Similar papers

© 2026 NYSGPT2525 LLC