English

Near-Optimal Generalized Private Testing

Data Structures and Algorithms 2026-05-22 v1 Cryptography and Security

Abstract

In differential privacy (DP), the generalized private testing problem was introduced by Liu and Talwar (STOC 2019). Given a dataset XXX \in \mathcal{X} and a sequence of black-box εt\varepsilon_t-DP mechanisms Mt:X{+1,1}M_t:\mathcal{X}\to\{+1,-1\}, the analyst must accept the first mechanism whose success probability pt=Pr[Mt(X)=+1]p_t=\Pr[M_t(X)=+1] exceeds a given threshold p(0,1)p^*\in(0,1), while achieving DP. Accuracy is measured by the gap between pp^* and a rejection threshold pˉ\bar{p}, such that with probability 1β1-\beta for all t1t\geq1, if ptpˉp_t\leq\bar{p}, then MtM_t is rejected, and if ptpp_t\geq p^*, then it is accepted. This generalizes the standard private testing problem, whose solution, the Sparse Vector Technique, is ubiquitous in DP. We introduce the Generalized Thresholding Mechanism (GTM) for generalized private testing. For ε>0\varepsilon>0 and any sequence of (εt,δt)(\varepsilon_t,\delta_t)-DP mechanisms MtM_t, the GTM is pure ε\varepsilon-DP. For θ>0\theta>0, γ(1,2]\gamma\in(1,2], and β(0,1)\beta\in(0,1), pˉt=max(p/γΛt,1γΛt(1p))δt/εt\bar{p}_t=\max(p^*/\gamma\Lambda_t, 1 - \gamma\Lambda_t(1-p^*))-\delta_t/\varepsilon_t for Λt=(5tln3(t+2))(2+θ)εt/ε(4/β)(3+θ+2/θ)εt/ε\Lambda_t=(5t\ln^3(t+2))^{(2+\theta)\varepsilon_t/\varepsilon}(4/\beta)^{(3+\theta+2/\theta)\varepsilon_t/\varepsilon}. With probability 1β1-\beta, the number of evaluations of MtM_t is at most O((ln(t/β)/(γ1)2)max(Λt/p,(1p)1))O((\ln(t/\beta)/(\gamma-1)^2)\max(\Lambda_t/p^*,(1-p^*)^{-1})) for all t1t\geq 1. Our lower bounds prove near-optimality of our accuracy and sample complexity guarantees. Via the GTM, we give a black-box reduction for DP optimization from the continual observation (CO) setting to the batch setting. This gives us the first DP-CO algorithms for many maximization problems. Further, the GTM permits an adaptive choice of acceptance thresholds (pt)t1(p^*_t)_{t\geq1}, addressing a challenge mentioned in prior work on using generalized private testing for hyperparameter optimization (Papernot and Steinke (ICLR 2022)).

Keywords

Cite

@article{arxiv.2605.21601,
  title  = {Near-Optimal Generalized Private Testing},
  author = {Anamay Chaturvedi and Monika Henzinger and Jalaj Upadhyay},
  journal= {arXiv preprint arXiv:2605.21601},
  year   = {2026}
}

Comments

67 pages, 3 tables