Introduction
Distribution learning is a fundamental problem in statistics and machine learning, where the goal is to estimate an unknown probability distribution P P P from i.i.d. samples [27 ] . In the realizable setting , P P P is assumed to belong to a known class F \mathcal{F} F , such as Gaussian distributions, Gaussian mixtures, or log-concave distributions. The learner seeks to return a distribution P ^ \widehat{P} P that approximates P P P in total variation distance. In practice, the chosen class may only approximate P P P , leading to model misspecification. Agnostic distribution learning captures this scenario by allowing P P P to be arbitrary and measuring the learner’s error relative to the best approximation to P P P within F \mathcal{F} F [52 , 27 , 47 , 26 , 6 , 25 ] . Our paper is concerned with computationally efficient agnostic distribution learning for structured distributions.
In a typical learning scenario, each data point may be contributed by an individual. Maintaining privacy of those individuals then introduces a further challenge: although distribution learning aims to characterize a population, the samples may reveal sensitive information about the individuals. Differential privacy provides a rigorous framework for limiting the effect of any individual’s data on the distribution of the learner’s output [28 ] . We seek distribution learners that combine a form of this protection with agnostic accuracy guarantees.
In this work, we consider the local differential privacy (LDP) model [51 , 30 , 38 , 23 ] . Unlike the central model of privacy, the local model removes the need for individuals/users to entrust their raw observations to a data collector: each user sends a randomized report to the server based on their data point, and the server aggregates these privatized reports. We focus on non-interactive protocols, in which the local randomization protocols are fixed in advance (as opposed to interactive protocols where the randomization protocol can be adjusted based on the reports collected so far). Non-interactive LDP protocols are easier to implement at large scales and have been adopted by major technology companies, including Google [32 ] and Apple [12 ] .
It has been observed that a wide range of structured univariate distributions—such as Gaussian mixture models and more generally mixtures of log-concave distributions—can be well approximated by piecewise polynomials [19 ] . Without privacy, piecewise polynomials can be learned with sample-and-time-efficient algorithms [19 , 7 ] . These algorithms are also agnostic, and therefore can be readily used to learn structured distributions. This paradigm has been extended to the central differential privacy setting by Diakonikolas et al. [22 ] . However, there is no known algorithm that works in the local model of privacy. This raises the following questions:
Is there a sample efficient learning algorithm for learning structured distributions under LDP? Can this algorithm be made agnostic, time-efficient, and non-interactive?
Summary of our contribution In this work we answer the above questions positively. We give the first general framework for sample-efficient LDP learning of structured univariate distributions that can be approximated by piece-wise polynomials. Our learning algorithm is non-interactive, provides agnostic guarantees and is computationally efficient. Our framework applies to a broad range of distribution classes that admit suitable piece-wise polynomial approximations. As applications, we obtain the first sample-efficient non-interactive LDP learners for bounded-parameter Gaussian mixture models (GMMs) and mixtures of log-concave distributions.
Paper organization We start by formally defining the problem setup in § 2 . We then provide a summary of our main results and contributions in § 3 and discuss related work in § 4 . Next, in § 5 , we present the preliminaries. § 6 and § 7 develop private synthetic data generation and our generic agnostic LDP learner, respectively. § 8 applies the framework to Gaussian and log-concave mixtures, and Section G establishes sample complexity lower bounds. Omitted proofs and further discussion on related work appear in the appendix.
Locally private agnostic learning of distributions
In this section, we introduce formal notions required to introduce the problem setup. A locally private mechanism/algorithm can access data points only through local randomizers.
Definition 2.1 (Local randomizer). Let X , Y \mathcal{X},\mathcal{Y} X , Y be two domains, and ε > 0 \varepsilon> 0 ε > 0 be a parameter. A randomized function M : X → Y \mathcal{M}:\mathcal{X}\to\mathcal{Y} M : X → Y is called an ε \varepsilon ε -local randomizer if for all x , x ′ ∈ X x,x'\in\mathcal{X} x , x ′ ∈ X , and any measurable subset Y ⊆ Y Y\subseteq\mathcal{Y} Y ⊆ Y , it holds that P [ M ( x ) ∈ Y ] ≤ e ε P [ M ( x ′ ) ∈ Y ] \mathbb{P}[\mathcal{M}(x)\in Y]\le e^{\varepsilon}\mathbb{P}[\mathcal{M}(x')\in Y] P [ M ( x ) ∈ Y ] ≤ e ε P [ M ( x ′ ) ∈ Y ] , where the probabilities are over the randomness of M \mathcal{M} M .
Definition 2.2 (Non-interactive local differential privacy). Let X , Y \mathcal{X},\mathcal{Y} X , Y be two domains, ε > 0 \varepsilon>0 ε > 0 , and n ∈ N n\in\mathbb{N} n ∈ N . An algorithm A : X n → Y \mathcal{A}:\mathcal{X}^{n}\to\mathcal{Y} A : X n → Y is non-interactive ε \varepsilon ε -locally differentially private (ε \varepsilon ε -LDP) if there exist ε \varepsilon ε -local randomizers M i : X → Z i \mathcal{M}_i:\mathcal{X}\to\mathcal{Z}_i M i : X → Z i for i ∈ [ n ] i\in[n] i ∈ [ n ] , and a (possibly randomized) aggregation function T : ∏ i = 1 n Z i → Y T:\prod_{i=1}^{n}\mathcal{Z}_i\to\mathcal{Y} T : ∏ i = 1 n Z i → Y , such that A ( x 1 , … , x n ) = T ( M 1 ( x 1 ) , … , M n ( x n ) ) \mathcal{A}(x_1,\ldots,x_n)=T(\mathcal{M}_1(x_1),\ldots,\mathcal{M}_n(x_n)) A ( x 1 , … , x n ) = T ( M 1 ( x 1 ) , … , M n ( x n )) . Each of the local randomizers and the aggregation function have independent randomness.
We can now state the learning problem. Let F \mathcal{F} F be a known class of probability distributions over R \mathbb{R} R , and let P P P be an arbitrary unknown distribution over R \mathbb{R} R . There are n n n users, each holding one sample, with the samples drawn independently from P P P . Given a privacy parameter ε ∈ ( 0 , 1 ) \varepsilon\in(0,1) ε ∈ ( 0 , 1 ) , an accuracy parameter α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) , and a failure probability β ∈ ( 0 , 1 ) \beta\in(0,1) β ∈ ( 0 , 1 ) , the goal is to design a non-interactive ε \varepsilon ε -LDP algorithm that outputs a probability distribution P ^ \widehat{P} P satisfying
d T V ( P ^ , P ) ≤ C inf Q ∈ F d T V ( Q , P ) + α (1) d_{\mathrm{TV}}(\widehat{P},P)\le C\inf_{Q\in\mathcal{F}}d_{\mathrm{TV}}(Q,P)+\alpha \tag*{(1)} d TV ( P , P ) ≤ C Q ∈ F inf d TV ( Q , P ) + α (1)
with probability at least 1 − β 1-\beta 1 − β over the samples and the randomness of the algorithm, where C ≥ 1 C\ge1 C ≥ 1 is a universal constant. We call such an algorithm a ( C , α , β ) (C,\alpha,\beta) ( C , α , β ) -agnostic learner for F \mathcal{F} F . We allow P ^ \widehat{P} P to lie outside F \mathcal{F} F ; that is, the learner may be non-proper . In the realizable case, where P ∈ F P\in\mathcal{F} P ∈ F , the guarantee reduces to d T V ( P ^ , P ) ≤ α d_{\mathrm{TV}}(\widehat{P},P)\le\alpha d TV ( P , P ) ≤ α . Note that the privacy requirement should hold even if the dataset is not generated i.i.d. by a distribution P P P .
In general, unbounded distribution classes (e.g. unbounded univariate Gaussians) cannot be learned with a uniform sample complexity upper bound under LDP due to packing lower bounds in pure differential privacy Bun et al. [17 ] . Thus, to achieve any meaningful result, we restrict the learning task to classes admitting some “boundedness” assumptions on the underlying class parameters (e.g. bounds on mean and variance). To measure the density estimation error introduced by such boundedness assumptions, we introduce the following definition.
Definition 2.3 (Discretization error). Let R , δ > 0 R,\delta>0 R , δ > 0 , and let F \mathcal{F} F be a class of probability distributions over R \mathbb{R} R . The ( R , δ ) (R,\delta) ( R , δ ) -discretization error of class F \mathcal{F} F is defined as DiscErr R , δ ( F ) ≔ sup F ∈ F ∥ Disc R , δ ( F ) − F ∥ 1 \operatorname{DiscErr}_{R,\delta}(\mathcal{F})\coloneqq\sup_{F\in\mathcal{F}}\lVert\operatorname{Disc}_{R,\delta}(F)-F\rVert_1 DiscErr R , δ ( F ) : = sup F ∈ F ∥ Disc R , δ ( F ) − F ∥ 1 , where Disc R , δ \operatorname{Disc}_{R,\delta} Disc R , δ converts a density into a histogram using a grid of step size δ \delta δ on [ − R , R ] [-R,R] [ − R , R ] and two additional bins for the tails (see Definition 6.2 below).
Next, we define the class of piece-wise polynomial distributions, which plays a key role as a proxy for efficiently learning structured distributions.
Definition 2.4 (Piecewise polynomials). For integers s ≥ 1 s\ge1 s ≥ 1 and d ≥ 0 d\ge0 d ≥ 0 , let P s , d \mathcal{P}_{s,d} P s , d be the set of nonnegative integrable functions p : R → R ≥ 0 p:\mathbb{R}\to\mathbb{R}_{\ge0} p : R → R ≥ 0 for which R \mathbb{R} R can be partitioned into at most s s s intervals { I 1 , … , I k } \{I_1,\ldots,I_k\} { I 1 , … , I k } (where k ≤ s k\le s k ≤ s ), such that for each interval I i I_i I i , there exists a real polynomial q i : R → R q_i:\mathbb{R}\to\mathbb{R} q i : R → R of degree at most d d d satisfying p ( x ) = q i ( x ) p(x)=q_i(x) p ( x ) = q i ( x ) for all (interior points) x ∈ I i x\in I_i x ∈ I i .
The next definition measures how well a class can be approximated by piecewise polynomials.
Definition 2.5 (Piece-wise polynomial approximation error). Let s ≥ 1 s \ge1 s ≥ 1 and d ≥ 0 d \ge0 d ≥ 0 be integers, and let F \mathcal{F} F be a class of probability distributions over R \mathbb{R} R . The ( s , d ) (s,d) ( s , d ) -piece-wise polynomial approximation error of class F \mathcal{F} F is \operatorname{Poly\mathchar`-Approx}_{s,d}(\mathcal{F}) := \sup_{F \in\mathcal{F}} \inf_{P \in\mathcal{P}_{s,d}} \lVert P-F\rVert_1 .
Main results and contributions
Our main contribution is the introduction of a generic framework for non-interactive LDP learning of structured univariate distributions that can be approximated by piece-wise polynomials.
Theorem 3.1 (Informal version of 7.1). Let F \mathcal{F} F be a class of univariate probability distributions. If \operatorname{Poly\mathchar`-Approx}_{s,d}(\mathcal{F})+\operatorname{Disc\mathchar`-Err}_{R,\delta}(\mathcal{F})\le\Theta(\alpha) , then, F \mathcal{F} F admits a computationally efficient, non-interactive ε \varepsilon ε -LDP ( 10 , Θ ( α ) , 0.1 ) (10,\Theta(\alpha),0.1) ( 10 , Θ ( α ) , 0.1 ) -agnostic learner using n = O ~ ( ε 2 ( d + 1 ) 2 ε 2 α 2 log 3 ( R δ ) ) n=\widetilde{O}\left(\frac{\varepsilon^{2}(d+1)^{2}}{\varepsilon^{2}\alpha^{2}}\log^{3}\left(\frac{R}{\delta}\right)\right) n = O ( ε 2 α 2 ε 2 ( d + 1 ) 2 log 3 ( δ R ) ) samples.
This is the first algorithm for this setting whose sample complexity is polynomial in all relevant parameters. Moreover, our learner provides agnostic guarantees and is computationally efficient.
Our learning framework builds on the efficient non-private piece-wise polynomial learner of Acharya et al. [7 ] . A deterministic adaptation of their algorithm—as also observed in [22 ] in the context of central privacy—can work with a synthetic dataset whose empirical distribution is close to the true distribution in Kolmogorov distance. The key challenge is to generate such a synthetic dataset privately, while ensuring both sample and computational efficiency. We show that this task is possible, by presenting the following efficient, non-interactive LDP algorithm for synthetic data generation, which may be of independent interest.
Theorem 3.2 (Informal version of 6.3). Let P P P be a univariate probability distribution that satisfies \operatorname{Disc\mathchar`-Err}_{R,\delta}(\{P\})\le\Theta(\alpha) . Then there exists a computationally efficient, non-interactive ε \varepsilon ε -LDP algorithm that, given n = O ~ ( 1 ε 2 α 2 log 3 ( R δ ) ) n=\widetilde{O}\left(\frac{1}{\varepsilon^{2}\alpha^{2}}\log^{3}\left(\frac{R}{\delta}\right)\right) n = O ( ε 2 α 2 1 log 3 ( δ R ) ) samples from P P P , generates a synthetic dataset of size O ( 1 / α ) O(1/\alpha) O ( 1/ α ) whose empirical distribution approximates P P P to Kolmogorov accuracy Θ ( α ) \Theta(\alpha) Θ ( α ) with probability at least 0.9 0.9 0.9 .
As discussed earlier, time efficiency is measured relative to the optimal sample complexity, which requires efficiency with respect to the underlying domain size. Although existing LDP mechanisms for answering prefix queries are sample efficient, they require processing the entire domain, resulting in running time polynomial in the domain size [20 , 31 ] . To overcome this challenge, we provide a lazy adaptation of the mechanism proposed by Cormode et al. [20 ] , obtaining an algorithm that answers range queries in time polylogarithmic in the domain size. We then use this mechanism as a subroutine to efficiently generate private synthetic data.
Our generic learning framework applies to a broad range of structured distribution classes. As applications, we provide the first sample-efficient non-interactive LDP learners —which also provide agnostic guarantees and are computationally efficient—for the following classes:
Theorem 3.3 (Log-concave mixtures, informal version of 8.5). Let ε , α ∈ ( 0 , 1 ) \varepsilon,\alpha\in(0,1) ε , α ∈ ( 0 , 1 ) , let m ≥ 1 m\ge1 m ≥ 1 be an integer, and let R ≥ 0 R\ge0 R ≥ 0 and 0 < σ min ≤ σ max < ∞ 0<\sigma_{\min}\le\sigma_{\max}<\infty 0 < σ m i n ≤ σ m a x < ∞ . The class of mixtures of m m m log-concave distributions, each with mean ∣ μ ∣ ≤ R |\mu|\le R ∣ μ ∣ ≤ R and standard deviation σ ∈ [ σ min , σ max ] \sigma\in[\sigma_{\min},\sigma_{\max}] σ ∈ [ σ m i n , σ m a x ] , admits a
computationally efficient, non-interactive ε \varepsilon ε -LDP (10, α \alpha α , 0.1)-agnostic learner with sample complexity n = O ~ ( m 2 log 3 D ε 2 α 2 ) n = \widetilde{O}\left(\frac{m^2\log^3 D}{\varepsilon^2\alpha^2}\right) n = O ( ε 2 α 2 m 2 l o g 3 D ) and total running time O ~ ( m 3 log 4 D ε 2 α 3 ) \widetilde{O}\left(\frac{m^3\log^4 D}{\varepsilon^2\alpha^3}\right) O ( ε 2 α 3 m 3 l o g 4 D ) , where D = 2 ( R + σ max ) σ min D = \frac{2(R+\sigma_{\max})}{\sigma_{\min}} D = σ m i n 2 ( R + σ m a x ) .
Theorem 3.4 (Gaussian mixtures, informal version of F.2). Under the same parameter assumptions as in Theorem 3.3 , the class of mixtures of m m m Gaussians admits a computationally efficient, non-interactive ε \varepsilon ε -LDP (10, α \alpha α , 0.1)-agnostic learner with sample complexity n = O ~ ( m 2 log 3 D ε 2 α 2 ) n = \widetilde{O}\left(\frac{m^2\log^3 D}{\varepsilon^2\alpha^2}\right) n = O ( ε 2 α 2 m 2 l o g 3 D ) and total running time O ~ ( m 3 log 4 D ε 2 α 3 ) \widetilde{O}\left(\frac{m^3\log^4 D}{\varepsilon^2\alpha^3}\right) O ( ε 2 α 3 m 3 l o g 4 D ) . 1
We further prove a lower bound showing that restrictions on class parameters, such as bounded mean and variance, are necessary in general for a uniform finite sample complexity bound under LDP. The lower bound provided in the following theorem for non-interactive LDP learning of GMMs holds even in the realizable setting with non-proper outputs. Since every Gaussian distribution is log-concave, this lower bound also applies to mixtures of log-concave distributions.
Theorem 3.5 (Gaussian mixture lower bound, informal version of G.1). Let m ≥ 2 m \ge2 m ≥ 2 , ε ∈ ( 0 , 1 ] \varepsilon\in(0, 1] ε ∈ ( 0 , 1 ] , and α > 0 \alpha> 0 α > 0 be sufficiently small. Under the same bounds on component means and standard deviations as in Theorem 3.3 , if the parameter range Λ : = R σ min + log ( σ max σ min ) ≥ Ω ( m ) \Lambda:= \frac{R}{\sigma_{\min}} + \log\left(\frac{\sigma_{\max}}{\sigma_{\min}}\right) \ge\Omega(m) Λ := σ m i n R + log ( σ m i n σ m a x ) ≥ Ω ( m ) is sufficiently large, then any non-interactive ε \varepsilon ε -LDP algorithm that learns mixtures of m m m Gaussians to total variation accuracy α \alpha α with probability at least 0.9 requires n = Ω ( m 2 ε 2 α 2 log ( e + Λ m ) ) n = \Omega\left(\frac{m^2}{\varepsilon^2\alpha^2}\log\left(e+\frac{\Lambda}{m}\right)\right) n = Ω ( ε 2 α 2 m 2 log ( e + m Λ ) ) samples.
This matches the dependence of our GMM sample complexity upper bound on m m m , ε \varepsilon ε , and α \alpha α , up to logarithmic factors. In particular, this improves over the standard packing lower bounds for pure differential privacy, which apply in both the central and local models [17 ] . Indeed, packing for mixtures of m m m components usually has a size exponential in m m m , which then translate to lower bounds of Ω ( m ) \Omega(m) Ω ( m ) . We show a stronger lower bound of Ω ( m 2 ) \Omega(m^2) Ω ( m 2 ) by reducing the problem of LDP estimation of sparse discrete distributions studied by Acharya et al. [8 ] to the problem of LDP learning of Gaussian mixtures.
Our framework also improves prior LDP learning results for specialized distribution classes:
Univariate Gaussians. Theorem 3.4 gives an agnostic learner for univariate Gaussians using O ~ ( log 3 ( D ) ε 2 α 2 ) \widetilde{O}\left(\frac{\log^3(D)}{\varepsilon^2\alpha^2}\right) O ( ε 2 α 2 l o g 3 ( D ) ) samples. This obtains the same sample complexity rates as for realizable Gaussian mean estimation [34 , 36 ] up to logarithmic factors, while providing agnostic guarantees for density estimation in total variation distance.
(Sparse) discrete distributions. For learning discrete distributions over a domain of size D D D , Acharya et al. [13 ] achieves the optimal sample complexity of Θ ( D 2 ε 2 α 2 ) \Theta\left(\frac{D^2}{\varepsilon^2\alpha^2}\right) Θ ( ε 2 α 2 D 2 ) . When the unknown distribution has support of size at most s s s (i.e., is s s s -sparse), Acharya et al. [8 ] gives sharper sample complexity bound of Θ ( s 2 max { log ( D / s ) , 1 } ε 2 α 2 ) \Theta\left(\frac{s^2\max\{\log(D/s),1\}}{\varepsilon^2\alpha^2}\right) Θ ( ε 2 α 2 s 2 m a x { l o g ( D / s ) , 1 } ) . Both classes can be embedded into classes of piecewise constant densities. Our framework provides agnostic guarantees for these classes while losing only logarithmic factors in sample complexity.
All our density learners above are non-proper. In Section H, we show how to convert these into proper learners with the same asymptotic sample complexity, at the cost of a larger agnostic approximation factor and potentially inefficient algorithm. In particular, we show that our achieves an exponential improvement in sample complexity over generic LDP hypothesis selection methods for proper learning of structured distributions.
Related Work
A closely related result in private learning of structured distributions is provided by Diakonikolas et al. [22 ] . They study this problem in the central differential privacy model and present a connection between private Kolmogorov approximation and structured distribution learning. They state a formal piece-wise constant (histogram) learner and sketch the reduction, explaining that it can be extended to piece-wise polynomials. They separately develop and evaluate a heuristic for private Kolmogorov approximation. However, privatization techniques for Kolmogorov approximation differ substantially between the central and local models. In particular, the central DP guarantee used in their theoretical reduction relies on the approximately differentially private threshold-release algorithm of Bun et al. [18 ] , which builds on their private algorithm for the interior point problem.
A closely related line of work studies locally private hypothesis selection (LPHS) . Given a finite class F \mathcal{F} F of probability distributions and i.i.d. samples from an arbitrary distribution P P P , the goal is to select P ^ ∈ F \widehat{P} \in\mathcal{F} P ∈ F whose total variation distance to P P P is within a constant factor of inf Q ∈ F d T V ( P , Q ) \inf_{Q \in\mathcal{F}} d_{\mathrm{TV}}(P,Q) inf Q ∈ F d TV ( P , Q ) , up to an additive error α \alpha α , while satisfying ε \varepsilon ε -local differential privacy. For this problem, Gopi et al. [33 ] give a non-interactive algorithm with sample complexity O ~ ( ∣ F ∣ 2 / ( ε 2 α 2 ) ) \widetilde{O}(|\mathcal{F}|^2/(\varepsilon^2\alpha^2)) O ( ∣ F ∣ 2 / ( ε 2 α 2 )) , which was later improved by Kamath et al. [42 ] to O ~ ( ∣ F ∣ 3 / 2 / ( ε 2 α 2 ) ) \widetilde{O}(|\mathcal{F}|^{3/2}/(\varepsilon^2\alpha^2)) O ( ∣ F ∣ 3/2 / ( ε 2 α 2 )) . A worst-case lower bound of Ω ( ∣ F ∣ / ( ε 2 α 2 ) ) \Omega(|\mathcal{F}|/(\varepsilon^2\alpha^2)) Ω ( ∣ F ∣/ ( ε 2 α 2 )) holds even for interactive protocols [33 , 50 ] . Thus, without exploiting additional structure in F \mathcal{F} F , a generic hypothesis-selection method cannot achieve sublinear dependence on ∣ F ∣ |\mathcal{F}| ∣ F ∣ . The running time of these algorithms also scales polynomially with ∣ F ∣ |\mathcal{F}| ∣ F ∣ , as they typically need to scan the entire class.
These hypothesis selection methods also yield agnostic learners for some infinite distribution classes by applying hypothesis selection to a finite total-variation cover. However, such covers can be exponentially large in terms of class parameters, making this approach inefficient in both sample complexity and running time. For example, discretizing the parameters of a single Gaussian gives polynomially many choices in domain size D D D ; enumerating m m m components and discretizing their weights yields a GMM cover exponential in m m m . Applying hypothesis selection inherits this dependence. On the other hand, our framework exploits distributional structure to obtain sample complexity and running time polynomial in m m m and polylogarithmic in D D D . See Section H for further discussion of LPHS and Section A for more on related work.
Preliminaries
For N ∈ N N \in\mathbb{N} N ∈ N , let [ N ] : = { 1 , 2 , … , N } [N] := \{1,2,\ldots,N\} [ N ] := { 1 , 2 , … , N } , and [ N ] 0 : = { 0 , 1 , 2 , … , N } [N]_0 := \{0,1,2,\ldots,N\} [ N ] 0 := { 0 , 1 , 2 , … , N } . The total variation distance between two probability distributions P P P and Q Q Q on X \mathcal{X} X is defined as d T V ( P , Q ) : = sup A ∣ P ( A ) − Q ( A ) ∣ = 1 2 ∥ P − Q ∥ 1 d_{\mathrm{TV}}(P,Q) := \sup_{A} |P(A)-Q(A)| = \frac{1}{2}\lVert P-Q\rVert_1 d TV ( P , Q ) := sup A ∣ P ( A ) − Q ( A ) ∣ = 2 1 ∥ P − Q ∥ 1 , where A A A ranges over measurable sets and ∥ ⋅ ∥ 1 \lVert\cdot\rVert_1 ∥ ⋅ ∥ 1 denotes the total variation norm. For densities f f f and g g g , this equals 1 2 ∫ X ∣ f ( x ) − g ( x ) ∣ d x \frac{1}{2}\int_{\mathcal{X}} |f(x)-g(x)|\,dx 2 1 ∫ X ∣ f ( x ) − g ( x ) ∣ d x . Let log + ( x ) : = max { 1 , log x } \log_+ (x) := \max\{1,\log x\} log + ( x ) := max { 1 , log x } . For a probability distribution P P P over R \mathbb{R} R , we use the notation F P F_P F P to denote its CDF. For two probability distributions P , Q P, Q P , Q over R \mathbb{R} R , their Kolmogorov distance is defined as ∥ F P − F Q ∥ ∞ = sup x ∈ R ∣ F P ( x ) − F Q ( x ) ∣ \lVert F_P-F_Q\rVert_\infty= \sup_{x\in\mathbb{R}} \lvert F_P(x)-F_Q(x)\rvert ∥ F P − F Q ∥ ∞ = sup x ∈ R ∣ F P ( x ) − F Q ( x )∣ .
Throughout the paper, we measure running time in a unit-cost RAM model with exact real arithmetic and integer words large enough to store all indices and counters used by our algorithms. The word size is logarithmic in the relevant input and algorithmic parameters, including their inverses when appropriate. Arithmetic operations, comparisons, memory access, shifts, bitwise operations, word-level parity, evaluation of the elementary functions used below, and sampling from the Bernoulli and uniform distributions used by our algorithms all take constant time.
In the following two subsections, we first introduce LDP primitives for answering range queries and then present the non-private piece-wise polynomial learner used in our downstream learning algorithm.
Locally private prefix frequencies
We present tools for answering range-frequency queries over a finite ordered domain under LDP. These queries ask for the fraction of observations lying in a specified interval. We focus on prefix queries, which provide the cumulative frequency information used to generate our private synthetic dataset described in § 6 . General interval frequencies can be obtained by taking the difference of two prefix frequencies.
A key ingredient in answering prefix queries efficiently in both samples and time is the dyadic decomposition , which partitions each prefix into logarithmically many disjoint intervals from a fixed binary hierarchy. This hierarchy underlies the binary-tree mechanisms for private counting [29 , 21 ] and their local analogues discussed by Cormode et al. [20 ] and Edmonds et al. [31 ] . Following the approach to locally private range queries of Cormode et al. [20 ] , we combine this hierarchy with the Hadamard randomized response to estimate interval frequencies. We first define the dyadic hierarchy and then introduce the Hadamard characters used in this construction.
Definition 5.1 (Dyadic tree representation). Let [ N ] [N] [ N ] be an ordered domain, where N = 2 L N=2^L N = 2 L . Then, for every depth ℓ ∈ [ L ] 0 \ell\in[L]_0 ℓ ∈ [ L ] 0 and every v ∈ [ 2 ℓ − 1 ] 0 v\in[2^\ell-1]_0 v ∈ [ 2 ℓ − 1 ] 0 , the dyadic interval is defined as
I ℓ , v : = { v 2 L − ℓ + 1 , … , ( v + 1 ) 2 L − ℓ } . I_{\ell,v}:=\left\{v2^{L-\ell}+1,\ldots,(v+1)2^{L-\ell}\right\}. I ℓ , v := { v 2 L − ℓ + 1 , … , ( v + 1 ) 2 L − ℓ } . The interval I 0 , 0 = [ N ] I_{0,0}=[N] I 0 , 0 = [ N ] is the root of the tree, and the intervals I L , v = { v + 1 } I_{L,v}=\{v+1\} I L , v = { v + 1 } are its leaves. For x ∈ [ N ] x\in[N] x ∈ [ N ] , let v ℓ ( x ) : = ⌊ x − 1 2 L − ℓ ⌋ v_\ell(x):=\left\lfloor\frac{x-1}{2^{L-\ell}}\right\rfloor v ℓ ( x ) := ⌊ 2 L − ℓ x − 1 ⌋ denote the index of the unique depth-ℓ \ell ℓ node containing x x x .
If the domain size is not a power of two, we pad it to the next power of two with unused elements.
The following lemma shows that any proper prefix [ j ] [j] [ j ] of [ N ] [N] [ N ] can be partitioned into at most log 2 N \log_2N log 2 N dyadic intervals, with at most one interval at each depth, and that this partition can be constructed in O ( log N ) O(\log N) O ( log N ) time. Summing the frequencies of these disjoint intervals therefore gives the prefix frequency. The full prefix [ N ] [N] [ N ] has frequency one and requires no estimation. See Figure 1 for an illustration. For completeness, C provides the decomposition algorithm and the proof.
Figure 1. For N = 4 N=4 N = 4 , the blue nodes C ( 3 ) = { I 1 , 0 , I 2 , 2 } C(3)=\{I_{1,0},I_{2,2}\} C ( 3 ) = { I 1 , 0 , I 2 , 2 } partition the prefix [ 1 , 3 ] [1,3] [ 1 , 3 ] , using at most one node per depth.
Lemma 5.2 (Canonical dyadic decomposition of a prefix). Let L ∈ N L \in\mathbb{N} L ∈ N , N = 2 L N = 2^L N = 2 L , and let j ∈ [ N − 1 ] j \in[N-1] j ∈ [ N − 1 ] . Then, Algorithm 3, upon receiving j j j , returns a collection C ( j ) C(j) C ( j ) of dyadic nodes satisfying:
(1) the nodes in C ( j ) C(j) C ( j ) are pairwise disjoint and [ j ] = ⋃ ( ℓ , v ) ∈ C ( j ) I ℓ , v [j] = \bigcup_{(\ell,v)\in C(j)} I_{\ell,v} [ j ] = ⋃ ( ℓ , v ) ∈ C ( j ) I ℓ , v .
(2) for every ℓ ∈ [ L ] \ell\in[L] ℓ ∈ [ L ] , the collection C ( j ) C(j) C ( j ) contains at most one node at depth ℓ \ell ℓ ; therefore, ∣ C ( j ) ∣ ≤ L |C(j)| \le L ∣ C ( j ) ∣ ≤ L .
(3) construction of C ( j ) C(j) C ( j ) takes O ( L ) O(L) O ( L ) time.
To estimate dyadic interval frequencies, we use the Hadamard randomized-response construction of Cormode et al. [20 ] (see Algorithm 4 in C), which uses Hadamard characters :
Definition 5.3 (Hadamard characters). For ℓ ∈ N \ell\in\mathbb{N} ℓ ∈ N and v ∈ [ 2 ℓ − 1 ] 0 v \in[2^\ell-1]_0 v ∈ [ 2 ℓ − 1 ] 0 , the Hadamard character indexed by v v v is the function Had ℓ ( v , ⋅ ) : [ 2 ℓ − 1 ] 0 → { − 1 , + 1 } \operatorname{Had}_{\ell}(v,\cdot): [2^\ell-1]_0 \to\{-1,+1\} Had ℓ ( v , ⋅ ) : [ 2 ℓ − 1 ] 0 → { − 1 , + 1 } defined, for every u ∈ [ 2 ℓ − 1 ] 0 u \in[2^\ell-1]_0 u ∈ [ 2 ℓ − 1 ] 0 , by Had ℓ ( v , u ) : = ( − 1 ) ⟨ v , u ⟩ 2 \operatorname{Had}_{\ell}(v,u) := (-1)^{\langle v,u\rangle_2} Had ℓ ( v , u ) := ( − 1 ) ⟨ v , u ⟩ 2 , where ⟨ v , u ⟩ 2 \langle v,u\rangle_2 ⟨ v , u ⟩ 2 is the binary inner product of the ℓ \ell ℓ -bit representations of v v v and u u u . Each Had ℓ ( v , u ) \operatorname{Had}_{\ell}(v,u) Had ℓ ( v , u ) can be computed in O ( 1 ) O(1) O ( 1 ) time using a bitwise AND and a parity operation.
At a high level, each user helps estimate prefix frequencies by contributing information at a randomly selected depth ℓ u \ell_u ℓ u of the dyadic tree. To do so, user u u u randomly chooses a node with index r u r_u r u at depth ℓ u \ell_u ℓ u and computes Had ℓ u ( v u , r u ) \operatorname{Had}_{\ell_u}(v_u,r_u) Had ℓ u ( v u , r u ) , where v u v_u v u is the index of their true node, namely the node containing X u X_u X u at the same depth. They then apply randomized response to this sign and report it together with ℓ u \ell_u ℓ u and r u r_u r u . We show in § 6.1 how the server can efficiently reuse each user’s report to answer different prefix queries using the orthogonality of Hadamard characters.
A deterministic non-private piecewise polynomial learner
Another key primitive is the non-private density estimator of Acharya et al. [7 ] . We use a deterministic adaptation of their algorithm. Their original estimator takes i.i.d. samples from an unknown distribution. As we formalize in Appendix § 12 , the estimator can instead operate on synthetic data whose empirical distribution satisfies a suitable Kolmogorov-distance bound. We define the class of piecewise polynomial functions and state the deterministic guarantee.
Proposition 5.4 (Deterministic post-sampling General–Merging [7 ] ). There exists a universal integer C > 2 C > 2 C > 2 such that the following holds. Let I ⊂ R I \subset\mathbb{R} I ⊂ R be a known finite interval, and let Z = { z 1 , … , z M } ∈ I M Z = \{z_1,\ldots,z_M\} \in I^M Z = { z 1 , … , z M } ∈ I M be an arbitrary multiset, where M ≥ 1 M \ge1 M ≥ 1 , with empirical probability measure H = 1 M ∑ i ∈ [ M ] δ z i H = \frac{1}{M}\sum_{i\in[M]} \delta_{z_i} H = M 1 ∑ i ∈ [ M ] δ z i . Let s ≥ 1 s \ge1 s ≥ 1 and d ≥ 0 d \ge0 d ≥ 0 be integers, and let η > 0 \eta> 0 η > 0 . There exists a deterministic algorithm which, given I , Z , s , d I,Z,s,d I , Z , s , d , and η \eta η , returns a nonnegative function P ^ ∈ P C s , d \widehat{P} \in\mathcal{P}_{C s,d} P ∈ P C s , d supported on I I I with the following guarantee:
For every probability distribution P ⋆ P^\star P ⋆ with a density supported on I I I satisfying ∥ F H − F P ⋆ ∥ ∞ ≤ η 2 ( C + 1 ) ( d + 1 ) s \lVert F_H-F_{P^\star}\rVert_\infty\le\frac{\eta}{2(C+1)(d+1)^s} ∥ F H − F P ⋆ ∥ ∞ ≤ 2 ( C + 1 ) ( d + 1 ) s η , the output of the algorithm satisfies ∥ P ^ − P ⋆ ∥ 1 ≤ 4 ( OPT + η ) \lVert\widehat{P}-P^\star\rVert_1 \le4(\operatorname{OPT}+\eta) ∥ P − P ⋆ ∥ 1 ≤ 4 ( OPT + η ) , where OPT : = inf P ∈ P s , d ∥ P − P ⋆ ∥ 1 \operatorname{OPT} := \inf_{P\in\mathcal{P}_{s,d}}\lVert P-P^\star\rVert_1 OPT := inf P ∈ P s , d ∥ P − P ⋆ ∥ 1 .
Moreover, the running time is O ~ ( M ( d + 1 ) ω + 2 log 3 ( s η ) ( 1 + log + ( M s ) ) ) \widetilde{O}\left(M(d+1)^{\omega+2}\log^3\left(\frac{s}{\eta}\right)\left(1+\log_+\left(\frac{M}{s}\right)\right)\right) O ( M ( d + 1 ) ω + 2 log 3 ( η s ) ( 1 + log + ( s M ) ) ) , where ω \omega ω is the matrix multiplication exponent, and O ~ \widetilde{O} O hides only logarithmic factors in M M M and d + 1 d+1 d + 1 .
Algorithm 1 Hierarchical LDP PrefixQuery
Input: Privacy parameter ε ∈ ( 0 , 1 ) \varepsilon\in(0,1) ε ∈ ( 0 , 1 ) , domain size D ∈ N D \in\mathbb{N} D ∈ N with D ≥ 2 D \ge2 D ≥ 2 , a query index j ∈ [ D ] 0 j \in[D]_0 j ∈ [ D ] 0 , and a transcript T r = ( T 1 , … , T n ) \mathrm{Tr}=(T_1,\ldots,T_n) Tr = ( T 1 , … , T n ) , where n ≥ 1 n \ge1 n ≥ 1 .
Output: An estimate Z ^ j ∈ [ 0 , 1 ] \widehat{Z}_j \in[0,1] Z j ∈ [ 0 , 1 ] of the prefix frequency Z j ( X ) = 1 n ∑ u ∈ [ n ] 1 { X u ≤ j } Z_j(X)=\frac{1}{n}\sum_{u\in[n]}\mathbf{1}\{X_u\le j\} Z j ( X ) = n 1 ∑ u ∈ [ n ] 1 { X u ≤ j } .
If j = 0 j=0 j = 0 return Z ^ j ← 0 \widehat{Z}_j \leftarrow0 Z j ← 0 .
If j = D j=D j = D return Z ^ j ← 1 \widehat{Z}_j \leftarrow1 Z j ← 1 .
Set L ← ⌈ log 2 D ⌉ L \leftarrow\lceil\log_2 D\rceil L ← ⌈ log 2 D ⌉ , N ← 2 L N \leftarrow2^L N ← 2 L , and θ ε ← e ε − 1 e ε + 1 \theta_\varepsilon\leftarrow\frac{e^\varepsilon-1}{e^\varepsilon+1} θ ε ← e ε + 1 e ε − 1 .
Apply Algorithm 3 (from Lemma 5.2 ) to the prefix index j j j in the dyadic tree over [ N ] [N] [ N ] . Represent the returned nodes as C ( j ) = { ( ℓ i , v i ) : i ∈ [ k ] } C(j)=\{(\ell_i,v_i):i\in[k]\} C ( j ) = {( ℓ i , v i ) : i ∈ [ k ]} , where [ j ] = ⋃ ( ℓ i , v i ) ∈ C ( j ) I ℓ i , v i [j]=\bigcup_{(\ell_i,v_i)\in C(j)}I_{\ell_i,v_i} [ j ] = ⋃ ( ℓ i , v i ) ∈ C ( j ) I ℓ i , v i , k ≤ L k\le L k ≤ L , and the depths ℓ i \ell_i ℓ i are distinct. Store the nodes of C ( j ) C(j) C ( j ) indexed by depth.
For u ∈ [ n ] u\in[n] u ∈ [ n ] , set Z u ← L θ ε ∑ ( ℓ i , v i ) ∈ C ( j ) ℓ i = ℓ u Y u Had ℓ i ( v i , r u ) Z_u\leftarrow\frac{L}{\theta_\varepsilon}\sum_{\substack{(\ell_i,v_i)\in C(j)\\ \ell_i=\ell_u}}Y_u\operatorname{Had}_{\ell_i}(v_i,r_u) Z u ← θ ε L ∑ ( ℓ i , v i ) ∈ C ( j ) ℓ i = ℓ u Y u Had ℓ i ( v i , r u ) .
return Z ^ j ← min { 1 , max { 0 , 1 n ∑ u ∈ [ n ] Z u } } \widehat{Z}_j\leftarrow\min\left\{1,\max\left\{0,\frac{1}{n}\sum_{u\in[n]}Z_u\right\}\right\} Z j ← min { 1 , max { 0 , n 1 ∑ u ∈ [ n ] Z u } } . ▷ Average the contributions and clip to [ 0 , 1 ] [0,1] [ 0 , 1 ] .
Efficient locally private synthetic data generation
In this section, we develop a sample- and time-efficient non-interactive LDP algorithm for generating synthetic data with the Kolmogorov approximation guarantee required by the downstream non-private piece-wise polynomial learner. We do this in two steps. First, in § 6.1 , we develop an efficient LDP oracle for answering prefix queries on a fixed dataset. Then, in § 6.2 , we use this oracle to generate a synthetic dataset whose empirical distribution approximates the discretized input distribution in Kolmogorov distance.
Lazy dyadic prefix mechanism
In this section, we introduce PrefixQuery (Algorithm 1), a non-interactive ε \varepsilon ε -LDP algorithm for estimating prefix frequencies. Given a discrete domain [ D ] [D] [ D ] , and n n n users holding values X 1 , … , X n ∈ [ D ] X_1,\ldots,X_n\in[D] X 1 , … , X n ∈ [ D ] , the algorithm estimates the fraction of observations in [ j ] [j] [ j ] for any queried index j ∈ [ D ] j\in[D] j ∈ [ D ] . Each query takes O ( n + log D ) O(n+\log D) O ( n + log D ) time, and n = O ( log 2 D ε 2 α 2 log D β ) n=O\left(\frac{\log^2 D}{\varepsilon^2\alpha^2}\log\frac{D}{\beta}\right) n = O ( ε 2 α 2 l o g 2 D log β D ) users suffice to achieve an additive error of at most α \alpha α simultaneously over all prefixes, with probability at least 1 − β 1-\beta 1 − β over the randomness of the LDP mechanism.
The algorithm uses the same local randomizer as the binary hierarchical mechanism of Cormode et al. [20 ] , as presented in Algorithm 4. However, while the server-side reconstruction described by Cormode et al. [20 ] materializes the full hierarchy, requiring O ( n + D log D ) O(n+D\log D) O ( n + D log D ) time, our server-side implementation evaluates requested prefixes lazily, without constructing the full hierarchy. This gives a running time of O ( q ( n + log D ) ) O(q(n+\log D)) O ( q ( n + log D )) for answering q q q prefix queries. This is especially useful when the number of queries q q q is logarithmic in the domain size D D D . As we will see in the following sections, this is indeed the case for the downstream non-private algorithm.
The following theorem formalizes the utility and privacy guarantees of PrefixQuery.
Theorem 6.1 (Non-interactive LDP prefix oracle). Let ε , α , β ∈ ( 0 , 1 ) \varepsilon, \alpha, \beta\in(0,1) ε , α , β ∈ ( 0 , 1 ) , and D ∈ N D \in\mathbb{N} D ∈ N with D ≥ 2 D \ge2 D ≥ 2 be parameters, and let X = ( X 1 , … , X n ) ∈ [ D ] n X=(X_1,\ldots,X_n)\in[D]^n X = ( X 1 , … , X n ) ∈ [ D ] n be any fixed dataset. Define its prefix frequencies by
Z j ( X ) : = 1 n ∑ u ∈ [ n ] 1 { X u ≤ j } , j ∈ [ D ] 0 . Z_j(X):=\frac{1}{n}\sum_{u\in[n]}\mathbf{1}\{X_u\le j\},\qquad j\in[D]_0. Z j ( X ) := n 1 u ∈ [ n ] ∑ 1 { X u ≤ j } , j ∈ [ D ] 0 . Let M \mathcal{M} M be the local randomizer in Algorithm 4, and set the users’ transcripts to be Tr M ( X ) : = ( M ( X 1 , ε , D ) , … , M ( X n , ε , D ) ) \operatorname{Tr}_{\mathcal{M}}(X):=(\mathcal{M}(X_1,\varepsilon,D),\ldots,\mathcal{M}(X_n,\varepsilon,D)) Tr M ( X ) := ( M ( X 1 , ε , D ) , … , M ( X n , ε , D )) . For an input query j ∈ [ D ] 0 j\in[D]_0 j ∈ [ D ] 0 , let Z ^ j = PrefixQuery ( ε , D , j , Tr M ( X ) ) \widehat{Z}_j=\operatorname{PrefixQuery}(\varepsilon,D,j,\operatorname{Tr}_{\mathcal{M}}(X)) Z j = PrefixQuery ( ε , D , j , Tr M ( X )) be the output of Algorithm 1. Then,
The mechanism PrefixQuery ( ε , D , j , Tr M ( ⋅ ) ) \operatorname{PrefixQuery}(\varepsilon,D,j,\operatorname{Tr}_{\mathcal{M}}(\cdot)) PrefixQuery ( ε , D , j , Tr M ( ⋅ )) is non-interactive ε \varepsilon ε -LDP for every j ∈ [ D ] 0 j\in[D]_0 j ∈ [ D ] 0 .
If n ≥ 288 ( log D ) 2 ε 2 α 2 log ( 2 D β ) n\ge\frac{288(\log D)^2}{\varepsilon^2\alpha^2}\log\left(\frac{2D}{\beta}\right) n ≥ ε 2 α 2 288 ( l o g D ) 2 log ( β 2 D ) , then with probability at least 1 − β 1-\beta 1 − β over the randomness of M \mathcal{M} M , it holds that ∣ Z ^ j − Z j ( X ) ∣ ≤ α |\widehat{Z}_j-Z_j(X)|\le\alpha ∣ Z j − Z j ( X ) ∣ ≤ α for every j ∈ [ D ] 0 j\in[D]_0 j ∈ [ D ] 0 simultaneously.
Generating Tr M ( X ) \operatorname{Tr}_{\mathcal{M}}(X) Tr M ( X ) takes O ( n ) O(n) O ( n ) total run-time. Each call to PrefixQuery \operatorname{PrefixQuery} PrefixQuery takes O ( n + log D ) O(n+\log D) O ( n + log D ) server side run-time.
At a high level, PrefixQuery decomposes the queried prefix [ j ] [j] [ j ] into the disjoint dyadic nodes in C ( j ) \mathcal{C}(j) C ( j ) and estimates their total frequency. To estimate the frequency of a node ( ℓ i , v i ) ∈ C ( j ) (\ell_i,v_i)\in\mathcal{C}(j) ( ℓ i , v i ) ∈ C ( j ) , the server takes user reports with ℓ u = ℓ i \ell_u=\ell_i ℓ u = ℓ i and multiplies the reported sign Y u Y_u Y u by Had ℓ i ( v i , r u ) \operatorname{Had}_{\ell_i}(v_i,r_u) Had ℓ i ( v i , r u ) . This works because Hadamard orthogonality (Claim C.1 ) gives
E r ∼ Unif ( [ 2 ℓ i − 1 ] 0 ) [ Had ℓ i ( v ℓ i ( X u ) , r ) Had ℓ i ( v i , r ) ] = 1 { X u ∈ I ℓ i , v i } . \mathbb{E}_{r\sim\operatorname{Unif}([2^{\ell_i-1}]_0)}[\operatorname{Had}_{\ell_i}(v_{\ell_i}(X_u),r)\operatorname{Had}_{\ell_i}(v_i,r)]=\mathbf{1}\{X_u\in I_{\ell_i,v_i}\}. E r ∼ Unif ([ 2 ℓ i − 1 ] 0 ) [ Had ℓ i ( v ℓ i ( X u ) , r ) Had ℓ i ( v i , r )] = 1 { X u ∈ I ℓ i , v i } .
Here, v ℓ i ( X u ) v_{\ell_i}(X_u) v ℓ i ( X u ) is the index of the node containing X u X_u X u at depth ℓ i \ell_i ℓ i . After rescaling to account for randomized response, the contribution Z u Z_u Z u in Algorithm 1 satisfies E [ Z u ∣ X u ] = 1 { X u ≤ j } \mathbb{E}[Z_u\mid X_u]=\mathbf{1}\{X_u\le j\} E [ Z u ∣ X u ] = 1 { X u ≤ j } . Averaging these contributions therefore gives an unbiased estimate of Z j ( X ) Z_j(X) Z j ( X ) . Since orthogonality holds for every node and the reports are generated without reference to j j j , the server can reuse the same reports to estimate different prefixes.
Since C ( j ) \mathcal{C}(j) C ( j ) contains at most one node per depth, each report takes O ( 1 ) O(1) O ( 1 ) time to process, giving O ( n + log D ) O(n+\log D) O ( n + log D ) time per query. This also bounds each user’s rescaled contribution Z u Z_u Z u , allowing concentration bounds to establish simultaneous accuracy over all prefixes. See C in the appendix for the formal proof.
Efficient LDP synthetic dataset generation
In this section, we develop an efficient non-interactive LDP algorithm for generating a synthetic dataset whose empirical distribution approximates the discretized input distribution in Kolmogorov distance. We first introduce a discretization that maps real-valued samples to a finite ordered set of bin indices, allowing us to apply the prefix oracle from § 6.1 . We then use this oracle to locate approximate quantiles and place synthetic points at these locations. Although the distributions considered in our applications may have unbounded support, suitable parameter bounds allow us to control both the tail mass and the approximation error introduced by binning.
Definition 6.2 (Uniform discretization). Let R , δ > 0 R,\delta>0 R , δ > 0 be parameters, and D = ⌈ 2 R / δ ⌉ + 2 D=\lceil2R/\delta\rceil+2 D = ⌈ 2 R / δ ⌉ + 2 . Let c 0 = − R − δ c_0=-R-\delta c 0 = − R − δ , c D = R + δ c_D=R+\delta c D = R + δ , and set c j = − R + min { ( j − 1 ) δ , 2 R } c_j=-R+\min\{(j-1)\delta,2R\} c j = − R + min {( j − 1 ) δ , 2 R } for j ∈ [ D − 1 ] j\in[D-1] j ∈ [ D − 1 ] . For a probability distribution P P P over R \mathbb{R} R , define the discretized distribution Disc R , δ ( P ) : = ∑ j = 1 D P ( B j ) Unif ( [ c j − 1 , c j ) ) \operatorname{Disc}_{R,\delta}(P):=\sum_{j=1}^{D}P(B_j)\operatorname{Unif}([c_{j-1},c_j)) Disc R , δ ( P ) := ∑ j = 1 D P ( B j ) Unif ([ c j − 1 , c j )) ,
Algorithm 2 Non-interactive LDP synthetic data generation
Input: Parameters ε , α ∈ ( 0 , 1 ) \varepsilon, \alpha\in(0,1) ε , α ∈ ( 0 , 1 ) , R , δ > 0 R,\delta>0 R , δ > 0 , and n n n users holding values X 1 , … , X n ∈ R X_1,\ldots,X_n\in\mathbb{R} X 1 , … , X n ∈ R .
Set D ← ⌈ 2 R / δ ⌉ + 2 D\leftarrow\lceil2R/\delta\rceil+2 D ← ⌈ 2 R / δ ⌉ + 2 and M ← ⌈ 1 / α ⌉ M\leftarrow\lceil1/\alpha\rceil M ← ⌈ 1/ α ⌉ , and let the endpoints c j c_j c j be as in Definition 6.2.
Each user computes X ~ u ← Disc R , δ ( X u ) ∈ [ D ] \widetilde{X}_u\leftarrow\operatorname{Disc}_{R,\delta}(X_u)\in[D] X u ← Disc R , δ ( X u ) ∈ [ D ] locally. Let M \mathcal{M} M be the local randomizer in Algorithm 4, and set the users’ transcripts to be Tr = ( M ( X ~ 1 , ε , D ) , … , M ( X ~ n , ε , D ) ) \operatorname{Tr}=(\mathcal{M}(\widetilde{X}_1,\varepsilon,D),\ldots,\mathcal{M}(\widetilde{X}_n,\varepsilon,D)) Tr = ( M ( X 1 , ε , D ) , … , M ( X n , ε , D )) .
for ℓ = 1 , … , M \ell=1,\ldots,M ℓ = 1 , … , M do
Set u ℓ ← ℓ − 1 / 2 M u_\ell\leftarrow\frac{\ell-1/2}{M} u ℓ ← M ℓ − 1/2 . ▷ Target quantile level for the ℓ \ell ℓ -th point.
Initialize ( a , b ) ← ( 0 , D ) (a,b)\leftarrow(0,D) ( a , b ) ← ( 0 , D ) . ▷ Indices of the current search endpoints.
Initialize ( A , B ) ← ( 0 , 1 ) (A,B)\leftarrow(0,1) ( A , B ) ← ( 0 , 1 ) . ▷ CDF estimates at c a , c b c_a,c_b c a , c b ; maintain A < u ℓ ≤ B A<u_\ell\le B A < u ℓ ≤ B .
while b > a + 1 b>a+1 b > a + 1 do
Let j ← ⌊ ( a + b ) / 2 ⌋ j\leftarrow\lfloor(a+b)/2\rfloor j ← ⌊( a + b ) /2 ⌋ .
Compute Z ^ j ← PrefixQuery ( j , Tr ) \widehat{Z}_j\leftarrow\operatorname{PrefixQuery}(j,\operatorname{Tr}) Z j ← PrefixQuery ( j , Tr ) . ▷ Estimated CDF at c j c_j c j using Algorithm 1.
if Z ^ j < u ℓ \widehat{Z}_j<u_\ell Z j < u ℓ then
( a , A ) ← ( j , Z ^ j ) (a,A)\leftarrow(j,\widehat{Z}_j) ( a , A ) ← ( j , Z j ) .
else
( b , B ) ← ( j , Z ^ j ) (b,B)\leftarrow(j,\widehat{Z}_j) ( b , B ) ← ( j , Z j ) .
Set λ ℓ ← u ℓ − A B − A \lambda_\ell\leftarrow\frac{u_\ell-A}{B-A} λ ℓ ← B − A u ℓ − A . ▷ Relative position of u ℓ u_\ell u ℓ between A A A and B B B .
Set z ℓ ← c b − 1 + λ ℓ ( c b − c b − 1 ) z_\ell\leftarrow c_{b-1}+\lambda_\ell(c_b-c_{b-1}) z ℓ ← c b − 1 + λ ℓ ( c b − c b − 1 ) . ▷ Place the synthetic point at this position in bin b b b .
return the synthetic dataset Z ← { z 1 , … , z M } \mathcal{Z}\leftarrow\{z_1,\ldots,z_M\} Z ← { z 1 , … , z M } , passed as a multiset.
where B 1 = ( − ∞ , − R ) B_1=(-\infty,-R) B 1 = ( − ∞ , − R ) , B D = [ R , + ∞ ) B_D=[R,+\infty) B D = [ R , + ∞ ) , and B j = [ c j − 1 , c j ) B_j=[c_{j-1},c_j) B j = [ c j − 1 , c j ) for j ∈ { 2 , ⋯ , D − 1 } j\in\{2,\cdots,D-1\} j ∈ { 2 , ⋯ , D − 1 } . By a slight abuse of notation, for a point x ∈ R x\in\mathbb{R} x ∈ R , we write Disc R , δ ( x ) = j \operatorname{Disc}_{R,\delta}(x)=j Disc R , δ ( x ) = j iff x ∈ B j x\in B_j x ∈ B j , which denotes the index of the interval containing x x x . Each endpoint c j c_j c j and the index of the interval containing a given x x x can be computed in constant time.
The following theorem presents the privacy and utility guarantees of our synthetic data generation algorithm (Algorithm 2). Utility is measured in Kolmogorov distance with respect to the discretized input distribution Disc R , δ ( P ) \operatorname{Disc}_{R,\delta}(P) Disc R , δ ( P ) . We later show how choosing R R R and δ \delta δ appropriately for the distribution class of interest allows us to relate this guarantee to the original distribution P P P , using suitable tail bounds and binning arguments.
Theorem 6.3 (LDP synthetic dataset). Let ε , α , β ∈ ( 0 , 1 ) \varepsilon,\alpha,\beta\in(0,1) ε , α , β ∈ ( 0 , 1 ) , R > 0 R>0 R > 0 , δ ∈ ( 0 , R / 2 ] \delta\in(0,R/2] δ ∈ ( 0 , R /2 ] , and n ∈ N n\in\mathbb{N} n ∈ N be parameters, and let P P P be an unknown distribution over R \mathbb{R} R . Then, the following holds:
(1) For any dataset X ∈ R n X\in\mathbb{R}^n X ∈ R n , Algorithm 2 is non-interactive ε \varepsilon ε -LDP.
(2) If the dataset X X X consists of n n n i.i.d. samples from P P P , where n = Ω ( 1 ε 2 α 2 log 2 ( R δ ) log ( R β δ ) ) n=\Omega\left(\frac{1}{\varepsilon^2\alpha^2}\log^2\left(\frac{R}{\delta}\right)\log\left(\frac{R}{\beta\delta}\right)\right) n = Ω ( ε 2 α 2 1 log 2 ( δ R ) log ( β δ R ) ) , then with probability at least 1 − β 1-\beta 1 − β over the sampling and local randomizers, the empirical probability measure H : = 1 M ∑ i ∈ [ M ] δ z i H:=\frac{1}{M}\sum_{i\in[M]}\delta_{z_i} H := M 1 ∑ i ∈ [ M ] δ z i of the output, satisfies ∥ F H − F Disc R , δ ( P ) ∥ ∞ ≤ α \left\|F_H-F_{\operatorname{Disc}_{R,\delta}(P)}\right\|_\infty\le\alpha F H − F Disc R , δ ( P ) ∞ ≤ α .
(3) The total run-time of Algorithm 2, including user preprocessing and server side computation, is O ( 1 α log ( R δ ) ( n + log ( R δ ) ) ) O\left(\frac{1}{\alpha}\log\left(\frac{R}{\delta}\right)\left(n+\log\left(\frac{R}{\delta}\right)\right)\right) O ( α 1 log ( δ R ) ( n + log ( δ R ) ) ) .
Let P ~ : = Disc R , δ ( P ) \widetilde{P}:=\operatorname{Disc}_{R,\delta}(P) P := Disc R , δ ( P ) . At a high level, Algorithm 2 represents P ~ \widetilde{P} P by M M M equally weighted points, one near each quantile level u ℓ u_\ell u ℓ . Using the estimates Z ^ j \widehat{Z}_j Z j returned by PrefixQuery \operatorname{PrefixQuery} PrefixQuery in Algorithm 1, we perform binary search to find adjacent bin endpoints whose estimated CDF values A , B A,B A , B satisfy A < u ℓ ≤ B A < u_{\ell} \le B A < u ℓ ≤ B . The interpolation weight λ ℓ \lambda_{\ell} λ ℓ then places z ℓ z_{\ell} z ℓ within this bin so that its estimated cumulative probability matches u ℓ u_{\ell} u ℓ .
Since F ~ P \widetilde{F}_{P} F P is linear within each bin, the errors in the endpoint estimates translate directly into errors between F ~ P ( z ℓ ) \widetilde{F}_{P}(z_{\ell}) F P ( z ℓ ) and u ℓ u_{\ell} u ℓ . Since the quantile levels u ℓ u_{\ell} u ℓ are evenly spaced and each point z ℓ z_{\ell} z ℓ has mass 1 / M 1/M 1/ M in H H H , these errors control how closely F H F_{H} F H follows F ~ P \widetilde{F}_{P} F P , with an additional error of order 1 / M 1/M 1/ M from using finitely many points. All searches reuse the same transcript and require only O ( log D ) O(\log D) O ( log D ) prefix queries per point. Appendix § 13 provides the formal proof.
Efficient LDP agnostic piece-wise polynomial learner
In this section, we combine the ingredients provided above to obtain an efficient LDP agnostic piece-wise polynomial learner. We feed the private synthetic dataset (from § 6.2 ) into the deterministic adaptation of the non-private piece-wise polynomial learner of Acharya et al. [7 ] (See Proposition 5.4 ). To relate the resulting guarantee to the unknown distribution, we account for the error introduced by discretization (Definition 2.3 ), as well as the error from approximating the target class by piece-wise polynomials (Definition 2.5 ).
Putting these ingredients together gives our general efficient LDP agnostic learning framework theorem. See D in the appendix for the proof.
Theorem 7.1. Let ε , α , β ∈ ( 0 , 1 ) \varepsilon,\alpha,\beta\in(0,1) ε , α , β ∈ ( 0 , 1 ) , R > 0 R > 0 R > 0 , 0 < δ ≤ R / 2 0 < \delta\le R/2 0 < δ ≤ R /2 be parameters, let s ≥ 1 , d ≥ 0 s \ge1,d \ge0 s ≥ 1 , d ≥ 0 be integers, let P P P be an unknown distribution over R \mathbb{R} R , and let F \mathcal{F} F be a known class of probability distributions over R \mathbb{R} R . Then, there exist a universal integer C ≥ 1 C \ge1 C ≥ 1 and a non-interactive ε \varepsilon ε -LDP algorithm that, using
n = Θ ( s 2 ( d + 1 ) 2 ε 2 α 2 log 2 ( R δ ) log ( R β δ ) ) n = \Theta\left(\frac{s^{2}(d+1)^{2}}{\varepsilon^{2}\alpha^{2}}\log^{2}\left(\frac{R}{\delta}\right)\log\left(\frac{R}{\beta\delta}\right)\right) n = Θ ( ε 2 α 2 s 2 ( d + 1 ) 2 log 2 ( δ R ) log ( β δ R ) ) i.i.d. samples from P P P , outputs a distribution P ^ \widehat{P} P with a nonnegative piece-wise polynomial density in P C s , d \mathcal{P}_{Cs,d} P C s , d satisfying:
∥ P ^ − P ∥ 1 ≤ 10 O P T + 8 α + 9 Disc-Err R , δ ( F ) + 8 Poly-Approx s , d ( F ) \lVert\widehat{P}-P\rVert_{1} \le10\mathrm{OPT} + 8\alpha+ 9\operatorname{Disc\text{-}Err}_{R,\delta}(\mathcal{F}) + 8\operatorname{Poly\text{-}Approx}_{s,d}(\mathcal{F}) ∥ P − P ∥ 1 ≤ 10 OPT + 8 α + 9 Disc - Err R , δ ( F ) + 8 Poly - Approx s , d ( F ) with probability at least 1 − β 1-\beta 1 − β over sampling and local randomizers, where O P T : = inf F ∈ F ∥ F − P ∥ 1 \mathrm{OPT} := \inf_{F \in\mathcal{F}}\lVert F-P\rVert_{1} OPT := inf F ∈ F ∥ F − P ∥ 1 . Moreover, the total running time, including user preprocessing and server side computation, is
O ~ ( s ( d + 1 ) α ( n log ( R δ ) + ( d + 1 ) ω + 2 ) ) , \widetilde{O}\left(\frac{s(d+1)}{\alpha}\left(n\log\left(\frac{R}{\delta}\right)+(d+1)^{\omega+2}\right)\right), O ( α s ( d + 1 ) ( n log ( δ R ) + ( d + 1 ) ω + 2 ) ) , where ω \omega ω denotes the matrix multiplication exponent, and O ~ \widetilde{O} O hides only logarithmic factors in s s s , d + 1 d+1 d + 1 , and 1 / α 1/\alpha 1/ α .
Efficient LDP Agnostic Learning of Mixtures of Log-concave distributions
In this section, as an application of our framework, we provide an efficient non-interactive LDP agnostic learner for mixtures of log-concave distributions with bounded component parameters. The class of mixtures of log-concave distributions is quite expressive and includes GMMs and mixtures of uniform, exponential, Laplace, and logistic distributions. It also allows mixtures whose components belong to different distribution families. Restrictions on the component parameter ranges are necessary for a uniform finite bound on sample complexity in the non-interactive LDP setting, as we demonstrate below by the packing lower bound for GMMs in Theorem G.1 . All proofs omitted from this section are given in Section E.
Mixture distributions
Here, we define mixture distributions and show that bounding their polynomial approximation and discretization errors reduces to bounding the corresponding errors for the component class.
Definition 8.1 (Mixture class). Let Q Q Q be an arbitrary class of distributions. We denote the class of m m m -mixtures of Q Q Q by m -mix ( Q ) = Δ m × Q m m\text{-mix}(Q) = \Delta_m \times Q^m m -mix ( Q ) = Δ m × Q m where Δ m = { w ∈ R m : w i ≥ 0 , ∑ i ∈ [ m ] w i = 1 } \Delta_m = \{w \in\mathbb{R}^m : w_i \ge0, \sum_{i \in[m]} w_i = 1\} Δ m = { w ∈ R m : w i ≥ 0 , ∑ i ∈ [ m ] w i = 1 } is the ( m − 1 ) (m-1) ( m − 1 ) -dimensional probability simplex.
Lemma 8.2 (Discretization and polynomial approximation of mixtures). Let F \mathcal{F} F be a nonempty class of probability distributions over R \mathbb{R} R with densities. Let m , s ≥ 1 m, s \ge1 m , s ≥ 1 and d ≥ 0 d \ge0 d ≥ 0 be integers, and let R , δ > 0 R, \delta> 0 R , δ > 0 . Then,
Disc-Err R , δ ( m -mix ( F ) ) = Disc-Err R , δ ( F ) \operatorname{Disc\text{-}Err}_{R,\delta}(m\text{-mix}(\mathcal{F})) = \operatorname{Disc\text{-}Err}_{R,\delta}(\mathcal{F}) Disc - Err R , δ ( m -mix ( F )) = Disc - Err R , δ ( F ) ,
Poly-Approx m ( s − 1 ) + 1 , d ( m -mix ( F ) ) ≤ Poly-Approx s , d ( F ) \operatorname{Poly\text{-}Approx}_{m(s-1)+1,d}(m\text{-mix}(\mathcal{F})) \le\operatorname{Poly\text{-}Approx}_{s,d}(\mathcal{F}) Poly - Approx m ( s − 1 ) + 1 , d ( m -mix ( F )) ≤ Poly - Approx s , d ( F ) .
An upper bound for mixtures of log-concave distributions
The formal definition of bounded-parameter log-concave distributions is given as follows.
Definition 8.3 (Log-concave functions). A function f : R → R ≥ 0 f : \mathbb{R} \to\mathbb{R}_{\ge0} f : R → R ≥ 0 is log-concave if, for every x , y ∈ R x, y \in\mathbb{R} x , y ∈ R and λ ∈ ( 0 , 1 ) \lambda\in(0, 1) λ ∈ ( 0 , 1 ) , it holds that f ( λ x + ( 1 − λ ) y ) ≥ f ( x ) λ f ( y ) 1 − λ f(\lambda x + (1-\lambda)y) \ge f(x)^\lambda f(y)^{1-\lambda} f ( λ x + ( 1 − λ ) y ) ≥ f ( x ) λ f ( y ) 1 − λ .
Definition 8.4 (Bounded-Parameter Log-concave Distributions). Let R ≥ 0 R \ge0 R ≥ 0 , and 0 < σ min ≤ σ max < ∞ 0 < \sigma_{\min} \le\sigma_{\max} < \infty 0 < σ m i n ≤ σ m a x < ∞ be parameters. Then the class of bounded-parameter log-concave distributions over R \mathbb{R} R is defined by L ( R , σ min , σ max ) = { f : f is a log-concave probability density , ∣ μ f ∣ ≤ R , σ f ∈ [ σ min , σ max ] } \mathcal{L}(R, \sigma_{\min}, \sigma_{\max}) = \{f : f \text{ is a log-concave probability density}, |\mu_f| \le R, \sigma_f \in[\sigma_{\min}, \sigma_{\max}]\} L ( R , σ m i n , σ m a x ) = { f : f is a log-concave probability density , ∣ μ f ∣ ≤ R , σ f ∈ [ σ m i n , σ m a x ]} , where μ f = E X ∼ f [ X ] \mu_f = \mathbb{E}_{X \sim f}[X] μ f = E X ∼ f [ X ] , and σ f 2 = E X ∼ f [ ( X − μ f ) 2 ] \sigma_f^2 = \mathbb{E}_{X \sim f}[(X-\mu_f)^2] σ f 2 = E X ∼ f [( X − μ f ) 2 ] .
The following theorem gives the resulting guarantee for efficient non-interactive LDP agnostic learning of log-concave mixtures.
Theorem 8.5 (Efficient LDP Agnostic Learning of Log-concave Mixtures). Let ε , α , β ∈ ( 0 , 1 ) \varepsilon, \alpha, \beta\in(0, 1) ε , α , β ∈ ( 0 , 1 ) , let m ≥ 1 m \ge1 m ≥ 1 be an integer, and let R ≥ 0 R \ge0 R ≥ 0 and 0 < σ min ≤ σ max < ∞ 0 < \sigma_{\min} \le\sigma_{\max} < \infty 0 < σ m i n ≤ σ m a x < ∞ be parameters. Then, there exists a non-interactive ε \varepsilon ε -LDP ( 10 , α , β ) (10, \alpha, \beta) ( 10 , α , β ) -agnostic learner for the class m -mix ( L ( R , σ min , σ max ) ) m\text{-mix}(\mathcal{L}(R, \sigma_{\min}, \sigma_{\max})) m -mix ( L ( R , σ m i n , σ m a x )) , that uses
n = O ~ ( m 2 ε 2 α 3 log 2 ( 2 ( R + σ max ) α σ min ) log ( 2 ( R + σ max ) α β σ min ) ) , n = \widetilde{O}\left(\frac{m^2}{\varepsilon^2\alpha^3}\log^2\left(\frac{2(R+\sigma_{\max})}{\alpha\sigma_{\min}}\right)\log\left(\frac{2(R+\sigma_{\max})}{\alpha\beta\sigma_{\min}}\right)\right), n = O ( ε 2 α 3 m 2 log 2 ( α σ m i n 2 ( R + σ m a x ) ) log ( α β σ m i n 2 ( R + σ m a x ) ) ) , samples and its output has a nonnegative piece-wise linear density with O ~ ( m / α ) \widetilde{O}(m/\sqrt{\alpha}) O ( m / α ) pieces. Moreover, the total running time is
O ~ ( n m α 3 / 2 log ( 2 ( R + σ max ) α σ min ) ) . \widetilde{O}\left(\frac{nm}{\alpha^{3/2}}\log\left(\frac{2(R+\sigma_{\max})}{\alpha\sigma_{\min}}\right)\right). O ( α 3/2 nm log ( α σ m i n 2 ( R + σ m a x ) ) ) . Here, O ~ \widetilde{O} O hides only logarithmic factors in 1 / α 1/\alpha 1/ α in the sample and piece-count bounds, and in m m m and 1 / α 1/\alpha 1/ α in the running-time bound.
To obtain this result, it suffices to bound the polynomial approximation and discretization errors of the single-component class L ( R , σ min , σ max ) \mathcal{L}(R, \sigma_{\min}, \sigma_{\max}) L ( R , σ m i n , σ m a x ) . The following two lemmas provide these bounds, which extend to the mixture class by Lemma 8.2 , allowing us to apply the LDP piece-wise polynomial learner from Theorem 7.1 .
For log-concave distributions, the piece-wise linear approximation result of Chan et al. [19 ] gives the required polynomial approximation bound. We state it below in terms of our class approximation error.
Lemma 8.6 (Piece-wise polynomial approximation of log-concave distributions). For every α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) , there exists an integer s α = O ~ ( 1 / α ) s_\alpha= \widetilde{O}(1/\sqrt{\alpha}) s α = O ( 1/ α ) such that, for every R ≥ 0 R \ge0 R ≥ 0 and 0 < σ min ≤ σ max < ∞ 0 < \sigma_{\min} \le\sigma_{\max} < \infty 0 < σ m i n ≤ σ m a x < ∞ , it holds that Poly-Approx s α , 1 ( L ( R , σ min , σ max ) ) ≤ α \operatorname{Poly\text{-}Approx}_{s_\alpha,1}(\mathcal{L}(R,\sigma_{\min},\sigma_{\max})) \le\alpha Poly - Approx s α , 1 ( L ( R , σ m i n , σ m a x )) ≤ α . Here, O ~ \widetilde{O} O hides only logarithmic factors in 1 / α 1/\alpha 1/ α .
Standard tail bounds for log-concave distributions control the error from truncating the domain. Within the retained intervals, we use unimodality and a bound on the density to control the error introduced by discretization. Combining these arguments gives the following lemma.
Lemma 8.7 (Discretization of Bounded-Parameter Log-concave Distributions). Let η ∈ ( 0 , 1 ) \eta\in(0,1) η ∈ ( 0 , 1 ) , R ≥ 0 R \ge0 R ≥ 0 , and 0 < σ min ≤ σ max < ∞ 0 < \sigma_{\min} \le\sigma_{\max} < \infty 0 < σ m i n ≤ σ m a x < ∞ be parameters. Let T = R + σ max ( 1 + log ( 4 η ) ) T = R + \sigma_{\max}\left(1+\log\left(\frac{4}{\eta}\right)\right) T = R + σ m a x ( 1 + log ( η 4 ) ) , J = ⌈ 8 T η σ min ⌉ J = \left\lceil\frac{8T}{\eta\sigma_{\min}}\right\rceil J = ⌈ η σ m i n 8 T ⌉ , and δ = 2 T J \delta= \frac{2T}{J} δ = J 2 T . Then, it holds that Disc-Err T , δ ( L ( R , σ min , σ max ) ) ≤ η \operatorname{Disc\text{-}Err}_{T,\delta}(\mathcal{L}(R,\sigma_{\min},\sigma_{\max})) \le\eta Disc - Err T , δ ( L ( R , σ m i n , σ m a x )) ≤ η .
Together with the piece-wise linear approximation bound above, this allows us to apply Theorem 7.1 and obtain the efficient non-interactive ε \varepsilon ε -LDP agnostic learner stated in Theorem 8.5 .
AI Disclosure
The authors initially worked with the factorization mechanism of Edmonds et al. [31 ] for answering prefix frequency queries. While the authors were looking for ways to make their algorithm time-efficient, AI (GPT-5.6 Sol) highlighted the connection to the local randomizer of Cormode et al. [20 ] . The authors also used AI to check proofs and identify edge cases in algorithms and theorem statements, which they subsequently addressed. All text, theorems, and proofs were written by the authors. AI assistance with writing was limited to language and grammar refinement.
Acknowledgments
Mohammad Afzali was supported in part by a Four Year Doctoral Fellowship (4YF) from the University of British Columbia. Sivan Sabato holds a Canada AI CIFAR Chair at the Vector Institute. Hassan Ashtiani is also a faculty member at the Vector Institute. We acknowledge the support of the Natural Sciences and Engineering Research Council of Canada (NSERC), funding reference numbers RGPIN-2024-05907 and RGPIN-2019-06018. Resources used in preparing this research were provided, in part, by the Province of Ontario, the Government of Canada through CIFAR, and companies sponsoring the Vector Institute; see https://vectorinstitute.ai/partnerships/current-partners/ .
More on the related work
In this section, we discuss further related work and its connections to our framework.
In the realizable setting, prior work has studied nonparametric density estimation under LDP under smoothness assumptions. Duchi et al. [24 ] study Sobolev density estimation under squared L 2 L_2 L 2 loss, while Butucea et al. [14 ] study Besov classes under integrated L r L_r L r loss, including adaptation to unknown smoothness. Both works assume that the sampling density belongs to a specified smoothness class on a fixed bounded interval, and give non-interactive estimators with polynomial running time for fixed smoothness and support parameters, assuming efficient basis evaluation. Although their losses imply TV bounds on bounded supports, these guarantees still require the sampling density to belong to the specified smoothness class. Moreover, their rates depend on smoothness norms and support parameters and do not directly recover our dependence on the number of mixture components or our polylogarithmic dependence on the component parameter range. Our framework instead gives an agnostic TV guarantee based on piece-wise polynomial approximation, covering bounded-parameter mixtures with unbounded support or discontinuities.
Li et al. [45 ] study Huber contamination, where samples come from P = ( 1 − η ) F + η G P = (1-\eta)F + \eta G P = ( 1 − η ) F + η G and the goal is to recover the clean distribution F F F . Their density-estimation results assume that F F F belongs to a Sobolev class and that both F F F and G G G are supported on [ 0 , 1 ] [0,1] [ 0 , 1 ] . They give non-interactive estimators with polynomial running time for fixed smoothness parameters, assuming efficient basis evaluation, and minimax guarantees under squared L 2 L_2 L 2 and L ∞ L_\infty L ∞ losses. These imply TV bounds after conversion to a density, but do not establish an agnostic guarantee for arbitrary sampling distributions or our dependence on mixture complexity and component parameter ranges. Our guarantee allows arbitrary P P P and, under the contamination model above with F ∈ F F \in\mathcal{F} F ∈ F , implies d T V ( P ^ , F ) ≤ ( C + 1 ) η + α d_{\mathrm{TV}}(\widehat{P}, F) \le(C+1)\eta+ \alpha d TV ( P , F ) ≤ ( C + 1 ) η + α . However, it does not provide their stronger L 2 L_2 L 2 or L ∞ L_\infty L ∞ guarantees.
In the central DP model, learning a single Gaussian has been studied extensively, from univariate confidence intervals [44 ] to high-dimensional learning and agnostic estimation of unrestricted Gaussians [39 , 1 ] . Further work studies covariance-aware estimation and robustness [BG-SUZ21; LKO22; KMV22]. Several works provide computationally efficient algorithms for Gaussian mean, covariance, or density estimation [40 , 10 , 9 , 35 , 16 , 37 ] . More recently, Zampetakis and Zhou [53 ] develop a truncation-based framework for private statistical estimation, including efficient Gaussian mean and covariance estimation.
For mixtures, Aden-Ali et al. [2 ] give central DP sample complexity bounds for mixtures of axis-aligned Gaussians, and Afzali et al. [4 ] establish polynomial sample complexity for mixtures of arbitrary multivariate Gaussians. Ashtiani et al. [11 ] improve these bounds and, in particular, obtain a realizable univariate learner using O ~ ( m / α 2 + m log ( 1 / δ ) / ( ε α ) ) \widetilde{O}(m/\alpha^2 + m\log(1/\delta)/(\varepsilon\alpha)) O ( m / α 2 + m log ( 1/ δ ) / ( ε α )) samples under central ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -DP, where δ \delta δ is the privacy failure parameter. In the agnostic setting, Afzali et al. [5 ] give a central DP learner for unrestricted multivariate GMMs; their univariate specialization uses O ~ ( ( m 2 + m log ( 1 / δ ) ) / ( ε α 2 ) ) \widetilde{O}((m^2 + m\log(1/\delta))/(\varepsilon\alpha^2)) O (( m 2 + m log ( 1/ δ )) / ( ε α 2 )) samples. These unrestricted density-learning algorithms are computationally inefficient. For mixture parameter estimation, Kamath et al. [43 ] give efficient central DP algorithms under strong separation assumptions. Arbas et al. [3 ] allow weaker separation and unbounded parameters, but their resulting algorithm has sample complexity and running time exponential in the number of components m m m , with a polynomial-time guarantee for fixed m m m . The privatization techniques in the central and local models differ substantially: a central algorithm can access the dataset jointly, whereas each user in our non-interactive local algorithms privatizes their own sample independently. Our results provide efficient agnostic learners for bounded-parameter univariate mixtures in this local setting, with only logarithmic factors in the component parameter ranges.
Non-private piece-wise polynomial learner with synthetic data
Here, we provide a proof sketch for the deterministic adaptation of the non-private piece-wise polynomial learner of Acharya et al. [7 ] that we use in our framework. Their original estimator takes i.i.d. samples from an unknown distribution, but it can also operate on synthetic data whose empirical distribution satisfies a suitable Kolmogorov-distance bound. We first define the A k A_k A k norm used in their analysis.
Definition B.1 (A k A_k A k -norm [7 ] ). Let I ⊆ R I \subseteq\mathbb{R} I ⊆ R be an interval, and k ≥ 1 k \ge1 k ≥ 1 be an integer. For a finite signed measure μ \mu μ on R \mathbb{R} R , the A k A_k A k norm restricted to I I I is defined as:
∥ μ ∥ A k , I : = sup 0 ≤ r ≤ k I 1 , … , I r ⊆ I disjoint intervals ∑ i ∈ [ r ] ∣ μ ( I i ) ∣ . \lVert\mu\rVert_{A_k,I} := \sup_{\substack{0 \le r \le k\\ I_1,\ldots,I_r \subseteq I\ \text{disjoint intervals}}} \sum_{i \in[r]} \lvert\mu(I_i)\rvert. ∥ μ ∥ A k , I := 0 ≤ r ≤ k I 1 , … , I r ⊆ I disjoint intervals sup i ∈ [ r ] ∑ ∣ μ ( I i )∣ . The intervals may have arbitrary real endpoints. We allow open, closed, half-open, and singleton intervals. When I = R I = \mathbb{R} I = R , we write ∥ μ ∥ A k \lVert\mu\rVert_{A_k} ∥ μ ∥ A k instead of ∥ μ ∥ A k , R \lVert\mu\rVert_{A_k,\mathbb{R}} ∥ μ ∥ A k , R .
Lemma B.2 (A k A_k A k -distance from CDF error). Let P , Q P,Q P , Q be two probability distributions over R \mathbb{R} R , with CDFs F P , F Q F_P,F_Q F P , F Q , and let k ≥ 1 k \ge1 k ≥ 1 be an integer. Then,
∥ P − Q ∥ A k ≤ k ∥ P − Q ∥ A 1 ≤ 2 k ∥ F P − F Q ∥ ∞ . \lVert P-Q\rVert_{A_k} \le k\lVert P-Q\rVert_{A_1} \le2k\lVert F_P-F_Q\rVert_\infty. ∥ P − Q ∥ A k ≤ k ∥ P − Q ∥ A 1 ≤ 2 k ∥ F P − F Q ∥ ∞ .
Proof. For any interval I = ( a , b ] I=(a,b] I = ( a , b ] , we have
∣ ( P − Q ) ( I ) ∣ = ∣ ( F P − F Q ) ( b ) − ( F P − F Q ) ( a ) ∣ ≤ ∣ ( F P − F Q ) ( b ) ∣ + ∣ ( F P − F Q ) ( a ) ∣ ≤ 2 ∥ F P − F Q ∥ ∞ . \begin{aligned}
\lvert(P-Q)(I)\rvert= \lvert(F_P-F_Q)(b)-(F_P-F_Q)(a)\rvert\\
&\le\lvert(F_P-F_Q)(b)\rvert+\lvert(F_P-F_Q)(a)\rvert\le2\lVert F_P-F_Q\rVert_\infty.
\end{aligned} ∣( P − Q ) ( I )∣ = ∣( F P − F Q ) ( b ) − ( F P − F Q ) ( a )∣ ≤ ∣( F P − F Q ) ( b )∣ + ∣( F P − F Q ) ( a )∣ ≤ 2 ∥ F P − F Q ∥ ∞ .
The same bound holds for other endpoint conventions and unbounded intervals by taking the corresponding one-sided limits of the CDFs. Taking the supremum over intervals gives
∥ P − Q ∥ A 1 ≤ 2 ∥ F P − F Q ∥ ∞ . \lVert P-Q\rVert_{A_1} \le2\lVert F_P-F_Q\rVert_\infty. ∥ P − Q ∥ A 1 ≤ 2 ∥ F P − F Q ∥ ∞ .
Moreover, for any collection of r ≤ k r \le k r ≤ k disjoint intervals I 1 , ⋯ , I r I_1,\cdots,I_r I 1 , ⋯ , I r ,
∑ i ∈ [ r ] ∣ ( P − Q ) ( I i ) ∣ ≤ r ∥ P − Q ∥ A 1 ≤ k ∥ P − Q ∥ A 1 . \sum_{i \in[r]}\lvert(P-Q)(I_i)\rvert\le r\lVert P-Q\rVert_{A_1} \le k\lVert P-Q\rVert_{A_1}. i ∈ [ r ] ∑ ∣( P − Q ) ( I i )∣ ≤ r ∥ P − Q ∥ A 1 ≤ k ∥ P − Q ∥ A 1 .
Taking the supremum over all such collections proves the result.
Proof of Proposition 5.4. Fix an arbitrary probability distribution P ⋆ P^\star P ⋆ satisfying the assumptions of the Proposition 5.4 , and set k = ( C + 1 ) ( d + 1 ) s k=(C+1)(d+1)s k = ( C + 1 ) ( d + 1 ) s . By Lemma B.2 ,
∥ H − P ⋆ ∥ A k ≤ 2 k ∥ F H − F P ⋆ ∥ ∞ ≤ 2 ( C + 1 ) ( d + 1 ) s ⋅ η 2 ( C + 1 ) ( d + 1 ) s = η . \lVert H-P^\star\rVert_{A_k} \le2k\lVert F_H-F_{P^\star}\rVert_\infty\le2(C+1)(d+1)s\cdot\frac{\eta}{2(C+1)(d+1)s}=\eta. ∥ H − P ⋆ ∥ A k ≤ 2 k ∥ F H − F P ⋆ ∥ ∞ ≤ 2 ( C + 1 ) ( d + 1 ) s ⋅ 2 ( C + 1 ) ( d + 1 ) s η = η .
We use the deterministic post-sampling adaptations of Theorem 17 of Acharya et al. [7 ] for d > 0 d>0 d > 0 and Theorem 10 for d = 0 d=0 d = 0 , with the supplied multiset Z Z Z replacing the sampling step. Their error analyses apply once the required A k \mathcal{A}_k A k -distance bound holds, which we have established above. With suitable universal constants and approximation tolerances, they therefore give
∥ P ^ − P ∗ ∥ 1 ≤ 4 ( OPT + η ) . \lVert\widehat{P}-P^*\rVert_1 \le4(\operatorname{OPT}+\eta). ∥ P − P ∗ ∥ 1 ≤ 4 ( OPT + η ) .
The output has at most C s Cs C s pieces of degree at most d d d , and the running time follows from the same deterministic algorithms on M M M input points. The conversion from Kolmogorov distance is used only in the analysis and requires no additional computation.
Omitted proofs from sections 5 and 6
Algorithm 3 Canonical dyadic decomposition of a prefix
Input: Domain size N = 2 L N=2^L N = 2 L and a query index j ∈ [ N − 1 ] j\in[N-1] j ∈ [ N − 1 ] .
Output: A collection C ( j ) \mathcal{C}(j) C ( j ) of pairwise disjoint dyadic nodes whose union is [ j ] [j] [ j ] .
Let V \mathcal{V} V be the 2 N − 1 2N-1 2 N − 1 nodes of the complete dyadic tree over [ N ] [N] [ N ] (See Definition 5.1 ). Index them as
I ℓ , v = { v 2 L − ℓ + 1 , … , ( v + 1 ) 2 L − ℓ } I_{\ell,v}=\{v2^{L-\ell}+1,\ldots,(v+1)2^{L-\ell}\} I ℓ , v = { v 2 L − ℓ + 1 , … , ( v + 1 ) 2 L − ℓ }
for depth ℓ ∈ { 0 , … , L } \ell\in\{0,\ldots,L\} ℓ ∈ { 0 , … , L } and v ∈ { 0 , … , 2 ℓ − 1 } v\in\{0,\ldots,2^\ell-1\} v ∈ { 0 , … , 2 ℓ − 1 } .
Initialize C ( j ) ← ∅ \mathcal{C}(j)\leftarrow\varnothing C ( j ) ← ∅ and s ← 0 s\leftarrow0 s ← 0 .
for each depth ℓ ∈ { 1 , … , L } \ell\in\{1,\ldots,L\} ℓ ∈ { 1 , … , L } do
q ← 2 L − ℓ q\leftarrow2^{L-\ell} q ← 2 L − ℓ \hfill ▹ \triangleright ▹ Length of a node at depth ℓ \ell ℓ
if ⌊ j / q ⌋ m o d 2 = 1 \lfloor j/q\rfloor\bmod2=1 ⌊ j / q ⌋ mod 2 = 1 then
v ← s / q v\leftarrow s/q v ← s / q
C ( j ) ← C ( j ) ∪ { I ℓ , v } \mathcal{C}(j)\leftarrow\mathcal{C}(j)\cup\{I_{\ell,v}\} C ( j ) ← C ( j ) ∪ { I ℓ , v }
s ← s + q s\leftarrow s+q s ← s + q
return C ( j ) \mathcal{C}(j) C ( j )
Proof of Lemma 5.2 . We prove that the algorithm 3 satisfies the requirements of the lemma.
Let j = ∑ ℓ ∈ [ L ] b ℓ 2 L − ℓ j=\sum_{\ell\in[L]}b_\ell2^{L-\ell} j = ∑ ℓ ∈ [ L ] b ℓ 2 L − ℓ , be the L L L -bit binary representation of j j j , where b ℓ ∈ { 0 , 1 } b_\ell\in\{0,1\} b ℓ ∈ { 0 , 1 } . At depth ℓ \ell ℓ , Algorithm 3 adds a node to C ( j ) \mathcal{C}(j) C ( j ) when b ℓ = 1 b_\ell=1 b ℓ = 1 . Let s 0 = 0 s_0=0 s 0 = 0 , and for each ℓ ∈ [ L ] \ell\in[L] ℓ ∈ [ L ] define s ℓ : = ∑ r ∈ [ ℓ ] b r 2 L − r s_\ell:=\sum_{r\in[\ell]}b_r2^{L-r} s ℓ := ∑ r ∈ [ ℓ ] b r 2 L − r . We show that, after processing depth ℓ \ell ℓ , the nodes selected so far are pairwise disjoint and their union is exactly [ 1 , s ℓ ] [1,s_\ell] [ 1 , s ℓ ] . If b ℓ = 0 b_\ell=0 b ℓ = 0 , the algorithm does not add a node and s ℓ = s ℓ − 1 s_\ell=s_{\ell-1} s ℓ = s ℓ − 1 , so the claim holds. Otherwise, b ℓ = 1 b_\ell=1 b ℓ = 1 . Let q = 2 L − ℓ q=2^{L-\ell} q = 2 L − ℓ . Note that at depth ℓ \ell ℓ , the variable s s s is initially equal to s ℓ − 1 s_{\ell-1} s ℓ − 1 , and every term in s ℓ − 1 s_{\ell-1} s ℓ − 1 is divisible by q q q , therefore v = s ℓ − 1 q v=\frac{s_{\ell-1}}{q} v = q s ℓ − 1 is an integer. So, the node selected by the algorithm is I ℓ , v = { v q + 1 , … , ( v + 1 ) q } = { s ℓ − 1 + 1 , … , s ℓ − 1 + q } I_{\ell,v}=\{vq+1,\ldots,(v+1)q\}=\{s_{\ell-1}+1,\ldots,s_{\ell-1}+q\} I ℓ , v = { v q + 1 , … , ( v + 1 ) q } = { s ℓ − 1 + 1 , … , s ℓ − 1 + q } . This node is disjoint from all previously selected nodes and is immediately adjacent to their union. Since s ℓ = s ℓ − 1 + q s_\ell=s_{\ell-1}+q s ℓ = s ℓ − 1 + q , the union of the selected nodes after depth ℓ \ell ℓ is exactly [ 1 , s ℓ ] [1,s_\ell] [ 1 , s ℓ ] . In particular at depth L L L , we have s L = ∑ ℓ ∈ [ L ] b ℓ 2 L − ℓ = j s_L=\sum_{\ell\in[L]}b_\ell2^{L-\ell}=j s L = ∑ ℓ ∈ [ L ] b ℓ 2 L − ℓ = j . Consequently, the nodes in C ( j ) \mathcal{C}(j) C ( j ) are pairwise disjoint and exactly cover [ 1 , j ] [1,j] [ 1 , j ] , proving ( 1 ) (1) ( 1 ) .
Algorithm 4 Hierarchical LDP local randomizer M \mathcal{M} M
Input: A user’s value X u ∈ [ D ] X_u \in[D] X u ∈ [ D ] , privacy parameter ε ∈ ( 0 , 1 ) \varepsilon\in(0,1) ε ∈ ( 0 , 1 ) , and domain size D ∈ N D \in\mathbb{N} D ∈ N with D ≥ 2 D \ge2 D ≥ 2 .
Output: A user transcript T u = ( ℓ u , r u , Y u ) T_u = (\ell_u, r_u, Y_u) T u = ( ℓ u , r u , Y u ) .
Set L ← ⌈ log 2 D ⌉ L \leftarrow\lceil\log_2 D \rceil L ← ⌈ log 2 D ⌉ .
Sample a depth ℓ u \ell_u ℓ u uniformly from [ L ] [L] [ L ] .
Sample r u r_u r u uniformly from { 0 , … , 2 ℓ u − 1 } \{0,\ldots,2^{\ell_u}-1\} { 0 , … , 2 ℓ u − 1 } .
Set v u ← v ℓ u ( X u ) = ⌊ X u − 1 2 L − ℓ u ⌋ v_u \leftarrow v_{\ell_u}(X_u) = \left\lfloor\frac{X_u-1}{2^{L-\ell_u}}\right\rfloor v u ← v ℓ u ( X u ) = ⌊ 2 L − ℓ u X u − 1 ⌋ .
Set B u ← Had ℓ u ( v u , r u ) ∈ { − 1 , + 1 } B_u \leftarrow\operatorname{Had}_{\ell_u}(v_u,r_u) \in\{-1,+1\} B u ← Had ℓ u ( v u , r u ) ∈ { − 1 , + 1 } .
Set p ε ← e ε e ε + 1 p_\varepsilon\leftarrow\frac{e^\varepsilon}{e^\varepsilon+1} p ε ← e ε + 1 e ε , and Y u ← { B u , with probability p ε , − B u , with probability 1 − p ε . Y_u \leftarrow\begin{cases} B_u, & \text{with probability } p_\varepsilon, \\ -B_u, & \text{with probability } 1-p_\varepsilon. \end{cases} Y u ← { B u , − B u , with probability p ε , with probability 1 − p ε .
return T u ← ( ℓ u , r u , Y u ) T_u \leftarrow(\ell_u,r_u,Y_u) T u ← ( ℓ u , r u , Y u ) .
The algorithm considers each depth ℓ ∈ [ L ] \ell\in[L] ℓ ∈ [ L ] exactly once and adds at most one node during that iteration. Thus, C ( j ) C(j) C ( j ) contains at most one node at every depth, proving (2). It also follows that ∣ C ( j ) ∣ = ∑ ℓ ∈ [ L ] b ℓ ≤ L |C(j)| = \sum_{\ell\in[L]} b_\ell\le L ∣ C ( j ) ∣ = ∑ ℓ ∈ [ L ] b ℓ ≤ L .
Finally, the algorithm performs L L L iterations, with a constant amount of operations at every iteration. Hence, it constructs C ( j ) C(j) C ( j ) in O ( L ) O(L) O ( L ) time, which completes the proof.
The following is the standard orthogonality identity for Hadamard characters: distinct characters have zero average product, while each character has average squared value one.
Claim C.1 (Orthogonality of Hadamard characters, Theorem 1.5 of O’Donnell [49 ] ). Let ℓ ∈ N \ell\in\mathbb{N} ℓ ∈ N , and u , v ∈ { 0 , ⋯ , 2 ℓ − 1 } u,v \in\{0,\cdots,2^\ell-1\} u , v ∈ { 0 , ⋯ , 2 ℓ − 1 } , then Had ℓ \operatorname{Had}_\ell Had ℓ satisfies the orthogonality identity:
1 2 ℓ ∑ r = 0 2 ℓ − 1 Had ℓ ( v , r ) Had ℓ ( u , r ) = 1 { v = u } . (2) \frac{1}{2^\ell}\sum_{r=0}^{2^\ell-1}\operatorname{Had}_\ell(v,r)\operatorname{Had}_\ell(u,r)=\mathbf{1}\{v=u\}. \tag*{(2)} 2 ℓ 1 r = 0 ∑ 2 ℓ − 1 Had ℓ ( v , r ) Had ℓ ( u , r ) = 1 { v = u } . (2)
Proof of Theorem 6.1 . Now, we prove the utility and privacy guarantee of our lazy PrefixQuery Algorithm 1.
Set L : = ⌈ log 2 D ⌉ L := \lceil\log_2 D \rceil L := ⌈ log 2 D ⌉ . We first prove (1). Fix a user u ∈ [ n ] u \in[n] u ∈ [ n ] , and let T u : = M ( X u , ε , D ) T_u := \mathcal{M}(X_u,\varepsilon,D) T u := M ( X u , ε , D ) . Note that the depth ℓ u \ell_u ℓ u and Hadamard coordinate r u r_u r u are sampled independently of the input. Therefore, it is enough to compare the conditional probabilities of the reported bit Y u Y_u Y u . For any x , x ′ ∈ [ D ] x,x' \in[D] x , x ′ ∈ [ D ] and any possible transcript ( ℓ , r , y ) (\ell,r,y) ( ℓ , r , y ) :
P [ T u = ( ℓ , r , y ) ∣ X u = x ] P [ T u = ( ℓ , r , y ) ∣ X u = x ′ ] = P [ Y u = y ∣ ℓ u = ℓ , r u = r , X u = x ] P [ Y u = y ∣ ℓ u = ℓ , r u = r , X u = x ′ ] . \frac{\mathbb{P}[T_u=(\ell,r,y)\mid X_u=x]}{\mathbb{P}[T_u=(\ell,r,y)\mid X_u=x']}=
\frac{\mathbb{P}[Y_u=y\mid\ell_u=\ell,r_u=r,X_u=x]}{\mathbb{P}[Y_u=y\mid\ell_u=\ell,r_u=r,X_u=x']}. P [ T u = ( ℓ , r , y ) ∣ X u = x ′ ] P [ T u = ( ℓ , r , y ) ∣ X u = x ] = P [ Y u = y ∣ ℓ u = ℓ , r u = r , X u = x ′ ] P [ Y u = y ∣ ℓ u = ℓ , r u = r , X u = x ] .
For any ( ℓ , r ) (\ell,r) ( ℓ , r ) , the unperturbed signs corresponding to x x x and x ′ x' x ′ are b = Had ℓ ( v ℓ ( x ) , r ) b=\operatorname{Had}_\ell(v_\ell(x),r) b = Had ℓ ( v ℓ ( x ) , r ) and b ′ = Had ℓ ( v ℓ ( x ′ ) , r ) b'=\operatorname{Had}_\ell(v_\ell(x'),r) b ′ = Had ℓ ( v ℓ ( x ′ ) , r ) , respectively. If b = b ′ b=b' b = b ′ , then the two conditional distributions are identical. If b = − b ′ b=-b' b = − b ′ , then the largest possible likelihood ratio is p ε 1 − p ε = e ε \frac{p_\varepsilon}{1-p_\varepsilon}=e^\varepsilon 1 − p ε p ε = e ε , which proves that M \mathcal{M} M is ε \varepsilon ε -LDP.
Also, note that each user produces its transcript T u T_u T u using only its own input and independent local randomness. All calls to PrefixQuery are performed by the server after the transcript Tr M ( X ) = \operatorname{Tr}_{\mathcal{M}}(X)= Tr M ( X ) = ( T 1 , … , T n ) (T_1,\ldots,T_n) ( T 1 , … , T n ) has been collected. These calls only post-process Tr M ( X ) \operatorname{Tr}_{\mathcal{M}}(X) Tr M ( X ) , so the protocol is non-interactive ε \varepsilon ε -LDP, regardless of the number of queries.
Now, we prove (2). The prefixes j = 0 j=0 j = 0 and j = D j=D j = D are exact by definition. Let j ∈ { 1 , … , D − 1 } j\in\{1,\ldots,D-1\} j ∈ { 1 , … , D − 1 } be any remaining query index, and x ∈ [ D ] x\in[D] x ∈ [ D ] be any domain point. Also, let C ( j ) = { ( ℓ i , v i ) : i ∈ [ k ] } C(j)=\{(\ell_i,v_i):i\in[k]\} C ( j ) = {( ℓ i , v i ) : i ∈ [ k ]} and
Z u : = L θ ε ∑ ( ℓ i , v i ) ∈ C ( j ) 1 { ℓ u = ℓ i } Y u Had ℓ i ( v i , r u ) Z_u := \frac{L}{\theta_\varepsilon}\sum_{(\ell_i,v_i)\in C(j)} \mathbf{1}\{\ell_u=\ell_i\}Y_u\operatorname{Had}_{\ell_i}(v_i,r_u) Z u := θ ε L ( ℓ i , v i ) ∈ C ( j ) ∑ 1 { ℓ u = ℓ i } Y u Had ℓ i ( v i , r u )
be defined as in Algorithm 1.
We show that:
Here, all expectations are over the depth sampling ( ℓ u ) (\ell_u) ( ℓ u ) , the Hadamard-coordinate sampling ( r u ) (r_u) ( r u ) , and randomized response ( Y u ) (Y_u) ( Y u ) .
Conditioned on X u = x X_u=x X u = x , ℓ u = ℓ \ell_u=\ell ℓ u = ℓ , and r u = r r_u=r r u = r , randomized response satisfies:
E [ Y u ∣ X u = x , ℓ u = ℓ , r u = r ] = θ ε Had ℓ ( v ℓ ( x ) , r ) . \mathbb{E}[Y_u\mid X_u=x,\ell_u=\ell,r_u=r]=\theta_\varepsilon\operatorname{Had}_{\ell}(v_\ell(x),r). E [ Y u ∣ X u = x , ℓ u = ℓ , r u = r ] = θ ε Had ℓ ( v ℓ ( x ) , r ) .
Since ℓ u \ell_u ℓ u is uniform over { 1 , … , L } \{1,\ldots,L\} { 1 , … , L } , it follows from Hadamard orthogonality (Claim C.1 ) that
E [ Z u ∣ X u = x ] = L θ ε ∑ ( ℓ i , v i ) ∈ C ( j ) 1 L 1 2 ℓ i ∑ r = 0 2 ℓ i − 1 θ ε Had ℓ i ( v ℓ i ( x ) , r ) Had ℓ i ( v i , r ) = ∑ ( ℓ i , v i ) ∈ C ( j ) 1 { v ℓ i ( x ) = v i } . \begin{aligned}
\mathbb{E}[Z_u\mid X_u=x]=\frac{L}{\theta_\varepsilon}\sum_{(\ell_i,v_i)\in C(j)}\frac{1}{L}\frac{1}{2^{\ell_i}}\sum_{r=0}^{2^{\ell_i}-1}\theta_\varepsilon\operatorname{Had}_{\ell_i}(v_{\ell_i}(x),r)\operatorname{Had}_{\ell_i}(v_i,r) \\
&=\sum_{(\ell_i,v_i)\in C(j)}\mathbf{1}\{v_{\ell_i}(x)=v_i\}.
\end{aligned} E [ Z u ∣ X u = x ] = θ ε L ( ℓ i , v i ) ∈ C ( j ) ∑ L 1 2 ℓ i 1 r = 0 ∑ 2 ℓ i − 1 θ ε Had ℓ i ( v ℓ i ( x ) , r ) Had ℓ i ( v i , r ) = ( ℓ i , v i ) ∈ C ( j ) ∑ 1 { v ℓ i ( x ) = v i } .
Recall that v ℓ i ( x ) = ⌊ x − 1 2 L − ℓ i ⌋ v_{\ell_i}(x)=\left\lfloor\frac{x-1}{2^{L-\ell_i}}\right\rfloor v ℓ i ( x ) = ⌊ 2 L − ℓ i x − 1 ⌋ denotes the index of the unique depth-ℓ i \ell_i ℓ i node containing x x x . Since the intervals in C ( j ) C(j) C ( j ) are disjoint and their union is [ 1 , j ] [1,j] [ 1 , j ] , the last expression equals 1 { x ≤ j } \mathbf{1}\{x\le j\} 1 { x ≤ j } , proving (I).
By Lemma 5.2 , the cover contains at most one node at every depth. Since the user samples only one depth, at most one term in the definition of Z u Z_u Z u can be nonzero. Furthermore, Y u Y_u Y u and every Hadamard entry belong to { − 1 , + 1 } \{-1,+1\} { − 1 , + 1 } . Hence ∣ Z u ∣ ≤ L / θ ε |Z_u|\le L/\theta_\varepsilon ∣ Z u ∣ ≤ L / θ ε , proving (II).
For the fixed dataset X X X , the variables Z 1 , … , Z n Z_1,\ldots,Z_n Z 1 , … , Z n are independent, although they need not be identically distributed. Let Z ~ j = 1 n ∑ u ∈ [ n ] Z u \widetilde{Z}_j=\frac{1}{n}\sum_{u\in[n]}Z_u Z j = n 1 ∑ u ∈ [ n ] Z u . By (I),
E [ Z ~ j ∣ X ] = 1 n ∑ u ∈ [ n ] E [ Z u ∣ X u ] = 1 n ∑ u ∈ [ n ] 1 { X u ≤ j } = Z j ( X ) . \begin{aligned}
\mathbb{E}\left[\widetilde{Z}_j\mid X\right]=\frac{1}{n}\sum_{u\in[n]}\mathbb{E}[Z_u\mid X_u] \\
&=\frac{1}{n}\sum_{u\in[n]}\mathbf{1}\{X_u\le j\}=Z_j(X).
\end{aligned} E [ Z j ∣ X ] = n 1 u ∈ [ n ] ∑ E [ Z u ∣ X u ] = n 1 u ∈ [ n ] ∑ 1 { X u ≤ j } = Z j ( X ) .
Using (II) and Hoeffding’s inequality for independent bounded random variables implies:
P [ ∣ Z ~ j − Z j ( X ) ∣ > α ∣ X ] ≤ 2 exp ( − 2 n 2 α 2 ∑ u ∈ [ n ] ( 2 L / θ ε ) 2 ) = 2 exp ( − n θ ε 2 α 2 2 L 2 ) . \begin{aligned}
\mathbb{P}\left[\left|\widetilde{Z}_j-Z_j(X)\right|>\alpha\mid X\right]\le2\exp\left(-\frac{2n^2\alpha^2}{\sum_{u\in[n]}(2L/\theta_\varepsilon)^2}\right) \\
&=2\exp\left(-\frac{n\theta_{\varepsilon}^{2}\alpha^{2}}{2L^{2}}\right).
\end{aligned} P [ Z j − Z j ( X ) > α ∣ X ] ≤ 2 exp ( − ∑ u ∈ [ n ] ( 2 L / θ ε ) 2 2 n 2 α 2 ) = 2 exp ( − 2 L 2 n θ ε 2 α 2 ) .
Taking a union bound over the at most D D D prefix queries results in:
P [ max j ∈ { 1 , ⋯ , D − 1 } ∣ Z ~ j − Z j ( X ) ∣ > α ∣ X ] ≤ 2 D exp ( − n θ ε 2 α 2 2 L 2 ) . \mathbb{P}\left[\max_{j\in\{1,\cdots,D-1\}}\left|\widetilde{Z}_{j}-Z_{j}(X)\right|>\alpha\mid X\right]\leq2D\exp\left(-\frac{n\theta_{\varepsilon}^{2}\alpha^{2}}{2L^{2}}\right). P [ j ∈ { 1 , ⋯ , D − 1 } max Z j − Z j ( X ) > α ∣ X ] ≤ 2 D exp ( − 2 L 2 n θ ε 2 α 2 ) .
Since θ ε ≥ ε / 4 \theta_{\varepsilon}\geq\varepsilon/4 θ ε ≥ ε /4 for 0 < ε ≤ 1 0<\varepsilon\leq1 0 < ε ≤ 1 and L ≤ 3 log D L\leq3\log D L ≤ 3 log D for D ≥ 2 D\geq2 D ≥ 2 , the right-hand side is at most β \beta β under the stated sample-size condition. Finally, clipping Z ~ j \widetilde{Z}_{j} Z j to [ 0 , 1 ] [0,1] [ 0 , 1 ] cannot increase its distance from Z j ( X ) ∈ [ 0 , 1 ] Z_{j}(X)\in[0,1] Z j ( X ) ∈ [ 0 , 1 ] , which concludes the proof for (2).
Finally, we prove (3). Each user constructs and stores its report in O ( 1 ) O(1) O ( 1 ) time and O ( 1 ) O(1) O ( 1 ) words, so user preprocessing takes O ( n ) O(n) O ( n ) total time. For each prefix query, the server constructs the dyadic cover in O ( L ) O(L) O ( L ) time and scans the n n n reports in O ( n ) O(n) O ( n ) time, using a cover representation indexed by depth. Thus, one query takes O ( n + log D ) O(n+\log D) O ( n + log D ) time, and q ≥ 1 q\geq1 q ≥ 1 queries take O ( q ( n + log D ) ) O(q(n+\log D)) O ( q ( n + log D )) total time including user preprocessing, without materializing the full tree or a length-D D D vector.
Lemma C.2 (L 1 L_{1} L 1 Stability of Discretization). Let R , δ > 0 R,\delta>0 R , δ > 0 be parameters, and let P P P and P ′ P' P ′ be two probability distributions over R \mathbb{R} R . Then,
∥ D i s c R , δ ( P ) − D i s c R , δ ( P ′ ) ∥ 1 ≤ ∥ P − P ′ ∥ 1 . \left\|\mathrm{Disc}_{R,\delta}(P)-\mathrm{Disc}_{R,\delta}(P')\right\|_{1}\leq\left\|P-P'\right\|_{1}. ∥ Disc R , δ ( P ) − Disc R , δ ( P ′ ) ∥ 1 ≤ ∥ P − P ′ ∥ 1 .
Proof. Let B j B_j B j ’s be the intervals from Definition 6.2. Since the intervals B j B_j B j ’s are pairwise disjoint, we have:
∥ D i s c R , δ ( P ) − D i s c R , δ ( P ′ ) ∥ 1 = ∑ j = 1 D ∣ P ( B j ) − P ′ ( B j ) ∣ ≤ ∥ P − P ′ ∥ 1 , \left\|\mathrm{Disc}_{R,\delta}(P)-\mathrm{Disc}_{R,\delta}(P')\right\|_{1}
=\sum_{j=1}^{D}\left|P(B_j)-P'(B_j)\right|
\leq\left\|P-P'\right\|_{1}, ∥ Disc R , δ ( P ) − Disc R , δ ( P ′ ) ∥ 1 = j = 1 ∑ D ∣ P ( B j ) − P ′ ( B j ) ∣ ≤ ∥ P − P ′ ∥ 1 ,
where the inequality follows because ( B j ) j = 1 D (B_j)_{j=1}^{D} ( B j ) j = 1 D is a measurable partition of R \mathbb{R} R .
Proof of Theorem 6.3 . Putting together, we are ready to prove the utility and privacy guarantee of our LDP synthetic data generator in Algorithm 2.
Set D : = ⌈ 2 R / δ ⌉ + 2 D:=\lceil2R/\delta\rceil+2 D := ⌈ 2 R / δ ⌉ + 2 and L : = ⌈ log 2 D ⌉ L:=\lceil\log_{2}D\rceil L := ⌈ log 2 D ⌉ . Since δ ≤ R / 2 \delta\leq R/2 δ ≤ R /2 , we have R / δ ≥ 2 R/\delta\geq2 R / δ ≥ 2 , and 2 R / δ ≤ D ≤ 4 R / δ 2R/\delta\leq D\leq4R/\delta 2 R / δ ≤ D ≤ 4 R / δ . In particular, log D = O ( log ( R / δ ) ) \log D=O(\log(R/\delta)) log D = O ( log ( R / δ )) and L = O ( log ( R / δ ) ) L=O(\log(R/\delta)) L = O ( log ( R / δ )) .
Let the real line partitioning B 1 = ( − ∞ , − R ) B_{1}=(-\infty,-R) B 1 = ( − ∞ , − R ) , B j = [ c j − 1 , c j ) B_{j}=[c_{j-1},c_{j}) B j = [ c j − 1 , c j ) , B D = [ R , + ∞ ) B_{D}=[R,+\infty) B D = [ R , + ∞ ) , be as in Definition 6.2, where c 0 = − R − δ c_{0}=-R-\delta c 0 = − R − δ , c j = − R + min { ( j − 1 ) δ , 2 R } c_{j}=-R+\min\{(j-1)\delta,2R\} c j = − R + min {( j − 1 ) δ , 2 R } , c D = R + δ c_{D}=R+\delta c D = R + δ .
We first prove (1). Each user computes the interval index X ~ u = D i s c R , δ ( X u ) \widetilde{X}_{u}=\mathrm{Disc}_{R,\delta}(X_{u}) X u = Disc R , δ ( X u ) locally and applies the randomizer in Algorithm 4. For any two real inputs, their indices belong to [ D ] [D] [ D ] , so Theorem 6.1 proves ε \varepsilon ε -local differential privacy. The protocol is non-interactive, and all remaining steps are post-processing of the transcripts T r \mathrm{Tr} Tr .
Now, we prove (2). Let P ~ = D i s c R , δ ( P ) \widetilde{P}=\mathrm{Disc}_{R,\delta}(P) P = Disc R , δ ( P ) , and write F P ~ ( x ) = P X ∼ P ~ ( X ≤ x ) F_{\widetilde{P}}(x)=\mathbb{P}_{X\sim\widetilde{P}}(X\leq x) F P ( x ) = P X ∼ P ( X ≤ x ) for its CDF. By Definition 6.2, F P ~ F_{\widetilde{P}} F P is continuous and linear on each interval [ c j − 1 , c j ] [c_{j-1},c_j] [ c j − 1 , c j ] , and
F P ~ ( c j ) = ∑ i = 1 j P ( B i ) = P X ∼ P [ D i s c R , δ ( X ) ≤ j ] , j ∈ { 0 , ⋯ , D } . F_{\widetilde{P}}(c_j)=\sum_{i=1}^{j}P(B_i)=\mathbb{P}_{X\sim P}\left[\mathrm{Disc}_{R,\delta}(X)\leq j\right],\qquad j\in\{0,\cdots,D\}. F P ( c j ) = i = 1 ∑ j P ( B i ) = P X ∼ P [ Disc R , δ ( X ) ≤ j ] , j ∈ { 0 , ⋯ , D } .
Let X ~ = ( X ~ 1 , … , X ~ n ) \widetilde{X}=(\widetilde{X}_1,\ldots,\widetilde{X}_n) X = ( X 1 , … , X n ) be the discretized dataset, and define its prefix frequencies by
Z j ( X ~ ) : = 1 n ∑ u ∈ [ n ] 1 { X ~ u ≤ j } , j ∈ { 0 , … , D } . Z_j(\widetilde{X}) := \frac{1}{n}\sum_{u\in[n]} \mathbf{1}\{\widetilde{X}_u\le j\}, \qquad j\in\{0,\ldots,D\}. Z j ( X ) := n 1 u ∈ [ n ] ∑ 1 { X u ≤ j } , j ∈ { 0 , … , D } .
Let α ′ : = α / 2 \alpha' := \alpha/2 α ′ := α /2 . Conditioned on any realization of X ~ \widetilde{X} X , Theorem 6.1 , with accuracy parameter α ′ / 2 \alpha'/2 α ′ /2 and failure probability β / 2 \beta/2 β /2 , gives
max j ∈ { 0 , … , D } ∣ Z ^ j − Z j ( X ~ ) ∣ ≤ α ′ 2 \max_{j\in\{0,\ldots,D\}}\left|\widehat{Z}_j-Z_j(\widetilde{X})\right|\le\frac{\alpha'}{2} j ∈ { 0 , … , D } max Z j − Z j ( X ) ≤ 2 α ′
with probability at least 1 − β / 2 1-\beta/2 1 − β /2 over the local randomizers, provided that n ≥ 288 ( log D ) 2 ε 2 ( α ′ / 2 ) 2 log ( 4 D β ) n\ge\frac{288(\log D)^2}{\varepsilon^2(\alpha'/2)^2}\log\left(\frac{4D}{\beta}\right) n ≥ ε 2 ( α ′ /2 ) 2 288 ( l o g D ) 2 log ( β 4 D ) .
Since the prefix-oracle guarantee holds for every fixed dataset, the same probability bound holds over the joint sampling and local randomness.
Furthermore, since X 1 , … , X n X_1,\ldots,X_n X 1 , … , X n are drawn i.i.d. from P P P , we have E X ∼ P [ Z j ( Disc R , δ ( X ) ) ] = E X ∼ P [ Z j ( X ~ ) ] = F P ~ ( c j ) \mathbb{E}_{X\sim P}[Z_j(\operatorname{Disc}_{R,\delta}(X))]=\mathbb{E}_{X\sim P}[Z_j(\widetilde{X})]=F_{\widetilde{P}}(c_j) E X ∼ P [ Z j ( Disc R , δ ( X ))] = E X ∼ P [ Z j ( X )] = F P ( c j ) . Using Hoeffding’s inequality, followed by a union bound over the prefixes, gives
P [ max j ∈ { 0 , … , D } ∣ Z j ( X ~ ) − F P ~ ( c j ) ∣ > α ′ 2 ] ≤ 2 D exp ( − n ( α ′ ) 2 2 ) ≤ β 2 . \mathbb{P}\left[\max_{j\in\{0,\ldots,D\}}\left|Z_j(\widetilde{X})-F_{\widetilde{P}}(c_j)\right|>\frac{\alpha'}{2}\right]\le2D\exp\left(-\frac{n(\alpha')^2}{2}\right)\le\frac{\beta}{2}. P [ j ∈ { 0 , … , D } max Z j ( X ) − F P ( c j ) > 2 α ′ ] ≤ 2 D exp ( − 2 n ( α ′ ) 2 ) ≤ 2 β .
Combining the two bounds, with probability at least 1 − β 1-\beta 1 − β over the sampling and local randomizers, the triangle inequality gives
∣ Z ^ j − F P ~ ( c j ) ∣ ≤ ∣ Z ^ j − Z j ( X ~ ) ∣ + ∣ Z j ( X ~ ) − F P ~ ( c j ) ∣ ≤ α ′ 2 + α ′ 2 = α ′ \left|\widehat{Z}_j-F_{\widetilde{P}}(c_j)\right|\le\left|\widehat{Z}_j-Z_j(\widetilde{X})\right|+\left|Z_j(\widetilde{X})-F_{\widetilde{P}}(c_j)\right|\le\frac{\alpha'}{2}+\frac{\alpha'}{2}=\alpha' Z j − F P ( c j ) ≤ Z j − Z j ( X ) + Z j ( X ) − F P ( c j ) ≤ 2 α ′ + 2 α ′ = α ′
for every j ∈ { 0 , … , D } j\in\{0,\ldots,D\} j ∈ { 0 , … , D } simultaneously. We condition on this event throughout the rest of the proof. Furthermore, Z ^ 0 = 0 \widehat{Z}_0=0 Z 0 = 0 and Z ^ D = 1 \widehat{Z}_D=1 Z D = 1 , but the Z ^ j \widehat{Z}_j Z j ’s are not necessarily monotone.
For each ℓ ∈ [ M ] \ell\in[M] ℓ ∈ [ M ] , the binary search maintains the condition A = Z ^ a < u ℓ ≤ Z ^ b = B A=\widehat{Z}_a<u_\ell\le\widehat{Z}_b=B A = Z a < u ℓ ≤ Z b = B . At termination, a = b − 1 a=b-1 a = b − 1 , so that B − A > 0 B-A>0 B − A > 0 and λ ℓ = ( u ℓ − A ) / ( B − A ) ∈ ( 0 , 1 ] \lambda_\ell=(u_\ell-A)/(B-A)\in(0,1] λ ℓ = ( u ℓ − A ) / ( B − A ) ∈ ( 0 , 1 ] . Thus, the interpolation step is well-defined, and it holds that u ℓ = ( 1 − λ ℓ ) Z ^ b − 1 + λ ℓ Z ^ b u_\ell=(1-\lambda_\ell)\widehat{Z}_{b-1}+\lambda_\ell\widehat{Z}_b u ℓ = ( 1 − λ ℓ ) Z b − 1 + λ ℓ Z b , and F P ~ ( z ℓ ) = ( 1 − λ ℓ ) F P ~ ( c b − 1 ) + λ ℓ F P ~ ( c b ) F_{\widetilde{P}}(z_\ell)=(1-\lambda_\ell)F_{\widetilde{P}}(c_{b-1})+\lambda_\ell F_{\widetilde{P}}(c_b) F P ( z ℓ ) = ( 1 − λ ℓ ) F P ( c b − 1 ) + λ ℓ F P ( c b ) . Therefore, the simultaneous accuracy bound implies:
∣ F P ~ ( z ℓ ) − u ℓ ∣ ≤ ( 1 − λ ℓ ) ∣ F P ~ ( c b − 1 ) − Z ^ b − 1 ∣ + λ ℓ ∣ F P ~ ( c b ) − Z ^ b ∣ ≤ α ′ . \left|F_{\widetilde{P}}(z_\ell)-u_\ell\right|\le(1-\lambda_\ell)\left|F_{\widetilde{P}}(c_{b-1})-\widehat{Z}_{b-1}\right|+\lambda_\ell\left|F_{\widetilde{P}}(c_b)-\widehat{Z}_b\right|\le\alpha'. F P ( z ℓ ) − u ℓ ≤ ( 1 − λ ℓ ) F P ( c b − 1 ) − Z b − 1 + λ ℓ F P ( c b ) − Z b ≤ α ′ .
Write F H F_H F H for the CDF of H H H . Fix any x ∈ R x\in\mathbb{R} x ∈ R . By the preceding accuracy bound and monotonicity of F P ~ F_{\widetilde{P}} F P , if z ℓ ≤ x z_\ell\le x z ℓ ≤ x , then u ℓ ≤ F P ~ ( z ℓ ) + α ′ ≤ F P ~ ( x ) + α ′ u_\ell\le F_{\widetilde{P}}(z_\ell)+\alpha'\le F_{\widetilde{P}}(x)+\alpha' u ℓ ≤ F P ( z ℓ ) + α ′ ≤ F P ( x ) + α ′ . Similarly, if z ℓ > x z_\ell>x z ℓ > x , then u ℓ ≥ F P ~ ( z ℓ ) − α ′ ≥ F P ~ ( x ) − α ′ u_\ell\ge F_{\widetilde{P}}(z_\ell)-\alpha'\ge F_{\widetilde{P}}(x)-\alpha' u ℓ ≥ F P ( z ℓ ) − α ′ ≥ F P ( x ) − α ′ .
Since u ℓ = ( ℓ − 1 / 2 ) / M u_\ell=(\ell-1/2)/M u ℓ = ( ℓ − 1/2 ) / M , these inequalities give
F H ( x ) ≤ 1 M ∑ ℓ ∈ [ M ] 1 { u ℓ ≤ F P ~ ( x ) + α ′ } ≤ F P ~ ( x ) + α ′ + 1 2 M . F_H(x)\le\frac{1}{M}\sum_{\ell\in[M]}\mathbf{1}\{u_\ell\le F_{\widetilde{P}}(x)+\alpha'\}\le F_{\widetilde{P}}(x)+\alpha'+\frac{1}{2M}. F H ( x ) ≤ M 1 ℓ ∈ [ M ] ∑ 1 { u ℓ ≤ F P ( x ) + α ′ } ≤ F P ( x ) + α ′ + 2 M 1 .
1 − F H ( x ) ≤ 1 M ∑ ℓ ∈ [ M ] 1 { u ℓ ≥ F P ~ ( x ) − α ′ } ≤ 1 − F P ~ ( x ) + α ′ + 1 2 M . 1-F_H(x)\le\frac{1}{M}\sum_{\ell\in[M]}\mathbf{1}\{u_\ell\ge F_{\widetilde{P}}(x)-\alpha'\}\le1-F_{\widetilde{P}}(x)+\alpha'+\frac{1}{2M}. 1 − F H ( x ) ≤ M 1 ℓ ∈ [ M ] ∑ 1 { u ℓ ≥ F P ( x ) − α ′ } ≤ 1 − F P ( x ) + α ′ + 2 M 1 .
Putting together, gives
∥ F H − F P ~ ∥ ∞ = sup x ∈ R ∣ F H ( x ) − F P ~ ( x ) ∣ ≤ α ′ + 1 2 M ≤ α 2 + α 2 = α . \lVert F_H-F_{\widetilde{P}}\rVert_\infty=\sup_{x\in\mathbb{R}}\lvert F_H(x)-F_{\widetilde{P}}(x)\rvert\leq\alpha' + \frac{1}{2M}\leq\frac{\alpha}{2}+\frac{\alpha}{2}=\alpha. ∥ F H − F P ∥ ∞ = x ∈ R sup ∣ F H ( x ) − F P ( x )∣ ≤ α ′ + 2 M 1 ≤ 2 α + 2 α = α .
This argument does not require the estimated prefix values to be monotone.
Finally, to see (3), computing the interval index and generating the local randomized response each take O ( 1 ) O(1) O ( 1 ) time per user. Thus, user preprocessing takes O ( n ) O(n) O ( n ) total time. Generating the synthetic dataset requires M M M binary searches, each with at most L L L prefix queries and constant additional work per step. By Theorem 6.1 , each query takes O ( n + L ) O(n+L) O ( n + L ) time. Thus, the total run-time of the algorithm is
O ( n + M L ( n + L ) ) = O ( 1 α log ( R δ ) ( n + log ( R δ ) ) ) . O\left(n+ML(n+L)\right)=O\left(\frac{1}{\alpha}\log\left(\frac{R}{\delta}\right)\left(n+\log\left(\frac{R}{\delta}\right)\right)\right). O ( n + M L ( n + L ) ) = O ( α 1 log ( δ R ) ( n + log ( δ R ) ) ) .
where we used M = ⌈ 1 / α ⌉ = O ( 1 / α ) M=\lceil1/\alpha\rceil=O(1/\alpha) M = ⌈ 1/ α ⌉ = O ( 1/ α ) and L = O ( log ( R / δ ) ) L=O(\log(R/\delta)) L = O ( log ( R / δ )) . The assumption δ ≤ R / 2 \delta\leq R/2 δ ≤ R /2 is used only to simplify the bounds.
Proof of the main theorem from section 7
Proof of Theorem 7.1 . We now prove the guarantees of our LDP agnostic learning algorithm.
Let C ≥ 3 C\geq3 C ≥ 3 be a universal constant for which Proposition 5.4 holds, and set t = ( C + 1 ) ( d + 1 ) s t=(C+1)(d+1)s t = ( C + 1 ) ( d + 1 ) s , and M = ⌈ 2 t α ⌉ M=\left\lceil\frac{2t}{\alpha}\right\rceil M = ⌈ α 2 t ⌉ .
Let P ~ : = Disc R , δ ( P ) \widetilde{P}:=\operatorname{Disc}_{R,\delta}(P) P := Disc R , δ ( P ) with support I R , δ : = [ − R − δ , R + δ ] I_{R,\delta}:=[-R-\delta,R+\delta] I R , δ := [ − R − δ , R + δ ] . Using Theorem 6.3 , with accuracy parameter α / ( 2 t ) \alpha/(2t) α / ( 2 t ) , the stated sample size suffices to obtain a synthetic multiset Z ⊆ I R , δ \mathcal{Z}\subseteq I_{R,\delta} Z ⊆ I R , δ of size M M M , with empirical probability measure H H H , such that
∥ F H − F P ~ ∥ ∞ ≤ α 2 t = α 2 ( C + 1 ) ( d + 1 ) s (3) \lVert F_H-F_{\widetilde{P}}\rVert_\infty\leq\frac{\alpha}{2t}=\frac{\alpha}{2(C+1)(d+1)s} \tag*{(3)} ∥ F H − F P ∥ ∞ ≤ 2 t α = 2 ( C + 1 ) ( d + 1 ) s α (3)
with probability at least 1 − β 1-\beta 1 − β . We condition on this event for the rest of the proof.
Run the deterministic algorithm from Proposition 5.4 on I R , δ , Z , s , d I_{R,\delta},\mathcal{Z},s,d I R , δ , Z , s , d , with parameter η = α \eta=\alpha η = α . Since P ~ \widetilde{P} P has a density supported on I R , δ I_{R,\delta} I R , δ , the Kolmogorov bound (D.1) satisfies the requirement of the proposition for P ⋆ = P ~ P^\star=\widetilde{P} P ⋆ = P . Thus, the output of the deterministic piece-wise polynomial learner Q ∈ P s , d Q\in\mathcal{P}_{s,d} Q ∈ P s , d is nonnegative and satisfies:
∥ Q − P ~ ∥ 1 ≤ 4 inf P ′ ∈ P s , d ∥ P ′ − P ~ ∥ 1 + 4 α . (4) \lVert Q-\widetilde{P}\rVert_1\leq4\inf_{P'\in\mathcal{P}_{s,d}}\lVert P'-\widetilde{P}\rVert_1+4\alpha. \tag*{(4)} ∥ Q − P ∥ 1 ≤ 4 P ′ ∈ P s , d inf ∥ P ′ − P ∥ 1 + 4 α . (4)
Fix any F ∈ F F\in\mathcal{F} F ∈ F . We can write:
∥ F − P ~ ∥ 1 ≤ ∥ F − Disc R , δ ( F ) ∥ 1 + ∥ Disc R , δ ( F ) − Disc R , δ ( P ) ∥ 1 (5) \lVert F-\widetilde{P}\rVert_1\leq\lVert F-\operatorname{Disc}_{R,\delta}(F)\rVert_1+\lVert\operatorname{Disc}_{R,\delta}(F)-\operatorname{Disc}_{R,\delta}(P)\rVert_1 \tag*{(5)} ∥ F − P ∥ 1 ≤ ∥ F − Disc R , δ ( F ) ∥ 1 + ∥ Disc R , δ ( F ) − Disc R , δ ( P ) ∥ 1 (5)
≤ Disc-Err R , δ ( F ) + ∥ F − P ∥ 1 , (6) \leq\operatorname{Disc\text{-}Err}_{R,\delta}(F)+\lVert F-P\rVert_1, \tag*{(6)} ≤ Disc - Err R , δ ( F ) + ∥ F − P ∥ 1 , (6)
where the first inequality follows from the triangle inequality, and the second follows from Definition 2.3 and the fact that Disc R , δ \operatorname{Disc}_{R,\delta} Disc R , δ is a Markov operator and does not increase L 1 L_1 L 1 distance (see Lemma C.2 ).
Consequently, we can write:
inf P ′ ∈ P s , d ∥ P ′ − P ~ ∥ 1 ≤ inf P ′ ∈ P s , d ∥ P ′ − F ∥ 1 + ∥ F − P ~ ∥ 1 ≤ Poly-Approx s , d ( F ) + Disc-Err R , δ ( F ) + ∥ F − P ∥ 1 . \begin{aligned}
\inf_{P' \in\mathcal{P}_{s,d}} \lVert P' - \widetilde{P} \rVert_1 \le\inf_{P' \in\mathcal{P}_{s,d}} \lVert P' - F \rVert_1 + \lVert F - \widetilde{P} \rVert_1 \\
&\le\operatorname{Poly-Approx}_{s,d}(\mathcal{F}) + \operatorname{Disc-Err}_{R,\delta}(\mathcal{F}) + \lVert F - P \rVert_1.
\end{aligned} P ′ ∈ P s , d inf ∥ P ′ − P ∥ 1 ≤ P ′ ∈ P s , d inf ∥ P ′ − F ∥ 1 + ∥ F − P ∥ 1 ≤ Poly-Approx s , d ( F ) + Disc-Err R , δ ( F ) + ∥ F − P ∥ 1 .
Putting together with (D.2), we get:
∥ Q − P ~ ∥ 1 ≤ 4 α + 4 Poly-Approx s , d ( F ) + 4 Disc-Err R , δ ( F ) + 4 ∥ F − P ∥ 1 . (7) \lVert Q - \widetilde{P} \rVert_1 \le4\alpha+ 4\operatorname{Poly-Approx}_{s,d}(\mathcal{F}) + 4\operatorname{Disc-Err}_{R,\delta}(\mathcal{F}) + 4\lVert F - P \rVert_1. \tag*{(7)} ∥ Q − P ∥ 1 ≤ 4 α + 4 Poly-Approx s , d ( F ) + 4 Disc-Err R , δ ( F ) + 4 ∥ F − P ∥ 1 . (7)
Since Q Q Q is a piece-wise polynomial supported on the bounded interval I R , δ I_{R,\delta} I R , δ , it is integrable. Let m 0 : = ∫ R Q ( x ) d x < ∞ m_0 := \int_{\mathbb{R}} Q(x)\,\mathrm{d}x < \infty m 0 := ∫ R Q ( x ) d x < ∞ , and define the normalized output distribution by:
P ^ : = { Q / m 0 , m 0 > 0 , Unif ( I R , δ ) , m 0 = 0. \widehat{P} :=
\begin{cases}
Q/m_0, & m_0 > 0,\\
\operatorname{Unif}(I_{R,\delta}), & m_0 = 0.
\end{cases} P := { Q / m 0 , Unif ( I R , δ ) , m 0 > 0 , m 0 = 0.
If m 0 > 0 m_0 > 0 m 0 > 0 , then
∥ P ^ − P ~ ∥ 1 ≤ ∥ P ^ − Q ∥ 1 + ∥ Q − P ~ ∥ 1 = ∣ 1 − m 0 ∣ + ∥ Q − P ~ ∥ 1 ≤ 2 ∥ Q − P ~ ∥ 1 . (8) \lVert\widehat{P} - \widetilde{P} \rVert_1 \le\lVert\widehat{P} - Q \rVert_1 + \lVert Q - \widetilde{P} \rVert_1 = \lvert1 - m_0 \rvert+ \lVert Q - \widetilde{P} \rVert_1 \le2\lVert Q - \widetilde{P} \rVert_1. \tag*{(8)} ∥ P − P ∥ 1 ≤ ∥ P − Q ∥ 1 + ∥ Q − P ∥ 1 = ∣ 1 − m 0 ∣ + ∥ Q − P ∥ 1 ≤ 2 ∥ Q − P ∥ 1 . (8)
If m 0 = 0 m_0 = 0 m 0 = 0 , then ∥ Q − P ~ ∥ 1 = 1 \lVert Q - \widetilde{P} \rVert_1 = 1 ∥ Q − P ∥ 1 = 1 and ∥ P ^ − P ~ ∥ 1 ≤ 2 \lVert\widehat{P} - \widetilde{P} \rVert_1 \le2 ∥ P − P ∥ 1 ≤ 2 . Therefore, in both cases, we have ∥ P ^ − P ~ ∥ 1 ≤ 2 ∥ Q − P ~ ∥ 1 \lVert\widehat{P} - \widetilde{P} \rVert_1 \le2\lVert Q - \widetilde{P} \rVert_1 ∥ P − P ∥ 1 ≤ 2 ∥ Q − P ∥ 1 . Note that P ^ \widehat{P} P remains a piece-wise polynomial, since normalization preserves the number and degrees of the polynomial pieces, and the fallback density Unif ( I R , δ ) \operatorname{Unif}(I_{R,\delta}) Unif ( I R , δ ) has at most three pieces on R \mathbb{R} R .
Moreover, we can write:
∥ P ~ − P ∥ 1 ≤ ∥ P ~ − F ∥ 1 + ∥ F − P ∥ 1 (9) \lVert\widetilde{P} - P \rVert_1 \le\lVert\widetilde{P} - F \rVert_1 + \lVert F - P \rVert_1 \tag*{(9)} ∥ P − P ∥ 1 ≤ ∥ P − F ∥ 1 + ∥ F − P ∥ 1 (9)
≤ ∥ Disc R , δ ( P ) − Disc R , δ ( F ) ∥ 1 + ∥ Disc R , δ ( F ) − F ∥ 1 + ∥ F − P ∥ 1 (10) \le\lVert\operatorname{Disc}_{R,\delta}(P) - \operatorname{Disc}_{R,\delta}(F) \rVert_1 + \lVert\operatorname{Disc}_{R,\delta}(F) - F \rVert_1 + \lVert F - P \rVert_1 \tag*{(10)} ≤ ∥ Disc R , δ ( P ) − Disc R , δ ( F ) ∥ 1 + ∥ Disc R , δ ( F ) − F ∥ 1 + ∥ F − P ∥ 1 (10)
≤ ∥ P − F ∥ 1 + ∥ Disc R , δ ( F ) − F ∥ 1 + ∥ F − P ∥ 1 (11) \le\lVert P - F \rVert_1 + \lVert\operatorname{Disc}_{R,\delta}(F) - F \rVert_1 + \lVert F - P \rVert_1 \tag*{(11)} ≤ ∥ P − F ∥ 1 + ∥ Disc R , δ ( F ) − F ∥ 1 + ∥ F − P ∥ 1 (11)
≤ 2 ∥ F − P ∥ 1 + Disc-Err R , δ ( F ) , (12) \le2\lVert F - P \rVert_1 + \operatorname{Disc-Err}_{R,\delta}(\mathcal{F}), \tag*{(12)} ≤ 2 ∥ F − P ∥ 1 + Disc-Err R , δ ( F ) , (12)
where the first two inequalities follow from the triangle inequality, the third follows because Disc R , δ \operatorname{Disc}_{R,\delta} Disc R , δ is a Markov operator and does not increase L 1 L_1 L 1 distance (see Lemma C.2 ), and the last follows from Definition 2.3.
Finally, we can write:
∥ P ^ − P ∥ 1 ≤ ∥ P ^ − P ~ ∥ 1 + ∥ P ~ − P ∥ 1 \lVert\widehat{P} - P \rVert_1 \le\lVert\widehat{P} - \widetilde{P} \rVert_1 + \lVert\widetilde{P} - P \rVert_1 ∥ P − P ∥ 1 ≤ ∥ P − P ∥ 1 + ∥ P − P ∥ 1
≤ 2 ∥ Q − P ~ ∥ 1 + ∥ P ~ − P ∥ 1 \le2\lVert Q - \widetilde{P} \rVert_1 + \lVert\widetilde{P} - P \rVert_1 ≤ 2 ∥ Q − P ∥ 1 + ∥ P − P ∥ 1
≤ 8 α + 8 ∥ F − P ∥ 1 + 8 Disc-Err R , δ ( F ) + 8 Poly-Approx s , d ( F ) + ∥ P ~ − P ∥ 1 \le8\alpha+ 8\lVert F - P \rVert_1 + 8\operatorname{Disc-Err}_{R,\delta}(\mathcal{F}) + 8\operatorname{Poly-Approx}_{s,d}(\mathcal{F}) + \lVert\widetilde{P} - P \rVert_1 ≤ 8 α + 8 ∥ F − P ∥ 1 + 8 Disc-Err R , δ ( F ) + 8 Poly-Approx s , d ( F ) + ∥ P − P ∥ 1
≤ 8 α + 10 ∥ F − P ∥ 1 + 9 Disc-Err R , δ ( F ) + 8 Poly-Approx s , d ( F ) , \le8\alpha+ 10\lVert F - P \rVert_1 + 9\operatorname{Disc-Err}_{R,\delta}(\mathcal{F}) + 8\operatorname{Poly-Approx}_{s,d}(\mathcal{F}), ≤ 8 α + 10 ∥ F − P ∥ 1 + 9 Disc-Err R , δ ( F ) + 8 Poly-Approx s , d ( F ) ,
where the first inequality follows from the triangle inequality, the second follows from (D.6), the third follows from (D.5), and the last follows from (D.10). Taking the infimum over F ∈ F F \in\mathcal{F} F ∈ F gives
∥ P ^ − P ∥ 1 ≤ 10 inf F ∈ F ∥ F − P ∥ 1 + 8 α + 9 Disc-Err R , δ ( F ) + 8 Poly-Approx s , d ( F ) . \lVert\widehat{P} - P \rVert_1 \le10 \inf_{F \in\mathcal{F}} \lVert F - P \rVert_1 + 8\alpha+ 9\operatorname{Disc-Err}_{R,\delta}(\mathcal{F}) + 8\operatorname{Poly-Approx}_{s,d}(\mathcal{F}). ∥ P − P ∥ 1 ≤ 10 F ∈ F inf ∥ F − P ∥ 1 + 8 α + 9 Disc-Err R , δ ( F ) + 8 Poly-Approx s , d ( F ) .
Privacy and non-interactivity follow from Theorem 6.3 , since fitting and normalization are post-processing operations. By Theorem 6.3 and Proposition 5.4 , the total running time is
O ( t α log ( R δ ) ( n + log ( R δ ) ) ) + O ~ ( M ( d + 1 ) ω + 2 log + 3 ( s α ) ( 1 + log + ( M s ) ) ) . O\left(\frac{t}{\alpha}\log\left(\frac{R}{\delta}\right)\left(n+\log\left(\frac{R}{\delta}\right)\right)\right)+\widetilde{O}\left(M(d+1)^{\omega+2}\log_{+}^{3}\left(\frac{s}{\alpha}\right)\left(1+\log_{+}\left(\frac{M}{s}\right)\right)\right). O ( α t log ( δ R ) ( n + log ( δ R ) ) ) + O ( M ( d + 1 ) ω + 2 log + 3 ( α s ) ( 1 + log + ( s M ) ) ) .
where log + ( x ) : = max { 1 , log x } \log_{+}(x):=\max\{1,\log x\} log + ( x ) := max { 1 , log x } , and the O ~ \widetilde{O} O term hides only logarithmic factors in M M M and d + 1 d+1 d + 1 .
For the chosen sample size, n = Ω ( log ( R / δ ) ) n=\Omega(\log(R/\delta)) n = Ω ( log ( R / δ )) , so n + log ( R / δ ) = O ( n ) n+\log(R/\delta)=O(n) n + log ( R / δ ) = O ( n ) , t = O ( s ( d + 1 ) ) t=O(s(d+1)) t = O ( s ( d + 1 )) , M = O ( s ( d + 1 ) / α ) M=O(s(d+1)/\alpha) M = O ( s ( d + 1 ) / α ) , and M / s = O ( ( d + 1 ) / α ) M/s=O((d+1)/\alpha) M / s = O (( d + 1 ) / α ) . Absorbing only logarithmic factors in s s s , d + 1 d+1 d + 1 , and 1 / α 1/\alpha 1/ α therefore gives the stated runtime bound in the theorem. Integrating and normalizing the polynomial pieces takes O ( s ( d + 1 ) ) O(s(d+1)) O ( s ( d + 1 )) additional operations, which is absorbed in the bound.
Omitted proofs from section 8
Proof of Lemma 8.2. We prove that bounding the polynomial approximation and discretization errors of mixture classes reduces to bounding the corresponding errors for the single-component classes.
Fix an arbitrary mixture F = ∑ i ∈ [ m ] w i F i ∈ m -mix ( F ) F=\sum_{i\in[m]}w_iF_i\in m\text{-mix}(\mathcal{F}) F = ∑ i ∈ [ m ] w i F i ∈ m -mix ( F ) .
First we prove (1). By Definition 6.2, Disc R , δ ( F ) = ∑ i ∈ [ m ] w i Disc R , δ ( F i ) \operatorname{Disc}_{R,\delta}(F)=\sum_{i\in[m]}w_i\operatorname{Disc}_{R,\delta}(F_i) Disc R , δ ( F ) = ∑ i ∈ [ m ] w i Disc R , δ ( F i ) . Therefore, the triangle inequality gives
∥ Disc R , δ ( F ) − F ∥ 1 ≤ ∑ i ∈ [ m ] w i ∥ Disc R , δ ( F i ) − F i ∥ 1 ≤ Disc-Err R , δ ( F ) . \begin{aligned}
\left\|\operatorname{Disc}_{R,\delta}(F)-F\right\|_1\leq\sum_{i\in[m]}w_i\left\|\operatorname{Disc}_{R,\delta}(F_i)-F_i\right\|_1 \\
&\leq\operatorname{Disc\text{-}Err}_{R,\delta}(\mathcal{F}).
\end{aligned} ∥ Disc R , δ ( F ) − F ∥ 1 ≤ i ∈ [ m ] ∑ w i ∥ Disc R , δ ( F i ) − F i ∥ 1 ≤ Disc - Err R , δ ( F ) .
Taking the supremum over F ∈ m -mix ( F ) F\in m\text{-mix}(\mathcal{F}) F ∈ m -mix ( F ) proves one direction. The reverse inequality follows from F ⊆ m -mix ( F ) \mathcal{F}\subseteq m\text{-mix}(\mathcal{F}) F ⊆ m -mix ( F ) .
Next, we show (2). Fix η > 0 \eta>0 η > 0 . For each i ∈ [ m ] i\in[m] i ∈ [ m ] , choose P i ∈ P s , d P_i\in\mathcal{P}_{s,d} P i ∈ P s , d satisfying
∥ P i − F i ∥ 1 ≤ Poly-Approx s , d ( F ) + η , \left\|P_i-F_i\right\|_1\leq\operatorname{Poly\text{-}Approx}_{s,d}(\mathcal{F})+\eta, ∥ P i − F i ∥ 1 ≤ Poly - Approx s , d ( F ) + η ,
and set P : = ∑ i ∈ [ m ] w i P i P:=\sum_{i\in[m]}w_iP_i P := ∑ i ∈ [ m ] w i P i . Each P i P_i P i has at most s − 1 s-1 s − 1 breakpoints. Their common refinement therefore has at most m ( s − 1 ) + 1 m(s-1)+1 m ( s − 1 ) + 1 interval pieces, and taking weighted sums does not increase the degree of the underlying polynomials. Since P P P is nonnegative and integrable, we have P ∈ P m ( s − 1 ) + 1 , d P\in\mathcal{P}_{m(s-1)+1,d} P ∈ P m ( s − 1 ) + 1 , d . Moreover,
∥ P − F ∥ 1 ≤ ∑ i ∈ [ m ] w i ∥ P i − F i ∥ 1 ≤ Poly-Approx s , d ( F ) + η . \left\|P-F\right\|_1\leq\sum_{i\in[m]}w_i\left\|P_i-F_i\right\|_1\leq\operatorname{Poly\text{-}Approx}_{s,d}(\mathcal{F})+\eta. ∥ P − F ∥ 1 ≤ i ∈ [ m ] ∑ w i ∥ P i − F i ∥ 1 ≤ Poly - Approx s , d ( F ) + η .
Consequently,
inf P ∈ P m ( s − 1 ) + 1 , d ∥ P − F ∥ 1 ≤ Poly-Approx s , d ( F ) + η . \inf_{P\in\mathcal{P}_{m(s-1)+1,d}}\left\|P-F\right\|_1\leq\operatorname{Poly\text{-}Approx}_{s,d}(\mathcal{F})+\eta. P ∈ P m ( s − 1 ) + 1 , d inf ∥ P − F ∥ 1 ≤ Poly - Approx s , d ( F ) + η .
Taking the supremum over F ∈ m -mix ( F ) F\in m\text{-mix}(\mathcal{F}) F ∈ m -mix ( F ) and letting η \eta η tend to zero proves the result.
Proof of Lemma 8.7. Next, we prove a bound on the discretization error of log-concave distributions.
Fix an arbitrary distribution F ∈ L ( R , σ min , σ max ) F \in\mathcal{L}(R,\sigma_{\min},\sigma_{\max}) F ∈ L ( R , σ m i n , σ m a x ) , and let f f f be its density, with mean μ \mu μ and standard deviation σ \sigma σ .
Define g ( x ) : = σ f ( μ + σ x ) g(x) := \sigma f(\mu+ \sigma x) g ( x ) := σ f ( μ + σ x ) for x ∈ R x \in\mathbb{R} x ∈ R . The function g g g is log-concave, and the change of variables y = μ + σ x y = \mu+ \sigma x y = μ + σ x gives
∫ R g ( x ) d x = ∫ R f ( y ) d y = 1 , ∫ R x g ( x ) d x = 1 σ ∫ R ( y − μ ) f ( y ) d y = 0 , ∫ R x 2 g ( x ) d x = 1 σ 2 ∫ R ( y − μ ) 2 f ( y ) d y = 1. \begin{aligned}
\int_{\mathbb{R}} g(x)\,dx &= \int_{\mathbb{R}} f(y)\,dy = 1,\\
\int_{\mathbb{R}} xg(x)\,dx &= \frac{1}{\sigma}\int_{\mathbb{R}}(y-\mu)f(y)\,dy = 0,\\
\int_{\mathbb{R}} x^2g(x)\,dx &= \frac{1}{\sigma^2}\int_{\mathbb{R}}(y-\mu)^2f(y)\,dy = 1.
\end{aligned} ∫ R g ( x ) d x ∫ R xg ( x ) d x ∫ R x 2 g ( x ) d x = ∫ R f ( y ) d y = 1 , = σ 1 ∫ R ( y − μ ) f ( y ) d y = 0 , = σ 2 1 ∫ R ( y − μ ) 2 f ( y ) d y = 1.
Thus, g g g is a log-concave probability density with mean zero and variance one. By Lemma 5.5(a) of Lovász and Vempala [48 ] , sup x ∈ R g ( x ) ≤ 1 \sup_{x\in\mathbb{R}} g(x) \le1 sup x ∈ R g ( x ) ≤ 1 . Since f ( x ) = 1 σ g ( x − μ σ ) f(x) = \frac{1}{\sigma}g\left(\frac{x-\mu}{\sigma}\right) f ( x ) = σ 1 g ( σ x − μ ) , we obtain sup x ∈ R f ( x ) = 1 σ sup z ∈ R g ( z ) ≤ 1 σ \sup_{x\in\mathbb{R}} f(x) = \frac{1}{\sigma}\sup_{z\in\mathbb{R}} g(z) \le\frac{1}{\sigma} sup x ∈ R f ( x ) = σ 1 sup z ∈ R g ( z ) ≤ σ 1 .
We next bound the total tail mass. For X ∼ f X \sim f X ∼ f , the random variable Y = ( X − μ ) / σ Y = (X-\mu)/\sigma Y = ( X − μ ) / σ has density g g g . Since E [ Y 2 ] = 1 \mathbb{E}[Y^2] = 1 E [ Y 2 ] = 1 , Lemma 5.17 of Lovász and Vempala [48 ] gives, for every t > 1 t > 1 t > 1 ,
P [ ∣ X − μ ∣ > t σ ] = P [ ∣ Y ∣ > t ] ≤ e 1 − t . \mathbb{P}[|X-\mu| > t\sigma] = \mathbb{P}[|Y| > t] \le e^{1-t}. P [ ∣ X − μ ∣ > t σ ] = P [ ∣ Y ∣ > t ] ≤ e 1 − t .
Since ∣ μ ∣ ≤ R |\mu| \le R ∣ μ ∣ ≤ R and σ ≤ σ max \sigma\le\sigma_{\max} σ ≤ σ m a x , it follows that
P [ ∣ X ∣ > T ] ≤ P [ ∣ X − μ ∣ σ > T − R σ max ] ≤ exp ( 1 − T − R σ max ) = η 4 . \mathbb{P}[|X| > T] \le\mathbb{P}\left[\frac{|X-\mu|}{\sigma} > \frac{T-R}{\sigma_{\max}}\right] \le\exp\left(1-\frac{T-R}{\sigma_{\max}}\right) = \frac{\eta}{4}. P [ ∣ X ∣ > T ] ≤ P [ σ ∣ X − μ ∣ > σ m a x T − R ] ≤ exp ( 1 − σ m a x T − R ) = 4 η .
Therefore, F ( R ∖ [ − T , T ] ) ≤ η / 4 F(\mathbb{R}\setminus[-T,T]) \le\eta/4 F ( R ∖ [ − T , T ]) ≤ η /4 .
Let D = J + 2 D = J + 2 D = J + 2 , and let B j B_j B j ’s and c j c_j c j ’s be the intervals and endpoints from Definition 6.2, with parameters ( T , δ ) (T,\delta) ( T , δ ) . For each j ∈ { 2 , … , D − 1 } j \in\{2,\ldots,D-1\} j ∈ { 2 , … , D − 1 } , let h j = c j − c j − 1 ≤ δ h_j = c_j-c_{j-1} \le\delta h j = c j − c j − 1 ≤ δ and
f ˉ j : = 1 h j ∫ B j f ( y ) d y . \bar{f}_j := \frac{1}{h_j}\int_{B_j} f(y)\,dy. f ˉ j := h j 1 ∫ B j f ( y ) d y .
For every x ∈ B j x \in B_j x ∈ B j , we have
∣ f ( x ) − f ˉ j ∣ ≤ 1 h j ∫ B j ∣ f ( x ) − f ( y ) ∣ d y ≤ sup y ∈ B j f ( y ) − inf y ∈ B j f ( y ) . \begin{aligned}
|f(x)-\bar{f}_j| &\le\frac{1}{h_j}\int_{B_j}|f(x)-f(y)|\,dy\\
&\le\sup_{y\in B_j}f(y)-\inf_{y\in B_j}f(y).
\end{aligned} ∣ f ( x ) − f ˉ j ∣ ≤ h j 1 ∫ B j ∣ f ( x ) − f ( y ) ∣ d y ≤ y ∈ B j sup f ( y ) − y ∈ B j inf f ( y ) .
Since f f f is nonnegative and unimodal, the sum of its binwise differences between the supremum and infimum is bounded by its total increase plus its total decrease, each of which is at most sup x ∈ R f ( x ) \sup_{x\in\mathbb{R}}f(x) sup x ∈ R f ( x ) . Therefore,
∑ j = 2 D − 1 ( sup x ∈ B j f ( x ) − inf x ∈ B j f ( x ) ) ≤ 2 sup x ∈ R f ( x ) ≤ 2 σ . \sum_{j=2}^{D-1}\left(\sup_{x\in B_j}f(x)-\inf_{x\in B_j}f(x)\right)\le2\sup_{x\in\mathbb{R}}f(x)\le\frac{2}{\sigma}. j = 2 ∑ D − 1 ( x ∈ B j sup f ( x ) − x ∈ B j inf f ( x ) ) ≤ 2 x ∈ R sup f ( x ) ≤ σ 2 .
Integrating over x ∈ B j x \in B_j x ∈ B j and summing over the internal intervals yields
∑ j = 2 D − 1 ∫ B j ∣ f ( x ) − f ˉ j ∣ d x ≤ δ ∑ j = 2 D − 1 ( sup x ∈ B j f ( x ) − inf x ∈ B j f ( x ) ) ≤ 2 δ σ ≤ 2 δ σ min . \sum_{j=2}^{D-1}\int_{B_j}\lvert f(x)-\bar{f}_j\rvert\,\mathrm{d}x \le\delta\sum_{j=2}^{D-1}\left(\sup_{x\in B_j}f(x)-\inf_{x\in B_j}f(x)\right)\le\frac{2\delta}{\sigma}\le\frac{2\delta}{\sigma_{\min}}. j = 2 ∑ D − 1 ∫ B j ∣ f ( x ) − f ˉ j ∣ d x ≤ δ j = 2 ∑ D − 1 ( x ∈ B j sup f ( x ) − x ∈ B j inf f ( x ) ) ≤ σ 2 δ ≤ σ m i n 2 δ .
The original and discretized measures restricted to the two tails each have total mass F ( R ∖ [ − T , T ] ) F(\mathbb{R}\setminus[-T,T]) F ( R ∖ [ − T , T ]) . Their L 1 L_1 L 1 difference is therefore at most twice this mass. Combining the two bounds gives
∥ Disc T , δ ( F ) − F ∥ 1 ≤ 2 δ σ min + η 2 = 4 T J σ min + η 2 ≤ η . \left\lVert\operatorname{Disc}_{T,\delta}(F)-F\right\rVert_1\le\frac{2\delta}{\sigma_{\min}}+\frac{\eta}{2}=\frac{4T}{J\sigma_{\min}}+\frac{\eta}{2}\le\eta. ∥ Disc T , δ ( F ) − F ∥ 1 ≤ σ m i n 2 δ + 2 η = J σ m i n 4 T + 2 η ≤ η .
Taking the supremum over F F F proves the result.
Lemma E.1. (Piece-wise polynomial approximation of log-concave distributions, Lemma 27 of Chan et al. [19 ] ). For every α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) , there exists an integer s α = O ~ ( 1 / α ) s_\alpha=\widetilde{O}(1/\sqrt{\alpha}) s α = O ( 1/ α ) such that, for every log-concave probability density f f f over R \mathbb{R} R , there exists a (normalized) piece-wise polynomial p ∈ P s α , 1 p\in\mathcal{P}_{s_\alpha,1} p ∈ P s α , 1 satisfying ∥ f − p ∥ 1 ≤ α \lVert f-p\rVert_1\le\alpha ∥ f − p ∥ 1 ≤ α . Here, O ~ \widetilde{O} O hides only logarithmic factors in 1 / α 1/\alpha 1/ α .
Proof of Lemma 8.6 . We prove a bound on the piece-wise polynomial approximation of log-concave distributions.
Let s α s_\alpha s α be the integer from Lemma E.1 . For every f ∈ L ( R , σ min , σ max ) f\in\mathcal{L}(R,\sigma_{\min},\sigma_{\max}) f ∈ L ( R , σ m i n , σ m a x ) , that lemma gives a normalized P ∈ P s α , 1 P\in\mathcal{P}_{s_\alpha,1} P ∈ P s α , 1 satisfying ∥ P − f ∥ 1 ≤ α \lVert P-f\rVert_1\le\alpha ∥ P − f ∥ 1 ≤ α . Therefore, inf P ∈ P s α , 1 ∥ P − f ∥ 1 ≤ α \inf_{P\in\mathcal{P}_{s_\alpha,1}}\lVert P-f\rVert_1\le\alpha inf P ∈ P s α , 1 ∥ P − f ∥ 1 ≤ α . Taking the supremum over f ∈ L ( R , σ min , σ max ) f\in\mathcal{L}(R,\sigma_{\min},\sigma_{\max}) f ∈ L ( R , σ m i n , σ m a x ) proves the result.
Proof of Theorem 8.5 . Putting together, we obtain our upper bound for LDP agnostic learning log-concave distributions.
Let F = m - mix ( L ( R , σ min , σ max ) ) \mathcal{F}=m\text{-}\operatorname{mix}(\mathcal{L}(R,\sigma_{\min},\sigma_{\max})) F = m - mix ( L ( R , σ m i n , σ m a x )) be the class of log-concave mixtures. Set ρ = α 25 \rho=\frac{\alpha}{25} ρ = 25 α , s 0 = m ( s ρ − 1 ) + 1 s_0=m(s_\rho-1)+1 s 0 = m ( s ρ − 1 ) + 1 , d = 1 d=1 d = 1 , where s ρ s_\rho s ρ is the integer from Lemma 8.6 at accuracy ρ \rho ρ . Thus, s 0 = O ~ ( m / ρ ) s_0=\widetilde{O}(m/\sqrt{\rho}) s 0 = O ( m / ρ ) .
Also let the discretization parameters T = R + σ max ( 1 + log ( 4 ρ ) ) T=R+\sigma_{\max}\left(1+\log\left(\frac{4}{\rho}\right)\right) T = R + σ m a x ( 1 + log ( ρ 4 ) ) , J = ⌈ 8 T ρ σ min ⌉ J=\left\lceil\frac{8T}{\rho\sigma_{\min}}\right\rceil J = ⌈ ρ σ m i n 8 T ⌉ , and δ = 2 T J \delta=\frac{2T}{J} δ = J 2 T be defined as per Lemma 8.7 . Since T > 0 T>0 T > 0 and J ≥ 4 J\ge4 J ≥ 4 , we have 0 < δ ≤ T / 2 0<\delta\le T/2 0 < δ ≤ T /2 . We can apply Theorem 7.1 with class F \mathcal{F} F , discretization parameters ( T , δ ) (T,\delta) ( T , δ ) , privacy parameter ε \varepsilon ε , failure probability β \beta β , accuracy parameter ρ \rho ρ , and polynomial parameters ( s 0 , d ) (s_0,d) ( s 0 , d ) , using sample size n = O ( s 0 2 ( d + 1 ) 2 ε 2 ρ 2 log 2 ( T δ ) log ( 1 β δ ) ) n=O\left(\frac{s_0^2(d+1)^2}{\varepsilon^2\rho^2}\log^2\left(\frac{T}{\delta}\right)\log\left(\frac{1}{\beta\delta}\right)\right) n = O ( ε 2 ρ 2 s 0 2 ( d + 1 ) 2 log 2 ( δ T ) log ( β δ 1 ) ) . The output then satisfies
∥ P ^ − P ∥ 1 ≤ 10 OPT ∗ + 8 ρ + 9 Disc - Err T , δ ( F ) + 8 Poly - Approx s 0 , d ( F ) , \lVert\widehat{P}-P\rVert_1\le10\operatorname{OPT}^{*}+8\rho+9\operatorname{Disc}\text{-}\operatorname{Err}_{T,\delta}(\mathcal{F})+8\operatorname{Poly}\text{-}\operatorname{Approx}_{s_0,d}(\mathcal{F}), ∥ P − P ∥ 1 ≤ 10 OPT ∗ + 8 ρ + 9 Disc - Err T , δ ( F ) + 8 Poly - Approx s 0 , d ( F ) ,
with probability at least 1 − β 1-\beta 1 − β , where OPT ∗ = inf F ∈ F ∥ P − F ∥ 1 \operatorname{OPT}^{*}=\inf_{F\in\mathcal{F}}\lVert P-F\rVert_1 OPT ∗ = inf F ∈ F ∥ P − F ∥ 1 .
By Lemmas 8.6 and 8.2 ,
Poly - Approx s 0 , d ( F ) ≤ Poly - Approx s ρ , 1 ( L ( R , σ min , σ max ) ) ≤ ρ . \operatorname{Poly}\text{-}\operatorname{Approx}_{s_0,d}(\mathcal{F})\le\operatorname{Poly}\text{-}\operatorname{Approx}_{s_\rho,1}(\mathcal{L}(R,\sigma_{\min},\sigma_{\max}))\le\rho. Poly - Approx s 0 , d ( F ) ≤ Poly - Approx s ρ , 1 ( L ( R , σ m i n , σ m a x )) ≤ ρ .
Moreover, Lemmas 8.7 and 8.2 give
Disc - Err T , δ ( F ) = Disc - Err T , δ ( L ( R , σ min , σ max ) ) ≤ ρ . \operatorname{Disc}\text{-}\operatorname{Err}_{T,\delta}(\mathcal{F})=\operatorname{Disc}\text{-}\operatorname{Err}_{T,\delta}(\mathcal{L}(R,\sigma_{\min},\sigma_{\max}))\le\rho. Disc - Err T , δ ( F ) = Disc - Err T , δ ( L ( R , σ m i n , σ m a x )) ≤ ρ .
Substituting these two bounds gives
∥ P ^ − P ∥ 1 ≤ 10 O P T ∗ + 8 ρ + 9 ρ + 8 ρ = 10 O P T ∗ + α . \lVert\widehat{P}-P\rVert_1 \leq10\mathrm{OPT}^{*}+8\rho+9\rho+8\rho=10\mathrm{OPT}^{*}+\alpha. ∥ P − P ∥ 1 ≤ 10 OPT ∗ + 8 ρ + 9 ρ + 8 ρ = 10 OPT ∗ + α .
Finally, s 0 = O ~ ( m / ρ ) s_0=\widetilde{O}(m/\sqrt{\rho}) s 0 = O ( m / ρ ) , d = 1 d=1 d = 1 , and our parameter choices give J = O ( R + σ max ρ σ min log ( 4 α ) ) J=O\left(\frac{R+\sigma_{\max}}{\rho\sigma_{\min}}\log\left(\frac{4}{\alpha}\right)\right) J = O ( ρ σ m i n R + σ m a x log ( α 4 ) ) , and log ( T δ ) = O ( log ( 2 ( R + σ max ) α σ min ) ) \log\left(\frac{T}{\delta}\right)=O\left(\log\left(\frac{2(R+\sigma_{\max})}{\alpha\sigma_{\min}}\right)\right) log ( δ T ) = O ( log ( α σ m i n 2 ( R + σ m a x ) ) ) . Substituting the chosen parameters into the sample and running-time bounds of Theorem 7.1 gives the stated complexities, suppressing only logarithmic factors in 1 / α 1/\alpha 1/ α in the sample bound, and in m m m and 1 / α 1/\alpha 1/ α in the running time. The output has O ~ ( m / α ) \widetilde{O}(m/\sqrt{\alpha}) O ( m / α ) polynomial pieces and degree at most 1. Privacy and non-interactivity also follow from Theorem 7.1 .
Upper bound for GMMs
In this section, we consider agnostic LDP learning of GMMs. Although GMMs are mixtures of log-concave distributions, Gaussian components admit a more specialized piece-wise polynomial approximation, whose number of pieces is independent of the accuracy parameter α \alpha α . This allows us to obtain an optimal sample dependence on the accuracy parameter. The class of bounded-parameter Gaussian distributions is defined as follows.
Definition F.1 (Bounded Gaussians). Let R ≥ 0 R\geq0 R ≥ 0 , and 0 < σ min ≤ σ max < ∞ 0<\sigma_{\min}\leq\sigma_{\max}<\infty 0 < σ m i n ≤ σ m a x < ∞ be parameters. Then the class of bounded Gaussians over the real line is defined by:
G ( R , σ min , σ max ) = { N ( μ , σ 2 ) : ∣ μ ∣ ≤ R , σ ∈ [ σ min , σ max ] } . \mathcal{G}(R,\sigma_{\min},\sigma_{\max})=\left\{\mathcal{N}(\mu,\sigma^2):|\mu|\leq R,\ \sigma\in[\sigma_{\min},\sigma_{\max}]\right\}. G ( R , σ m i n , σ m a x ) = { N ( μ , σ 2 ) : ∣ μ ∣ ≤ R , σ ∈ [ σ m i n , σ m a x ] } .
The following theorem gives the resulting guarantee for efficient non-interactive LDP agnostic learning of GMMs.
Theorem F.2 (Efficient LDP Agnostic Learning of GMMs). Under the same assumptions of Theorem 8.5 , there exists a non-interactive ϵ \epsilon ϵ -LDP ( 10 , α , β ) (10,\alpha,\beta) ( 10 , α , β ) -agnostic learner for the class m - mix ( G ( R , σ min , σ max ) ) m\text{-}\operatorname{mix}(\mathcal{G}(R,\sigma_{\min},\sigma_{\max})) m - mix ( G ( R , σ m i n , σ m a x )) , that uses
n = O ( m 2 log 2 ( 2 / α ) ϵ 2 α 2 log 2 ( 2 ( R + σ max ) α σ min ) log ( 2 ( R + σ max ) α β σ min ) ) n=O\left(\frac{m^2\log^2(2/\alpha)}{\epsilon^2\alpha^2}\log^2\left(\frac{2(R+\sigma_{\max})}{\alpha\sigma_{\min}}\right)\log\left(\frac{2(R+\sigma_{\max})}{\alpha\beta\sigma_{\min}}\right)\right) n = O ( ϵ 2 α 2 m 2 log 2 ( 2/ α ) log 2 ( α σ m i n 2 ( R + σ m a x ) ) log ( α β σ m i n 2 ( R + σ m a x ) ) ) many samples and its output has a nonnegative piece-wise polynomial density with O ( m ) O(m) O ( m ) pieces and degree O ( log ( 2 / α ) ) O(\log(2/\alpha)) O ( log ( 2/ α )) . Moreover, the total running time, is O ~ ( n m α log ( 2 ( R + σ max ) α σ min ) ) \widetilde{O}\left(\frac{nm}{\alpha}\log\left(\frac{2(R+\sigma_{\max})}{\alpha\sigma_{\min}}\right)\right) O ( α nm log ( α σ m i n 2 ( R + σ m a x ) ) ) , where O ~ \widetilde{O} O hides only logarithmic factors in m m m and 1 / α 1/\alpha 1/ α .
Proof. Let F = m - mix ( G ( R , σ min , σ max ) ) \mathcal{F}=m\text{-}\operatorname{mix}(\mathcal{G}(R,\sigma_{\min},\sigma_{\max})) F = m - mix ( G ( R , σ m i n , σ m a x )) be the class of GMMs. Set ρ = α 25 \rho=\frac{\alpha}{25} ρ = 25 α , s 0 = 2 m + 1 s_0=2m+1 s 0 = 2 m + 1 , d = ⌈ C log ( 2 ρ ) ⌉ d=\left\lceil C\log\left(\frac{2}{\rho}\right)\right\rceil d = ⌈ C log ( ρ 2 ) ⌉ , where C > 0 C>0 C > 0 is the universal constant from Lemma F.5 .
Also let the discretization parameters T = R + σ max ( 1 + log ( 4 α ) ) T=R+\sigma_{\max}\left(1+\log\left(\frac{4}{\alpha}\right)\right) T = R + σ m a x ( 1 + log ( α 4 ) ) , J = ⌈ 8 T ρ σ min ⌉ J=\left\lceil\frac{8T}{\rho\sigma_{\min}}\right\rceil J = ⌈ ρ σ m i n 8 T ⌉ , and δ = 2 T J \delta=\frac{2T}{J} δ = J 2 T be defined as per Lemma F.3 . Since T > 0 T>0 T > 0 and J ≥ 4 J\geq4 J ≥ 4 , we have 0 < δ ≤ T / 2 0<\delta\leq T/2 0 < δ ≤ T /2 , we can apply Theorem 7.1 with class F \mathcal{F} F , discretization parameters ( T , δ ) (T,\delta) ( T , δ ) , privacy parameter ϵ \epsilon ϵ , failure probability β \beta β , accuracy parameter ρ \rho ρ , and polynomial parameters ( s 0 , d ) (s_0,d) ( s 0 , d ) , using sample size
n = O ( s 0 2 ( d + 1 ) 2 ϵ 2 ρ 2 log 2 ( T δ ) log ( T β δ ) ) . n=O\left(\frac{s_0^2(d+1)^2}{\epsilon^2\rho^2}\log^2\left(\frac{T}{\delta}\right)\log\left(\frac{T}{\beta\delta}\right)\right). n = O ( ϵ 2 ρ 2 s 0 2 ( d + 1 ) 2 log 2 ( δ T ) log ( β δ T ) ) .
The output then satisfies
∥ P ^ − P ∥ 1 ≤ 10 O P T ∗ + 8 ρ + 9 Disc-Err T , δ ( F ) + 8 Poly-Approx s 0 , d ( F ) . (13) \lVert\widehat{P}-P\rVert_1\leq10\mathrm{OPT}^{*}+8\rho+9\operatorname{Disc\text{-}Err}_{T,\delta}(\mathcal{F})+8\operatorname{Poly\text{-}Approx}_{s_0,d}(\mathcal{F}). \tag*{(13)} ∥ P − P ∥ 1 ≤ 10 OPT ∗ + 8 ρ + 9 Disc - Err T , δ ( F ) + 8 Poly - Approx s 0 , d ( F ) . (13)
with probability at least 1 − β 1-\beta 1 − β , where O P T ∗ : = inf G ∈ F ∥ P − G ∥ 1 \mathrm{OPT}^{*} := \inf_{G \in\mathcal{F}} \lVert P-G\rVert_{1} OPT ∗ := inf G ∈ F ∥ P − G ∥ 1 .
By Lemmas F.5 and 8.2 ,
Poly-Approx s 0 , d ( F ) ≤ Poly-Approx 3 , d ( G ( R , σ min , σ max ) ) ≤ ρ . \operatorname{Poly\text{-}Approx}_{s_0,d}(\mathcal{F}) \leq\operatorname{Poly\text{-}Approx}_{3,d}\left(\mathcal{G}(R,\sigma_{\min},\sigma_{\max})\right) \leq\rho. Poly - Approx s 0 , d ( F ) ≤ Poly - Approx 3 , d ( G ( R , σ m i n , σ m a x ) ) ≤ ρ .
Moreover, Lemmas F.3 and 8.2 give
Disc-Err T , δ ( F ) = Disc-Err T , δ ( G ( R , σ min , σ max ) ) ≤ ρ . \operatorname{Disc\text{-}Err}_{T,\delta}(\mathcal{F}) = \operatorname{Disc\text{-}Err}_{T,\delta}\left(\mathcal{G}(R,\sigma_{\min},\sigma_{\max})\right) \leq\rho. Disc - Err T , δ ( F ) = Disc - Err T , δ ( G ( R , σ m i n , σ m a x ) ) ≤ ρ .
Substituting these two bounds gives
∥ P ^ − P ∥ 1 ≤ 10 O P T ∗ + 8 ρ + 9 ρ + 8 ρ = 10 inf G ∈ F ∥ P − G ∥ 1 + α . \lVert\widehat{P}-P\rVert_{1} \leq10\mathrm{OPT}^{*}+8\rho+9\rho+8\rho= 10\inf_{G\in\mathcal{F}}\lVert P-G\rVert_{1}+\alpha. ∥ P − P ∥ 1 ≤ 10 OPT ∗ + 8 ρ + 9 ρ + 8 ρ = 10 G ∈ F inf ∥ P − G ∥ 1 + α .
Finally, our choices of T T T and δ \delta δ give log ( T δ ) = O ( log ( 2 ( R + σ max ) α σ min ) ) \log\left(\frac{T}{\delta}\right)=O\left(\log\left(\frac{2(R+\sigma_{\max})}{\alpha\sigma_{\min}}\right)\right) log ( δ T ) = O ( log ( α σ m i n 2 ( R + σ m a x ) ) ) . Substituting the chosen parameters into the sample and running-time bounds of Theorem 7.1 gives the stated complexities, suppressing only logarithmic factors in m m m and 1 / α 1/\alpha 1/ α in the running time. The output has O ( m ) O(m) O ( m ) polynomial pieces and degree O ( log ( 2 / α ) ) O(\log(2/\alpha)) O ( log ( 2/ α )) . Privacy and non-interactivity also follow from Theorem 7.1 .
Lemma F.3 (Discretization of Bounded-Parameter Gaussians). Let η ∈ ( 0 , 1 ) \eta\in(0,1) η ∈ ( 0 , 1 ) , R ≥ 0 R \geq0 R ≥ 0 , and 0 < σ min ≤ σ max < ∞ 0 < \sigma_{\min} \leq\sigma_{\max} < \infty 0 < σ m i n ≤ σ m a x < ∞ be parameters. Let T = R + σ max ( 1 + log ( 4 η ) ) T=R+\sigma_{\max}\left(1+\log\left(\frac{4}{\eta}\right)\right) T = R + σ m a x ( 1 + log ( η 4 ) ) , J = ⌈ 8 T η σ min ⌉ J=\left\lceil\frac{8T}{\eta\sigma_{\min}}\right\rceil J = ⌈ η σ m i n 8 T ⌉ , and δ = 2 T J \delta=\frac{2T}{J} δ = J 2 T . Then, it holds that Disc-Err T , δ ( G ( R , σ min , σ max ) ) ≤ η \operatorname{Disc\text{-}Err}_{T,\delta}(\mathcal{G}(R,\sigma_{\min},\sigma_{\max}))\leq\eta Disc - Err T , δ ( G ( R , σ m i n , σ m a x )) ≤ η .
Proof. Every Gaussian density is log-concave. Therefore, G ( R , σ min , σ max ) ⊆ L ( R , σ min , σ max ) \mathcal{G}(R,\sigma_{\min},\sigma_{\max})\subseteq\mathcal{L}(R,\sigma_{\min},\sigma_{\max}) G ( R , σ m i n , σ m a x ) ⊆ L ( R , σ m i n , σ m a x ) . By Lemma 8.7 , we get Disc-Err T , δ ( G ( R , σ min , σ max ) ) ≤ Disc-Err T , δ ( L ( R , σ min , σ max ) ) ≤ η \operatorname{Disc\text{-}Err}_{T,\delta}(\mathcal{G}(R,\sigma_{\min},\sigma_{\max}))\leq\operatorname{Disc\text{-}Err}_{T,\delta}(\mathcal{L}(R,\sigma_{\min},\sigma_{\max}))\leq\eta Disc - Err T , δ ( G ( R , σ m i n , σ m a x )) ≤ Disc - Err T , δ ( L ( R , σ m i n , σ m a x )) ≤ η .
Lemma F.4 (Piece-wise polynomial approximation of Gaussians, Lemma 36 of Chan et al. [19 ] ). There exists a universal constant C > 0 C>0 C > 0 such that, for every α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) and every Gaussian distribution g = N ( μ , σ 2 ) g=\mathcal{N}(\mu,\sigma^{2}) g = N ( μ , σ 2 ) with μ ∈ R \mu\in\mathbb{R} μ ∈ R and σ > 0 \sigma>0 σ > 0 , there exists a (normalized) piece-wise polynomial p ∈ P s , d p\in\mathcal{P}_{s,d} p ∈ P s , d with s = 3 s=3 s = 3 , and d = ⌈ C log ( 2 α ) ⌉ d=\left\lceil C\log\left(\frac{2}{\alpha}\right)\right\rceil d = ⌈ C log ( α 2 ) ⌉ satisfying ∥ g − p ∥ 1 ≤ α \lVert g-p\rVert_{1}\leq\alpha ∥ g − p ∥ 1 ≤ α .
We use the Gaussian approximation bound of Chan et al. [19 ] to obtain the following lemma.
Lemma F.5 (Piece-wise polynomial approximation of Gaussians). There exists a universal constant C > 0 C>0 C > 0 such that the following holds. Let α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) , R ≥ 0 R\geq0 R ≥ 0 , and 0 < σ min ≤ σ max < ∞ 0<\sigma_{\min}\leq\sigma_{\max}<\infty 0 < σ m i n ≤ σ m a x < ∞ be parameters. Set s = 3 s=3 s = 3 , and d = ⌈ C log ( 2 α ) ⌉ d=\left\lceil C\log\left(\frac{2}{\alpha}\right)\right\rceil d = ⌈ C log ( α 2 ) ⌉ . Then, it holds that Poly-Approx s , d ( G ( R , σ min , σ max ) ) ≤ α \operatorname{Poly\text{-}Approx}_{s,d}(\mathcal{G}(R,\sigma_{\min},\sigma_{\max}))\leq\alpha Poly - Approx s , d ( G ( R , σ m i n , σ m a x )) ≤ α .
Proof. Let C > 0 C>0 C > 0 be the universal constant from Lemma F.4 . For every g ∈ G ( R , σ min , σ max ) g\in\mathcal{G}(R,\sigma_{\min},\sigma_{\max}) g ∈ G ( R , σ m i n , σ m a x ) , that lemma gives a normalized P ∈ P s , d P\in\mathcal{P}_{s,d} P ∈ P s , d satisfying ∥ P − g ∥ 1 ≤ α \lVert P-g\rVert_{1}\leq\alpha ∥ P − g ∥ 1 ≤ α . Therefore, inf P ∈ P s , d ∥ P − g ∥ 1 ≤ α \inf_{P\in\mathcal{P}_{s,d}}\lVert P-g\rVert_{1}\leq\alpha inf P ∈ P s , d ∥ P − g ∥ 1 ≤ α . Taking the supremum over g ∈ G ( R , σ min , σ max ) g\in\mathcal{G}(R,\sigma_{\min},\sigma_{\max}) g ∈ G ( R , σ m i n , σ m a x ) proves the result.
Lower bound for LDP-learning of GMMs
In this section, we prove a lower bound for non-interactive LDP learning of GMMs. When the ranges of the component means and variances are sufficiently large, the lower bound matches the dependence on the number of mixture components, accuracy and privacy parameters of our upper bound in Theorem F.2 up to logarithmic factors. Since every Gaussian distribution is log-concave, this lower bound also applies to mixtures of log-concave distributions with the same component parameter bounds.
In particular, our lower bound improves on the standard packing lower bounds in pure differential privacy [17 ] : packings for mixtures of m m m components usually have sizes exponential in m m m , yielding lower bounds of Ω ( m ) \Omega(m) Ω ( m ) , whereas we obtain a lower bound of Ω ( m 2 ) \Omega(m^2) Ω ( m 2 ) .
We obtain this result by reducing LDP estimation of sparse discrete distributions to GMM learning and applying the lower bound of Acharya et al. [8 ] . The main idea is to associate each element of a finite domain with a known Gaussian component, so that a sparse probability vector becomes the vector of mixture weights. We choose components separated in location or scale, with each component placing most of its probability mass in its own disjoint region. This separation ensures that an accurate estimate of the mixture yields an accurate estimate of the sparse probability vector. The reduction preserves local privacy, so a GMM learner would also solve the sparse estimation problem with the same number of samples. The lower bound for sparse estimation therefore gives the desired GMM lower bound.
Theorem G.1 (GMM Lower Bound). Let ε ∈ ( 0 , 1 ] \varepsilon\in(0,1] ε ∈ ( 0 , 1 ] and α ∈ ( 0 , α 0 ] \alpha\in(0,\alpha_0] α ∈ ( 0 , α 0 ] for a sufficiently small universal constant α 0 > 0 \alpha_0 > 0 α 0 > 0 . Let m ≥ 2 m \ge2 m ≥ 2 be an integer, R ≥ 0 R \ge0 R ≥ 0 , and 0 < σ min ≤ σ max < ∞ 0 < \sigma_{\min} \le\sigma_{\max} < \infty 0 < σ m i n ≤ σ m a x < ∞ . Assume that Λ : = R / σ min + log ( σ max / σ min ) ≥ C 0 m \Lambda:= R/\sigma_{\min} + \log(\sigma_{\max}/\sigma_{\min}) \ge C_0m Λ := R / σ m i n + log ( σ m a x / σ m i n ) ≥ C 0 m , where C 0 > 0 C_0 > 0 C 0 > 0 is a sufficiently large universal constant. Then, any non-interactive ε \varepsilon ε -LDP algorithm that learns m - mix ( G ( R , σ min , σ max ) ) m\text{-}\operatorname{mix}(\mathcal{G}(R,\sigma_{\min},\sigma_{\max})) m - mix ( G ( R , σ m i n , σ m a x )) to total variation distance α \alpha α with probability at least 0.9 0.9 0.9 requires n = Ω ( m 2 ε 2 α 2 log ( ε + Λ m ) ) n = \Omega\left(\frac{m^2}{\varepsilon^2\alpha^2}\log\left(\varepsilon+\frac{\Lambda}{m}\right)\right) n = Ω ( ε 2 α 2 m 2 log ( ε + m Λ ) ) samples. This lower bound holds even for non-proper learners.
Since every Gaussian density is log-concave, Theorem G.1 immediately implies the same lower bound for learning mixtures of log-concave distributions m - mix ( L ( R , σ min , σ max ) ) m\text{-}\operatorname{mix}(\mathcal{L}(R,\sigma_{\min},\sigma_{\max})) m - mix ( L ( R , σ m i n , σ m a x )) .
Theorem G.2 (Sparse distribution estimation lower bound [8 ] ). There exists a universal constant c 0 > 0 c_0 > 0 c 0 > 0 such that the following holds. Let ε ∈ ( 0 , 1 ] \varepsilon\in(0,1] ε ∈ ( 0 , 1 ] , α ∈ ( 0 , c 0 ] \alpha\in(0,c_0] α ∈ ( 0 , c 0 ] , and let k , s k,s k , s be integers satisfying 2 ≤ s ≤ k / 100 2 \le s \le k/100 2 ≤ s ≤ k /100 . Let S k , s : = { p ∈ Δ k : ∥ p ∥ 0 ≤ s } S_{k,s} := \{p \in\Delta_k : \|p\|_0 \le s\} S k , s := { p ∈ Δ k : ∥ p ∥ 0 ≤ s } be the class of distributions supported on at most s s s elements, where Δ k = { ( w 1 , … , w k ) ∈ R ≥ 0 k : ∑ i ∈ [ k ] w i = 1 } \Delta_k = \{(w_1,\ldots,w_k) \in\mathbb{R}_{\ge0}^k : \sum_{i \in[k]} w_i = 1\} Δ k = {( w 1 , … , w k ) ∈ R ≥ 0 k : ∑ i ∈ [ k ] w i = 1 } . Then, any non-interactive ε \varepsilon ε -LDP algorithm that learns S k , s S_{k,s} S k , s to total variation distance α \alpha α with probability at least 0.9 0.9 0.9 requires
n = Ω ( s 2 log ( k / s ) ε 2 α 2 ) n = \Omega\left(\frac{s^2\log(k/s)}{\varepsilon^2\alpha^2}\right) n = Ω ( ε 2 α 2 s 2 log ( k / s ) ) samples. The output is not required to be s s s -sparse.
Proof of Theorem G.1. Now, we give our lower bound proof for LDP learning of GMMs.
Define parameters K μ = 1 + ⌊ R σ min ⌋ K_\mu= 1 + \left\lfloor\frac{R}{\sigma_{\min}} \right\rfloor K μ = 1 + ⌊ σ m i n R ⌋ , K σ = 1 + ⌊ ∣ log ( σ max / σ min ) ∣ log 16 ⌋ K_\sigma= 1 + \left\lfloor\frac{\left|\log(\sigma_{\max}/\sigma_{\min})\right|}{\log16} \right\rfloor K σ = 1 + ⌊ l o g 16 ∣ l o g ( σ m a x / σ m i n ) ∣ ⌋ , K = max { K μ , K σ } K = \max\{K_\mu,K_\sigma\} K = max { K μ , K σ } , and M = min { m , K } M = \min\{m,K\} M = min { m , K } . Taking C 0 ≥ 100 ( 1 + log 16 ) C_0 \ge100(1+\log16) C 0 ≥ 100 ( 1 + log 16 ) , the assumption gives K ≥ max { R σ min , log ( σ max / σ min ) log 16 } ≥ Λ 1 + log 16 ≥ 100 m K \ge\max\left\{\frac{R}{\sigma_{\min}},\frac{\log(\sigma_{\max}/\sigma_{\min})}{\log16}\right\} \ge\frac{\Lambda}{1+\log16} \ge100m K ≥ max { σ m i n R , l o g 16 l o g ( σ m a x / σ m i n ) } ≥ 1 + l o g 16 Λ ≥ 100 m . Thus, M = m M=m M = m and 2 ≤ M ≤ K / 100 2 \le M \le K/100 2 ≤ M ≤ K /100 , as required by the sparse estimation lower bound in Theorem G.2 .
We construct K K K Gaussian components g 1 , … , g K ∈ G ( R , σ min , σ max ) g_1,\ldots,g_K \in\mathcal{G}(R,\sigma_{\min},\sigma_{\max}) g 1 , … , g K ∈ G ( R , σ m i n , σ m a x ) and disjoint measurable sets B 1 , … , B K ⊂ R B_1,\ldots,B_K \subset\mathbb{R} B 1 , … , B K ⊂ R such that g j ( B j ) ≥ 2 / 3 g_j(B_j) \ge2/3 g j ( B j ) ≥ 2/3 for all j ∈ [ K ] j \in[K] j ∈ [ K ] . Let Φ \Phi Φ denote the standard normal CDF. We use the larger of the following two constructions.
(1) Location Gaussians. For j ∈ [ K μ ] j \in[K_\mu] j ∈ [ K μ ] , set μ j = ( 2 j − K μ − 1 ) σ min \mu_j=(2j-K_\mu-1)\sigma_{\min} μ j = ( 2 j − K μ − 1 ) σ m i n , g j = N ( μ j , σ min 2 ) g_j=\mathcal{N}(\mu_j,\sigma_{\min}^2) g j = N ( μ j , σ m i n 2 ) , and B j = [ μ j − σ min , μ j + σ min ) B_j=[\mu_j-\sigma_{\min},\mu_j+\sigma_{\min}) B j = [ μ j − σ m i n , μ j + σ m i n ) . Then, the means satisfy ∣ μ j ∣ ≤ ( K μ − 1 ) σ min ≤ R |\mu_j| \le(K_\mu-1)\sigma_{\min} \le R ∣ μ j ∣ ≤ ( K μ − 1 ) σ m i n ≤ R . The set B j B_j B j ’s are disjoint, and
g j ( B j ) = 2 Φ ( 1 ) − 1 > 2 3 . g_j(B_j)=2\Phi(1)-1>\frac{2}{3}. g j ( B j ) = 2Φ ( 1 ) − 1 > 3 2 .
(2) Scale Gaussians. For j ∈ [ K σ ] j \in[K_\sigma] j ∈ [ K σ ] , set σ j = 16 j − 1 σ min \sigma_j=16^{j-1}\sigma_{\min} σ j = 1 6 j − 1 σ m i n , g j = N ( 0 , σ j 2 ) g_j=\mathcal{N}(0,\sigma_j^2) g j = N ( 0 , σ j 2 ) , and B j = { x : σ j / 4 ≤ ∣ x ∣ < 4 σ j } B_j=\{x:\sigma_j/4\le|x|<4\sigma_j\} B j = { x : σ j /4 ≤ ∣ x ∣ < 4 σ j } . We have σ j ∈ [ σ min , σ max ] \sigma_j\in[\sigma_{\min},\sigma_{\max}] σ j ∈ [ σ m i n , σ m a x ] . Then, the sets B j B_j B j ’s are disjoint, and
g j ( B j ) = 2 ( Φ ( 4 ) − Φ ( 1 / 4 ) ) > 2 3 . g_j(B_j)=2\bigl(\Phi(4)-\Phi(1/4)\bigr)>\frac{2}{3}. g j ( B j ) = 2 ( Φ ( 4 ) − Φ ( 1/4 ) ) > 3 2 .
For p ∈ Δ K p\in\Delta_K p ∈ Δ K , write f p : = ∑ j ∈ [ K ] p j g j f_p:=\sum_{j\in[K]}p_jg_j f p := ∑ j ∈ [ K ] p j g j , and let γ = 1 / 3 \gamma=1/3 γ = 1/3 . Since the sets are disjoint, ∑ i ≠ j g j ( B i ) ≤ 1 − g j ( B j ) \sum_{i\ne j}g_j(B_i)\le1-g_j(B_j) ∑ i = j g j ( B i ) ≤ 1 − g j ( B j ) . Thus, the reverse triangle inequality gives, for any p , q ∈ Δ K p,q\in\Delta_K p , q ∈ Δ K ,
d T V ( f p , f q ) ≥ 1 2 ∑ i ∈ [ K ] ∣ ∑ j ∈ [ K ] ( p j − q j ) g j ( B i ) ∣ ≥ 1 2 ∑ j ∈ [ K ] ∣ p j − q j ∣ ( g j ( B j ) − ∑ i ≠ j g j ( B i ) ) ≥ 1 2 ∑ j ∈ [ K ] ∣ p j − q j ∣ ( 2 g j ( B j ) − 1 ) ≥ γ d T V ( p , q ) . \begin{aligned}
d_{\mathrm{TV}}(f_p,f_q)
&\ge\frac{1}{2}\sum_{i\in[K]}\left|\sum_{j\in[K]}(p_j-q_j)g_j(B_i)\right|\\
&\ge\frac{1}{2}\sum_{j\in[K]}|p_j-q_j|\left(g_j(B_j)-\sum_{i\ne j}g_j(B_i)\right)\\
&\ge\frac{1}{2}\sum_{j\in[K]}|p_j-q_j|\bigl(2g_j(B_j)-1\bigr)\\
&\ge\gamma d_{\mathrm{TV}}(p,q).
\end{aligned} d TV ( f p , f q ) ≥ 2 1 i ∈ [ K ] ∑ j ∈ [ K ] ∑ ( p j − q j ) g j ( B i ) ≥ 2 1 j ∈ [ K ] ∑ ∣ p j − q j ∣ g j ( B j ) − i = j ∑ g j ( B i ) ≥ 2 1 j ∈ [ K ] ∑ ∣ p j − q j ∣ ( 2 g j ( B j ) − 1 ) ≥ γ d TV ( p , q ) .
We reduce learning S K , M \mathcal{S}_{K,M} S K , M to learning the Gaussian mixture class. Given a discrete sample Y = j Y=j Y = j , the corresponding user independently draws X ∼ g j X\sim g_j X ∼ g j and applies the local randomizer of the Gaussian mixture learner to X X X . For any such randomizer Q Q Q and measurable message event A A A , integrating its privacy inequality gives
∫ Q ( A ∣ x ) d g i ( x ) ≤ e ε ∫ Q ( A ∣ x ) d g j ( x ) \int Q(A\mid x)\,dg_i(x)\le e^\varepsilon\int Q(A\mid x)\,dg_j(x) ∫ Q ( A ∣ x ) d g i ( x ) ≤ e ε ∫ Q ( A ∣ x ) d g j ( x )
for all i , j ∈ [ K ] i,j\in[K] i , j ∈ [ K ] . Hence, the resulting protocol remains non-interactive ε \varepsilon ε -LDP. If Y ∼ p ∈ S K , M Y\sim p\in\mathcal{S}_{K,M} Y ∼ p ∈ S K , M , then X ∼ f p X\sim f_p X ∼ f p , and f p f_p f p has at most M ≤ m M\le m M ≤ m Gaussian components.
Let f ^ \widehat f f be the output of the learner, and define p ^ ∈ arg min q ∈ S K , M d T V ( f ^ , f q ) \widehat p\in\arg\min_{q\in\mathcal{S}_{K,M}}d_{\mathrm{TV}}(\widehat f,f_q) p ∈ arg min q ∈ S K , M d TV ( f , f q ) . A minimizer exists because S K , M \mathcal{S}_{K,M} S K , M is compact and the objective is continuous in q q q .
On the event d T V ( f ^ , f p ) ≤ α d_{\mathrm{TV}}(\widehat f,f_p)\le\alpha d TV ( f , f p ) ≤ α , we have
γ d T V ( p ^ , p ) ≤ d T V ( f p ^ , f p ) ≤ d T V ( f ^ p , f ^ ) + d T V ( f ^ , f p ) ≤ 2 α . \begin{aligned}
\gamma d_{\mathrm{TV}}(\widehat p,p)\le d_{\mathrm{TV}}(f_{\widehat p},f_p) \\
&\le d_{\mathrm{TV}}(\widehat{f}_p,\widehat{f}) + d_{\mathrm{TV}}(\widehat{f},f_p) \\
\le2\alpha.
\end{aligned} γ d TV ( p , p ) ≤ d TV ( f p , f p ) ≤ 2 α . ≤ d TV ( f p , f ) + d TV ( f , f p )
This decoding is post-processing and returns an M M M -sparse probability vector. The resulting discrete learner has accuracy 2 α / γ 2\alpha/\gamma 2 α / γ and succeeds with probability at least 0.9. Choosing α 0 \alpha_0 α 0 so that 2 α 0 / γ ≤ c 0 2\alpha_0/\gamma\le c_0 2 α 0 / γ ≤ c 0 , Theorem G.2 therefore gives n = Ω ( m 2 log ( K / m ) ε 2 α 2 ) n = \Omega\left(\frac{m^2\log(K/m)}{\varepsilon^2\alpha^2}\right) n = Ω ( ε 2 α 2 m 2 l o g ( K / m ) ) . Finally, since K = Θ ( Λ ) K = \Theta(\Lambda) K = Θ ( Λ ) and K / m ≥ 100 K/m \ge100 K / m ≥ 100 , log ( K / m ) = Θ ( log ( e + Λ m ) ) \log(K/m) = \Theta\left(\log\left(e+\frac{\Lambda}{m}\right)\right) log ( K / m ) = Θ ( log ( e + m Λ ) ) , which gives the stated bound.
Discussion on proper learning and connections to Private Hypothesis Selection
The results in the preceding sections concern non-proper learning. In this section, we convert these learners into proper learners by projecting their outputs onto a finite cover of the target class. This preserves the sample complexity up to a constant rescaling of the accuracy parameter, at the cost of a larger agnostic approximation factor and potentially inefficient computation.
A generic alternative for non-efficient proper learning a class F \mathcal{F} F is to apply locally private hypothesis selection to a finite α \alpha α -cover C ⊆ F \mathcal{C} \subseteq\mathcal{F} C ⊆ F . The selector returns a member of C \mathcal{C} C , so its output belongs to the target class. After a constant rescaling of α \alpha α to account for the cover error, the interactive algorithm of Pour et al. [50 ] gives sample complexity O ~ ( ∣ C ∣ / ( ε 2 α 2 ) ) \widetilde{O}(|\mathcal{C}|/(\varepsilon^2\alpha^2)) O ( ∣ C ∣/ ( ε 2 α 2 )) with agnostic approximation factor 9, while the non-interactive algorithm of Kamath et al. [42 ] gives O ~ ( ∣ C ∣ 3 / 2 / ( ε 2 α 2 ) ) \widetilde{O}(|\mathcal{C}|^{3/2}/(\varepsilon^2\alpha^2)) O ( ∣ C ∣ 3/2 / ( ε 2 α 2 )) with agnostic approximation factor 13. Here, O ~ \widetilde{O} O suppresses logarithmic factors in ∣ C ∣ |\mathcal{C}| ∣ C ∣ and 1 / β 1/\beta 1/ β .
However, such covers can be exponentially large. For example, for GMMs, the cover size is roughly O ~ ( ( m R α 3 σ min ) m ) \widetilde{O}\left(\left(\frac{mR}{\alpha^3\sigma_{\min}}\right)^m\right) O ( ( α 3 σ m i n m R ) m ) . Applying LDP hypothesis selection to such a cover yields sample complexity bound that is exponential in m m m and polynomial in range parameters R / α σ min R/\alpha\sigma_{\min} R / α σ m i n . In comparison, our proper learning result in Corollary H.3 preserves the sample bound of our non-proper learner, with quadratic dependence on m m m (up to logarithmic factors) and only polylogarithmic dependence on the component range parameters. The cover size affects the computation required for the final projection, but does not enter the sample bound. The resulting agnostic approximation factor is 21.
For an arbitrary class of distributions F \mathcal{F} F , an Ω ( ∣ F ∣ / ( ε 2 α 2 ) ) \Omega(|\mathcal{F}|/(\varepsilon^2\alpha^2)) Ω ( ∣ F ∣/ ( ε 2 α 2 )) worst-case sample lower bound holds even for interactive LDP hypothesis selection [33 , 50 ] . This worst-case bound prevents a generic improvement based only on ∣ F ∣ |\mathcal{F}| ∣ F ∣ ; it does not impose the same dependence for structured distribution classes.
Lemma H.1 (From non-proper to proper learning). Let C ≥ 1 C \ge1 C ≥ 1 , α ∈ ( 0 , 1 / 4 ) \alpha\in(0,1/4) α ∈ ( 0 , 1/4 ) , and β ∈ ( 0 , 1 ) \beta\in(0,1) β ∈ ( 0 , 1 ) . Let F \mathcal{F} F be a class of distributions with a given finite α \alpha α -cover C ⊆ F \mathcal{C} \subseteq\mathcal{F} C ⊆ F in total variation distance. Let A \mathcal{A} A be a non-proper ( C , α , β ) (C,\alpha,\beta) ( C , α , β ) -agnostic learner for F \mathcal{F} F . Suppose there exists an oracle that, given any F ∈ F F \in\mathcal{F} F ∈ F and any distribution Q Q Q , approximates d T V ( Q , F ) d_{\mathrm{TV}}(Q,F) d TV ( Q , F ) with additive error at most α / 2 \alpha/2 α /2 in time T d i s t T_{\mathrm{dist}} T dist . Then, the following holds:
There exists a proper ( 2 C + 1 , 4 α , β ) (2C+1,4\alpha,\beta) ( 2 C + 1 , 4 α , β ) -agnostic learner for F \mathcal{F} F that outputs a member of C \mathcal{C} C , uses the same number of samples, and takes O ( ∣ C ∣ ( T d i s t + 1 ) ) O(|\mathcal{C}|(T_{\mathrm{dist}}+1)) O ( ∣ C ∣ ( T dist + 1 )) additional time. Moreover, if A \mathcal{A} A is non-interactive ε \varepsilon ε -LDP, then the resulting proper learner is also non-interactive ε \varepsilon ε -LDP.
The proof, given later in this section, follows by approximately projecting the non-proper learner’s output onto C C C and applying the triangle inequality.
The next lemma provides such a finite cover for the class of bounded-parameter Gaussian mixtures. Its proof appears later in this section.
Lemma H.2. Let α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) , R ≥ 0 R \ge0 R ≥ 0 , m ≥ 1 m \ge1 m ≥ 1 be an integer, 0 < σ min ≤ σ max < ∞ 0 < \sigma_{\min} \le\sigma_{\max} < \infty 0 < σ m i n ≤ σ m a x < ∞ , and c > 0 c > 0 c > 0 be a universal constant. Then the class m m m -mix( G ( R , σ min , σ max ) ) (\mathcal{G}(R,\sigma_{\min},\sigma_{\max})) ( G ( R , σ m i n , σ m a x )) admits an α \alpha α -cover in total variation distance of size at most
[ c m α ( 1 + R α σ min ) ( 1 + log ( σ max / σ min ) α ) ] m . \left[\frac{cm}{\alpha}\left(1+\frac{R}{\alpha\sigma_{\min}}\right)\left(1+\frac{\log(\sigma_{\max}/\sigma_{\min})}{\alpha}\right)\right]^m. [ α c m ( 1 + α σ m i n R ) ( 1 + α log ( σ m a x / σ m i n ) ) ] m .
Combining the proper conversion from H.1 with Lemma H.2 and Theorem F.2 gives the following corollary.
Corollary H.3 (LDP Agnostic Proper Learning of GMMs). Under the same assumptions of Theorem F.2 , there exists a non-interactive ε \varepsilon ε -LDP ( 2 C + 1 , α , β ) (2C+1,\alpha,\beta) ( 2 C + 1 , α , β ) -agnostic proper learner for the class of m m m -mix( G ( R , σ min , σ max ) ) (\mathcal{G}(R,\sigma_{\min},\sigma_{\max})) ( G ( R , σ m i n , σ m a x )) that uses
O ( m 2 log 2 ( 2 / α ) ε 2 α 2 log 2 ( 2 ( R + σ max ) α σ min ) log ( 2 ( R + σ max ) α β σ min ) ) O\left(\frac{m^2\log^2(2/\alpha)}{\varepsilon^2\alpha^2}\log^2\left(\frac{2(R+\sigma_{\max})}{\alpha\sigma_{\min}}\right)\log\left(\frac{2(R+\sigma_{\max})}{\alpha\beta\sigma_{\min}}\right)\right) O ( ε 2 α 2 m 2 log 2 ( 2/ α ) log 2 ( α σ m i n 2 ( R + σ m a x ) ) log ( α β σ m i n 2 ( R + σ m a x ) ) ) samples. The algorithm is not claimed to be computationally efficient.
Proof of Lemma H.1. Now, we prove how to obtain a proper learner from a non-proper learner. Run A \mathcal{A} A to obtain a distribution P ^ \widehat{P} P . Approximate each distance d T V ( P ^ , G ) d_{\mathrm{TV}}(\widehat{P},G) d TV ( P , G ) , for G ∈ C G \in\mathcal{C} G ∈ C , to additive error at most α / 2 \alpha/2 α /2 , and return a member P ~ ∈ C \widetilde{P} \in\mathcal{C} P ∈ C with the smallest estimated distance, breaking ties according to a fixed ordering of C \mathcal{C} C . This ensures that
d T V ( P ^ , P ~ ) ≤ min G ∈ C d T V ( P ^ , G ) + α . d_{\mathrm{TV}}(\widehat{P},\widetilde{P}) \le\min_{G\in\mathcal{C}} d_{\mathrm{TV}}(\widehat{P},G)+\alpha. d TV ( P , P ) ≤ G ∈ C min d TV ( P , G ) + α .
Let P P P be the sampling distribution. With probability at least 1 − β 1-\beta 1 − β , the guarantee of A \mathcal{A} A gives
d T V ( P ^ , P ) ≤ C inf F ∈ F d T V ( P , F ) + α . d_{\mathrm{TV}}(\widehat{P},P) \le C\inf_{F\in\mathcal{F}}d_{\mathrm{TV}}(P,F)+\alpha. d TV ( P , P ) ≤ C F ∈ F inf d TV ( P , F ) + α .
Condition on this event. Fix any F ⋆ ∈ F F^\star\in\mathcal{F} F ⋆ ∈ F . Since C \mathcal{C} C is an α \alpha α -cover, there exists G ⋆ ∈ C G^\star\in\mathcal{C} G ⋆ ∈ C such that d T V ( F ⋆ , G ⋆ ) ≤ α d_{\mathrm{TV}}(F^\star,G^\star) \le\alpha d TV ( F ⋆ , G ⋆ ) ≤ α . Therefore,
d T V ( P ~ , P ) ≤ d T V ( P ~ , P ^ ) + d T V ( P ^ , P ) ≤ d T V ( G ⋆ , P ^ ) + d T V ( P ^ , P ) + α ≤ d T V ( F ⋆ , P ^ ) + d T V ( P ^ , P ) + 2 α ≤ d T V ( F ⋆ , P ) + 2 d T V ( P ^ , P ) + 2 α ≤ ( 2 C + 1 ) d T V ( P , F ⋆ ) + 4 α . \begin{aligned}
d_{\mathrm{TV}}(\widetilde{P},P) &\le d_{\mathrm{TV}}(\widetilde{P},\widehat{P})+d_{\mathrm{TV}}(\widehat{P},P) \\
&\le d_{\mathrm{TV}}(G^\star,\widehat{P})+d_{\mathrm{TV}}(\widehat{P},P)+\alpha\\
&\le d_{\mathrm{TV}}(F^\star,\widehat{P})+d_{\mathrm{TV}}(\widehat{P},P)+2\alpha\\
&\le d_{\mathrm{TV}}(F^\star,P)+2d_{\mathrm{TV}}(\widehat{P},P)+2\alpha\\
&\le(2C+1)d_{\mathrm{TV}}(P,F^\star)+4\alpha.
\end{aligned} d TV ( P , P ) ≤ d TV ( P , P ) + d TV ( P , P ) ≤ d TV ( G ⋆ , P ) + d TV ( P , P ) + α ≤ d TV ( F ⋆ , P ) + d TV ( P , P ) + 2 α ≤ d TV ( F ⋆ , P ) + 2 d TV ( P , P ) + 2 α ≤ ( 2 C + 1 ) d TV ( P , F ⋆ ) + 4 α .
Taking the infimum over F ⋆ ∈ F F^\star\in\mathcal{F} F ⋆ ∈ F proves the accuracy guarantee. The additional errors account for the cover and the approximate minimization.
The conversion computes ∣ C ∣ |\mathcal{C}| ∣ C ∣ distance approximations and makes O ( ∣ C ∣ ) O(|\mathcal{C}|) O ( ∣ C ∣ ) additional comparisons, giving O ( ∣ C ∣ ( T d i s t + 1 ) ) O(|\mathcal{C}|(T_{\mathrm{dist}}+1)) O ( ∣ C ∣ ( T dist + 1 )) additional running time. It uses only the output of A \mathcal{A} A , so it requires no additional samples and preserves privacy and non-interactivity by post-processing.
For a target additive error τ ∈ ( 0 , 1 ) \tau\in(0,1) τ ∈ ( 0 , 1 ) , applying this construction with α = τ / 4 \alpha=\tau/4 α = τ /4 and a cover of radius τ / 4 \tau/4 τ /4 gives a proper ( 2 C + 1 , τ , β ) (2C+1,\tau,\beta) ( 2 C + 1 , τ , β ) -agnostic learner using n A ( τ / 4 , β ) n_{\mathcal{A}}(\tau/4,\beta) n A ( τ /4 , β ) samples.
Here, we explain the construction of a cover for bounded-parameter GMMs.
Claim H.4. Let α ∈ ( 0 , 1 ] \alpha\in(0,1] α ∈ ( 0 , 1 ] . There is an α \alpha α -cover for the ( m − 1 ) (m-1) ( m − 1 ) -dimensional probability simplex
Δ m = { ( w 1 , w 2 , … , w m ) ∈ R ≥ 0 m : ∑ i ∈ [ m ] w i = 1 } \Delta_m = \left\{(w_1,w_2,\ldots,w_m) \in\mathbb{R}_{\geq0}^{m} : \sum_{i\in[m]} w_i = 1\right\} Δ m = ⎩ ⎨ ⎧ ( w 1 , w 2 , … , w m ) ∈ R ≥ 0 m : i ∈ [ m ] ∑ w i = 1 ⎭ ⎬ ⎫ with respect to ℓ ∞ \ell_\infty ℓ ∞ of size at most ⌈ 1 / α ⌉ m \lceil1/\alpha\rceil^m ⌈ 1/ α ⌉ m .
Proof. Partition [ 0 , 1 ] [0,1] [ 0 , 1 ] into ⌈ 1 / α ⌉ \lceil1/\alpha\rceil ⌈ 1/ α ⌉ intervals of length at most α \alpha α , and use their Cartesian products to partition [ 0 , 1 ] m [0,1]^m [ 0 , 1 ] m . For every cell that intersects Δ m \Delta_m Δ m , select one point from the intersection. Any two points in the same cell have ℓ ∞ \ell_\infty ℓ ∞ distance at most α \alpha α , so the selected points form an α \alpha α -cover of Δ m \Delta_m Δ m . There are at most ⌈ 1 / α ⌉ m \lceil1/\alpha\rceil^m ⌈ 1/ α ⌉ m cells.
Proof of Lemma H.2. We prove the cover construction for GMMs.
Let f = ∑ i ∈ [ m ] w i N ( μ i , σ i 2 ) f = \sum_{i\in[m]} w_i\mathcal{N}(\mu_i,\sigma_i^2) f = ∑ i ∈ [ m ] w i N ( μ i , σ i 2 ) be an arbitrary member of the class. We construct a cover by discretizing the mixture weights, means, and standard deviations.
For the weights, let C w C_w C w be an α / m \alpha/m α / m -cover of Δ m \Delta_m Δ m in ℓ ∞ \ell_\infty ℓ ∞ , of size at most ⌈ m / α ⌉ m \lceil m/\alpha\rceil^m ⌈ m / α ⌉ m , as given by Claim H.4.
For the means, let C μ C_\mu C μ be a grid on [ − R , R ] [-R,R] [ − R , R ] containing both endpoints, with consecutive points at distance at most α σ min / 2 \alpha\sigma_{\min}/2 α σ m i n /2 . When R = 0 R=0 R = 0 , take C μ = { 0 } C_\mu=\{0\} C μ = { 0 } . The grid can be chosen to have at most 1 + ⌈ 4 R / ( α σ min ) ⌉ 1+\lceil4R/(\alpha\sigma_{\min})\rceil 1 + ⌈ 4 R / ( α σ m i n )⌉ points, and every μ ∈ [ − R , R ] \mu\in[-R,R] μ ∈ [ − R , R ] has a grid point μ ~ \widetilde{\mu} μ satisfying ∣ μ − μ ~ ∣ ≤ α σ min / 4 |\mu-\widetilde{\mu}|\leq\alpha\sigma_{\min}/4 ∣ μ − μ ∣ ≤ α σ m i n /4 .
For the standard deviations, take
C σ = { σ min ( 1 + α / 4 ) j : j = 0 , … , ⌈ log ( σ max / σ min ) log ( 1 + α / 4 ) ⌉ } . C_\sigma=\left\{\sigma_{\min}(1+\alpha/4)^j:j=0,\ldots,\left\lceil\frac{\log(\sigma_{\max}/\sigma_{\min})}{\log(1+\alpha/4)}\right\rceil\right\}. C σ = { σ m i n ( 1 + α /4 ) j : j = 0 , … , ⌈ log ( 1 + α /4 ) log ( σ m a x / σ m i n ) ⌉ } .
For every σ ∈ [ σ min , σ max ] \sigma\in[\sigma_{\min},\sigma_{\max}] σ ∈ [ σ m i n , σ m a x ] , there is a grid point σ ~ \widetilde{\sigma} σ such that σ ~ ≤ σ < ( 1 + α / 4 ) σ ~ \widetilde{\sigma}\leq\sigma<(1+\alpha/4)\widetilde{\sigma} σ ≤ σ < ( 1 + α /4 ) σ , and hence ∣ log ( σ / σ ~ ) ∣ ≤ α / 4 |\log(\sigma/\widetilde{\sigma})|\leq\alpha/4 ∣ log ( σ / σ ) ∣ ≤ α /4 .
Let C C C contain all mixtures formed from weights in C w C_w C w , means in C μ C_\mu C μ , and standard deviations in C σ C_\sigma C σ . Every member of C C C belongs to the target class.
For univariate Gaussians, varying the mean and then the standard deviation gives
d T V ( N ( μ , σ 2 ) , N ( μ ~ , σ ~ 2 ) ) ≤ ∣ μ − μ ~ ∣ 2 σ + ∣ log ( σ σ ~ ) ∣ . \mathrm{d}_{\mathrm{TV}}\left(\mathcal{N}(\mu,\sigma^2),\mathcal{N}(\widetilde{\mu},\widetilde{\sigma}^2)\right)\leq\frac{|\mu-\widetilde{\mu}|}{2\sigma}+\left|\log\left(\frac{\sigma}{\widetilde{\sigma}}\right)\right|. d TV ( N ( μ , σ 2 ) , N ( μ , σ 2 ) ) ≤ 2 σ ∣ μ − μ ∣ + log ( σ σ ) .
Choose the corresponding grid parameters for f f f , and write f ~ = ∑ i ∈ [ m ] w ~ i N ( μ ~ i , σ ~ i 2 ) ∈ C \widetilde{f}=\sum_{i\in[m]}\widetilde{w}_i\mathcal{N}(\widetilde{\mu}_i,\widetilde{\sigma}_i^2)\in C f = ∑ i ∈ [ m ] w i N ( μ i , σ i 2 ) ∈ C . Then
d T V ( f , f ~ ) ≤ 1 2 ∑ i ∈ [ m ] ∣ w i − w ~ i ∣ + ∑ i ∈ [ m ] w ~ i d T V ( N ( μ i , σ i 2 ) , N ( μ ~ i , σ ~ i 2 ) ) ≤ α 2 + ∑ i ∈ [ m ] w ~ i ( α σ min / 4 2 σ min + α 4 ) = α 2 + 3 α 8 ≤ α . \begin{aligned}
\mathrm{d}_{\mathrm{TV}}(f,\widetilde{f})
&\leq\frac{1}{2}\sum_{i\in[m]}|w_i-\widetilde{w}_i|+\sum_{i\in[m]}\widetilde{w}_i\mathrm{d}_{\mathrm{TV}}\left(\mathcal{N}(\mu_i,\sigma_i^2),\mathcal{N}(\widetilde{\mu}_i,\widetilde{\sigma}_i^2)\right)\\
&\leq\frac{\alpha}{2}+\sum_{i\in[m]}\widetilde{w}_i\left(\frac{\alpha\sigma_{\min}/4}{2\sigma_{\min}}+\frac{\alpha}{4}\right)\\
&=\frac{\alpha}{2}+\frac{3\alpha}{8}\leq\alpha.
\end{aligned} d TV ( f , f ) ≤ 2 1 i ∈ [ m ] ∑ ∣ w i − w i ∣ + i ∈ [ m ] ∑ w i d TV ( N ( μ i , σ i 2 ) , N ( μ i , σ i 2 ) ) ≤ 2 α + i ∈ [ m ] ∑ w i ( 2 σ m i n α σ m i n /4 + 4 α ) = 2 α + 8 3 α ≤ α .
Finally,
∣ C ∣ ≤ ∣ C w ∣ ∣ C μ ∣ m ∣ C σ ∣ m |C|\leq|C_w||C_\mu|^m|C_\sigma|^m ∣ C ∣ ≤ ∣ C w ∣∣ C μ ∣ m ∣ C σ ∣ m
≤ ⌈ m α ⌉ m ( 1 + 4 R α σ min ) m ( 1 + log ( σ max / σ min ) log ( 1 + α / 4 ) ) m ≤ ⌈ c m α ( 1 + R α σ min ) ( 1 + log ( σ max / σ min ) α ) ⌉ m \begin{aligned}
&\le\left\lceil\frac{m}{\alpha} \right\rceil^{m}
\left(1+\frac{4R}{\alpha\sigma_{\min}}\right)^{m}
\left(1+\frac{\log(\sigma_{\max}/\sigma_{\min})}{\log(1+\alpha/4)}\right)^{m}\\
&\le\left\lceil\frac{cm}{\alpha}
\left(1+\frac{R}{\alpha\sigma_{\min}}\right)
\left(1+\frac{\log(\sigma_{\max}/\sigma_{\min})}{\alpha}\right)\right\rceil^{m}
\end{aligned} ≤ ⌈ α m ⌉ m ( 1 + α σ m i n 4 R ) m ( 1 + log ( 1 + α /4 ) log ( σ m a x / σ m i n ) ) m ≤ ⌈ α c m ( 1 + α σ m i n R ) ( 1 + α log ( σ m a x / σ m i n ) ) ⌉ m
for a universal constant c > 0 c > 0 c > 0 .