Optimal Rates for Differentially Private Hypothesis Testing with E-values

Ben Jacobsen, Tomas Gonzalez, Gavin Brown, Kassem Fawaz, Aaditya Ramdas

TL;DR

This paper establishes the fundamental limits of hypothesis testing using e-values under central differential privacy ($\varepsilon$-DP). The authors characterize the exact optimal rate of statistical power in both batch and sequential settings, providing practical algorithms that achieve these bounds and consistently outperform existing state-of-the-art private sequential tests.

What Problem Does This Paper Address?

Traditional hypothesis testing relies on $p$-values or binary decisions, which famously break down under adaptive data collection (such as stopping an experiment early when results look promising). E-values have emerged as a powerful alternative because they are "anytime-valid"—they allow researchers to dynamically stop or extend data collection without invalidating type-I error control.

However, many modern datasets contain sensitive individual information, requiring privacy guarantees like differential privacy (DP). While DP has been heavily studied for classical hypothesis testing, its intersection with e-values in the central DP model (where a trusted aggregator protects the final output) remained an open question. This paper tackles a foundational problem: given two distributions, what is the maximum achievable statistical power (e-power) under $\varepsilon$-DP constraints, and how does privacy impact sequential stopping times?

Methods

The authors split their approach into two main settings:

  1. Batch Setting: To find the optimal private e-value, the authors decouple the privacy constraints from the e-variable properties. They introduce a mathematically optimized intermediate distribution, $\widetilde{\mathbb{Q}}$, which acts as a bridge between the null distribution $\mathbb{P}$ and the alternative $\mathbb{Q}$. They prove that the optimal private test statistic is a calibrated, clipped version of the standard likelihood ratio ($E^*$). To make it private under pure $\varepsilon$-DP, they pass it through a lower-sensitivity merging function and add Laplacian noise.
Figure 1: Left: Illustrates our definition of eQ for ε = 1 and two densities P and Q over [0, 1]. The shaded region in A and the shaded region in B both have area TV( eQ, Q). Right: Compares the true likelihood ratio dQ/dP to the non-private bounded e-variable E∗, which can be interpreted as d eQ/dP. Simply clipping dQ/dP to a fixed range could introduce either positive or negative bias; the distribution-dependent range [c1, c2] is calibrated to ensure that EP[E∗] = 1 exactly.
  1. Sequential Setting (Algorithm 1): In sequential testing, adding privacy noise at every single time step quickly destroys the utility of the test. To overcome this, the authors design a "Batch to E-process Conversion" algorithm. It uses a carefully calibrated, recursive batching schedule. By grouping data points into larger chunks before releasing a private update, the algorithm minimizes noise accumulation while ensuring the test remains valid at any arbitrary stopping time.

Datasets

The paper evaluates its sequential algorithm using synthetic datasets drawn from Bernoulli distributions:

  • Null Hypothesis ($\mathbb{P}$): $\text{Bernoulli}(0.3)$
  • Alternative Hypothesis ($\mathbb{Q}$): $\text{Bernoulli}(q)$, where $q$ varies from $0.5$ to $0.8$.

This setup directly mirrors the evaluation metrics used in recent baseline literature, allowing for a controlled comparison of stopping times under varying privacy levels ($\varepsilon$).

Key Insights and Ideas

  • The Connection to Robust Statistics: The authors reveal a surprising duality: finding the optimal $\varepsilon$-DP test statistic is mathematically equivalent to finding the "worst corrupted alternative" in robust statistics. The optimal private test statistic simply clips the standard likelihood ratio to a distribution-dependent range $[c_1, c_2]$ calibrated precisely to the privacy budget.
  • Overcoming the Exponentiation Bias: A naive way to privatize a log-likelihood ratio is to add Laplacian noise and exponentiate it. However, because $\exp(\cdot)$ is strictly convex, this introduces a positive bias that violates the core mathematical definition of an e-value. The authors circumvent this by utilizing a specialized family of merging functions that safely absorb Laplacian noise without introducing invalidating bias.
  • Optimal Batching Schedules: In private sequential testing, there is a strict tradeoff between batch size (latency) and noise. The authors' recursive batching schedule is an "aha moment" because it proves to be simultaneously optimal across all stopping times larger than a tunable minimal threshold.

Key Results

  • Duality and Optimal Rates: The paper provides an exact instance-specific hardness result (Theorem 2.1), proving that the maximum achievable private e-power matches the Kullback–Leibler (KL) divergence between the intermediate distribution $\widetilde{\mathbb{Q}}$ and $\mathbb{P}$, plus a privacy-bounded Total Variation distance term.
  • Faster Sequential Stopping: In head-to-head sequential simulations against the recently proposed DP-SPRT, the authors' algorithm consistently achieved earlier stopping times across all tested privacy levels ($\varepsilon \in [0.25, 2.0]$) and alternative distributions.
Empirical CDFs showing that the proposed e-process (solid lines) consistently stops earlier (shifts left) than the DP-SPRT baseline (dashed lines).

Limitations and Future Work

  • Simple vs. Composite Hypotheses: The current optimal rate characterization is limited to simple hypothesis testing (comparing one exact distribution against another). Real-world applications often require composite testing (e.g., testing if a treatment effect is greater than zero). The authors note that their work provides a foundation for this via "least-favorable pairs," but the explicit extension remains future work.
  • High-Dimensional Intractability: Computing the optimal test statistic $E^*$ requires evaluating integrals over the full support of the distributions, which is computationally expensive or impossible for complex, high-dimensional generative models. The authors propose a simpler, distribution-independent alternative (tsLR), but it is only proven optimal for constant privacy regimes ($\varepsilon \ge 1$).
  • Pure vs. Approximate DP: This work focuses entirely on pure $\varepsilon$-DP. Extending these tight e-power rates to approximate $(\varepsilon, \delta)$-DP remains an open and promising direction.

Summary updated

BibTeX
@inproceedings{jacobsen2026optimal,
  author = {Ben Jacobsen and Tomas Gonzalez and Gavin Brown and Kassem Fawaz and Aaditya Ramdas},
  title = {{Optimal Rates for Differentially Private Hypothesis Testing with E-values}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=QEVhuw3jUX},
}
Figure