Federated Nonparametric Hypothesis Testing with Differential Privacy Constraints: Optimal Rates and Adaptive Tests

T. Tony Cai, Abhinav Chakraborty, Lasse VuursteenarXiv 2024 · DOI

Abstract

This paper investigates the fundamental limits of nonparametric goodness-of-fit testing in a federated environment under $(\epsilon, \delta)$-differential privacy (DP) constraints. By analyzing the white-noise-with-drift model within Besov spaces, the authors establish minimax separation rates and identify six distinct regimes of difficulty characterized by "phase transitions." A key finding is the significant advantage of shared randomness over local-only randomness in certain privacy regimes. Furthermore, the authors propose an adaptive test that achieves near-optimal rates without prior knowledge of signal smoothness.

Introduction

In the era of distributed data, Federated Learning (FL) has become the gold standard for training machine learning models while keeping raw data on local devices. However, fundamental statistical tasks like goodness-of-fit testing in these environments present unique challenges. This study addresses the core question: what is the smallest signal strength ($\rho$) we can reliably detect when data is distributed across $m$ servers and subject to strict $(\epsilon, \delta)$-Differential Privacy?

The federated differential privacy framework for hypothesis testing.

In this setting, servers do not share raw data $X^{(i)}$ but instead send privacy-preserving transcripts $Y^{(i)}$ to a central hub $T$. The goal is to distinguish between the null hypothesis (noise only) and an alternative hypothesis (signal presence) while minimizing the impact of privacy-induced noise.

Methods and Models

The authors employ the white-noise-with-drift model, a benchmark in nonparametric statistics, to analyze signals within Besov spaces. These spaces are highly flexible, accommodating both smooth functions and those with local irregularities.

Communication Protocols

Two primary types of communication protocols are analyzed:

  1. Local Randomness: Each server generates its own privacy noise independently.
  2. Shared Randomness: Servers have access to a common random seed ($U$), allowing for coordinated privacy mechanisms.

Test Construction and Adaptation

For strict privacy regimes (low $\epsilon$), the authors develop tests that average locally optimal private statistics. In high-budget regimes, they utilize truncated and clipped data to manage sensitivity before adding Gaussian noise. To handle unknown signal smoothness, they construct a data-driven adaptive test using a grid of smoothness levels and Bonferroni correction.

Key Results: Phase Transitions and Shared Randomness

The study proves matching upper and lower bounds for the minimax separation rate, revealing that the detection boundary undergoes complex "phase transitions." The difficulty of the task shifts between being limited by the intrinsic noise of the data and the noise added for differential privacy.

Minimax separation rates across six identified regimes for shared and local randomness.

As summarized in the table above, the paper identifies six distinct regimes. A major insight is the "Shared Randomness" advantage: by coordinating privacy noise, servers can cancel out certain noise components, allowing for the detection of much weaker signals compared to local-only randomness. In some "low-budget" regimes, the cost of privacy is shown to be negligible compared to the inherent costs of the distributed data structure.

Conclusion and Future Work

The authors establish the fundamental limits of federated nonparametric testing under DP, showing that optimal protocols often require very low-dimensional transcripts. While the current work assumes homogeneity across servers, it lays the groundwork for future research into heterogeneous federated systems and interactive protocols.

Paper Citation: Cai, T. T., Chakraborty, A., & Vuursteen, L. (2024). Federated Nonparametric Hypothesis Testing with Differential Privacy Constraints: Optimal Rates and Adaptive Tests. arXiv preprint arXiv:2406.06749v1.

Summary updated

BibTeX
@misc{cai2024federated,
  author = {T. Tony Cai and Abhinav Chakraborty and Lasse Vuursteen},
  title = {{Federated Nonparametric Hypothesis Testing with Differential Privacy Constraints: Optimal Rates and Adaptive Tests}},
  year = {2024},
  eprint = {2406.06749},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.06749},
}
Figure