Sort, Partition, Randomize: Optimal Binary Hypothesis Testing under Local Differential Privacy
Elena Ghazi, Jawad Nasser, Flavio Calmon, Ibrahim Issa
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: Causality, Privacy & Learning Theory › Differential Privacy · Type: new method · Keywords: local differential privacy, binary hypothesis testing, optimal mechanisms, dynamic programming, privacy-preserving inference
Areas: Privacy & Federated Learning › Privacy Defenses and Attacks › Private Statistical Learning
Summary
The paper characterizes optimal locally differentially private mechanisms for binary hypothesis testing, showing that an optimal mechanism can be realized by sorting the alphabet, partitioning it into contiguous blocks, and applying randomized response to block labels (SPR), enabling an O(k³) dynamic program to compute optimal mechanisms across privacy budgets.
Explained to a 5-year-old
We have two secret recipes that make data. We want to guess which recipe was used, but we must hide the data so nobody can learn it. To do this, we sort the possible ingredients, group them into blocks, and randomly tell which block was used. This helps us guess correctly while keeping everything private. It makes sure the guessing is accurate even when the data is hidden.
Explained to a 5-year-old, longer
Imagine you have two different games that give you numbers. You don't know which game made the numbers, but you need to guess. To keep the numbers secret, you mix them up using a special rule. First, you line up all possible numbers from smallest to biggest. Then you cut the line into groups of numbers that look similar. After that, you randomly pick one group and tell only that group. This way, you hide the exact number but still give a hint. By doing this, you can still guess which game made the numbers. The rule works for any amount of privacy you want. It also works for many different ways of measuring how good the guess is. This method makes guessing easier and faster than before. It helps keep information safe while still being useful.
For a technical reader
The paper addresses the problem of testing which of two known data distributions generated a set of observations while ensuring that each observation is privatized locally. It shows that an optimal privatization can be achieved by sorting the possible outcomes by how likely they are under each distribution, grouping them into contiguous blocks, and then applying randomized response to the block labels. This structure allows the optimal mechanism to be computed efficiently using dynamic programming, reducing the runtime from exponential to O(k³) for a full output budget and O(ℓ·k²) when limited to ℓ outputs. The result provides a practical recipe for engineers who need to implement privacy-preserving hypothesis tests in settings such as federated learning or secure diagnostics. By following this approach, they can guarantee both accurate inference and rigorous local differential privacy.
Problem
Inferring which of two known distributions generated observed data while preserving local differential privacy, and designing private mechanisms that maximize testing utility.
Method
The approach sorts the alphabet by likelihood ratio, partitions it into contiguous blocks, and applies randomized response to block labels, optimized by dynamic programming.
Results
The approach yields an O(k³) algorithm that computes optimal mechanisms exactly, and generalizes to O(ℓ·k²) time with an ℓ-output budget, enabling efficient evaluation across the full privacy range.
Contributions
It proves a sharp structural characterization that optimal mechanisms belong to a class defined by sorting, partitioning, and randomized response, and provides an exact dynamic program to compute them efficiently.
Limitations and assumptions
Assumes known distributions P0 and P1 and a finite alphabet of size k; the characterization may not extend to infinite alphabets or unknown distributions.
Practical relevance
Enables efficient design of privacy-preserving hypothesis tests for applications such as secure medical diagnostics and federated learning, where local differential privacy is required.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction