We study learning a discrete distribution under person-level differential privacy in the batched setting. We are given n users, each contributing a batch of m i.i.d. samples from an unknown distribution μ over [k], and seek an estimate of μ up to total-variation error α. We give polynomial-time algorithms under both pure and approximate differential privacy. Under pure (ε,0)-DP, we achieve
n=O(α2mk+αmεk+εk),
the first polynomial-time pure-DP guarantee for this problem that matches the information-theoretic optimum up to logarithmic factors. Under approximate (ε,δ)-DP, we achieve
n=O(α2mk+αmεk+k+εlog(1/δ)).
At δ=2−Θ(k), the bound remains O(k) for fixed α,ε,m, and failure probability. Our algorithms use a new degree-6 sum-of-squares estimator for learning from untrusted batches. Its key ingredient is a trace-bounded diagonal majorizer for the difference between the empirical covariance of the repaired batch averages and the multinomial covariance predicted by their mean. We prove that clean data admit this certificate through semidefinite-programming duality and a new application of the stronger symmetric form of Grothendieck's inequality due to Friedland and Lim. The certificate preserves the mean-dependent variance of multinomial batch averages, yielding the near-optimal robust rate O(ηlog(1/η)/m) and providing the score required by the privacy reduction. We also prove a statistical query lower bound that rules out a uniformly smaller order of error under fixed polynomial SQ resource bounds.
*New York University (g@csail.mit.edu). Supported by an NSERC Discovery Grant and an Ontario Early Researcher Award.
†Massachusetts Institute of Technology (mahbod@mit.edu).
‡Massachusetts Institute of Technology (moitra@mit.edu). Supported in part by DARPA expMath, a Microsoft Trustworthy AI Grant, NSF-CCF 2430381, an ONR grant, and a David and Lucile Packard Fellowship.
§University of Texas at Austin and University of Waterloo (argymouz@cs.utexas.edu). Supported by an Ontario Early Researcher Award and a David R. Cheriton Graduate Scholarship.
¶Northeastern University (jullman@ccs.neu.edu). Supported by NSF CNS-2232692 and CNS-2247484.
Contents
1 Introduction 3
1.1 Results 4
1.2 Techniques 7
1.3 Related Work 11
2 Preliminaries 12
2.1 Data Model and Notation 13
2.2 Probability Simplex 13
2.3 Concentration Bounds 15
2.4 Sum-of-Squares 16
2.5 Subset-Variance Control and the Diagonal-Majorizer SDP 17
2.6 Robustness to Privacy 19
3 Robust Estimation for Discrete Batches 21
3.1 Sum-of-Squares Based Robust Algorithm 22
3.2 Proof of the Main SoS Lemma 27
3.3 Covariance Closeness Guarantees 30
3.4 Heterogeneous Clean Batches 32
4 Private Estimation for Discrete Batches 33
4.1 Properties of the Score 36
4.1.1 Well-Definedness of the Score Function 36
4.1.2 Bounded Sensitivity 36
4.1.3 Quasi Convexity 37
4.1.4 Efficient Computability 37
4.2 Problem-Specific Consequences 38
4.2.1 Efficiently Finding Low Scoring Points 38
4.2.2 Volume 39
4.2.3 Proof of the Pure-DP Theorem 43
4.2.4 Proof of the Approximate-DP Theorem 44
5 Statistical Query Lower Bound for Discrete Batches 50
5.1 Testing Problem 50
5.2 SQ Hardness 51
5.3 From Estimation to Testing 54
5.4 Binomial Moment Construction 54
References 57
A Details for the Approximate-DP Section 62
B Pure DP Lower Bounds 68
B.1 Projection Notation for Lower Bounds 68
1 Introduction
Federated learning [MMR +17, KMA +21] is motivated by the tension between two important goals in modern machine learning:
to train machine learning models from large and diverse data sets, and
while doing so, to preserve the data privacy, security, and ownership of the data, since data is increasingly distributed across a network of devices.
Motivated by such considerations, Qiao and Valiant [QV18] introduced the following problem which they called learning from untrusted batches. There exists an unknown discrete distribution μ on [k] and data is drawn in n batches, each of size m. When all batches are drawn i.i.d. from μ and can be used without restriction, the empirical distribution achieves total-variation error α, provided that the number of batches satisfies
n=Θ(α2mk+log(1/β)),
where β is the failure probability. This follows from the classical bound for nm independent samples [Can20].
However, in federated learning, we can rarely assume that all the batches are sampled i.i.d. from μ, and instead must consider the possibility that some are corrupted, possibly in an adversarial way. To address this question, Qiao and Valiant studied the problem with the twist that an η-fraction of the batches are adversarially corrupted. Again, it is helpful to compare to a naive baseline. If we ignore the batch structure and treat the data as a single dataset of nm samples, then it is easy to see that we cannot learn the distribution to accuracy better than η in total variation distance, no matter how much data we have. Qiao and Valiant demonstrated that when we exploit the batched structure of the data, it is possible to do much better. In particular, they showed that it is information-theoretically possible to achieve error O(η/m), and that this is the best possible. Batch information makes it possible to robustly distinguish distributions at much finer scale. Without batch information, we cannot distinguish two distributions μ and μ~ that are γ-close in total variation distance in the face of an adversary, because they can convert one distribution to the other by moving just a γ fraction of the probability mass. But when data is batched and the adversary's corruptions must respect the batch structure, the total variation distance between μ⊗m and μ~⊗m grows at least as Ω(min{1,γm}), meaning the adversary has to corrupt a much larger fraction of batches to make these distributions indistinguishable.
Qiao and Valiant gave two algorithms that solve the learning from untrusted batches problem, running in time exponential in k or m, respectively. Jain and Orlitsky [JO20b] gave a semidefinite-programming algorithm based on Grothendieck's inequality that roughly matches the information-theoretic bounds and runs in polynomial time. In independent and concurrent work, Chen, Li, and Moitra [CLM20a] gave similar algorithms and explored extensions to more complex settings, including improving sample complexity when there are shape constraints on μ.
Qiao and Valiant motivated their model by the need to learn from batches supplied by potentially malicious agents. Privacy, communication, and computational costs are also central concerns in federated learning. Keeping raw data local does not by itself ensure privacy: shared gradients can still leak private training data [ZLH19].
In this work, we revisit the learning from batches problem using the lens of differential privacy [DMNS06]. There is an unknown discrete distribution μ on [k] and data is drawn in n batches of size m. As is common in federated learning, we think of each batch of data as belonging to one person (e.g. a batch consists of the data on one person's device), and want to design a batch-level differentially private 1 algorithm that, informally, hides the information of any one batch of data. Formally, two datasets are adjacent if they differ in one person's entire batch. Batch-level privacy protects a person's entire contribution, whereas sample-level privacy protects only one data item. Differential privacy bounds how much the output distribution can change when one person's data is replaced.
We pursue three goals. First, we require the strong guarantee of pure batch-level differential privacy, formally ( ε,0)-DP. 2 Second, we seek the information-theoretically optimal user complexity. Prior work established that, up to logarithmic factors, the optimum for learning to total-variation error α is [GKK +23b, Theorem 43]
n=O(α2mk+αmεk+εk).
Our final goal is to attain this bound in polynomial time.
Several groups have considered private learning from batches, but none give an algorithm satisfying all three goals. Liu et al. [LSY +20] introduced the problem, giving an efficient algorithm achieving the weaker notion of approximate differential privacy, or, formally, (ε,δ)-differential privacy. One can strengthen the privacy guarantee of their algorithm to (ε,0)-differentially private by appealing to basic composition of pure differential privacy instead of advanced composition of approximate differential privacy [DRV10], but doing so would increase the required number of batches by a poly(k) factor and would not achieve optimal sample complexity. Ghazi, Kamath, Kumar, Manurangsi, Meka, and Zhang [GKK +23b] presented a pure differentially private algorithm with the information-theoretically optimal sample complexity, but their stated construction applies private hypothesis selection over an exponentially large cover and is not polynomial-time.
We use the efficient robustness-to-privacy reduction of Hopkins, Kamath, Majid, and Narayanan [HKMN23]. Our contribution is to identify the robust certificate that makes this reduction work for discrete batches. It is a single degree-6 sum-of-squares (SoS) certificate that represents discarded batches, mean feasibility, and the mean-dependent covariance of multinomial batch averages. This certificate simultaneously yields a robust estimator and the score used for privacy.
1.1 Results
Our certificate is satisfied by clean data at the right scale, forces every feasible pseudo-mean to be close to the truth, remains stable when batches are discarded, and admits polynomial-time optimization. It yields the robust estimator in Theorem 1.1 and, through the reduction of Hopkins et al. [HKMN23], the private algorithms in Theorem 1.3.
Theorem 1.1 (Robust SoS Estimation from Discrete Batches). Let μ∈Δk−1, β∈(0,1), and m∈N. Let η>0 be smaller than a sufficiently small absolute constant. Then there exists a polynomial-time algorithm, obtained by solving a degree-6 SoS relaxation, that takes in n user batches of size m forming an η-corruption of independent clean batches
Bi⋆=(Ui,1⋆,…,Ui,m⋆),Ui,1⋆,…,Ui,m⋆∼iidμ,
1This notion of privacy is also frequently called person-level or user-level differential privacy in the literature.
2For readers unfamiliar with the formalism of differential privacy, ε>0 quantifies privacy loss, and pure differential privacy is the most stringent standard variant.
and outputs an estimate μ^ such that, with probability at least 1−β,
∥μ^−μ∥TV⩽O(ηlog(1/η)/m),
provided that
n=Ω(α2mk+log(1/β))forα=Θ(ηlog(1/η)/m).
Remark 1.2 (Robustness to per-batch distribution shift). Our robust estimator also tolerates mild heterogeneity across the clean batches, with the modified covariance allowance in Corollary 3.11. Namely, in addition to the η-corruption model in Theorem 1.1, one may allow the samples in each clean batch i to be drawn i.i.d. from a distribution μi satisfying ∥μi−μ∥TV⩽ω. In that case the guarantee worsens by only an additive O(ω) term, giving
∥μ^−μ∥TV⩽O(ηlog(1/η)/m+ω).
The diagonal-majorizer certificate defines a low-sensitivity, quasi-convex score (Definition 4.5), so the efficient robustness-to-privacy reduction gives the private guarantees stated next.
Theorem 1.3 (Main Result, Private Estimation from Discrete Batches). Let μ∈Δk−1 be a discrete distribution over [k]. Let α,β∈(0,1), ε>0, and m∈N. Suppose that the batches are independent across users and each of the n users contributes a batch
Bi=(Ui,1,…,Ui,m),Ui,1,…,Ui,m∼iidμ.
Then the following guarantees hold.
(i) There is a polynomial-time (ε,0)-DP algorithm that outputs μ^ satisfying ∥μ^−μ∥TV⩽α with probability at least 1−β, provided
n=O(α2mk+log(1/β)+αmεk+log(1/β)+εk+log(1/β)).
(ii) For every δ∈(0,1), there is a polynomial-time (ε,δ)-DP algorithm with the same accuracy and failure probability, provided
The O notation suppresses logarithmic factors in 1/α; Remark 4.16 gives explicit bounds, including the square-root logarithm in the approximate-DP privacy term. Our pure-DP rate matches known lower bounds up to logarithmic factors [LSY+20,GKK+23b]; Theorem B.5 gives the dependence on the failure probability explicitly.
Prior polynomial-time approximate-DP results cover different user regimes. Suppressing logarithmic factors other than those displayed below, the relevant privacy terms and user-count requirements are
Liu et al. [LSY +20]:
αεmklog(1/δ),n≳εklog(1/δ),
(few users) Esfandiari et al. [EMN22]:
αεmklog(k/δ)log(1/δ)log(kn/β),n≳εlog(1/(βδ)).
Esfandiari et al.'s few-user guarantee removes the dimension-dependent user floor required by Liu et al. Their all-regime result combines this guarantee with earlier algorithms for the high-user regime; its larger logarithmic factor is the cost of reaching the few-user regime. For negligible approximate-privacy parameters δ=2−kΩ(1) and fixed α,ε,m, the privacy terms of both Liu et al. and Esfandiari et al. are superlinear in k. Our bound has additive dependence on log(1/δ) and includes a O(k) user term for clean-data feasibility. At δ=2−Θ(k), our bound is O(k) for fixed α,ε,m, and failure probability.
Dependence on the batch size. For constant failure probability and 0<ε⩽1, when αm⩽1, the term k/(αmε) absorbs k/ε, so the pure-DP theorem already gives the approximate-DP rate up to logarithmic factors. When αm⩾1, we cap the internal corruption parameter at a sufficiently small constant. The robust error is then at most α, giving a pure-DP rate of O(k/ε).
The additional k in the approximate-DP bound is inherent in using our robust estimator at its stated accuracy. For any fixed sufficiently small corruption fraction η, Theorem 1.1 guarantees error O(ηlog(1/η)/m)=O(1/m), which requires Ω(k) users even without corruptions or privacy. Indeed, the nonprivate sample bound Ω(k/(α2m)) becomes Ω(k) at this accuracy. This requirement is already implicit in the robust theorem through α=Θ(ηlog(1/η)/m), and is absorbed by k/ε for pure DP. It appears explicitly for approximate DP because the other terms can be smaller than k.
For larger batches, the target error α can be much larger than 1/m, and approximate DP can use fewer than k users [EMN22]. Exploiting this regime through robustness-to-privacy requires a robust guarantee adapted to the coarser target accuracy. Remark 4.17 describes how splitting batches reduces the user requirement while retaining additive dependence on log(1/δ), and how to combine our estimator with that of Esfandiari et al. using only the public parameters.
On optimality under efficient computation. Our polynomial-time robust algorithm achieves error O(ηlog(1/η)/m), while the information-theoretic optimum is O(η/m) [QV18]. Such an extra log(1/η) factor has precedent in statistical query (SQ) lower bounds for robust estimation of binary product distributions [DKS22] and Gaussians [DKS17]. In Section 5, we prove a lower bound directly for categorical batches. For every fixed integer t≥1, we give a query-tolerance tradeoff at error a constant ct>0 times
ηmin{1,mlog(1/η)}.
For all sufficiently large k depending on t and every batch size, achieving this error requires either a query of tolerance less than 2k−(t+1)/8 or exp(Ω(k)) queries. Consequently, no SQ estimator with fixed polynomial resource bounds in k,m,1/η achieves uniformly smaller order of error. This rate matches the dependence on m and η of our robust estimator when m⩾log(1/η). For smaller batches, the contaminated empirical distribution attains error O(η) with sufficiently many samples. Our construction uses moment matching as in [DKS22], with a discrete polynomial correction and a balanced subset of the original alphabet. If this SQ lower bound captures the computational threshold for robust estimation, then the privacy-to-robustness connection of Georgiev and Hopkins [GH22] predicts a corresponding threshold for private estimation with high success probability. For 0<ε⩽1 and β=exp(−Θ(k)), group privacy gives robustness to an η=Θ(k/(nε)) fraction of corrupted batches, provided this fraction is sufficiently small. When αm is small and m⩾log(1/η), substituting this value into the robust threshold predicts a privacy term of order
αmεklog(1/(αm)).
This agrees with the explicit privacy term in Remark 4.16, including the square-root logarithm. Georgiev and Hopkins derive an analogous conditional square-root logarithmic gap for Gaussian mean estimation [GH22, full version, Corollary 4.2]. This interpretation also applies to approximate DP for δ⩽εexp(−Ck) with a sufficiently large constant C.
Remark 1.4 (Robustness of the private estimators to corruptions). For 0<ε⩽1, both private estimators tolerate an η-fraction of fully corrupted user batches, under their respective sample bounds in Theorem 1.3, provided
α⩾Cηlog(1/η)/m
for a sufficiently large absolute constant C and sufficiently small η. Both algorithms also tolerate clean-user distributions μi satisfying ∥μi−μ∥TV⩽ω, provided the algorithm is given ω and the accuracy floor includes an additive Cω term. For approximate DP, a sufficient sample bound includes an additional O(kω/(αε)) term, which is absorbed by the stated bound when αm⩽1 or when ε is constant. We prove these claims in Corollary 4.18.
1.2 Techniques
We first describe the subset-variance condition that identifies the unknown distribution, then encode it by a polynomial-size semidefinite constraint. We define the score used by the privacy reduction as the minimum number of batches that must be discarded to satisfy this constraint.
Subset-variance control. Let yi∈Δk−1 denote the empirical distribution of the ith batch. Fix a subset S⊆[k] and let s∈{0,1}k be its indicator. Then ⟨yi,s⟩ is simply the fraction of the ith batch that falls in S, and has variance μ(S)(1−μ(S))/m. We write this variance as V(ν,s):=⟨ν,s⟩(1−⟨ν,s⟩)/m when the underlying distribution is ν.
A statistically natural goal is to find a set T⊆[n] with ∣T∣≥(1−η)n such that, for μˉT:=∣T∣−1∑i∈Tyi,
This condition says that, in every subset direction, the empirical variance should agree with the multinomial variance predicted by the empirical mean μˉT.
Representing this condition poses a problem: there are exponentially many subset directions, and listing all of them does not give the succinct, low-sensitivity certificate needed for privacy. Earlier robust algorithms do not directly provide such a certificate. Jain and Orlitsky [JO20b] obtain the right rate through filtering and randomized rounding. Their guarantee does not directly supply the efficiently computable, sensitivity-one, quasi-convex score needed by the privacy reduction. Chen, Li, and Moitra [CLM20a] give an SoS formulation. Bounding only second moments in their argument gives O(η/m) error, polynomially worse in η than our rate. Their higher-moment formulation gives error O(η1−1/tt/m) using degree- O(t) constraints; obtaining O(ηlog(1/η)/m) by this approach uses t=Θ(log(1/η)) and hence quasipolynomial resources.
Compressing the subset constraints. The subset-variance condition (1) contains one inequality for each of the 2k subsets of [k], so it cannot be inserted directly into a polynomial-size program. We replace this family by one semidefinite condition: the difference between the empirical covariance and the multinomial covariance predicted by the empirical mean must lie below a diagonal matrix with small trace. We call this diagonal matrix a majorizer.
Two facts justify the replacement. First, clean data admit such a majorizer; proving this uses semidefinite duality and the stronger symmetric Grothendieck inequality of Friedland and Lim [FL20]. Second, testing any feasible majorizer on sign vectors recovers the required upper variance bound in every subset direction. Thus the majorizer is a polynomial-size encoding of the one-sided subset control we need.
Robust SoS program. We define the relaxation in Section 3.1. Its constraints have the following schematic interpretation: retain almost all batches, repair the discarded ones, let μ′ be the mean of the repaired data, and require the repaired covariance to lie below the multinomial covariance plus a low-trace diagonal matrix. We write Eizi:=n−1∑i=1nzi and search over selectors wi, repaired batch averages yi′, a candidate mean μ′, a diagonal vector λ, and a matrix M satisfying
We denote this system by Aη. In the first line, we select the retained batches and enforce consistency with the observed data; in the second, we require the repaired batch averages and their mean to be distributions. For every subset indicator s, we have s⊤Σ(ν)s=V(ν,s), so the covariance line encodes the upper bound in (1) for the repaired data. Here M is an auxiliary slack variable: writing the positive-semidefinite slack as MM⊤ encodes the inequality Σ′−Σ(μ′)≼Diag(λ) as a polynomial equality.
The program repairs discarded batches rather than removing and renormalizing them. On the clean witness, a discarded batch is filled in by its latent clean value; in the soundness proof, the influence of all repaired batches is controlled through their second moment. This represents the upper bound in (1) by a polynomial system over all n batches.
We solve the degree-6 relaxation and use its pseudo-mean E~μ′ as the estimate, with an ℓ1 projection onto the simplex to account for numerical error. There is no filtering or randomized rounding afterward. It remains to justify the covariance constraint: clean data must admit a low-trace majorizer, and every feasible majorizer must recover the required subset bounds. We prove these statements in this order.
Clean-data feasibility. We assign the selector, repaired batches, and candidate mean directly from the latent clean data. Let ri=1[yi=yi∗] and μˉ=Eiyi∗, and set
wi=ri,yi′=yi∗,μ′=μˉ.
These assignments satisfy the selector and simplex constraints by inspection. It remains to construct λ. Define
Σ⋆:=Ei(yi∗−μˉ)(yi∗−μˉ)⊤,Δcov⋆:=Σ⋆−Σ(μˉ).
If Δcov⋆ has a diagonal majorizer with trace at most τcov, then we choose MM⊤=Diag(λ)−Δcov⋆ and the clean witness is complete.
The only probabilistic input is the η-good clean-sample event. Under the sample-size assumption in Theorem 1.1, Corollary 3.3 guarantees this event with the required probability. For feasibility, we use only the following two consequences:
s∈{0,1}ksups⊤Δcov⋆s⩽O(mηlog(1/η)),Δcov⋆1=0.
We prove the subset-discrepancy bound in Lemma 3.4, and the identity Δcov⋆1=0 in Lemma 3.5. From this point on, the feasibility argument is deterministic.
From subset bounds to a diagonal majorizer. Let Δ be any symmetric matrix satisfying Δ1=0. Combining diagonal-majorizer duality from Corollary 2.16, the Friedland–Lim inequality from Corollary 2.14 [FL20], and the substitution σ=2s−1 gives
where CFL is a universal constant. The final equality follows by expanding σ=2s−1 and using Δ1=0. This explains why the nullspace condition matters: it turns every sign-vector quadratic form into four times a subset quadratic form. Friedland–Lim passes from sign vectors to the correlation SDP, and duality turns the SDP bound into the diagonal vector λ used by the program. See Lemma 2.11 and corollaries 2.14 and 2.16 for the details.
Applying this chain to Δcov⋆ produces a majorizer of trace O(ηlog(1/η)/m). Choosing the constant in τcov sufficiently large therefore completes the clean witness. We next recover the one-sided subset bound needed for identifiability.
Recovering the subset bounds. To recover the subset bounds, let Δcov′:=Σ′−Σ(μ′). Both terms annihilate 1, so Δcov′1=0. For any fixed s∈{0,1}k, set σ=2s−1. Testing the majorizer on σ gives
4s⊤Δcov′s=σ⊤Δcov′σ⩽σ⊤Diag(λ)σ=j=1∑kλj.
Thus testing the majorizer on the sign vector associated with s recovers the desired bound in that subset direction. Since s⊤Σ(μ′)s=V(μ′,s), we obtain the following degree-6 SoS upper bound on the repaired directional variance:
Aη61{Ei⟨yi′−μ′,s⟩2⩽V(μ′,s)+O(mηlog(1/η))}.
This is the upper bound in (1), applied to the repaired data. The two-sided subset-discrepancy bound in Lemma 3.4 was needed to construct the majorizer. For identifiability, the program uses only the repaired-variance upper bound, together with the clean-retained second-moment lower bound in (9).
Low-degree SoS identifiability proof. We argue in one dimension. Fix a subset direction s∈{0,1}k. Readers unfamiliar with SoS may read Aη6{⋯} as “the program certifies the inequality inside the braces.” The degree only records that the certificate remains valid under the degree-6 pseudoexpectation; statistically, this is the usual directional robust-mean argument.
On the η-good clean-sample event, at most a 2η fraction of the batches fail to be both clean and retained. Weighted Cauchy–Schwarz reduces their contribution to a comparison between the repaired and clean-retained second moments. Since μ′=Eiyi′, expanding yi′−μ=(yi′−μ′)+(μ′−μ) makes the cross term vanish. The majorizer then upper-bounds the repaired second moment through V(μ′,s), while the clean-sample event lower-bounds the clean-retained second moment through V(μ,s), giving
We give the full calculation in Section 3.2. In (2), the O(η2log(1/η)/m) term has the desired size, and the term 4η⟨μ′−μ,s⟩2 can be absorbed into the left-hand side. It remains to control the variance difference V(μ′,s)−V(μ,s).
To control the variance difference, we keep the covariance predicted by μ′ rather than use a universal upper bound. For every distribution ν, we have s⊤Σ(ν)s=V(ν,s)=⟨ν,s⟩(1−⟨ν,s⟩)/m. It follows that V(μ′,s)−V(μ,s) is controlled by the directional mean error ⟨μ′−μ,s⟩. By contrast, using only V(μ′,s)⩽1/(4m) would leave an O(η/m) term and yield only O(η/m) directional error. Bounding second moments in the formulation of Chen, Li, and Moitra [CLM20a] encounters this limitation; their higher-moment constraints improve the rate.
To absorb the term 4η(V(μ′,s)−V(μ,s)) in (2), Lemma 3.10 bounds the square of the variance difference by the squared mean error, as shown in the first line below. Apply Young's inequality from Fact 2.8 with a=V(μ′,s)−V(μ,s), b=4η, and λ=m2/16. This gives the second line, and substituting the first line gives the third:
Substituting into (2) leaves (1/4+4η)⟨μ′−μ,s⟩2 on the right. For sufficiently small η this term is absorbed, while 64η2/m2=O(η2log(1/η)/m). Hence
Aη6{⟨μ′−μ,s⟩2⩽O(mη2log(1/η))}.
Finally, pseudoexpectation Cauchy–Schwarz and total-variation duality turn this directional certificate into ∥μ^−μ∥TV⩽O(ηlog(1/η)/m). Here s is chosen, only in the analysis, to indicate the coordinates on which μ^−μ is positive.
From the robust certificate to a private score. Clean data admit a polynomial-size certificate, and every certificate with a small discard budget is accurate. For privacy, we retain these two facts and allow the discard budget T to vary. The score of a candidate ν is the smallest T for which Aη, with the count constraint replaced by ∑iwi≥n−T, admits a degree-6 pseudoexpectation whose pseudo-mean lies within ℓ1-distance α of ν. Thus a low score says that the data admit a covariance-aware certificate near ν after only a small number of deletions.
The score satisfies the conditions of the robustness-to-privacy reduction: changing one batch costs one additional discard, so sensitivity is one; combining certificates gives quasi-convexity; and the polynomial-size semidefinite formulation gives efficient computation. One further ingredient is needed: the low-score sets must have controlled volume.
ℓ1 geometry of low-score sets. To compare the volumes of low-score sets, we use an inner and an outer ball. An exact clean certificate certifies the full ℓ1-ball of radius α around its mean. For a sufficiently small absolute constant η∗, robust soundness places all points of score at most η∗n inside the concentric ball of radius α+O(1/m) (Lemma 4.12). Since the volume of an ℓ1-ball scales as the kth power of its radius, these two balls bound the ratio used by the pure-DP reduction of Hopkins, Kamath, Majid, and Narayanan [HKMN23]. Part 3 of Lemma 4.12 gives a sharper radius bound at each score level.
Approximate DP requires the analogous comparison at score levels 0.8η∗n and η∗n for an arbitrary dataset, where there may be no true mean to use as a center. We obtain the needed outer ball by adapting the one-dimensional obstruction argument of [HKMN23] to sign directions. We use signs because of exact ℓ1 duality:
∥x∥1=σ∈{±1}kmax⟨x,σ⟩.
If the pseudo-means of two certificates with discard budget at most η∗n were farther than O(1/m) in ℓ1, some sign vector would separate them by more than O(1/m), contradicting their directional variance bounds. This gives the required ℓ1-diameter bound directly, without an ℓ2-to- ℓ1 conversion and its extra k loss. Adding the α-radius candidate neighborhoods gives an intermediate log-volume ratio of O(klog(1+C/(αm))). Keeping the inner radius close to α, as in Lemma 4.13, is needed when αm is large. The clean-data certificate still requires n=Ω(k) in this regime, which accounts for the extra user term in the approximate-DP theorem. We prove the volume comparison in Corollary 4.15, and give the diameter argument in Section A.
1.3 Related Work
Private learning discrete distributions from batches was introduced by Liu et al. [LSY +20], and was subsequently studied by others [EMN22, GKK +23b]. This problem also fits into the broader literature on user-level privacy [LSA +21], which studies adjacent tasks including mean estimation [GDD22, EMN22, CFMT22, GRST24, ZLS +24, AKM +25], PAC learning [GKM21], and convex optimization [GKK +23a, BS23, AL24, GKLM26]. There is likewise an extensive literature on private estimation in the item-level setting, corresponding to m = 1; see [KU20] for a partial survey. In that setting, estimating a discrete distribution over [k] under item-level ( ε, 0)-differential privacy is straightforward: applying the Laplace mechanism to the empirical distribution achieves the optimal sample complexity [DHS15]. This estimator, followed by ℓ1 projection onto the simplex, tolerates replacement of an η-fraction of the items: with constant probability its total-variation error is O(η+k/n+k/(nε)). Indeed, the replacements change the empirical distribution by at most η in total variation, and projection increases its distance from the true distribution by at most a factor of two.
Qiao and Valiant [QV18] introduced the batch-robust setting, which was subsequently studied by several groups [JO20b, CLM20a], as well as in related settings including structured distributions [JO20a, JO21, CLM20b], linear regression [DJKS23, JSK+24, DKK+25], and local differential privacy [CS23, ALS23]. Our work, together with many of these results, also fits into the broader line of algorithmic robust statistics, which began with work on robust mean estimation [DKK+16, LRV16] and has since expanded substantially; see [DK23] for a textbook treatment. As in the private setting, the interesting algorithmic issues for learning discrete distributions arise because of the batch structure: when m = 1, the information-theoretic optimum is already achieved by the contaminated empirical distribution.
Our private algorithm uses the robustness-to-privacy framework introduced by Hopkins, Kamath, Majid, and Narayanan [HKMN23] and independently by Asi, Ullman, and Zakynthinou [AUZ23], which converts robust estimators into private ones. Efficient versions of this framework have already yielded near-optimal private and robust algorithms for Gaussian estimation [HKMN23], parameter estimation in random graphs [CDHS24], and linear regression [ABMT25]. Related sum-of-squares exponential mechanisms also give private algorithms for graphon estimation [CDd+24]. Robustness-to-privacy methods also underlie private Bayesian estimation [CDMM26] and improved sample bounds for privately learning Gaussian mixtures [AMN24]. To our knowledge, this is the first polynomial-time application of this framework that converts batch-level robustness into user-level privacy for learning discrete distributions. Georgiev and Hopkins [GH22] prove a partial converse, showing settings in which privacy automatically yields robustness.
Starting from the original work of Dwork and Lei [DL09], there has been substantial work on connections between robustness and privacy [BKSW19, KSU20, LKO22, BGS+21, RC21, KMV22, HKM22, AKT+23]. Some of these papers give alternative general methods for converting robust estimators into private ones [LKO22, KMV22]. Other work from the statistics community studies these connections from a different perspective [AM20, AM21, RJC25, SM22], including in the local model [LBY23]. A recent line of work studies estimators that are simultaneously private and robust for high-dimensional problems [BKSW19, GKMN21, LKKO21, EMN22, AL22, KMV22, TCK+22, LKO22, LJK+23]. See the survey of Kamath [Kam24] for a broader discussion of the robustness–privacy interface.
Paper roadmap. Section 2 shows how subset control produces a diagonal majorizer. Section 3 uses the majorizer in both directions—first for clean-data feasibility and then for degree-6 SoS identifiability. Section 4 turns this certificate into a score function and proves the categorical private theorems. Section 5 proves the SQ lower bound for robust learning from discrete batches. The appendices give the approximate-DP ℓ1 obstruction and the matching pure-DP lower bound.
2 Preliminaries
Problem 2.1 (Robust Learning from Discrete Batches). Let μ∈Δk−1 be an unknown discrete distribution over [k]. Let m∈N be the batch size, and η be the corruption fraction. Let {Bi∗}i∈[n] be n batches of samples, where each clean batch
Bi∗={Ui,1∗,…,Ui,m∗}
and each Ui,j∗∼μ is drawn independently from μ. An η-fraction of these batches are then adversarially corrupted to form the observed batches {Bi}i∈[n], meaning that there exists a set S⊆[n] with ∣S∣≤ηn such that Bi=Bi∗ for every i∈/S. We seek an algorithm that, given the observed batches {Bi}i∈[n], outputs a distribution μ^∈Δk−1 such that with high probability,
∥μ^−μ∥TV⩽α,
where α⩾ηlog(1/η)/m.
2.1 Data Model and Notation
We use calligraphic letters such as B and Y for datasets. A star marks a latent clean batch or average, and a prime marks a repaired point or candidate mean.
For a batch Bi={Ui,1,…,Ui,m} of symbols in [k], define its empirical average vector by
yi:=m1j=1∑meUi,j∈Δk−1,
where e1,…,ek are the standard basis vectors in Rk. Likewise, each clean batch Bi∗ induces a clean batch-average vector
From now on, we work with the averaged vectors Y∗ and Y. The robust program uses repaired points yi′ and their mean μ′; μ^ denotes the output estimate, and ν denotes a candidate for the private score.
2.2 Probability Simplex
We will repeatedly make use of the probability simplex of distributions over [k].
Definition 2.1 (Probability Simplex Δk−1). Let Δk−1 denote
In particular, for probability vectors μ,ν∈Δk−1, ∥μ−ν∥TV denotes the usual total variation distance.
Fact 2.3 (Diagonal minus rank-one is PSD on the simplex). Let x∈R≥0k with s:=∑i=1kxi≤1 (in particular, for x∈Δk−1 one has s=1). Define
M(x):=diag(x)−xx⊤∈Rk×k.
Then M(x)≥0. Moreover, on supp(x),
M(x)≥(1−s)diag(x).
Proof. Let D:=diag(x) and y:=D1/21. Then M(x) factors as
M(x)=D1/2(I−yy⊤)D1/2,∥y∥2=1⊤D1=s⩽1.
Here I−yy⊤ has eigenvalues 1 (with multiplicity k−1 on y⊥) and 1−∥y∥2=1−s⩾0 (in the direction of y). Hence I−yy⊤≥0, and conjugation by D1/2 preserves positive semidefiniteness, yielding M(x)≥0. To prove M(x)≥(1−s)diag(x), observe that
by Cauchy–Schwarz. In the special case s=1 (the standard simplex), I−yy⊤ has a simple zero eigenvalue, so M(x) has rank at most k−1 with 1 in its nullspace; equivalently
u⊤M(x)u=21i,j∑xixj(ui−uj)2⩾0.
Fact 2.4 (Mean and Covariance of a Clean Batch Average). Let μ∈Δk−1 be a discrete distribution over [k], let m∈N, let
U1,…,Um∼iidμ,Y:=m1ℓ=1∑meUℓ∈Δk−1,
and write
Σ(μ):=m1(diag(μ)−μμ⊤).
Then
E[Y]=μ,E[YY⊤]−E[Y]E[Y]⊤=Σ(μ).
Proof. Linearity of expectation gives the mean. For the second moment, we have
We will also repeatedly use the variance of a clean batch average along a direction s∈{0,1}k, whose formula is immediate from Fact 2.4.
Definition 2.5 (Subset-Direction Mean and Variance). Let μ∈Δk−1, and let s be a k-dimensional vector in {0,1}k. We define the mean and variance of a clean batch average along direction s by
μ(s):=⟨s,μ⟩,V(μ,s):=m⟨s,μ⟩(1−⟨s,μ⟩).
2.3 Concentration Bounds
We use a version of the clean-sample condition in [JO20b] with an explicit failure probability.
Fact 2.6 (cf. Lemma 3 in [JO20b]). Let μ∈Δk−1, η,β∈(0,1/2), and m∈N. Let
with probability 1−β, for all subsets of indices T⊆[n] with ∣T∣≥(1−η)n, and all vectors s∈{0,1}k, we have
∣T∣1i∈T∑⟨yi∗,s⟩−⟨μ,s⟩⩽O(ηlog(1/η)/m),
and
∣T∣1i∈T∑⟨s,yi∗−μ⟩2−V(μ,s)⩽O(ηlog(1/η)/m).
Proof. Write ξi(s)=⟨yi∗−μ,s⟩. For each fixed s, Hoeffding's inequality gives P[∣ξi(s)∣>t]≤2exp(−2mt2). Thus ξi(s)2 has subexponential norm O(1/m). Applying the corresponding mean and second-moment concentration bounds and taking a union bound over the 2k choices of s gives, with probability at least 1−β/2,
simultaneously for all s. The assumed sample size ensures ηn⩾1. For a fixed set U of size ⌈ηn⌉, the exponential-moment bound gives ∑i∈Uξi(s)2⩽O((⌈ηn⌉+t)/m) except with probability e−t. A union bound over s and the (⌈ηn⌉n)⩽(en/⌈ηn⌉)⌈ηn⌉ such sets therefore gives, with probability at least 1−β/2,
for every s. For T=[n]∖U, Cauchy–Schwarz bounds ∣n−1∑i∈Uξi(s)∣ by (∣U∣/n)(n−1∑i∈Uξi(s)2). Subtracting the contribution of U from the full mean and second moment, and dividing by ∣T∣/n≥1/2, proves the mean and second-moment bounds for T. For the second moment, the normalization contributes at most 2ηV(μ,s)≤η/(2m).
2.4 Sum-of-Squares
Fact 2.7 (Triangle inequality). Let a and b be indeterminates, then
2a,b{(a+b)2⩽2a2+2b2}.
Fact 2.8 (Young's inequality). Let a and b be indeterminates and let λ>0 be a fixed scalar. Then
2a,b{ab⩽λa2+4λb2}.
Proof. We can write
2a,b⎩⎨⎧λa2+4λb2−ab=(λa−2λb)2⩾0⎭⎬⎫,
as desired.
Lemma 2.9 (SoS Selector Lemma [ABMT25]). Let B,a1,…,an∈R and k∈N. Suppose ∑i∈Tai⩽B for every T⊆[n] with ∣T∣⩽k. Then
Additionally, if the ai's are non-negative, the constraint ∑i∈[n]bi=k may be replaced by ∑i∈[n]bi⩽k, retaining 0⩽bi⩽1 for every i. More generally, let t∈[0,n] be real, let ai⩾0, and suppose ∑i∈Tai⩽B whenever ∣T∣⩽t. Then
{∀i:bi2=bi,i∑bi⩽t}41{i∑aibi⩽2B}.
Proof of the real-budget extension. For t⩾1, order the coefficients so that a1⩾⋯⩾an. By the Boolean constraints, 0⩽bi⩽1, and hence
These are degree-2 SoS inequalities. If t<1, the Boolean identities give the degree-4 certificate
(t−1)bi=bi2(t−j∑bj)+j=i∑(bibj)2⩾0.
Thus bi⩽0, and ∑iaibi⩽0⩽2B.
Definition 2.10 (Approximately Satisfying Linear Functionals). Let n∈N, T∈[0,n]. Let AT be a system of polynomial constraints parameterized by T in indeterminates w=(w1,…,wn) and z (of arbitrary size) such that
Let R denote the operator that maps a polynomial to a vector representing its coefficients. Let τ≥0. We say that a linear functional Lτ-approximately satisfies AT at degree D if
L1=1.
For all degree at most D/2 polynomials p, such that ∥R(p)∥2⩽1, we have that Lp2⩾−τT.
For all i∈[m⩾] and polynomials p such that deg(p2qi)⩽D, and ∥R(p)∥2⩽1, we have
Lp2qi⩾−τT.
For all j∈[meq] and polynomials p such that deg(p2rj)⩽D, and ∥R(p)∥2⩽1, we have
Lp2rj⩽τT.
For all polynomials p such that deg(p2(∑iwi−n+T))⩽D, and ∥R(p)∥2⩽1, we have that L[p2(∑iwi−n+T)]⩾−5τTn.
2.5 Subset-Variance Control and the Diagonal-Majorizer SDP
We isolate the abstract bridge from subset-direction control of a covariance-gap matrix to a trace-bounded diagonal majorizer. Let Δ∈Rk×k be symmetric. We consider the Boolean quadratic s⊤Δs over subset directions s∈{0,1}k.
Lemma 2.11 (Subset-to-sign reduction under a nullspace condition). Let Δ∈Rk×k be symmetric and satisfy Δ1=0. Then for every s∈{0,1}k and σ=2s−1,
σ⊤Δσ=4s⊤Δs.
Proof.
σ⊤Δσ=(2s−1)⊤Δ(2s−1)=4s⊤Δs
because Δ1=0.
Definition 2.12 (Elliptope). Define
Ek:={X∈Rk×k∣X≽0,diag(X)=1}.
Each rank-one matrix σσ⊤ with σ∈{±1}k belongs to Ek.
Theorem 2.13 (Symmetric Grothendieck inequality, real γ-case of Friedland–Lim [FL20]). Let A=(aij)∈Rk×k be symmetric, and let d≥k. Then
Equivalently, this is the real symmetric γ-seminorm inequality from Friedland–Lim, Theorem 4.3, equation (55), together with the bound on the constant from equation (57).
Corollary 2.14 (Correlation-matrix form). Let A∈Rk×k be symmetric. Then
Proof. Apply Fact 2.15 with Aj=ejej⊤, bj=1, and C=Δ. Strict primal feasibility is witnessed by X=Ik, and strict dual feasibility is witnessed by λ=C1 for any sufficiently large scalar C.
Proposition 2.17 (Subset Control Implies Diagonal-Majorizer Feasibility). Let Δ∈Rk×k be symmetric. Assume that
We apply the following theorem in order to transform robust algorithms into private ones.
Theorem 2.18 ([HKMN23]). Let ε>0, β∈(0,1), and 0<η,r<1<R be fixed parameters. Suppose we have a score function S(θ,Y)∈[0,n] that takes as input a dataset Y={y1,…,yn} and a parameter θ∈Θ⊂B(R)d (where Θ is convex and contained in a ball of radius R), with the following properties:
• (Bounded Sensitivity) For any two adjacent datasets Y,Y′ and any θ∈Θ,∣S(θ,Y)−S(θ,Y′)∣⩽1.
(Quasi-Convexity) For any fixed dataset Y, any θ,θ′∈Θ, and any 0⩽λ⩽1, we have that S(λθ+(1−λ)θ′,Y)⩽max(S(θ,Y),S(θ′,Y)).
(Efficiently Computable) For any given θ∈Θ and dataset Y, we can compute S(θ,Y) up to error γ in poly(n,d,logrR,logγ−1) time for any γ>0.
(Robust algorithm finds low-scoring point) For a given dataset Y, let T=minθ0∈ΘS(θ0,Y). Then, we can find some point θ such that for all θ′ within distance r of θ, S(θ′,Y)⩽T+1, in time poly(n,d,logrR).
(Volume) For any given dataset Y and η′≥η, let Vη′(Y) represent the d-dimensional volume of points θ∈Θ⊂Rd with score at most η′n. (Note that V1(Y) is the full volume of Θ).
Then, we have a pure ε-DP algorithm A on datasets of size n, that runs in poly(n,d,logrR) time, with the following property. For any dataset Y, if there exists θ with S(θ,Y)⩽ηn and if
then A(Y) outputs some θ∈Θ of score at most 2ηn with probability 1−β.
For context we also record the corresponding approximate-DP reduction theorem. Relative to Theorem 2.18, the only extra input is the intermediate volume-ratio condition at levels 0.8η∗ and η∗.
Theorem 2.19 ([HKMN23]). Let ε>0, δ,β∈(0,1), 0<η<0.1, and 0<r<1<R be fixed parameters. Suppose we have a score function S(θ,Y)∈[0,∞) that takes as input a dataset Y={y1,…,yn} and a parameter θ∈Θ⊂Rd (where Θ is convex and contained in a ball of radius R), satisfying the properties in theorem 2.18. In addition, fix some parameter η∗∈[10η,1]. Suppose that
n⩾Ω(ε⋅η∗log(1/δ)+log(Vη∗(Y)/V0.8η∗(Y)))(3)
for all Y such that there exists θ with S(θ,Y)⩽0.7η∗n. Then, there exists an (ε,δ)-DP algorithm A, that runs in poly(n,d,log(rR)) time, such that for any dataset Y, if there exists θ with S(θ,Y)⩽ηn and if
then A(Y) outputs some θ∈Θ satisfying S(θ,Y)⩽2ηn with probability at least 1−β.
Lemma 2.20 (A refined utility bound). Suppose 0<ε⩽1 and the score- ηn set contains a Euclidean ball of radius r. In the sample-size condition of Theorem 2.18 and in (4), the term log(1/(βη)) can be replaced by log(2/β). All other hypotheses remain required, including the worst-case volume condition (3) for approximate DP.
Proof. We refine the tail calculation for the samplers of [HKMN23, full version, Lemmas 4.7 and 4.8]. These samplers assign weights proportional to exp(−cεS) up to constant multiplicative factors; the approximate-DP sampler also truncates at score 0.9η∗n+O(1). Their grid-point counts agree with sublevel-set volumes up to constant factors, by [HKMN23, Fact 4.6]. The inner-ball assumption supplies this comparison at level η.
Each nonempty shell with score in [2jηn,2j+1ηn), j⩾1, has probability at most
then the capped volume levels are at most 2j+1η⩽4(2j−1)η, which lets us absorb the volume ratio into half of the exponential decay by choosing C sufficiently large. Taking u=η in (5) also gives εnη⩾Clog(2/β). Consequently the sum of the shell probabilities is at most
Aj⩾1∑exp(−2cεn(2j−1)η)⩽β/2.
For approximate DP, the reduction’s test based on the minimum score accepts whenever that minimum is at most ηn: indeed η∗⩾10η, and (5) gives ηn⩾Clog(2/β)/ε, which exceeds a sufficiently large constant. Its sampler has support below η∗n, since 0.9η∗n+O(1)<η∗n. Set its numerical failure probability to at most min{β/2,c0δ} for a sufficiently small absolute constant c0>0. Rescaling the privacy and failure parameters by absolute constants, as in the cited reductions, proves the claim.
3 Robust Estimation for Discrete Batches
In this section, we design a robust estimation algorithm. In Section 4 we will show how to use this robust algorithm (Theorem 3.1) and Theorem 2.18 to obtain a private algorithm. For the technical arguments in this section, fix a sufficiently small absolute constant ηabs∈(0,1/20).
Theorem 3.1 (Robust Estimation from Discrete Batches). Let μ∈Δk−1, η∈(0,ηabs), β∈(0,1), and m∈N. Then there exists a polynomial-time algorithm, obtained by solving a degree-6 SoS relaxation, that takes in n user batches of size m forming an η-corruption of independent clean batches
Bi⋆=(Ui,1⋆,…,Ui,m⋆),Ui,1⋆,…,Ui,m⋆∼iidμ,
and outputs an estimate μ^ such that ∥μ^−μ∥TV⩽α, with probability at least 1−β, where α=O(ηlog(1/η)/m), provided that
n=Ω(α2mk+log(1/β)).
We will view the robust constraints through the variance discrepancy for a kept subset with empirical mean μˉT and covariance ΣT:
⟨ss⊤,ΣT⟩−m1(⟨μˉT,s⟩−⟨μˉT,s⟩2),s∈{0,1}k.
This is the object optimized by the SDP-based algorithms of Jain and Orlitsky [JO20b] and Chen, Li, and Moitra [CLM20b]. Our succinct SoS certificate will be the dual object: a trace-bounded diagonal majorizer.
We isolate the deterministic properties of the clean samples needed in the robust analysis.
Definition 3.2 ( η-Good Samples). Let μ∈Δk−1, η∈(0,1/2), and m∈N. Let y1∗,…,yn∗∈Rk be any points. For s∈{0,1}k, write
ξi(s):=⟨yi∗−μ,s⟩.
We say that y1∗,…,yn∗ are η-good if for every s∈{0,1}k we simultaneously have
∣Eiξi(s)∣⩽O(ηlog(1/η)/m).
Eiξi(s)2−V(μ,s)⩽O(ηlog(1/η)/m).
For every subset T⊆[n] with ∣T∣⩽2ηn,
n1i∈T∑ξi(s)2⩽O(ηlog(1/η)/m).
Clean batch-average vectors are η-good with high probability, as shown next.
Corollary 3.3 (True Samples Are η-Good with High Probability). Let μ∈Δk−1, η∈(0,1/4), β∈(0,1/2), and m∈N. Let
for each i∈[n]. Then as long as n⩾Ω((k+log(1/β))/(η2log(1/η))), with probability 1−β, the samples y1∗,…,yn∗ are η-good in the sense of Definition 3.2.
Proof. Apply Fact 2.6 with parameter 2η. Its sample-size requirement is satisfied by the hypothesis of Corollary 3.3, up to absolute constants, so the concentration event holds with probability 1−β. Taking the subset T=[n] gives Properties 1 and 2 of Definition 3.2.
For the third property, fix a subset T⊆[n] with ∣T∣⩽2ηn, and let S:=[n]∖T. Then ∣S∣⩾(1−2η)n, and
for each i∈[n]. Let {yi}i=1n be an η-corrupted version of these clean batch-average vectors, and let {yi′}i=1n be the repaired batch-average indeterminates. Write
Selector/data consistency determines which observed batch averages are kept and ties the repaired points to the observed data on those indices. Simplex constraints keep both the repaired points and the pseudo-mean inside the simplex. To replace all subset-direction variance checks succinctly, the covariance-majorizer block uses a diagonal slack that upper-bounds the difference between the empirical and multinomial covariance simultaneously in every subset direction.
On the η-good event, the clean data provide a witness for this system. If ri=1[yi=yi∗] and μˉ=Eiyi∗, set wi=ri, yi′=yi∗, and μ′=μˉ. These choices satisfy the selector/data-consistency and simplex constraints. By Proposition 2.17, feasibility of the covariance-majorizer constraint follows once we verify subset discrepancy and the nullspace condition for the clean covariance-gap matrix Δcov∗.
Lemma 3.4 (Clean Covariance Gap Has Small Subset Discrepancy). Let y1∗,…,yn∗ be clean batch-average vectors, and suppose they are η-good in the sense of Definition 3.2. Let
Proof. Since each yi∗ and μˉ lie in the simplex,
⟨yi∗−μˉ,1⟩=0foralli∈[n],
and hence
Ei(yi∗−μˉ)(yi∗−μˉ)⊤1=0.
Also,
(diag(μˉ)−μˉμˉ⊤)1=μˉ−μˉ⟨μˉ,1⟩=0.
Corollary 3.6 (Diagonal-Majorizer Feasibility). Let y1∗,…,yn∗ be clean batch-average vectors, and suppose these vectors are η-good in the sense of Definition 3.2. Let
Proof. By Proposition 2.17, it remains only to verify the subset-discrepancy and nullspace hypotheses. Those are exactly Lemmas 3.4 and 3.5 applied to Δ=Δcov⋆.
This proves feasibility of the covariance-majorizer block for the clean witness.
If Δ′1=0 and Diag(λ)−Δ′≽0, then for every subset direction s∈{0,1}k and σ=2s−1,
4s⊤Δ′s=σ⊤Δ′σ⩽σ⊤Diag(λ)σ=j∈[k]∑λj.
Thus one matrix majorizer simultaneously controls every subset direction. We next give the SoS version of this calculation for Δcov′=Σ′−Σ(μ′).
Lemma 3.7 (Diagonal Majorizer Implies Program-Side Subset-Direction Variance Control). Under Aη and the Boolean constraints {∀j∈[k]:sj2=sj}, we have
Algorithm 3.1 (Robust Estimation from Discrete Batches).
Input: An η-corrupted batch dataset {Bi}i∈[n], where each batch has size m.
Output: An estimate μ^ of the underlying discrete distribution μ.
Operations:
Convert each observed batch to its average vector
yi:=m1∑j=1meUi,j∈Δk−1 for all i∈[n].
Form the SoS constraint system Aη from Section 3.1, with variables (wi)i∈[n], (yi′)i∈[n], μ′,λ, and M.
Find a degree-6 pseudoexpectation E~ satisfying Aη.
Output an ℓ1 projection of E~μ′ onto Δk−1. For an exact pseudoexpectation, this is μ^=E~μ′.
We can now state our main technical lemma.
Lemma 3.8 (Main SoS Lemma). Suppose Y∗={yi∗}i∈[n] is the clean batch-average dataset and that it is η-good (as in Definition 3.2). Then for any fixed binary vector s∈{0,1}k the following SoS proof exists.
Aη61⎩⎨⎧⟨μ′−μ,s⟩2⩽O(ηmlog(1/η))2⎭⎬⎫
Algorithm 3.1 summarizes the robust estimator promised by Theorem 3.1.
We use exact pseudoexpectation notation in the analysis. For computation, we may restrict the SDP to a ball of radius poly(n,k) in moment space. Indeed, the clean witness has wi,yi,j′,μj′∈[0,1]. Since (Δcov⋆)jj⩾−1/(4m), its diagonal majorizer satisfies
Thus the point-evaluation functional at this witness has polynomially bounded degree-6 moments. In the standard bit model, solve the bounded SDP to an inverse-polynomial feasibility tolerance τ chosen so that
τpoly(n,k,m)=o(mη2log(1/η)).
Since the degree-6 certificates in the proof of Lemma 3.8 have coefficient norms bounded by poly(n,k,m), approximate feasibility changes the squared-error bound by at most τpoly(n,k,m). Projecting onto the simplex in ℓ1 changes the error by at most a constant factor. This preserves the error rate in Theorem 3.1 and polynomial running time, as in Lemma 4.11.
We now derive Theorem 3.1 from Lemma 3.8.
Proof of Theorem 3.1. Apply Corollary 3.3 with failure probability min{β,1/4}. With probability at least 1−β, the clean batch-average vectors satisfy the three properties in Definition 3.2. Conditioned on this event, Lemma 3.8 applies. Let E~ be a degree-6 pseudoexpectation satisfying Aη, and let μ^=E~μ′ be the output of the algorithm. Let s∈{0,1}k be defined coordinate-wise by si=1[μ^i>μi]. Then we have
Proof. We proceed in three steps: first control the clean-kept and corrupted/discarded contributions in a fixed direction; then use the diagonal-majorizer certificate to upper bound the repaired second moment; finally control and absorb the remaining variance difference using the covariance formula V(μ,s)=⟨μ,s⟩(1−⟨μ,s⟩)/m.
Let ri denote the indicator function of uncorrupted samples, i.e. ri=1[yi∗=yi]. Let s∈{0,1}k be fixed, and write
Δs:=⟨μ′−μ,s⟩,ξi:=⟨yi∗−μ,s⟩,ξi′:=⟨yi′−μ,s⟩.
Multiplying by riwi selects indices that are both clean and kept; ri(1−wi) selects clean indices discarded by the selector; and 1−riwi is the complement.
Split into the clean-kept part and its complement. Applying SoS triangle inequality we can write
Here we used Property 1 of Definition 3.2 in the third line and Property 3 in the last line, since the corrupted indices form a subset of size at most ηn. Therefore
For completeness, the weighted Cauchy–Schwarz step in (8) is the degree-6 bottleneck. With bi:=1−riwi and zi:=ξi′, the Boolean identities bi2=bi give
Here the first inequality follows from Property 2 of Definition 3.2, and the remaining error comes from the missing clean second moment. Since
i∑(1−riwi)⩽i∑(1−ri)+i∑ri(1−wi)⩽2ηn,
Property 3 of Definition 3.2 together with Lemma 2.9 gives
Aη6Ei(1−riwi)ξi2⩽O(ηlog(1/η)/m).
Directional identifiability inequality. Apply the clean-kept contribution bound to (6), and use (8) for the complementary contribution. Combining the upper bound on Eiξi′2 with the lower bound on Eiriwiξi′2 then gives
Absorbing the variance difference. The term 4η(V(μ′,s)−V(μ,s)) in (10) is linear in the variance difference, whereas Lemma 3.10 controls the square of that difference. We use Young's inequality to pass from the linear term to the square. In Fact 2.8, take a=V(μ′,s)−V(μ,s), b=4η, and λ=m2/16. This gives
where every term in the last two lines is a square times either 1, x, or 1 - x, with a nonnegative scalar coefficient, since 1−(a−1)2⩾0 and 1−a2⩾0. Thus,
{0⩽x⩽1}6x{(x(1−x)−a(1−a))2⩽4(x−a)2}.
Now using this lemma we can bound the difference between the covariances inside SoS.
Lemma 3.10. Let s be any fixed binary vector in {0,1}k. Then
Corollary 3.11. Suppose the clean batches are independent and batch i consists of m i.i.d. samples from μi∈Δk−1, where ∥μi−μ∥TV≤ω for every i and some known ω∈[0,1]. Let η∈(0,ηabs) and β∈(0,1). Replace the covariance allowance in Algorithm 3.1 by
τcov=C(mηlog(1/η)+mω+ω2)
for a sufficiently large absolute constant C. If n⩾Ω((k+log(1/β))/(η2log(1/η))), then on an η-corruption of these batches the algorithm returns, with probability at least 1−β,
∥μ^−μ∥TV≤O(ηmlog(1/η)+ω).
Proof. For a fixed s∈{0,1}k, write di=⟨μi−μ,s⟩ and Zi=⟨yi∗−μi,s⟩, so that ∣di∣≤ω and ξi=Zi+di. Each Zi is centered and subgaussian with parameter O(1/m). By independence, the proof of Fact 2.6 applies to these variables even though their distributions may differ. In addition, the weighted average EidiZi has subgaussian parameter O(ω2/(nm)). A union bound over s, the inequality ∣V(μi,s)−V(μ,s)∣≤ω/m, and (Zi+di)2≤2Zi2+2di2 give the following simultaneous bounds with probability at least 1−β:
Here the cross term in the second-moment estimate is at most O(ωηlog(1/η)/m)≤O(ω2+η2log(1/η)/m), which is absorbed by the ω2 and ηlog(1/η)/m terms. Substituting the mean and second-moment estimates in the proof of Lemma 3.4 bounds the clean covariance discrepancy by O(ηlog(1/η)/m+ω/m+ω2) in every subset direction. Moreover, the matrix Δcov∗ defined in that lemma satisfies Δcov∗1=0 because each yi∗ and μˉ=Eiyi∗ has coordinate sum one. Thus Proposition 2.17 gives a diagonal majorizer with trace at most τcov, proving feasibility.
For soundness, the clean-kept contribution in the proof of Lemma 3.8 is now O(η2log(1/η)/m+ω2). Comparing the repaired and clean-kept second moments, as in (10), gives
By Young’s inequality, ηω/m is at most (ω2+η2/m2)/2. Applying (11) and absorbing (1/4+4η)Δs2 into the left-hand side gives Δs2⩽O(η2log(1/η)/m+ω2) at degree 6. Taking pseudoexpectations and using total-variation duality completes the proof.
4 Private Estimation for Discrete Batches
This section instantiates the reduction of Hopkins, Kamath, Majid, and Narayanan [HKMN23] on the batch-average dataset Y={yi}i∈[n]. It requires only a quasi-convex score on candidate means from Section 3, implemented here through low-degree pseudoexpectations for the diagonal-majorizer system.
Theorem 4.1 (Pure-DP Estimation from Discrete Batches). Let μ∈Δk−1. Let α,β∈(0,1),ε>0, and m∈N. Then there exists a polynomial-time (ε,0)-DP algorithm that takes in n independent user batches, each of the form
Bi=(Ui,1,…,Ui,m),Ui,1,…,Ui,m∼iidμ,
and outputs an estimate μ^ such that ∥μ^−μ∥TV⩽α, with probability at least 1−β, provided that
Theorem 4.2 (Approximate-DP Estimation from Discrete Batches). Let μ∈Δk−1. Let α,β,δ∈(0,1), ε>0, and m∈N. Then there exists a polynomial-time (ε,δ)-DP algorithm that takes in n independent user batches, each of the form
Bi=(Ui,1,…,Ui,m),Ui,1,…,Ui,m∼iidμ,
and outputs an estimate μ^ such that ∥μ^−μ∥TV⩽α, with probability at least 1−β, provided that
Both privacy arguments use one score function. For the approximate-DP theorem, we also need a worst-case bound on the intermediate ratio Vη∗(Y)/V0.8η∗(Y); we obtain it from an ℓ1-diameter bound for the score- η∗n set.
Our score function reuses the succinct diagonal-majorizer system introduced in Section 3.1. For a dataset Y={yi}i∈[n] and trimming budget T, let BT(Y) denote the system from Section 3.1 on the observed batch averages Y, with the selector/data-consistency, simplex, and covariance-majorizer blocks of Aη, but with the counting constraint changed to
i=1∑nwi⩾n−T.
Relative to Aη, this is the only structural change: the certificate may now discard up to T observed batch averages. Write
for the same sufficiently large universal constant C as in Section 3.1. The selector/data-consistency block decides which observed batch averages are kept and ties the repaired points to the observed data on those indices. Simplex constraints keep the repaired points and the pseudo-mean inside the simplex, while the covariance-majorizer block enforces the subset-direction variance control in Lemma 3.7.
Given a query point ν, we will consider degree-6 pseudoexpectations that satisfy
E~⊨BT(Y) at degree 6.
Closeness constraint: ∥E~μ′−ν∥1⩽α.
Informally, the score of a candidate mean is the smallest trimming budget for which there exists a low-degree certificate consistent with that candidate. We first define certifiable means, then use them to define the score.
Definition 4.3 ((α, τ, T)-Certifiable Mean). Let α, τ ≥ 0, k, n ∈ ℝ, T ∈ [0, n]. Let Y={yi}i∈[n]⊆Δk−1. We call a point v∈Δk−1+B1k(τn+α)⊆Rk an (α, τ, T) certifiable mean for Y if there exists a linear functional L which τ-approximately (according to Definition 2.10) satisfies BT(Y) at degree 6 such that, writing μL:=Lμ′,
∥R(L)∥F⩽R′+τ, where R′=poly(n,k) is sufficiently large and R(L) is the matrix representation of the coefficients of L.
The query point ν is close to the assignment given by the approximate pseudoexpectation L:
∥μL−ν∥1⩽α+τT.
Moreover, we will call such a functional L an (α,τ,T)-certificate for (Y,ν).
Lemma 4.4 (Approximate Certificates Are Close to the Simplex). Let L be a linear functional that τ-approximately satisfies BT(Y), and let
x:=Lμ′∈Rk.
Then for every j∈[k],
xj⩾−τT,j=1∑kxj−1⩽τT.
Consequently, there exists a point Π(x)∈Δk−1 such that
∥x−Π(x)∥1⩽CkτT
for an absolute constant C.
Proof. For the coordinate lower bound, apply item 3 of Definition 2.10 to the constraint μj′≥0 with p=1. This gives
xj=Lμj′⩾−τT
for every j∈[k]. For the constraint ∑j∈[k]μj′−1=0, item 4 of Definition 2.10, with p=1 and L1=1, gives
j=1∑kxj−1=L[j=1∑kμj′−1]⩽τT.
Set yj:=max{xj,0} for every j∈[k]. Then
∥x−y∥1=j=1∑kmax{−xj,0}⩽kτT.
Also,
1−τT⩽j=1∑kxj⩽j=1∑kyj⩽j=1∑kxj+kτT⩽1+(k+1)τT.
Let s:=∑j=1kyj, and define
Π(x):={y/se1ifs>0,ifs=0,
where e1 is the first standard basis vector. Then Π(x)∈Δk−1. If s>0, then
∥y−Π(x)∥1=j=1∑kyj1−s1=∣s−1∣⩽(k+1)τT.
If s=0, then y=0 and hence xj⩽0 for every j. Together with ∣∑jxj−1∣⩽τT, this implies τT⩾1, and therefore
∥x−Π(x)∥1=∥x−e1∥1⩽1+kτT⩽2kτT.
For s > 0,
∥x−Π(x)∥1⩽∥x−y∥1+∥y−Π(x)∥1⩽(2k+1)τT⩽3kτT.
So the claim holds with C = 3.
Henceforth choose
0<τ⩽100Cknmin{α,1/m}.(12)
This bound permits an inverse-polynomial choice of τ, which we may decrease further to meet the numerical error bound in Lemma 4.11. We now define the score using Definition 4.3.
Definition 4.5 (Score Function). Let Δk−1 be the probability simplex (see Definition 2.1). Consider Δk−1+B1k(τn+α)⊆Rk, the fattening of Δk−1 by the ℓ1-ball of radius τn+α in k dimensions. Let α,τ≥0, Y={yi}i∈[n]⊆Δk−1, and ν∈Δk−1+B1k(τn+α). We define the score function S:Δk−1+B1k(τn+α)→R≥0 (viewed as a function of ν) as
For the rest of the section, we fix α, τ, and the dataset Y, and abbreviate
SY(ν):=S(ν;Y,α,τ).
We next verify the score properties required by Hopkins, Kamath, Majid, and Narayanan [HKMN23]: well-definedness, sensitivity, quasi-convexity, efficient computation, a low-scoring neighborhood, and bounds on sublevel-set volumes.
4.1 Properties of the Score
4.1.1 Well-Definedness of the Score Function
Lemma 4.6 (score function upper bound). Let α,τ≥0, Y={yi}i∈[n] be any set of inputs, and ν∈Δk−1+B1k(τn+α). Then Sy(ν)≤n, where S is defined in Definition 4.5.
Proof. Let ν be any point in Δk−1+B1k(τn+α). It suffices to find an (α,τ,T) certificate L for (Y,ν), where T=n.
Let μ0:=Projℓ1(ν;Δk−1), so that
∥ν−μ0∥1⩽α+τn=α+τT
because ν∈Δk−1+B1k(α+τn). Now let L be the linear functional corresponding to the single-point distribution that sets
∀i∈[n]:wi=0,yi′=μ0,μ′=μ0,λ=0.
All constraints except the diagonal-majorizer equality are then immediate. Since every yi′=μ0, we have Σ′=0. Because μ0∈Δk−1, Fact 2.3 implies that Σ(μ0) is positive semidefinite, so we may choose M such that
MM⊤=Σ(μ0).
Thus
Σ′+MM⊤=Σ(μ0)=Σ(μ′)+Diag(λ),j∈[k]∑λj=0⩽τcov.
Since the entries of μ0 and M have absolute value at most 1, the degree-6 moment vector has polynomial norm and satisfies item 1 of Definition 4.3 for sufficiently large R′. By construction, the closeness constraint holds, so Sy(ν)⩽n. Compactness of the feasible pairs (T,L) ensures that the minimum in Definition 4.5 is attained.
4.1.2 Bounded Sensitivity
Lemma 4.7 (Bounded Sensitivity). For every fixed ν∈Δk−1+B1k(τn+α), the score function Y↦S(ν;Y,α,τ) has sensitivity 1 with respect to changing the input data Y={yi}i∈[n].
Proof. Suppose Y={y1,…,yn} and Y′={yˉ1,y2,…,yn} are two datasets that differ in a single batch average. Moreover, assume that for some ν∈Δk−1+B1k(τn+α), Sy(ν)=T. This means that there exists an (α,τ,T) certificate L for (Y,ν). We will show that there exists a (α,τ,T+1) certificate L′ for (Y′,ν).
We define L′ as follows. For every monomial p that does not involve w1, we set L′(p)=L(p). For monomials p that involve w1, we set L′(p)=0.
If T+1⩾n, the claim follows from Lemma 4.6, so suppose T+1<n. Substitution sets moment coordinates to zero, and hence cannot increase ∥R(L)∥F. It preserves normalization and the pseudo-mean. For a polynomial p with ∥R(p)∥2⩽1, write q=p∣w1=0, so ∥R(q)∥2⩽1. If a constraint polynomial s does not involve w1, then
L′[sp2]=L[sq2].
Thus the constraints independent of w1, square positivity, and the closeness constraint retain their error bounds at budget T. The Boolean and data-consistency constraints involving w1 become identically zero. For the counting constraint in item 5 of Definition 2.10,
Here degq⩽2, so every expression has degree at most 6. The square term L[(1−w1)2q2] is at least −4τT because ∥R((1−w1)q)∥2⩽2; the term L[w1(1−w1)q2] is at least −τT by item 4 of Definition 2.10, applied to w12−w1=0. Interchanging Y and Y′ proves the sensitivity bound. □
4.1.3 Quasi Convexity
Lemma 4.8 (Quasi Convexity). For every fixed dataset Y, the score function ν↦Sy(ν) is quasi-convex on Δk−1+B1k(τn+α).
Proof. Let ν1,ν2∈Δk−1+B1k(τn+α) and T1,T2∈[0,n] with Sy(ν1)=T1 and Sy(ν2)=T2. For any λ∈[0,1] and T=Sy(λν1+(1−λ)ν2), we want to show that T⩽max{T1,T2}. By definition 4.5, we get that ν1 is an (α,τ,T1)-certifiable mean for Y, and an analogous property holds for ν2. Choose certificates L1,L2 for (Y,ν1) and (Y,ν2) at budgets T1,T2, respectively, as in Definition 4.3. We construct L=λL1+(1−λ)L2, and show that it certifies λν1+(1−λ)ν2 at budget max{T1,T2}. The moment-norm bound, the closeness constraint, and all constraints independent of T are convex in L and their permitted errors increase with T. It remains to check the counting constraint in item 5 of Definition 2.10. Let p be any polynomial with ∥R(p)∥2⩽1. Assuming that T1⩽T2, we have that:
where we used that T1⩽n (lemma 4.6) in the second-to-last inequality.
4.1.4 Efficient Computability
Lemma 4.9 (Efficient Computation of Score Function). Let ν be any point in Δk−1+B1k(τn+α). Let T=Sy(ν) be its score. Then we can compute T to additive accuracy γ in time polynomial in n, k, log(1/γ),
log(1/τ), and the input bit length.
Proof. There are poly(n,k) moments of degree at most 6. At fixed T, approximate positivity and the inequality constraints are positive-semidefinite constraints on moment and localizing matrices; each approximate equality is a pair of such constraints. Polynomial-time separation also applies to the moment-norm and ℓ1-closeness constraints. Feasible sets are nested in T, as follows from the counting-constraint calculation in Lemma 4.8.
For completeness, after fixing the normalization L1=1, the positive tolerance supplies the interior needed for weak feasibility. Increasing T by γ increases the permitted error in each constraint by at least τγ; the counting constraint retains slack of order τnγ, using T≤n and Lp2≥−τT. If the moment-norm bound is tight, mix the functional with a sufficiently small multiple of the bounded point-mass functional from Lemma 4.6. Taking R′ larger than twice the norm of that functional creates norm slack, while changing every other constraint by at most a fixed polynomial times the mixing weight. A mixing weight of order τγ/poly(n,k) therefore leaves a ball of radius τγ/poly(n,k) in the feasible set at the enlarged budget. We apply the ellipsoid argument of Appendix C in [HKMN23], followed by binary search in T, to compute the score to additive error γ. Its bit complexity is polynomial also in the input bit length and log(1/τ); throughout, τ is inverse-polynomial in the problem parameters.
4.2 Problem-Specific Consequences
4.2.1 Efficiently Finding Low Scoring Points
Lemma 4.10. There exists an algorithm, running in time polynomial in n, k, log(1/τ), and the input bit length, that outputs μ^ such that
Sy(μ^)⩽ν∈Δk−1+B1k(τn+α)minSy(ν)+1,
and every point within ℓ1 distance α/2 of the returned μ^ has score at most minν∈Δk−1+B1k(τn+α)Sy(ν)+1.
Proof. Consider the certificate constraints in Definition 4.3 with the closeness constraint in item 2 omitted. Without the closeness constraint, we may still apply the weak-feasibility argument in Lemma 4.9. Binary search, with an additive budget allowance smaller than 1, returns a feasible budget Tmin and a corresponding functional L with
Tmin⩽ν∈Δk−1+B1k(τn+α)minSy(ν)+1.
Indeed, dropping the closeness constraint can only decrease the optimum. Define
μL:=Lμ′,μ^:=Π(μL).
By Lemma 4.4 and (12), we have
∥μ^−μL∥1⩽CkτTmin⩽Ckτn⩽α/100⩽α/10.
In particular, μ^∈Δk−1⊆Δk−1+B1k(τn+α). Thus L certifies that μ^ has score at most Tmin, since
∥μ^−μL∥1⩽α/10⩽α+τTmin.
Now let ν be any point with ∥ν−μ^∥1⩽α/2. Then
∥ν−μL∥1⩽∥ν−μ^∥1+∥μ^−μL∥1⩽2α+10α<α.
Hence L also witnesses that ν has score at most Tmin.
Both score bounds follow from Tmin⩽minν∈Δk−1+B1k(τn+α)Sy(ν)+1.
Lemma 4.11 (Soundness of Low-Trimming Certificates). Let η0∈(0,ηabs). Assume τcov≤Cη0log(1/η0)/m. Suppose Y∗={yi∗}i∈[n] is η0-good, and Y={yi}i∈[n] is an η0-corruption of Y∗. Let L be an (α,τ,T)-certificate for (Y,ν) with T≤η0n, and write μL:=Lμ′. Then
∥μL−μ∥1⩽O(η0mlog(1/η0)).
Proof. For exact certificates, this is exactly the deterministic soundness proof from lemma 3.8 and the proof of Theorem 3.1, with trimming budget T⩽η0n in place of the robust theorem's corruption budget. For approximate certificates, each inference in this fixed degree-6 proof incurs at most τ poly (n,k,m,η0−1)T coefficient error. We choose the inverse-polynomial tolerance τ sufficiently small that
τpoly(n,k,m,η0−1)T=o(mη02log(1/η0)).
Thus the perturbation is lower order than the squared directional-error bound in Lemma 3.8. Applying that directional bound in both subset directions and using ∣∑j(μL)j−1∣⩽τT from Lemma 4.4 gives the claimed ℓ1 bound.
4.2.2 Volume
Lemma 4.12 (Volume). Assume n⩾Ω((k+log(1/β))/(η2log(1/η))). Let η∗⩾η be a sufficiently small absolute constant. Let
for each i∈[n], and let Y∗={y1∗,…,yn∗}. Let Y={yi}i∈[n] be any η-corruption of Y∗. The following three statements hold with probability 1−β over the draw of Y∗.
There exists a point μ0 such that every point at ℓ1 distance at most α from μ0 has score at most ηn.
All points which have score at most η∗n are contained in an ℓ1-ball of radius α+O(1/m) centered at the same point μ0.
Simultaneously for every η′∈[η,η∗], all points of score at most η′ n lie in the ℓ1-ball about μ0 of radius
α+O(η′mlog(1/η′)).
Proof. Take μ0 to be the empirical average of the true samples, μˉ. For each integer 0≤j≤⌈log2(η∗/η)⌉, apply Corollary 3.3 at min{2jη,η∗} with failure probability β/2j+2. These events hold simultaneously with probability at least 1−β. To check the sample size, observe that
(2q)2log(1/(2q))⩾2q2log(1/q)(0<q⩽1/8).
For the final, possibly shorter step, we therefore obtain
Since k+log(2j+2/β)=O(k+log(1/β)+j) and j+1=O(2j), the sample-size hypothesis of this lemma supplies the good-sample event at every level min{2jη,η∗}. Work on their intersection. Let ri be the indicator of the uncorrupted samples. By Corollary 3.6, there exists λ such that
gives a feasible point-mass functional. The diagonal entries of the majorizer imply λj⩾−1/(4m); together with its trace bound, this bounds each λj and ∥M∥F by poly(k). Thus its degree-6 moments also satisfy item 1 of Definition 4.3 for sufficiently large R′, and μˉ is an (α,τ,ηn)-certifiable mean. Hence every ν such that
∥ν−μˉ∥1⩽α
also has score at most ηn, proving the first part.
For the third part, fix η′∈[η,η∗] and choose the smallest j with min{2jη,η∗}≥η′, so that min{2jη,η∗}≤2η′. The fixed covariance allowance obeys
The dataset is a min{2jη,η∗}-corruption of samples that are good at that level. Thus Lemma 4.11 applies to every certificate of score at most η′n, giving
Choose τ sufficiently small for soundness at every grid point and so that τn⩽ηlog(1/η)/m. One inverse-polynomial choice suffices, since every level is at least η. Property 1 of the η-good event bounds ∥μˉ−μ∥1 by O(ηlog(1/η)/m). Adding these bounds and the certificate's closeness constraint proves the third part. Taking η′=η∗ gives the second part.
Lemma 4.13 (Lower Volume at Level 0.8η*n). Let Y={yi}i∈[n] and let η∗ be a sufficiently small absolute constant. Suppose L0 is an (α,τ,0.7η∗n)-certificate. Set
μ∘=Π(L0μ′).
Every point ν with ∥ν−μ∘∥1⩽α−Ckτn has score at most 0.8η∗n, where C is the constant in Lemma 4.4.
Proof. The ball lies in Δk−1+B1k(τn+α) because μ∘∈Δk−1. By Lemma 4.4,
∥ν−L0μ′∥1⩽∥ν−μ∘∥1+∥μ∘−L0μ′∥1⩽α−Ckτn+Ckτn=α.
Thus this certificate gives score at most 0.7η∗n, and hence at most 0.8η∗n.
Lemma 4.14 (Worst-Case ℓ1 Diameter of the Score- η∗n Set). Let η∗ be a sufficiently small absolute constant and let τcov≥0. If ν1,ν2∈Δk−1+B1k(τn+α) both have score at most η∗n, then
∥ν1−ν2∥1⩽O(α+m1+τcov).
More precisely, any corresponding certificates L1,L2 satisfy
∥L1μ′−L2μ′∥1⩽O(m1+τcov).
Proof. See Section A for the full proof.
Corollary 4.15 (Intermediate Volume Ratio). Let Y={yi}i∈[n], let η∗ be a sufficiently small absolute constant, and let τcov≥0. Suppose there is a point of score at most 0.7η∗n. Then
log(V0.8η∗(Y)Vη∗(Y))⩽O(klog(1+α1/m+τcov)).
Proof. Choose a certificate L0 for a point of score at most 0.7η∗n, and let μ∘=Π(L0μ′). Let C be the constant in Lemma 4.4. By Lemma 4.13, the score- 0.8η∗n set contains the ℓ1 ball of radius α−Ckτn centered at μ∘. For any point ν of score at most η∗n, choose a certificate L. The pseudo-mean diameter bound in Lemma 4.14 gives
Algorithm 4.1 (Private Estimation from Discrete Batches).
Input: User batches {Bi}i∈[n], target accuracy α, failure probability β, and privacy parameters (ε,0) or (ε,δ).
Output: A private estimate μ^ of the underlying distribution.
Operations:
If ε>1, return the estimate from the pure-DP construction in Section 4.2.3.
If approximate DP is requested and δ>1−β/2, return the empirical distribution of all nm samples with probability δ, and the fixed distribution e1 otherwise.
Replace α by α/2 in the remaining steps.
Convert each observed batch to its average vector
yi:=m1∑j=1meUi,j,Y:={yi}i∈[n].
Define the score function Sy(ν) from Definition 4.5: the smallest trimming budget T for which ν admits an (α,τ,T)-certificate via the diagonal-majorizer system BT(Y).
Set the internal trimming parameter
ηpriv:=min{ηabs/20,Θ~(αm)}
and instantiate the score system with
τcov:=Cmηprivlog(1/ηpriv).
Run the reduction from Theorem 2.18 (for pure DP) or Theorem 2.19 (for approximate DP) on the domain Θ=Δk−1+B1k(τn+α) with score function Sy.
Output a nearest point in Δk−1 to the returned point in ℓ1 distance.
Algorithm 4.1 summarizes the private estimator obtained from the robustness-to-privacy reduction.
For the proofs of Theorems 4.1 and 4.2, fix η∗=ηabs/2 and instantiate the score system with the capped internal parameter
so that 10ηpriv⩽η∗, and where the hidden constant in Θ~(αm) is chosen small enough that whenever ηpriv<ηabs/20, we have
O(ηprivmlog(1/ηpriv))⩽α/10.
Equivalently, after fixing the hidden constant once and for all, there is an absolute split threshold such that:
if αm is below that threshold, then ηpriv=Θ~(αm);
if αm is above that threshold, then ηpriv=ηabs/20, so 2ηpriv<1/10 and
O(ηprivmlog(1/ηpriv))=O(m1)⩽α/10.
4.2.3 Proof of the Pure-DP Theorem
First suppose 0<ε⩽1. We allocate failure probability β/3 to the 2ηpriv-good event, the volume event of Lemma 4.12, and the privacy mechanism; this changes only absolute constants and logarithmic factors. We apply Theorem 2.18, using the score function defined in Definition 4.5, with Θ=Δk−1+B1k(τn+α), internal score threshold ηpriv, and Euclidean radius α/(2k). The ℓ1 ball in Lemma 4.10 contains a Euclidean ball of this radius. All score properties required by Theorem 2.18 follow from Lemmas 4.6 to 4.10. It remains to verify the low-score witness, bound the volume term, and invoke soundness.
Both the good-sample event from Corollary 3.3 at parameter 2ηpriv and the event in Lemma 4.12 at parameter ηpriv hold once
n⩾Ω(ηpriv2log(1/ηpriv)k+log(1/β)).(13)
In the below-threshold regime ηpriv=Θ~(αm), the requirement in (13) becomes
O~(α2mk+log(1/β)).
In the above-threshold regime ηpriv=ηabs/20, this requirement is only O(k+log(1/β)), which is absorbed by the O((k+log(1/β))/ε) term when ε⩽1.
For the volume term, let μ0 be the point from the first part of Lemma 4.12 at parameter ηpriv. Because the witnessing certificate there has pseudo-mean exactly μ0, every point within ℓ1 distance α of μ0 also has score at most ηprivn. We use Lemma 2.20; the α-radius ℓ1 ball about μ0 contains a Euclidean ball of radius α/(2k). Split the maximization in (5) into η′∈[ηpriv,η∗] and η′∈[η∗,1]. For the first interval, item 3 of Lemma 4.12 gives
The right-hand side of (14) is O((k+log(2/β))/(αmε)) below the split threshold, and O((k+log(2/β))/ε) above it. For η′⩾η∗, bounding Vη′ by the volume V1 of the full score domain gives
the sampler of Theorem 2.18, with utility analyzed in Lemma 2.20, returns a point ν with score at most 2ηprivn with probability at least 1−β.
Let L be a corresponding (α,τ,2ηprivn)-certificate for (Y,ν). Since 2ηpriv⩽ηabs/10<ηabs, Corollary 3.3 and Lemma 4.11 with parameter η0=2ηpriv give
∥Lμ′−μ∥1⩽O(ηprivmlog(1/ηpriv))⩽α/10.
Using the closeness constraint and taking τ sufficiently small,
If μ^ is a nearest point to ν in Δk−1 in ℓ1 distance, then
∥μ^−μ∥TV=21∥μ^−μ∥1⩽∥ν−μ∥1⩽6α/5.(15)
Running the construction with internal accuracy α/2 gives the claimed error α and changes the sample bound by only an absolute factor. Projection is deterministic postprocessing and preserves privacy. To cover ε>1, first suppose ε≤m. Partition each user's batch into ⌈ε⌉ disjoint subbatches of size ⌊m/⌈ε⌉⌋, discarding any remainder, and run the construction just proved for privacy parameters at most 1 on the n⌈ε⌉ subbatches with privacy parameter ε/⌈ε⌉≤1. Changing one original batch changes at most ⌈ε⌉ subbatches, so group privacy gives ε-DP. Since ⌊m/⌈ε⌉⌋≥m/(2⌈ε⌉) and ⌈ε⌉≤2ε, the required number of original users is
O(α2mk+log(1/β)+αmεk+log(1/β)+εk+log(1/β)).
By the arithmetic–geometric mean inequality, the middle term is at most the sum of the other two. If ε>m, apply the Laplace mechanism to the pooled empirical distribution, whose ℓ1 sensitivity under replacement of one batch is 2/n, and project to the simplex. This uses
O(α2mk+log(1/β)+αεk+log(1/β))
users; its second term is absorbed by the first because ε>m and α<1. This proves Theorem 4.1.
4.2.4 Proof of the Approximate-DP Theorem
If δ>1−β/2, release the empirical distribution with probability δ and a fixed distribution otherwise. This is (0,δ)-DP. With n=O((k+log(1/β))/(α2m)), the empirical distribution has error at most α with probability at least 1−β/2, so the released estimate succeeds with probability at least δ(1−β/2)>(1−β/2)2⩾1−β. We may therefore assume δ⩽1−β/2. Then βδ⩽1/2, and the additive constant in log(2/(βδ)) is absorbed by log(1/δ)+log(1/β).
First suppose 0<ε⩽1, and apply Theorem 2.19 with the score, internal threshold ηpriv, and Euclidean radius α/(2k) from Section 4.2.3. That section verifies the oracle properties, and item 1 of Lemma 4.12 supplies the low-score witness.
To obtain the good-sample event used in Section 4.2.3, we need
n⩾O(k+log(1/β)+α2mk+log(1/β)),(16)
because ηpriv=min{ηabs/20,Θ(αm)}. For the utility condition (5) on this event, the balls in items 1 and 2 of Lemma 4.12 give
Apply Lemma 2.20, using the inner ball in item 1 of Lemma 4.12. Below the fixed split threshold, (14) gives O((k+log(2/β))/(εηpriv)). Above that threshold, ηpriv is constant and log(1+1/(αm))⩽1/(αm), so (17) bounds the utility requirement by
O(αmεk+εlog(2/β)).
Thus (5) is implied by
n⩾O(αmεk+log(1/β)+εlog(2/β)).
For the worst-case volume condition (3), choose ηabs small enough that mτcov⩽1/2. Then Corollary 4.15 gives
n⩾O(εlog(1/δ)+klog(1+1/(αm)))
as a sufficient condition. Since log(1+1/(αm))⩽1/(αm), this requirement is absorbed by the sample bound in Theorem 4.2. Finally, k+(log(1/δ)+log(1/β))/ε⩾k+log(1/β) for ε⩽1, so that theorem's sample bound also supplies (16).
Allocating failure probability β/3 to the sample events and the reduction, we obtain a point ν with score at most 2ηprivn with probability at least 1−β. Applying Lemma 4.11 at 2ηpriv and projecting as in (15) gives error at most α, after running the construction with internal accuracy α/2.
If ε>1, use the pure-DP estimator from Theorem 4.1. Its last sample term satisfies
εk+log(1/β)⩽k+εlog(1/δ)+log(1/β),
so it also satisfies the sample bound in Theorem 4.2 and is (ε,δ)-DP. This proves Theorem 4.2.
Remark 4.16 (Explicit logarithmic factors). For 0<ε⩽1, the proofs of Theorems 4.1 and 4.2 give sufficient sample bounds with ordinary O notation. For pure DP, the bound is
with c>0 a sufficiently small absolute constant. Then ηpriv2log(1/ηpriv)=Θ(min{1,α2m}), so (13) requires O(k+log(2/β)+(k+log(2/β))/(α2m)) users. Below the fixed split threshold, (14) requires
Above the split threshold, (17) gives O(k/(αmε)+log(2/β)/ε). Pure DP may also use the O((k+log(2/β))/ε) bound, which is absorbed by (klog(e/α)+log(2/β))/ε. For pure DP, the full score domain lies in a fixed-radius ℓ1 ball, giving log(V1/Vηpriv)=O(klog(e/α)). For approximate DP, (3) contributes
O(εlog(1/δ)+klog(1+1/(αm))).
Its dimension-dependent term is absorbed by
αmε(k+log(2/β))log(e+1/(αm)).
Thus the privacy term for small αm contains only a square-root logarithm.
Remark 4.17 (Larger batches). For clean data, splitting batches gives a refinement of Theorem 4.2. Suppose 0<ε⩽1, β⩽1/3, and δ⩽1/2. There is a polynomial-time (ε,δ)-DP estimator with the same accuracy and failure probability using
When αmε⩽1, this follows directly from Theorem 4.2. Otherwise, partition each user's batch into ⌈(αmε)2/3⌉ disjoint blocks, each of size
⌊⌈(αmε)2/3⌉m⌋,
discarding any remaining samples. The number of blocks per user is at most m because αε≤1. Apply Theorem 4.2 to the n⌈(αmε)2/3⌉ independent blocks with privacy parameters
(⌈(αmε)2/3⌉ε,eε⌈(αmε)2/3⌉δ).
Changing one original user changes at most ⌈(αmε)2/3⌉ blocks, so group privacy gives (ε,δ)-DP: the accumulated additive privacy error is at most
Since αmε>1, rounding the number of blocks up changes it by at most a factor of two. Taking the better of this bound and the bound of Theorem 4.2 applied to the original batches proves the claim. Here O suppresses the additional factor log⌈(αmε)2/3⌉ but no additional dependence on δ. For constant β and αmε>1, the fixed k term is thus replaced by k/(αmε)2/3. This argument does not preserve the guarantee of Corollary 4.18: splitting reduces the batch size that controls the corruption error.
For clean data, we may also choose between this estimator and that of Esfandiari et al. [EMN22] using only the public parameters, obtaining the smaller of the two sample bounds without any privacy composition. In particular, for constant β and m≥Ck2/α2, their ball-localization algorithm gives n=O(log(1/δ)/ε) users. Indeed, each user's empirical distribution satisfies E∥yi−μ∥22≤1/m, so Markov's inequality and a Chernoff bound place at least two-thirds of the users within O(1/m) of μ in ℓ2. Applying [EMN22, Theorem 3.3], followed by Euclidean projection onto the simplex, gives ℓ2 error O(k/m), hence total-variation error O(k/m). For general batch sizes, their few-user bound has the additional logarithmic dependence on 1/δ stated in [EMN22, Theorem 4.1].
Corollary 4.18 (Robustness of the Private Estimators). There are absolute constants c,C>0 for which the following holds. Let 0<ε⩽1, 0⩽η⩽c, and α,β∈(0,1). Suppose the clean batches are independent and batch i consists of m i.i.d. samples from μi, where ∥μi−μ∥TV⩽ω for every i and a known bound ω∈[0,1]. There is a polynomial-time, pure ε-DP estimator that, on any η-corruption of these batches, returns μ^∈Δk−1 with ∥μ^−μ∥TV⩽α with probability at least 1−β, provided
α⩾C(ηmlog(1/η)+ω)
and
n⩾O(α2mk+log(1/β)+αmεk+log(1/β)+εk+log(1/β)).
The term involving η is defined to be zero when η=0. For every δ∈(0,1), there is also a polynomial-time (ε,δ)-DP estimator with this accuracy guarantee, provided
This recovers the sample bound of Theorem 4.2 when ω=O(1/m+αε); in particular, it does so when αm⩽1 or when ε is constant.
Proof. We first prove the pure-DP claim. Use the score construction from Section 4, with internal accuracy c1α for a sufficiently small absolute c1>0. Choose its internal trimming parameter ηpriv⩽ηabs/20 as in Section 4.2.3, so that
The constants C in the accuracy assumption and c in η⩽c ensure η⩽ηpriv. Replace the covariance allowance by
τcov=C0(mηprivlog(1/ηpriv)+mω+ω2),(18)
where C0 is a sufficiently large absolute constant. All these parameters are public. The data-consistency constraints and the dependence of the score on its trimming budget are unchanged, so Lemmas 4.7 to 4.10 apply without modification. The witness bounds remain polynomial because ω⩽1.
We verify the statistical properties needed by the pure-DP reduction. The concentration estimates in the proof of Corollary 3.11 hold simultaneously at parameters ηpriv, 2ηpriv, and η∗=ηabs/2, with failure probability at most β/2, once
n⩾Ω(ηpriv2log(1/ηpriv)k+log(1/β)).
For the low-score witness, take wi to indicate the uncorrupted batches, set yi′=yi∗, and set μ′=μˉ=Eiyi∗. By the proof of Corollary 3.11, we obtain a diagonal majorizer with allowance (18). Since at most ηn⩽ηprivn batches are corrupted, this gives a score- ηprivn certificate at μˉ and throughout the ℓ1 ball of radius c1α around μˉ.
For η0∈{2ηpriv,η∗}, the allowance in (18) is at most C0(η0log(1/η0)/m+ω/m+ω2). Thus the degree-6 soundness argument in Corollary 3.11, with the numerical tolerance argument of Lemma 4.11, shows that every certificate with trimming budget at most η0n has
∥Lμ′−μ∥1⩽O(η0mlog(1/η0)+ω).(19)
In particular, the score- η∗n set is contained in an ℓ1 ball around μ of radius O(c1α+1/m+ω). Because ω⩽α/C=O(c1α), this radius is O(c1α+1/m). Comparing this outer ball with the score- ηprivn ball of radius c1α about μˉ gives
The full score domain is still Δk−1+B1k(c1α+τn), so the bound on V1/Vηpriv from Section 4.2.3 also applies.
It follows from Theorem 2.18 that the sample bound in Corollary 4.18 returns a point with score at most 2ηprivn with probability at least 1−β/2 on the concentration event. In the capped regime, the additional statistical requirement n=Ω(k+log(1/β)) is absorbed by (k+log(1/β))/ε because ε≤1. Apply (19) with η0=2ηpriv, add the closeness allowance from item 2 of Definition 4.3, and project onto the simplex in ℓ1. For sufficiently small c1 and sufficiently large C, the resulting total-variation error is at most α. Together, the concentration and privacy-mechanism failure probabilities sum to at most β.
For approximate DP, use the heterogeneous covariance allowance (18). If δ>1−β/2, apply the release-with-probability- δ construction from Section 4.2.4 to the robust estimator of Corollary 3.11, with trimming parameter ηpriv and failure probability β/2. Its sample requirement is
O(k+log(1/β)+α2mk+log(1/β)),
which the stated approximate-DP bound supplies since ε⩽1. Its success probability is at least δ(1−β/2)>1−β.
Otherwise, use the approximate-DP reduction with internal accuracy c1α and trimming parameter ηpriv. Since ω⩽1, (18) gives
1/m+τcov⩽O(1/m+ω).
Thus Corollary 4.15 bounds the worst-case intermediate log-volume ratio by
Using log(1+x)⩽x, the privacy condition (3) is therefore implied by
n⩾O(αmεk+εkω/α+log(1/δ)).
On the concentration event used for pure DP, the score- ηprivn set contains the ball of radius c1α about μˉ. By (19) at η0=η∗ and the mean estimate in Corollary 3.11, every point of score at most η∗n lies within c1α+O(1/m+ω) of μˉ. Comparing these balls bounds log(Vη′(Y)/Vηpriv(Y)) by the right-hand side of (20) for ηpriv⩽η′⩽η∗. When αm is below the fixed split threshold in Section 4.2.3, ω⩽α/C makes the heterogeneity contribution a constant inside the logarithm, so the original O((k+log(1/β))/(αmε)) utility bound applies. Above that threshold, ηpriv is constant, and Lemma 2.20 requires only
n⩾O(αmεk+εkω/α+log(2/β)).
Both requirements are covered by the stated sample bound, which also supplies the concentration event. The reduction returns score at most 2ηprivn; applying (19) and projecting as in (15) gives accuracy α. Allocating failure probability β/2 to concentration and β/2 to the reduction proves the claim.
5 Statistical Query Lower Bound for Discrete Batches
In this section, we prove a statistical query (SQ) lower bound for robust learning from discrete batches. We show that no SQ algorithm with polynomially many queries of inverse-polynomial tolerance achieves error o(ηmin{1,log(1/η)/m}) uniformly over the parameters. We adapt the moment-matching strategy and polynomial-correction construction of Diakonikolas, Kane, and Sun [DKS22] to categorical batches in [k]m. We correct a biased binomial distribution to match the low-order moments of the unbiased binomial, and use this distribution for the number of batch elements in a hidden balanced subset of the alphabet. The resulting moment-matching lemma applies to every batch size. We first prove hardness of testing and then reduce testing to robust estimation.
5.1 Testing Problem
Let μ∈Δk−1 be the clean distribution. We model corruption by allowing the observed batch distribution Q on [k]m to differ from the clean batch distribution μ⊗m by at most η in total variation:
∥Q−μ⊗m∥TV⩽η.
An SQ query to Q consists of a function ϕ:[k]m→[−1,1] and a tolerance τ>0; the oracle returns a number within τ of EB∼Q[ϕ(B)]. We allow randomized, adaptive algorithms, whose guarantees must hold for every valid oracle. Query bounds are worst-case bounds. Allowing queries on the full ordered batch also covers SQ algorithms whose queries depend only on the batch average.
We give the construction and proof for even k; the case of odd k follows similarly by leaving one symbol unused. Let μ0 be uniform on [k], and set P=μ0⊗m. Pair the alphabet symbols as {1,2},{3,4},…,{k−1,k}. A hidden subset S contains exactly one symbol from each pair, so ∣S∣=k/2. For 0<Δ<1/4, increase the probabilities on S and decrease those on its complement:
be the number of its elements that lie in the hidden subset. A single draw lies in S with probability 1/2 under μ0 and 1/2+Δ under μS. Writing ps:=Bin(m,1/2+s) for ∣s∣<1/2, we therefore have
NS(X)∼{p0,pΔ,X∼P,X∼μS⊗m.
Conditioned on the count NS, both batch laws are uniform on the same set of batches. This lets us modify the count distribution while keeping the conditional batch distribution fixed.
To compare different hidden subsets, encode the choice from each pair by σ∈{−1,1}k/2: put 2u−1 in Sσ if σu=1, and 2u in Sσ if σu=−1. Write μσ=μSσ and Nσ=NSσ. The sign encoding
vσ(j):=21[j∈Sσ]−1,vσ=(σ1,−σ1,…,σk/2,−σk/2)
satisfies μσ(j)=(1+2Δvσ(j))/k. We consider the testing problem
Given SQ access to Q, a tester must identify the clean hypothesis with probability at least 2/3 on every instance. Each hypothesis specifies both the clean and observed distributions. If an observed distribution occurs under both hypotheses, testing is already information-theoretically impossible.
5.2 SQ Hardness
Theorem 5.1 (SQ Lower Bound for Testing). There is an absolute constant c>0 such that, for every integer t≥1, there are constants ct>0 and k0(t) with the following property. For all k≥k0(t), m∈N, and η∈(0,1/4], set Δ=ctηmin{1,log(1/η)/m}. Any SQ algorithm solving (21) must either make a query of tolerance less than
2k−(t+1)/8
or make at least exp(ck) queries.
Proof roadmap. For each hidden subset Sσ, we construct a valid corrupted batch law Qσ. The goal is to make its centered likelihood ratio fσ=dQσ/dP−1 satisfy
∥fσ∥L2(P)2⩽2,⟨fσ,fω⟩L2(P)⩽2∣ρ(σ,ω)∣t+1.
Here ρ(σ,ω):=(2/k)∑u=1k/2σuωu is the centered overlap of the hidden subsets. Lemma 5.2 supplies the count distribution used to define Qσ. Its total-variation bound keeps Qσ within the corruption budget; its moment identities eliminate Fourier degrees 1,…,t; and its chi-square bound controls the remaining Fourier mass. Independent uniformly chosen hidden subsets have small ∣ρ∣ with high probability. The resulting correlation bound then implies the query lower bound through Lemma 5.3. Finally, Section 5.3 reduces robust estimation to this testing problem. The binomial construction is proved in Section 5.4.
Lemma 5.2 (Binomial Moment Matching). For every integer t≥1, there is a constant ct>0 with the following property. Let m∈N and η∈(0,1/4], and set
Δ:=ctηmin{1,mlog(1/η)},ps:=Bin(m,1/2+s).
There is a probability distribution p on {0,…,m} such that
Here χ2(p∥p):=∑j(p(j)−p(j))2/p(j) denotes the chi-square divergence.
We separate the general SQ argument from the categorical construction in the following lemma; compare the SQ correlation bound in [DKS22, Lemma 11]. We prove this lemma after Theorem 5.1.
Lemma 5.3 (SQ Testing from Correlation Tails). Let P and {Qθ:θ∈Θ} be distributions on a finite domain X, with Θ finite and nonempty and Qθ≪P. Set fθ=dQθ/dP−1. Suppose that, for some B>0 and γ,ξ≥0, every θ∈Θ satisfies
Let τ>0 satisfy τ2>γ. Any randomized, adaptive SQ tester that distinguishes P from every Qθ with success probability at least 2/3 against every valid oracle, makes at most q queries in the worst case, and uses tolerances at least τ, must satisfy
qBξ⩾3τ2−γ.
Proof of Theorem 5.1. Take p from Lemma 5.2. For each σ∈{−1,1}k/2, we construct an observed distribution Qσ satisfying ∥Qσ−μσ⊗m∥TV⩽η/20.
Hard distributions. To draw a batch from Qσ, draw its count Nσ from p and then choose uniformly among the batches with that count. Equivalently, define
Under P, the count Nσ has distribution p0, so Qσ is a probability distribution. μσ⊗m has likelihood ratio pΔ(Nσ)/p0(Nσ) with respect to P. Consequently,
Bounding correlations. For z∈{−1,1}m, let N(z) count its positive coordinates, and write the Fourier expansion
g(z):=p0(N(z))p(N(z))=A⊆[m]∑g^(A)i∈A∏zi.
The batch likelihood ratios satisfy Fσ(x)=g(vσ(x1),…,vσ(xm)). Here g^(∅)=1. Moment matching implies g^(A)=0 for 1⩽∣A∣⩽t. Indeed, the conditional expectation of ∏i∈Azi given N(z)=j, under uniform signs, is
(∣A∣m)−1r=0∑∣A∣(−1)∣A∣−r(rj)(∣A∣−rm−j).
This is a polynomial in j of degree at most ∣A∣. Its expectation under p therefore equals its expectation under p0, which is zero.
For U uniform on [k], the signs vσ(U) and vω(U) are unbiased and satisfy E[vσ(U)vω(U)]=ρ(σ,ω). In the product of the two Fourier expansions, terms indexed by distinct sets have expectation zero: a position in their symmetric difference contributes one unbiased sign. Terms indexed by the same set A have expectation ρ(σ,ω)∣A∣. Thus
For the last inequality, pairs with ∣⟨fθ,fω⟩∣⩽γ contribute at most γp2. For each θ∈Tϕ, the remaining ω have probability at most ξ, and ∣⟨fθ,fω⟩∣⩽B by the norm bound. Rearranging gives
p⩽τ2−γBξ.(25)
This bound also holds when p=0. Since EQθϕ−EPϕ=⟨ϕ,fθ⟩, it bounds the fraction of alternatives for which the exact null answer is outside tolerance τ.
Adaptive queries. Run the tester against the oracle returning exact expectations under P. Conditional on its random coins, the at most q queries on this execution are fixed. By (25) and a union bound, these answers are all valid for a uniform Qθ at the requested tolerances except with probability at most qBξ/(τ2−γ), also after averaging over the coins.
For each θ, define an oracle that returns EPϕ whenever this is within the requested tolerance of EQθϕ, and returns EQθϕ otherwise. This is a valid oracle on every execution and does not depend on the tester's random coins. Couple the null and alternative executions using the same coins. Their transcripts differ with probability at most qBξ/(τ2−γ), averaged over θ. Success probability 2/3 under each hypothesis requires an acceptance-probability gap of at least 1/3. Therefore
τ2−γqBξ⩾31.
5.3 From Estimation to Testing
Corollary 5.4 (SQ Lower Bound for Robust Estimation). For every integer t≥1, let ct and k0(t) be as in Theorem 5.1. For all k≥k0(t), m∈N, and η∈(0,1/4], any SQ estimator that, for every μ∈Δk−1 and every Q with ∥Q−μ⊗m∥TV≤η, guarantees
∥μ^−μ∥TV≤4ctηmin{1,mlog(1/η)}
with probability at least 2/3 must either make a query of tolerance less than 2k−(t+1)/8 or make at least exp(ck) queries.
Consequently, no SQ algorithm with fixed polynomial bounds on query count and inverse tolerance in k, m, 1/η achieves error o(ηmin{1,log(1/η)/m}) uniformly over the parameters. This holds already along the sequence η=1/k and m=⌈(logk)2⌉ as k→∞.
Proof. Run the estimator and declare H1 if ∥μ^−μ0∥TV>Δ/2. On the estimator's success event, this distance is at most Δ/4 under H0 and at least 3Δ/4 under H1, by the triangle inequality. Thus the estimator solves (21), and Theorem 5.1 applies.
For the asymptotic conclusion, set η=1/k and m=⌈(logk)2⌉. Any fixed polynomial resource bounds become q⩽ka and tolerances at least k−b, for fixed a,b and sufficiently large k. Choose a fixed t with (t+1)/8>b. An o(ηmin{1,log(1/η)/m}) error guarantee is eventually smaller than ctηmin{1,log(1/η)/m}/4, while k−b⩾2k−(t+1)/8 and ka<exp(k/24). This contradicts Theorem 5.1.
With sufficiently many batches, the polynomial-time estimator of Jain and Orlitsky [JO20b], together with the pooled histogram for m⩽log(1/η), achieves error O(ηmin{1,log(1/η)/m}). Information-theoretically, the corruption dependence is Θ(η/m) [QV18]. In Theorem 5.1, the error scale matches the dependence on m and η of the known polynomial-time corruption rate. Its constant ct depends on the moment order, and hence on the polynomial bound on inverse tolerance. We bound the attainable corruption error, rather than the number of batches required to attain it.
One can also obtain the distributions used in the SQ lower bound, up to exponentially small total-variation error, by replacing at most ⌊ηn⌋ batches in a finite dataset. Indeed, independently maximally couple n clean batches to batches with law Qσ. Replace the mismatched batches if there are at most ⌊ηn⌋ mismatches, and make no replacements otherwise. This is a legal batch-corruption adversary. Since ∥Qσ−μσ⊗m∥TV⩽η/20, a Chernoff bound shows that its output distribution is within exp(−c′ηn) of Qσ⊗n in total variation, for an absolute constant c′>0.
5.4 Binomial Moment Construction
We follow the polynomial-correction method of Diakonikolas, Kane, and Sun [DKS22, Proposition 25]. For each fixed moment order t, we solve the moment equations directly on the discrete count grid. The resulting estimates, together with a direct treatment of the remaining parameter range, give the separation scale in Lemma 5.2 for every batch size.
Proof of Lemma 5.2. Constants denoted Ct may change from line to line and depend only on t. First suppose min{m,log(1/η)}≥Rt, where Rt>t+1 is a sufficiently large constant depending only on t. Set
and ∣I∣=Θ(mmin{m,log(1/η)})/16. Consider the (t+1)×(t+1) matrix
Muv:=∣I∣1j∈I∑zju+v,0⩽u,v⩽t.
These Riemann sums converge to
Huv=21∫−11xu+vdxas16mmin{m,log(1/η)}→∞,
with error Ot(16/mmin{m,log(1/η)}). The matrix H is positive definite, since its quadratic form is the integral of the square of a nonzero polynomial. Thus, by increasing Rt, we have
∥M−1∥op⩽Ct.(26)
The bound is uniform over m and η; odd m only shifts the grid by half a step.
Correcting the moments. Let bi:=EN∼p0[zNi]−EN∼pΔ[zNi]. We claim that
For 0⩽s⩽Δ and 0⩽u⩽1, the random variable 16(Y+u−m/2)/mmin{m,log(1/η)} has bounded absolute moments of every fixed order. Its centered fluctuations have scale 16/min{m,log(1/η)}⩽16, and its mean has absolute value at most 16(mΔ+1)/mmin{m,log(1/η)}⩽2, after taking ct⩽161 and Rt large. Here we use E[∣Y−EY∣r]⩽Crmr/2, which follows by integrating Hoeffding's tail bound. Integrating the derivative over [0,Δ] proves (27); also b0=0.
The last inequality holds for sufficiently small ct, since mΔ2⩽ct2η2log(1/η) is uniformly small.
Remaining parameter range. If min{m,log(1/η)}<Rt, take p=p0. By (29) and Cauchy–Schwarz,
∥p0−pΔ∥TV⩽21(1+4Δ2)m−1⩽CΔm⩽CctηRt⩽η/20.
All moments match and the chi-square divergence is zero. Every choice of constants depends only on t.
AI Disclosure. We used Codex and GPT Pro to assist with technical development and exposition, including the diagonal-majorizer and semidefinite-duality formulation, the application of the symmetric Grothendieck inequality, the approximate-DP obstruction argument, and the SQ lower-bound proof. The authors are responsible for the final manuscript.
References
[ABMT25] Prashanti Anderson, Ainesh Bakshi, Mahbod Majid, and Stefan Tiegel. Sample-optimal private regression in polynomial time. In Proceedings of the 57th Annual ACM Symposium on the Theory of Computing, STOC '25, pages 2341–2349. ACM, 2025.
[AKM +25] Sushant Agarwal, Gautam Kamath, Mahbod Majid, Argyris Mouzakis, Rose Silver, and Jonathan Ullman. Private mean estimation with person-level differential privacy. In Proceedings of the 36th Annual ACM-SIAM Symposium on Discrete Algorithms, SODA '25, pages 2819–2880. SIAM, 2025.
[AKT +23] Daniel Alabi, Pravesh K Kothari, Pranay Tankala, Prayaag Venkat, and Fred Zhang. Privately estimating a Gaussian: Efficient, robust, and optimal. In Proceedings of the 55th Annual ACM Symposium on the Theory of Computing, STOC '23, pages 483–496. ACM, 2023.
[AL22] Hassan Ashtiani and Christopher Liaw. Private and polynomial time algorithms for learning Gaussians and beyond. In Proceedings of the 35th Annual Conference on Learning Theory, volume 178 of Proceedings of Machine Learning Research, pages 1075–1076. PMLR, 2022.
[AL24] Hilal Asi and Daogao Liu. User-level differentially private stochastic convex optimization: Efficient algorithms with optimal rates. In Proceedings of the 27th International Conference on Artificial Intelligence and Statistics, volume 238 of Proceedings of Machine Learning Research, pages 4240–4248. PMLR, 2024.
[ALS23] Jayadev Acharya, Yuhan Liu, and Ziteng Sun. Discrete distribution estimation under user-level local differential privacy. In Proceedings of the 26th International Conference on Artificial Intelligence and Statistics, volume 206 of Proceedings of Machine Learning Research, pages 8561–8585. PMLR, 2023.
[AM20] Marco Avella-Medina. The role of robust statistics in private data analysis. Chance, 33(4):37–42, 2020.
[AM21] Marco Avella-Medina. Privacy-preserving parametric inference: a case for robust statistics. Journal of the American Statistical Association, 116(534):969–983, 2021.
[AMN24] Hassan Ashtiani, Mahbod Majid, and Shyam Narayanan. Sample-efficient private learning of mixtures of Gaussians. In Advances in Neural Information Processing Systems 37, NeurIPS '24, pages 98994–99039. Curran Associates, Inc., 2024.
[AUZ23] Hilal Asi, Jonathan Ullman, and Lydia Zakynthinou. From robustness to privacy and back. In Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pages 1121–1146. PMLR, 2023.
[BGS +21] Gavin Brown, Marco Gaboardi, Adam Smith, Jonathan Ullman, and Lydia Zakynthinou. Covariance-aware private mean estimation without private covariance estimation. In Advances in Neural Information Processing Systems 34, NeurIPS '21, pages 7950–7964. Curran Associates, Inc., 2021.
[BKSW19] Mark Bun, Gautam Kamath, Thomas Steinke, and Zhiwei Steven Wu. Private hypothesis selection. In Advances in Neural Information Processing Systems 32, NeurIPS '19, pages 156–167. Curran Associates, Inc., 2019.
[BS23] Raef Bassily and Ziteng Sun. User-level private stochastic convex optimization with optimal rates. In Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pages 1838–1851. PMLR, 2023.
[Can20] Clément L. Canonne. A short note on learning discrete distributions. arXiv preprint arXiv:2002.11457, 2020.
[CDd +24] Hongjie Chen, Jingqiu Ding, Tommaso d'Orsi, Yiding Hua, Chih-Hung Liu, and David Steurer. Private graphon estimation via sum-of-squares. In Proceedings of the 56th Annual ACM Symposium on the Theory of Computing, STOC '24, pages 172–182. ACM, 2024.
[CDHS24] Hongjie Chen, Jingqiu Ding, Yiding Hua, and David Steurer. Private edge density estimation for random graphs: Optimal, efficient and robust. In Advances in Neural Information Processing Systems 37, NeurIPS '24, pages 90771–90817. Curran Associates, Inc., 2024.
[CDMM26] Sitan Chen, Jingqiu Ding, Mahbod Majid, and Walter McKelvie. Computation-utility-privacy tradeoffs in Bayesian estimation. In Proceedings of the 58th Annual ACM Symposium on the Theory of Computing, STOC '26, pages 1616–1626. ACM, 2026.
[CFMT22] Rachel Cummings, Vitaly Feldman, Audra McMillan, and Kunal Talwar. Mean estimation with user-level privacy under data heterogeneity. In Advances in Neural Information Processing Systems 35, NeurIPS '22, pages 29139–29151. Curran Associates, Inc., 2022.
[CLM20a] Sitan Chen, Jerry Li, and Ankur Moitra. Efficiently learning structured distributions from untrusted batches. In Proceedings of the 52nd Annual ACM Symposium on the Theory of Computing, STOC '20, pages 960–973. ACM, 2020.
[CLM20b] Sitan Chen, Jerry Li, and Ankur Moitra. Learning structured distributions from untrusted batches: Faster and simpler. In Advances in Neural Information Processing Systems 33, NeurIPS '20, pages 4512–4523. Curran Associates, Inc., 2020.
[CS23] Julien Chhor and Flore Sentenac. Robust estimation of discrete distributions under local differential privacy. In Proceedings of the 34th International Conference on Algorithmic Learning Theory, volume 201 of Proceedings of Machine Learning Research, pages 411–446. PMLR, 2023.
[DHS15] Ilias Diakonikolas, Moritz Hardt, and Ludwig Schmidt. Differentially private learning of structured discrete distributions. In Advances in Neural Information Processing Systems 28, NIPS '15, pages 2566–2574. Curran Associates, Inc., 2015.
[DJKS23] Abhimanyu Das, Ayush Jain, Weihao Kong, and Rajat Sen. Efficient list-decodable regression using batches. In Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pages 7025–7065. PMLR, 2023.
[DK23] Ilias Diakonikolas and Daniel M. Kane. Algorithmic High-Dimensional Robust Statistics. Cambridge University Press, 2023.
[DKK +16] Ilias Diakonikolas, Gautam Kamath, Daniel M. Kane, Jerry Li, Ankur Moitra, and Alistair Stewart. Robust estimators in high dimensions without the computational intractability. In Proceedings of the 57th Annual IEEE Symposium on Foundations of Computer Science, FOCS '16, pages 655–664. IEEE Computer Society, 2016. Journal version: SIAM Journal on Computing, 48(2):742–864, 2019.
[DKK +25] Ilias Diakonikolas, Daniel Kane, Sushrut Karmalkar, Sihan Liu, and Thanasis Pittas. Batch list-decodable linear regression via higher moments. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 13622–13642. PMLR, 2025.
[DKS17] Ilias Diakonikolas, Daniel M. Kane, and Alistair Stewart. Statistical query lower bounds for robust estimation of high-dimensional Gaussians and Gaussian mixtures. In Proceedings of the 58th Annual IEEE Symposium on Foundations of Computer Science, FOCS '17, pages 73–84. IEEE Computer Society, 2017.
[DKS22] Ilias Diakonikolas, Daniel M. Kane, and Yuxin Sun. Optimal SQ lower bounds for robustly learning discrete product distributions and Ising models. In Proceedings of the 35th Annual Conference on Learning Theory, volume 178 of Proceedings of Machine Learning Research, pages 3936–3978. PMLR, 2022.
[DL09] Cynthia Dwork and Jing Lei. Differential privacy and robust statistics. In Proceedings of the 41st Annual ACM Symposium on the Theory of Computing, STOC '09, pages 371–380. ACM, 2009.
[DMNS06] Cynthia Dwork, Frank McSherry, Kobbi Nissim, and Adam Smith. Calibrating noise to sensitivity in private data analysis. In Proceedings of the 3rd Conference on Theory of Cryptography, TCC '06, pages 265–284, Berlin, Heidelberg, 2006. Springer. Journal version: Journal of Privacy and Confidentiality, 7(3):17–51, 2017.
[DRV10] Cynthia Dwork, Guy N. Rothblum, and Salil Vadhan. Boosting and differential privacy. In Proceedings of the 51st Annual IEEE Symposium on Foundations of Computer Science, FOCS '10, pages 51–60. IEEE Computer Society, 2010.
[EMN22] Hossein Esfandiari, Vahab Mirrokni, and Shyam Narayanan. Tight and robust private mean estimation with few users. In Proceedings of the 39th International Conference on Machine Learning, volume 162 of Proceedings of Machine Learning Research, pages 16383–16412. PMLR, 2022.
[GDD22] Antonious M Girgis, Deepesh Data, and Suhas Diggavi. Distributed user-level private mean estimation. In Proceedings of the 2022 IEEE International Symposium on Information Theory, ISIT '22, pages 2196–2201. IEEE, 2022.
[GH22] Kristian Georgiev and Samuel B Hopkins. Privacy induces robustness: Information-computation gaps and sparse mean estimation. In Advances in Neural Information Processing Systems 35, NeurIPS '22, pages 6829–6842. Curran Associates, Inc., 2022.
[GKK +23a] Badih Ghazi, British Kamath, Ravi Kumar, Pasin Manurangsi, Raghu Meka, and Chiyuan Zhang. On user-level private convex optimization. In Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pages 11283–11299. PMLR, 2023.
[GKK +23b] Badih Ghazi, British Kamath, Ravi Kumar, Pasin Manurangsi, Raghu Meka, and Chiyuan Zhang. User-level differential privacy with few examples per user. In Advances in Neural Information Processing Systems 36, NeurIPS '23, pages 19263–19290. Curran Associates, Inc., 2023.
[GKLM26] Badih Ghazi, Ravi Kumar, Daogao Liu, and Pasin Manurangsi. Nearly linear-time user-level DP-SCO with optimal rates. In Proceedings of the 39th Annual Conference on Learning Theory, volume 336 of Proceedings of Machine Learning Research, pages 2601–2636. PMLR, 2026.
[GKM21] Badih Ghazi, Ravi Kumar, and Pasin Manurangsi. User-level differentially private learning via correlated sampling. In Advances in Neural Information Processing Systems 34, NeurIPS '21, pages 20172–20184. Curran Associates, Inc., 2021.
[GKMN21] Badih Ghazi, Ravi Kumar, Pasin Manurangsi, and Thao Nguyen. Robust and private learning of halfspaces. In The 24th International Conference on Artificial Intelligence and Statistics, volume 130 of Proceedings of Machine Learning Research, pages 1603–1611. PMLR, 2021.
[GRST24] Anand Jerry George, Lekshmi Ramesh, Aditya Vikram Singh, and Himanshu Tyagi. Continual mean estimation under user-level privacy. IEEE Journal on Selected Areas in Information Theory, 5:28–43, 2024.
[HKM22] Samuel B Hopkins, Gautam Kamath, and Mahbod Majid. Efficient mean estimation with pure differential privacy via a sum-of-squares exponential mechanism. In Proceedings of the 54th Annual ACM Symposium on the Theory of Computing, STOC '22, pages 1406–1417. ACM, 2022.
[HKMN23] Samuel B Hopkins, Gautam Kamath, Mahbod Majid, and Shyam Narayanan. Robustness implies privacy in statistical estimation. In Proceedings of the 55th Annual ACM Symposium on the Theory of Computing, STOC '23, pages 497–506. ACM, 2023. Full version: arXiv:2212.05015.
[JO20a] Ayush Jain and Alon Orlitsky. A general method for robust learning from batches. In Advances in Neural Information Processing Systems 33, NeurIPS '20, pages 21775–21785. Curran Associates, Inc., 2020.
[JO20b] Ayush Jain and Alon Orlitsky. Optimal robust learning of discrete distributions from batches. In Proceedings of the 37th International Conference on Machine Learning, volume 119 of Proceedings of Machine Learning Research, pages 4651–4660. PMLR, 2020.
[JO21] Ayush Jain and Alon Orlitsky. Robust density estimation from batches: The best things in life are (nearly) free. In Proceedings of the 38th International Conference on Machine Learning, volume 139 of Proceedings of Machine Learning Research, pages 4698–4708. PMLR, 2021.
[JSK +24] Ayush Jain, Rajat Sen, Weihao Kong, Abhimanyu Das, and Alon Orlitsky. Linear regression using heterogeneous data batches. In Advances in Neural Information Processing Systems 37, NeurIPS '24, pages 87061–87103. Curran Associates, Inc., 2024.
[Kam24] Gautam Kamath. The broader landscape of robustness in algorithmic statistics. IEEE BITS the Information Theory Magazine, 4(3):3–21, 2024.
[KMA +21] Peter Kairouz, H. Brendan McMahan, Brendan Avent, et al. Advances and open problems in federated learning. Foundations and Trends in Machine Learning, 14(1–2):1–210, 2021.
[KMV22] Pravesh K Kothari, Pasin Manurangsi, and Ameya Velingker. Private robust estimation by stabilizing convex relaxations. In Proceedings of the 35th Annual Conference on Learning Theory, volume 178 of Proceedings of Machine Learning Research, pages 723–777. PMLR, 2022.
[KSU20] Gautam Kamath, Vikrant Singhal, and Jonathan Ullman. Private mean estimation of heavy-tailed distributions. In Proceedings of the 33rd Annual Conference on Learning Theory, volume 125 of Proceedings of Machine Learning Research, pages 2204–2235. PMLR, 2020.
[KU20] Gautam Kamath and Jonathan Ullman. A primer on private statistics. arXiv preprint arXiv:2005.00010, 2020.
[LBY23] Mengchu Li, Thomas B Berrett, and Yi Yu. On robustness and local differential privacy. The Annals of Statistics, 51(2):717–737, 2023.
[LJK +23] Xiyang Liu, Prateek Jain, Weihao Kong, Sewoong Oh, and Arun Sai Suggala. Label robust and differentially private linear regression: Computational and statistical efficiency. In Advances in Neural Information Processing Systems 36, NeurIPS '23, pages 23019–23033. Curran Associates, Inc., 2023.
[LKKO21] Xiyang Liu, Weihao Kong, Sham Kakade, and Sewoong Oh. Robust and differentially private mean estimation. In Advances in Neural Information Processing Systems 34, NeurIPS '21, pages 3887–3901. Curran Associates, Inc., 2021.
[LKO22] Xiyang Liu, Weihao Kong, and Sewoong Oh. Differential privacy and robust statistics in high dimensions. In Proceedings of the 35th Annual Conference on Learning Theory, volume 178 of Proceedings of Machine Learning Research, pages 1167–1246. PMLR, 2022.
[LRV16] Kevin A. Lai, Anup B. Rao, and Santosh Vempala. Agnostic estimation of mean and covariance. In Proceedings of the 57th Annual IEEE Symposium on Foundations of Computer Science, FOCS '16, pages 665–674. IEEE Computer Society, 2016.
[LSA +21] Daniel Levy, Ziteng Sun, Kareem Amin, Satyen Kale, Alex Kulesza, Mehryar Mohri, and Ananda Theertha Suresh. Learning with user-level privacy. In Advances in Neural
Information Processing Systems 34, NeurIPS '21, pages 12466–12479. Curran Associates, Inc., 2021.
[LSY +20] Yuhan Liu, Ananda Theertha Suresh, Felix Yu, Sanjiv Kumar, and Michael Riley. Learning discrete distributions: User vs item-level privacy. In Advances in Neural Information Processing Systems 33, NeurIPS '20, pages 20965–20976. Curran Associates, Inc., 2020.
[MMR +17] H. Brendan McMahan, Eider Moore, Daniel Ramage, Seth Hampson, and Blaise Agüera y Arcas. Communication-efficient learning of deep networks from decentralized data. In Proceedings of the 20th International Conference on Artificial Intelligence and Statistics, volume 54 of Proceedings of Machine Learning Research, pages 1273–1282. PMLR, 2017.
[QV18] Mingda Qiao and Gregory Valiant. Learning discrete distributions from untrusted batches. In Proceedings of the 9th Conference on Innovations in Theoretical Computer Science, ITCS '18, pages 47:1–47:20, Dagstuhl, Germany, 2018. Schloss Dagstuhl–Leibniz-Zentrum fuer Informatik.
[RC21] Kelly Ramsay and Shoja'eddin Chenouri. Differentially private depth functions and their associated medians. arXiv preprint arXiv:2101.02800, 2021.
[RJC25] Kelly Ramsay, Aukosh Jagannath, and Shoja'eddin Chenouri. Differentially private multivariate medians. Journal of Machine Learning Research, 26(255):1–52, 2025.
[SM22] Aleksandra Slavkovic and Roberto Molinari. Perturbed M-estimation: A further investigation of robust statistics for differential privacy. In Alicia L. Carriquiry, Judith M. Tanur, and William F. Eddy, editors, Statistics in the Public Interest: In Memory of Stephen E. Fienberg, pages 337–361. Springer, 2022.
[TCK +22] Eliad Tsfadia, Edith Cohen, Haim Kaplan, Yishay Mansour, and Uri Stemmer. Friendly-Core: Practical differentially private aggregation. In Proceedings of the 39th International Conference on Machine Learning, volume 162 of Proceedings of Machine Learning Research, pages 21828–21863. PMLR, 2022.
[Wai19] Martin J. Wainwright. High-Dimensional Statistics: A Non-Asymptotic Viewpoint. Cambridge University Press, 2019.
[ZLH19] Ligeng Zhu, Zhijian Liu, and Song Han. Deep leakage from gradients. In Advances in Neural Information Processing Systems 32, NeurIPS '19, pages 14774–14784. Curran Associates, Inc., 2019.
[ZLS +24] Puning Zhao, Lifeng Lai, Li Shen, Qingming Li, Jiafei Wu, and Zhe Liu. A Huber loss minimization approach to mean estimation under user-level differential privacy. In Advances in Neural Information Processing Systems 37, NeurIPS '24, pages 130018–130056. Curran Associates, Inc., 2024.
A Details for the Approximate-DP Section
This appendix proves the obstruction argument of Hopkins, Kamath, Majid, and Narayanan [HKMN23] in sign directions σ∈{±1}k, which is the geometric step needed for the ℓ1-diameter bound in Lemma 4.14. We follow Lemma 5.13 in the full version of [HKMN23], with sign directions replacing Euclidean ones and exact ℓ1 duality replacing an ℓ2-to- ℓ1 conversion.
Lemma A.1 (One-dimensional obstruction for low-variance certificates). Let z1,…,zn∈R and suppose that at least n/4 of the zi's are at least 20. Let L be a degree-6 pseudoexpectation over variables {wi,zi′}i∈[n] such that
wi2=wi for every i∈[n],
∑i=1nwi⩾0.99n,
wi(zi′−zi)=0 for every i∈[n],
L[n1∑i=1nzi′]=0.
Then
Ln1i=1∑n(zi′−n1j=1∑nzj′)2⩾2.
Proof. Repeating each index four times does not change the hypotheses or conclusion, so we may assume that n is divisible by 4. Write zˉ′=n1∑i=1nzi′. Suppose for contradiction that
L[n1i=1∑n(zi′−zˉ′)2]<2.(30)
Because wi2=wi, we also have (1−wi)2=1−wi. Hence 0⩽L[wi]⩽1 for every i, and
wiwj−wi−wj+1=(1−wi)(1−wj)
is a square modulo the Boolean equalities, so L[wiwj]⩾L[wi]+L[wj]−1. Also 0⩽L[wiwj]⩽1.
Write z(1)⩽⋯⩽z(n) for the ordered observations and set C1=z(n/4) and C2=z(3n/4+1). If C2−C1>8, then there exist sets S+,S−⊆[n] with ∣S+∣=∣S−∣=n/4 such that zi−zj⩾8 for every i∈S+ and j∈S−. Using Condition 3, we obtain
Apply the degree-6 polynomial weighted Cauchy–Schwarz certificate from the proof of Lemma 3.8 with bi=1−wi. Condition 2 and the Boolean identities for bi then give
again contradicting (30). This contradiction proves the lemma.
Remark A.2 (Approximate certificates). We first treat exact pseudoexpectations in the proof of Lemma 4.14. Every displayed inference in its one-dimensional obstruction argument is part of a fixed degree-6 derivation whose coefficient norm is bounded by poly(n,k,m). Since (1/m+τcov)−1/2⩽m, normalizing the projections by this factor preserves the polynomial coefficient bound. Therefore, if a linear functional L only τ-approximately satisfies the constraints in Bη∗n(Y), the derivation incurs an additive loss
O(τpoly(n,k,m)η∗n).
Choosing
τ=poly(n,k,m,α−1)1
makes the accumulated coefficient error o(1), so the one-dimensional obstruction argument also applies to approximate certificates.
Full proof of Lemma 4.14. Let L1,L2 be (α,τ,η∗n)-certificates for ν1,ν2, and write μLj:=Ljμ′ for j∈{1,2}. For a fixed certificate Lj, we work with the observed and repaired one-dimensional projections of the batch-average vectors in Y and the pseudo-points yi′ from Bη∗n(Y). We first show that for every sign vector σ∈{±1}k,
since μ′ lies in the simplex in the exact case and σℓ2=1 for every ℓ∈[k]. This contradicts (37). Hence fewer than n/4 of the ai's can be at least 20. Applying this argument to −σ shows that fewer than n/4 of the ai's can be at most -20. Therefore, the median of {⟨yi,σ⟩}i∈[n] lies within 201/m+τcov of ⟨μLj,σ⟩.
By Remark A.2, the bound on the distance from ⟨μLj,σ⟩ to the observed-data median remains valid for approximate certificates.
Both projected certificate means ⟨μL1,σ⟩ and ⟨μL2,σ⟩ therefore lie within O(1/m+τcov) of the same median of {⟨yi,σ⟩}i∈[n], which proves (36). By exact ℓ1 duality, (36) implies
Finally, since νj is certifiable via Lj, the closeness condition from Definition 4.3 gives
∥νj−μLj∥1⩽α+τη∗n=O(α)foreachj∈{1,2}.
Hence
∥ν1−ν2∥1⩽O(α+m1+τcov).
This proves Lemma 4.14.
B Pure DP Lower Bounds
This appendix proves the pure-DP lower bound in Theorem B.5. Its three terms come from three different arguments: classical nonprivate estimation, a centered code packing around the uniform distribution, and a packing inside the simplex in (k−1) coordinates.
B.1 Projection Notation for Lower Bounds
We work in (k−1) coordinates for the packing argument, and introduce the required projection notation here.
Definition B.1 (Nonnegative ℓ1-ball (radius 1) in Rk−1). Let Δ⩽k−1 denote
Δ⩽k−1:={x∣⟨1,x⟩⩽1,x∈R⩾0k−1}.
Definition B.2 (Restriction and Extension Operators). We define Res: Rk→Rk−1 and Ext: Rk−1→Rk by
Res(v):=v[k−1]Ext(v):=(v,1−i∈[k−1]∑vi).
In words, Res restricts a vector to its first k−1 coordinates, and Ext appends the final simplex coordinate.
Fact B.3 ( ℓ1 Distance Between Restrictions and Extensions). For any u,v∈Rk−1,
by the triangle inequality. For the restriction inequalities, the lower bound is immediate since restriction can only decrease ℓ1 norm. If ∑ixi=∑iyi, then xk−yk=−∑i=1k−1(xi−yi) and hence
Theorem B.4 (Packing Lower Bounds [HKM22]). Let T⩾2 and 0<β⩽1/3. Let P={P1,…,PT} be a set of distributions, and P0 be a distribution such that for every Pi∈P, ∥Pi−P0∥TV⩽γ. Let G={G1,…,GT} be a collection of disjoint subsets of some set Y. If there is an ε-DP algorithm M such that PX∼Pin[M(X)∈Gi]⩾1−β for all i∈[T], then
n⩾Ω(γ(e2ε−1)logT+log(1/β))
Note that for the usual regime ε⩽1, we can replace the e2ε−1 in the denominator with ε.
We use Theorem B.4 to show the following lower bound under pure DP. Similar lower bounds already exist in [LSY+20]. Here we focus on the dependence on the failure probability β.
Theorem B.5. Assume k⩾2, 0<α⩽1/8, 0<β⩽1/3, and 0<ε⩽1. Any ε-DP algorithm that, for every distribution μ∈Δk−1, takes n independent batches of m i.i.d. samples from μ and outputs an estimate μ^ satisfying ∥μ^−μ∥1⩽α with probability at least 1−β must use
Proof. First term: nonprivate estimation. Classical nonprivate estimation of a distribution on [k] to ℓ1 error α with failure probability β requires Ω((k+log(1/β))/α2) individual samples [Can20]. Since there are nm samples, division by m gives the first term.
Third term: packing inside the simplex. From Fact B.3 we have
∥Res(μ)−Res(μ′)∥1⩽∥μ−μ′∥1⩽2∥Res(μ)−Res(μ′)∥1.
If we find some points v1,…,vT∈Δ≤k−1 (as in Definition B.1) such that ∥vi−vj∥1≥3α for all i=j, and let μi=Ext(vi), then define
Pi:=μi⊗mfori∈[T],P0:=μ1⊗m.
Since total variation distance between any two probability distributions is at most 1, we have ∥Pi−P0∥TV⩽1 for every i∈[T]. Thus Theorem B.4 applies with γ=1 to the family {Pi}i∈[T] and the sets
Gi={μ^∣∥μ^−μi∥1⩽α}.
To construct the 3α-separated points v1,…,vT, consider all mirror images of Δ≤k−1, namely Cs,k={x∣∥x∥1≤1,sixi≥0} for s∈{±1}k−1. These sets partition the ℓ1 ball of radius 1 in Rk−1. If there exist T′ points in this ball at pairwise distance at least 3α, then reflecting its most populated orthant into the nonnegative orthant gives at least T=2−k+1T′ points in Δ≤k−1 at the same separation. Standard ℓ1 packing bounds (see e.g. [Wai19]) give T′≥(1/(3α))k−1, hence T≥(1/(6α))k−1, and since α≤1/8, Theorem B.4 yields the lower bound
n⩾Ω(εklog(1/α)+log(1/β)).
Second term: centered code packing around the uniform distribution. Let μo be the uniform distribution on the first 2[k/2] elements of [k]. For each x∈{±1}[k/2], define s(x)∈{−1,0,+1}k by
s(x)2u−1=xu,s(x)2u=−xuforu∈[⌊k/2⌋],
and if k is odd set the last coordinate of s(x) to zero. Define
μ(x):=μo+2⌊k/2⌋4αs(x).
Since ∑i=1ks(x)i=0 and 4α⩽1/2 under α⩽1/8, we have μ(x)∈Δk−1 for every x. Now note that for any such x we have
A greedy binary-code packing gives x1,…,xM∈{±1}[k/2] with M=2Ω([k/2])=2Ω(k) and pairwise Hamming distance strictly greater than [k/2]/4: each chosen word removes at most
j=0∑⌊[k/2]/4⌋(j⌊k/2⌋)⩽2H2(1/4)⌊k/2⌋
words, where H2(1/4)<1 is the binary entropy. For i=j,
∥μ(xi)−μ(xj)∥1=⌊k/2⌋8αdH(xi,xj)>24α=2α.
Thus the closed ℓ1 balls of radius α about the code distributions are disjoint. Therefore, applying Theorem B.4 with γ=min{1,O(αm)} gives