Minimax Optimal Two-Sample Testing under Local Differential Privacy
Jongmin Mun, Seungwoo Kwak, Ilmun Kim
NeurIPS page · Open on the map
Category: Causality, Privacy & Learning Theory › Differential Privacy · Type: new method · Keywords: local differential privacy, two-sample testing, permutation test, minimax optimality, adaptive hypothesis testing
Areas: Optimization & Algorithms › Optimization under Uncertainty › Differential Privacy; Privacy & Federated Learning › Privacy Defenses and Attacks › Private Statistical Learning
Summary
We propose private permutation tests for two-sample testing under local differential privacy that achieve minimax optimal rates for both multinomial and continuous data, and an adaptive Bonferroni-type test that works without prior smoothness knowledge.
Explained to a 5-year-old
We want to compare two groups of numbers while keeping the numbers secret. By using a special way to add noise, we can still tell if the groups are different. The method works for both simple counts and smooth curves. It makes sure we rarely make a mistake. It also works even when we don’t know how smooth the data should be.
Explained to a 5-year-old, longer
Imagine you have two bags of marbles and you want to know if they have the same color distribution, but you cannot show the marbles to anyone else. To keep the marbles private, we add some harmless noise to the counts before sharing. This noisy counting lets us run a kind of game that compares the two bags without revealing the exact numbers. For bags with simple counts, we use a test that works like a fair coin flip to decide if they are the same. For bags where the marbles are spread out smoothly, we first bin them into groups and then apply the same noisy test. The test is designed so that even with a tiny sample, we almost never say the bags are different when they actually are the same. We also create an extra version of the test that automatically adjusts if we do not know how smooth the underlying distribution should be. By running many simulations, we check that the test works well in practice and gives useful results. This way, researchers can compare data in fields like health or finance while respecting privacy. The approach is simple enough that anyone with a computer can try it, and it guarantees that the privacy rules are never broken. It also tells us the best possible accuracy we can hope for, given the amount of noise we must add. In short, we can safely compare hidden data without giving away any secrets.
For a technical reader
The work addresses private two-sample testing under local differential privacy by constructing permutation tests that add calibrated noise using mechanisms like Laplace and RAPPOR. For continuous data, binning enables the same testing framework while preserving LDP guarantees. Theoretical analysis shows finite-sample type I error control and minimax optimal rates across Hölder and Besov smoothness classes. An adaptive Bonferroni-type test removes the need for prior smoothness knowledge, and experiments confirm the approach’s practical effectiveness.
Problem
How can one perform two-sample hypothesis testing while satisfying local differential privacy, and what are the fundamental privacy-utility trade-offs and optimal rates achievable?
Method
The approach uses permutation tests combined with practical LDP mechanisms (e.g., Laplace, discrete Laplace, RAPPOR) for discrete data, extends to continuous data via binning, and introduces a Bonferroni-type adaptive test to handle unknown smoothness. It rigorously controls type I error for any finite sample size while adhering to LDP constraints.
Contributions
The paper provides private permutation tests for both multinomial and continuous data that achieve minimax optimal rates under LDP, and an adaptive test that works without prior smoothness knowledge. It also offers rigorous finite-sample type I error control and empirical validation of the privacy-utility trade-offs.
Practical relevance
The methods enable reliable private two-sample testing in settings where data cannot be shared centrally, such as federated learning or sensitive surveys.
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