Introduction
Sequential data arise in a wide range of applications, including language modeling, mobility analysis, healthcare, recommendation systems, and web navigation. In many such settings, the data are naturally partitioned across individuals: each user contributes a document, a conversation, or a trajectory of interactions. Since the observations within a user’s trajectory may collectively reveal sensitive information, it motivates protection of privacy of the user’s entire trajectory rather than each observation in isolation. This issue is particularly relevant to modern language models, which are often trained or adapted using collections of user-generated documents and conversations.
Differential privacy (DP) [13 ] (Dwork 2006) formalizes this guarantee of protection by requiring the distribution of an algorithm’s output to change little when one protected unit is replaced. The choice of unit is crucial: item-level DP protects a single interaction, whereas user-level DP protects all observations contributed by one individual jointly. For sequential data, protecting one item may still reveal patterns across a document, conversation, or trajectory, making user-level privacy the natural goal.
A substantial literature on user-level private statistics studies grouped i.i.d. data, where each user contributes repeated independent samples and within-user concentration can reduce the cost of privacy [27 , 26 , 15 , 18 ] . Markov trajectories differ in two important respects: observations within a trajectory are dependent, and the number of transitions observed from each state is random. Consequently, private estimation must account for temporal dependence, mixing, and state coverage in addition to within-user concentration ([35 , 37 ] ).
Motivated by this setting, we study the problem of privately learning a discrete Markov chain. We observe N N N independent trajectories, each of length T T T , from the same ergodic Markov chain on S S S states and seek to estimate its transition matrix P P P . Accuracy is measured by the maximum row-wise ℓ 1 \ell_1 ℓ 1 error, so every conditional next-state distribution must be learned simultaneously. We parameterize the difficulty of the chain by its minimum stationary probability π min \pi_{\min} π m i n and pseudo-spectral gap γ p s \gamma_{\mathrm{ps}} γ ps , which control state coverage and mixing, respectively. We make no stationarity assumption on the starting states: every trajectory may begin from an arbitrary initial distribution. For a target error α \alpha α , privacy parameters ( ϵ , δ ) (\epsilon,\delta) ( ϵ , δ ) , and a fixed trajectory length T T T , we ask:
How many users N N N are necessary and sufficient to estimate P P P accurately under item-level or user-level differential privacy?
Formal definitions and the complete problem formulation are given in § 1.3 .
Our contributions. We initiate the study of privately estimating an unknown transition matrix directly from Markovian trajectories.
Item-level private Markov-chain estimation. We establish upper and lower bounds for transition-matrix estimation under item-level privacy1 , separating the costs of ordinary sampling, state occupancy and mixing, and privacy, as summarized in Table 1 . The ordinary-sampling and privacy-accuracy interaction terms match up to logarithmic factors.
Table 1. Comparison of user-complexity upper and lower bounds under different privacy models. M δ : = min { S 2 , log ( 1 / δ ) } M_\delta:= \min\{S^2,\log(1/\delta)\} M δ := min { S 2 , log ( 1/ δ )} . O ~ \widetilde{O} O and Ω ~ \widetilde{\Omega} Ω omit poly-logarithmic dependencies. Item-level bounds match in the sampling and privacy terms, while the upper-bound mixing term 1 / ( γ p s π min T ) 1/(\gamma_{\mathrm{ps}}\pi_{\min}T) 1/ ( γ ps π m i n T ) has no counterpart in the displayed lower bound 1 . For ( ϵ , δ ) (\epsilon,\delta) ( ϵ , δ ) -DP, the user-level bounds are tight except for dependence on log ( 1 / δ ) \log(1/\delta) log ( 1/ δ ) . For ϵ \epsilon ϵ -DP, the sampling and S 2 / ϵ S^2/\epsilon S 2 / ϵ terms match, while the privacy-accuracy interaction term is loose by a factor of S \sqrt{S} S .
and lower bounds. The resulting Markov-chain rates under approximate and pure DP are summarized in Table 1 respectively. Under approximate DP, our upper and lower bounds match up to log factors, as observed in Table 1 .
User-level private product-distribution estimation. As an intermediate result of independent interest, we establish upper and lower bounds for estimating d d d -fold products of k k k -ary distributions from m m m samples per user under maximum row-wise ℓ 1 \ell_1 ℓ 1 loss under pure and approximate DP. At the user level, Ghazi et al. [18 ] study learning d d d -fold k k k -ary product distributions in joint total variation under pure DP. For k = 2 k = 2 k = 2 , Esfandiari et al. [15 ] give approximate-DP guarantees for global ℓ 2 \ell_2 ℓ 2 mean estimation, which apply to Bernoulli products and yield bounds under maximum row-wise ℓ 1 \ell_1 ℓ 1 loss. To our knowledge, ours is the first near-tight characterization of d d d -fold k k k -ary product estimation under maximum row-wise ℓ 1 \ell_1 ℓ 1 loss in the approximate user-level DP setting, and the first lower bound capturing the joint dependence on k k k and d d d . These results may be of independent interest and also underpin our Markov-chain guarantees under user-level privacy.
Overview of techniques
Our proofs use the row-wise structure of transition-matrix estimation together with reductions that preserve the relevant neighboring relation. At the item level, this leads to privatizing transition counts directly. At the user level, sufficiently long trajectories can instead be related to repeated sampling from a product distribution.
Item-level private learning of Markov chains. In this case, we aggregate the transition-count matrix across all trajectories; changing one observation affects only a constant number of counts, so this matrix has constant global sensitivity. Adding Laplace or Gaussian noise and then normalizing the rows gives the private estimator. The analysis combines row-wise distributional concentration with Markov-chain occupation-time concentration from Leskelä and Dreveton [24 ] . Their role is to separate ordinary sampling error and privacy noise from the mixing and coverage requirements. For the lower bound, a rare-row embedding places an arbitrary categorical distribution in the transitions from a state of stationary mass π min \pi_{\min} π m i n . An adjacency-preserving coupling transfers private categorical-estimation lower bounds to this row.
Under user-level privacy, longer trajectories should provide an advantage: a length-T T T trajectory contains about T π i T\pi_i T π i transitions from state i i i , so each user’s empirical transition profile becomes more concentrated as T T T grows. A mechanism based only on global sensitivity misses this gain, since replacing one user can alter all T T T transitions. Our approach instead exploits this within-user concentration once trajectories are sufficiently long.
User-level private learning of Markov chains. The upper bound combines occupation-time concentration (Wolfer and Kontorovich [37 ] ) with an adjacency-preserving reduction to product-distribution estimation. Beyond the mixing threshold, each trajectory supplies Θ ( π min T ) \Theta(\pi_{\min}T) Θ ( π m i n T ) outgoing transitions from every state. A transition-stack coupling converts these transitions into a user block of repeated samples from the product of the transition rows. The role of mixing is therefore to guarantee uniform row coverage; the remaining privacy and estimation problem is handled by our product-distribution estimator.
For the converse, we again reduce to the complexity of product distribution estimation. We construct a two-layer Markov chain, embedding the unknown product marginals into designated transitions, while a data-independent trajectory skeleton makes the simulation user-wise and hence adjacency preserving. These reductions transfer both upper and lower bounds and show that, in the long-trajectory regime, user-level Markov-chain estimation reduces to product-distribution estimation up to logarithmic losses. This yields matching approximate-DP bounds up to logarithmic factors; the pure-DP results inherit the remaining product-distribution gap.
User-level private product-distribution estimation. For the approximate-DP upper bound, we use concentration-aware private mean estimation. Within-user averaging makes the empirical distribution matrices concentrate in a Frobenius ball. The Friendly-Core framework (Tsfadia et al., [32 ] ) uses a stable filter to certify this small diameter before applying Gaussian averaging. Its role is to replace the worst-case sensitivity of an arbitrary user block by the smaller scale revealed by the m m m samples within each user.
For the approximate-DP lower bound, we introduce a paired Poisson estimation problem. In each marginal, categories are grouped into pairs with independent Poisson counts with means m ( q + θ j , b ) m(q + \theta_{j,b}) m ( q + θ j , b ) and m ( q − θ j , b ) m(q - \theta_{j,b}) m ( q − θ j , b ) . The opposite perturbations keep every marginal normalized while providing a convenient product structure across the d d d marginals. We prove a lower bound for this intermediate problem using the Poissonization and fingerprinting techniques of Esfandiari et al. [15 ] and Kamath et al. [23 ] . The ordinary sampling and small-user terms follow from standard nonprivate and packing arguments. For pure DP, row-wise private estimation gives the upper bounds and product packings give the corresponding lower bounds.
Related Work
Estimation of Markov chains is a well-studied area, spanning classical asymptotic inference ([5 , 7 ] ) and finite-sample transition-matrix estimation from a single trajectory ([21 , 35 , 37 , 24 ] ). In parallel, user-level differential privacy has been studied for grouped i.i.d. data, particularly for mean and discrete-distribution estimation ([27 , 26 , 15 , 17 , 18 ] ). Most closely related to our setting are mechanisms for privatizing stochastic matrices ([16 , 6 ] ). Unlike these works, we estimate an unknown transition matrix directly from Markovian trajectories under both item- and user-level privacy. A more detailed overview of these works can be found in Appendix A.
Preliminaries
We begin by introducing the notation and preliminary definitions needed to understand the problem setup and the results in this paper. Let [ S ] : = { 1 , … , S } [S] := \{1,\ldots,S\} [ S ] := { 1 , … , S } denote the state space, where S S S is the number of states of the Markov chain. We regard probability distributions on [ S ] [S] [ S ] as row vectors. For any matrix P ∈ R k × d P \in\mathbb{R}^{k \times d} P ∈ R k × d , the notation P i , j P_{i,j} P i , j denotes its entry in the i i i th row and j j j th column, and P ( i , ⋅ ) P_{(i,\cdot)} P ( i , ⋅ ) denotes its i i i th row whereas P ( ⋅ , j ) P_{(\cdot,j)} P ( ⋅ , j ) represents the j j j th column. The vector e i ∈ R S e_i \in\mathbb{R}^{S} e i ∈ R S denotes the i i i th standard basis vector. Δ ( k ) \Delta^{(k)} Δ ( k ) represents the k k k -dimensional standard simplex, and for any p ∈ Δ ( k ) p \in\Delta^{(k)} p ∈ Δ ( k ) , X ∼ p X \sim p X ∼ p corresponds to sampling an element from [ k ] [k] [ k ] given that p p p is the probability distribution over [ k ] [k] [ k ] . a ≳ b a \gtrsim b a ≳ b means that there exists a universal constant C > 0 C > 0 C > 0 such that a ≥ C b a \ge Cb a ≥ C b and a ≲ b a \lesssim b a ≲ b means there exists a universal constant C > 0 C > 0 C > 0 such that a ≤ C b a \le Cb a ≤ C b .
Standard vector norms are denoted by ∥ μ ∥ 1 : = ∑ i ∣ μ i ∣ \|\mu\|_1 := \sum_i |\mu_i| ∥ μ ∥ 1 := ∑ i ∣ μ i ∣ , ∥ μ ∥ 2 : = ( ∑ i μ i 2 ) 1 / 2 \|\mu\|_2 := \left(\sum_i \mu_i^2\right)^{1/2} ∥ μ ∥ 2 := ( ∑ i μ i 2 ) 1/2 , and ∥ μ ∥ ∞ : = max i ∣ μ i ∣ \|\mu\|_\infty:= \max_i |\mu_i| ∥ μ ∥ ∞ := max i ∣ μ i ∣ . For two probability distributions μ \mu μ and ν \nu ν on [ S ] [S] [ S ] , their total variation distance is d T V ( μ , ν ) : = 1 2 ∥ μ − ν ∥ 1 = 1 2 ∑ i = 1 S ∣ μ i − ν i ∣ d_{\mathrm{TV}}(\mu,\nu) := \frac{1}{2}\|\mu-\nu\|_1 = \frac{1}{2}\sum_{i=1}^{S}|\mu_i-\nu_i| d TV ( μ , ν ) := 2 1 ∥ μ − ν ∥ 1 = 2 1 ∑ i = 1 S ∣ μ i − ν i ∣ . For matrices, ∥ P ∥ 2 \|P\|_2 ∥ P ∥ 2 denotes the spectral norm, while $|P|_\infty := max i ∥ P ( i , ⋅ ) ∥ 1 \max_i \lVert P_{(i,\cdot)}\rVert_1 max i ∥ P ( i , ⋅ ) ∥ 1 denotes the maximum row-sum norm. These are the operator norms induced by the ℓ 2 \ell_2 ℓ 2 and ℓ ∞ \ell_\infty ℓ ∞ norms on R S \mathbb{R}^{S} R S , respectively. A matrix P ∈ R k × d P \in\mathbb{R}^{k \times d} P ∈ R k × d is a stochastic matrix if P ( i , ⋅ ) ∈ Δ ( k ) P_{(i,\cdot)} \in\Delta^{(k)} P ( i , ⋅ ) ∈ Δ ( k ) for each i ∈ [ d ] i \in[d] i ∈ [ d ] . For two stochastic matrices P P P and Q Q Q ,
ρ ( P , Q ) = ∥ P − Q ∥ ∞ = max i ∈ [ S ] ∥ P ( i , ⋅ ) − Q ( i , ⋅ ) ∥ 1 = 2 max i ∈ [ S ] d T V ( P ( i , ⋅ ) , Q ( i , ⋅ ) ) . \rho(P,Q) = \lVert P-Q\rVert_\infty= \max_{i\in[S]}\lVert P_{(i,\cdot)}-Q_{(i,\cdot)}\rVert_1 = 2\max_{i\in[S]}d_{\mathrm{TV}}(P_{(i,\cdot)},Q_{(i,\cdot)}). ρ ( P , Q ) = ∥ P − Q ∥ ∞ = i ∈ [ S ] max ∥ P ( i , ⋅ ) − Q ( i , ⋅ ) ∥ 1 = 2 i ∈ [ S ] max d TV ( P ( i , ⋅ ) , Q ( i , ⋅ ) ) .
In this work, we consider ergodic Markov chains on the state space [ S ] [S] [ S ] , with transition matrix P P P and stationary distribution π \pi π . The difficulty of estimating P P P is parameterized by three basic quantities: the number of states S S S ; the minimum stationary mass π min : = min i ∈ [ S ] π i \pi_{\min} := \min_{i\in[S]}\pi_i π m i n := min i ∈ [ S ] π i , which controls how often the least frequently visited state is observed at equilibrium; and the pseudo-spectral gap γ p s ( P ) \gamma_{\mathrm{ps}}(P) γ ps ( P ) , which quantifies the rate at which the chain mixes. These Markov chain notions are standard [25 ] , with the pseudo-spectral gap following Paulin [30 ] . For completeness, formal definitions and further discussion are provided in Appendix § 8 .
Problem formulation. Let C ( S , π min , γ p s ) : = { P : P is ergodic , π min ( P ) ≥ π min , γ p s ( P ) ≥ γ p s } \mathcal{C}(S,\pi_{\min},\gamma_{\mathrm{ps}}) := \{P : P \text{ is ergodic}, \pi_{\min}(P) \ge\pi_{\min}, \gamma_{\mathrm{ps}}(P) \ge\gamma_{\mathrm{ps}}\} C ( S , π m i n , γ ps ) := { P : P is ergodic , π m i n ( P ) ≥ π m i n , γ ps ( P ) ≥ γ ps } . For each u ∈ [ N ] u \in[N] u ∈ [ N ] , let X 1 : T ( u ) = ( X 1 ( u ) , … , X T ( u ) ) X_{1:T}^{(u)} = (X_1^{(u)},\ldots,X_T^{(u)}) X 1 : T ( u ) = ( X 1 ( u ) , … , X T ( u ) ) be an independent length-T T T trajectory from an ergodic Markov chain on [ S ] [S] [ S ] with transition matrix P ∈ C ( S , π min , γ p s ) P \in\mathcal{C}(S,\pi_{\min},\gamma_{\mathrm{ps}}) P ∈ C ( S , π m i n , γ ps ) , started from an arbitrary initial distribution, and write D = ( X 1 : T ( 1 ) , … , X 1 : T ( N ) ) D = (X_{1:T}^{(1)},\ldots,X_{1:T}^{(N)}) D = ( X 1 : T ( 1 ) , … , X 1 : T ( N ) ) . An estimator M \mathcal{M} M outputs a row-stochastic matrix P ^ = M ( D ) \widehat{P} = \mathcal{M}(D) P = M ( D ) . Following Wolfer and Kontorovich [37 ] , we measure its error using the maximum row-wise ℓ 1 \ell_1 ℓ 1 distance ρ ( P ^ , P ) \rho(\widehat{P},P) ρ ( P , P ) . This loss ensures that every state’s next-state distribution, including those of rare states, is accurate in total variation, which is half the corresponding row-wise ℓ 1 \ell_1 ℓ 1 distance. For accuracy α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) and failure probability f ∈ ( 0 , 1 ) f \in(0,1) f ∈ ( 0 , 1 ) , we say that M \mathcal{M} M is ( α , f ) (\alpha,f) ( α , f ) -accurate if
inf P ∈ C ( S , π min , γ p s ) Pr ( ρ ( P , P ^ ) ≤ α ) ≥ 1 − f . \inf_{P\in\mathcal{C}(S,\pi_{\min},\gamma_{\mathrm{ps}})}
\Pr\left(\rho(P,\widehat{P}) \le\alpha\right) \ge1-f. P ∈ C ( S , π m i n , γ ps ) inf Pr ( ρ ( P , P ) ≤ α ) ≥ 1 − f .
This guarantee is required uniformly over arbitrary initial distributions. The probability is over both the observed trajectories and the internal randomness of the estimator.
Definition 1 (Differential privacy (Dwork et al., [13 ] ). Let ϵ ≥ 0 \epsilon\ge0 ϵ ≥ 0 and δ ∈ [ 0 , 1 ) \delta\in[0,1) δ ∈ [ 0 , 1 ) . A randomized algorithm A : S → Y \mathcal{A}: \mathcal{S} \to\mathcal{Y} A : S → Y is ( ϵ , δ ) (\epsilon,\delta) ( ϵ , δ ) -differentially private (DP) if, for every pair of neighboring datasets S , S ′ ∈ S S,S' \in\mathcal{S} S , S ′ ∈ S and every measurable set V ⊆ Y V \subseteq\mathcal{Y} V ⊆ Y ,
Pr [ A ( S ) ∈ V ] ≤ e ϵ Pr [ A ( S ′ ) ∈ V ] + δ , \Pr[\mathcal{A}(S) \in V] \le e^\epsilon\Pr[\mathcal{A}(S') \in V] + \delta, Pr [ A ( S ) ∈ V ] ≤ e ϵ Pr [ A ( S ′ ) ∈ V ] + δ , where the probabilities are taken over the internal randomness of A \mathcal{A} A . When δ = 0 \delta= 0 δ = 0 , we say that A \mathcal{A} A satisfies pure ϵ \epsilon ϵ -DP.
Our goal is to estimate the transition-matrix using an estimator M \mathcal{M} M that is ( ϵ , δ ) (\epsilon,\delta) ( ϵ , δ ) -DP (or ϵ \epsilon ϵ -DP). In the preceding definition, the input space of the algorithm is ( [ S ] T ) N ([S]^T)^N ([ S ] T ) N , and its output space is the set of row-stochastic S × S S \times S S × S matrices. We consider two neighboring relations on this common input space, corresponding to two different units of privacy:
In the item-level setting , two datasets D D D and D ′ D' D ′ are neighbors if there exists at most one u ∈ [ N ] u \in[N] u ∈ [ N ] and t ∈ [ T ] t \in[T] t ∈ [ T ] such that X t ( u ) ≠ X t ( u ) ′ X_t^{(u)} \ne X_t^{(u)'} X t ( u ) = X t ( u ) ′ .
In the user-level setting , two datasets D D D and D ′ D' D ′ are neighbors if there exists at most one u ∈ [ N ] u \in[N] u ∈ [ N ] such that X ( u ) X^{(u)} X ( u ) and X ( u ) ′ X^{(u)'} X ( u ) ′ differ arbitrarily.
In both settings, differential privacy must hold pointwise for every pair of deterministic neighboring inputs. The Markov chain model and the randomness of the observed trajectories enter only in the accuracy guarantee. For a fixed trajectory length T T T , we seek to characterize the number of trajectories N N N required for an ( ε , δ ) (\varepsilon, \delta) ( ε , δ ) -DP (or pure ε \varepsilon ε -DP) estimator to satisfy the uniform row-wise estimation guarantee above.
Learning Markov Chains under Item-Level Privacy
We begin by studying transition matrix estimation under item-level privacy. Recall that datasets D D D and D ′ D' D ′ are item-level neighbors if they agree on every trajectory except possibly one and the exceptional trajectory may only differ by one entry. This setting isolates the main statistical and privacy costs before we turn to the user-level privacy model.
The natural non-private estimator is obtained from the empirical transition counts. For i , j ∈ [ S ] i,j \in[S] i , j ∈ [ S ] , let K i , j K_{i,j} K i , j be the total count of i → j i \to j i → j transitions occurring across all chains and let K i K_i K i be the number of observed departures from state i i i . Whenever K i > 0 K_i > 0 K i > 0 , the empirical estimator is
P ^ i , j n p : = K i , j K i . \widehat{P}^{\mathrm{np}}_{i,j} := \frac{K_{i,j}}{K_i}. P i , j np := K i K i , j .
If K i = 0 K_i = 0 K i = 0 , its i i i -th row can be set to any fixed probability vector, such as the uniform distribution. This is the usual estimator studied by Leskelä and Dreveton [24 ] . For a sufficiently long trajectory, concentration of the occupation counts gives K i ≍ N T π i K_i \asymp NT\pi_i K i ≍ N T π i , and the normalized counts in row i i i concentrate around P ( i , ⋅ ) P_{(i,\cdot)} P ( i , ⋅ ) . The non-private analysis therefore has two parts: controlling the empirical conditional distribution of the outgoing transition from each state and ensuring that every state is visited often enough along the dependent trajectory. These yield, up to logarithmic factors, N = O ~ ( S π min T α 2 + 1 γ p s π min T ) N = \widetilde{O}\left(\frac{S}{\pi_{\min}T\alpha^2}+\frac{1}{\gamma_{\mathrm{ps}}\pi_{\min}T}\right) N = O ( π m i n T α 2 S + γ ps π m i n T 1 ) .
The private estimator. We now turn to the item-level private setting. Our proposed estimator (as shown in Algorithm D.1) retains the same count-and-normalize structure, but first privatizes the empirical transition counts. Directly perturbing P ^ n p \widehat{P}^{\mathrm{np}} P np is inconvenient because its sensitivity depends on the potentially small row counts K i K_i K i . Instead, our estimator perturbs the raw transition counts, which have constant global sensitivity. Changing one state affects at most its two incident transition records; viewed separately, their joint change has Frobenius norm at most 2, while the aggregated count matrix has ℓ 1 \ell_1 ℓ 1 -sensitivity at most 4. Therefore, adding independent Lap ( 0 , 4 / ε ) \operatorname{Lap}(0,4/\varepsilon) Lap ( 0 , 4/ ε ) noise to the counts gives ε \varepsilon ε -differential privacy. Taking absolute values and normalizing the rows are post-processing operations that produce a valid transition matrix.
Theorem 2 (Complete version in Theorems 25 and 26 ) Fix 0 < α , f < 1 0 < \alpha, f < 1 0 < α , f < 1 and 0 < ε ≤ 1 0 < \varepsilon\le1 0 < ε ≤ 1 . Uniformly over P ∈ C ( S , π min , γ p s ) P \in\mathcal{C}(S,\pi_{\min},\gamma_{\mathrm{ps}}) P ∈ C ( S , π m i n , γ ps ) and arbitrary initial distributions, there exists an algorithm which is ε \varepsilon ε -differentially private and achieves ρ ( P ^ , P ) ≤ α \rho(\widehat{P}, P) \le\alpha ρ ( P , P ) ≤ α with probability 1 − f 1-f 1 − f for N = O ~ ( S π min T α 2 + max { 1 γ p s , 1 } 1 π min T + S π min T α ε ) N = \widetilde{O}\left(\frac{S}{\pi_{\min}T\alpha^2}+\max\left\{\frac{1}{\gamma_{\mathrm{ps}}},1\right\}\frac{1}{\pi_{\min}T}+\frac{S}{\pi_{\min}T\alpha\varepsilon}\right) N = O ( π m i n T α 2 S + max { γ ps 1 , 1 } π m i n T 1 + π m i n T α ε S ) .
Proof Sketch. Privacy follows from the sensitivity calculation above and the privacy guarantee of the Laplace mechanism. For utility, it is more convenient to analyze the perturbed counts before row normalization. This separates the ordinary statistical error from the additional error due to privacy. In particular, for every row i i i ,
∥ P ^ ( i , ⋅ ) − P ( i , ⋅ ) ∥ 1 ≤ ∥ P ^ ( i , ⋅ ) n p − P ( i , ⋅ ) ∥ 1 + ∥ P ^ ( i , ⋅ ) − P ^ ( i , ⋅ ) n p ∥ 1 . \left\|\widehat{P}_{(i,\cdot)}-P_{(i,\cdot)}\right\|_1 \le\left\|\widehat{P}^{\mathrm{np}}_{(i,\cdot)}-P_{(i,\cdot)}\right\|_1+\left\|\widehat{P}_{(i,\cdot)}-\widehat{P}^{\mathrm{np}}_{(i,\cdot)}\right\|_1. P ( i , ⋅ ) − P ( i , ⋅ ) 1 ≤ P ( i , ⋅ ) np − P ( i , ⋅ ) 1 + P ( i , ⋅ ) − P ( i , ⋅ ) np 1 .
The first term is controlled by the aforementioned non-private concentration argument. Recall that K i K_i K i denotes the number of departures from state i i i . On the event that every K i K_i K i is of order N T π i N T \pi_i N T π i , we show that the added noise contributes at most O ~ ( S N T π i ε ) \widetilde{O}\left(\frac{S}{N T \pi_i \varepsilon}\right) O ( N T π i ε S ) to the row-wise ℓ 1 \ell_1 ℓ 1 error in row i i i yielding an overall additive term of O ~ ( S N T π min ε ) \widetilde{O}\left(\frac{S}{N T \pi_{\min}\varepsilon}\right) O ( N T π m i n ε S ) . Combining it with non-private estimation gives the three terms in the stated sample complexity.
The complete statement and full proof of this claim can be found in Appendix D.§ 1 . Every ε \varepsilon ε -DP algorithm is also ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -DP for every δ ≥ 0 \delta\ge0 δ ≥ 0 , so the estimator above already provides approximate-DP guarantees. In Appendix D.§ 2 , we also give a Gaussian-mechanism based variant with an explicit ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -DP guarantee that achieves the same sample complexity up to logarithmic factors. This naturally leads to the question of whether the rate can be improved under approximate DP; the following lower bound shows that it is essentially tight.
Theorem 3 (Complete version in Theorem 32 ) For ε < 1 \varepsilon< 1 ε < 1 and δ = o ( ε 3 / 2 α S 2 log 2 ( S α ε ) ) \delta= o\left(\frac{\varepsilon^{3/2}\alpha}{S^2\log^2\left(\frac{S}{\alpha\varepsilon}\right)}\right) δ = o ( S 2 l o g 2 ( α ε S ) ε 3/2 α ) , every item-level ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -differentially private estimator that achieves error at most α \alpha α with probability at least 3 / 4 3/4 3/4 , uniformly over C ( S , π min , γ p s ) \mathcal{C}(S,\pi_{\min},\gamma_{\mathrm{ps}}) C ( S , π m i n , γ ps ) , requires N = Ω ~ ( S π min T α 2 + S π min T α ε ) N = \widetilde{\Omega}\left(\frac{S}{\pi_{\min}T\alpha^2}+\frac{S}{\pi_{\min}T\alpha\varepsilon}\right) N = Ω ( π m i n T α 2 S + π m i n T α ε S ) .
Proof Sketch. The lower bound follows from a reduction to the i.i.d. discrete distribution estimation problem. The idea is that, given M M M i.i.d. samples from a discrete distribution p ∈ Δ ( S − 1 ) p \in\Delta(S-1) p ∈ Δ ( S − 1 ) , we can carefully design corresponding Markov chains of total length M π min \frac{M}{\pi_{\min}} π m i n M with high probability. We do this by embedding p p p in the least frequently accessed row of the transition matrix M ( p ) M^{(p)} M ( p ) . Wolfer and Kontorovich [37 ] use this matrix for a non-private lower bound, but we exploit its structure for a privacy-preserving reduction.
M ( p ) = ( 1 − π min S − 1 1 S − 1 1 S − 1 T π min 1 S − 1 ( 1 − π min ) p π min ) M^{(p)}=\begin{pmatrix}
\frac{1-\pi_{\min}}{S-1}\mathbf{1}_{S-1}\mathbf{1}_{S-1}^{\mathsf{T}} & \pi_{\min}\mathbf{1}_{S-1}\\
(1-\pi_{\min})p & \pi_{\min}
\end{pmatrix} M ( p ) = ( S − 1 1 − π m i n 1 S − 1 1 S − 1 T ( 1 − π m i n ) p π m i n 1 S − 1 π m i n )
The key property that we use is that the above Markov chain can go from one row to another row without requiring samples from p p p unless the last row is explicitly accessed. Thus, if we initialize from a carefully chosen distribution, then we observe that the probability of reaching that row is π min \pi_{\min} π m i n independently. Moreover, this reduction is privacy preserving: changing one i.i.d. sample changes only the state generated after the corresponding visit to the last row. Since all the other rows are identical, the remainder of the two sets of trajectories can be coupled to agree, so item-level neighboring i.i.d. datasets produce item-level neighboring trajectories. Hence, if we need to access the row M M M times, then with high probability, we need a total chain of length M π min \frac{M}{\pi_{\min}} π m i n M . The ∥ ⋅ ∥ ∞ \lVert\cdot\rVert_\infty ∥ ⋅ ∥ ∞ guarantee of the Markov chain estimator gives a d T V d_{\mathrm{TV}} d TV error guarantee for estimating p p p up to constant factors. With this established reduction, a corollary of Esfandiari et al. [15 ] (proven in Appendix D.§ 3 ) shows that M = Ω ~ ( S α ε + S α 2 ) M = \widetilde{\Omega}\left(\frac{S}{\alpha\varepsilon}+\frac{S}{\alpha^2}\right) M = Ω ( α ε S + α 2 S ) samples are necessary for estimation. Thus, with the reduction, the chain length of Ω ~ ( S π min T α 2 + S π min T α ε ) \widetilde{\Omega}\left(\frac{S}{\pi_{\min}T\alpha^2}+\frac{S}{\pi_{\min}T\alpha\varepsilon}\right) Ω ( π m i n T α 2 S + π m i n T α ε S ) is necessary to achieve error α \alpha α .
The complete statement and full proof of this claim can be found in Appendix D.§ 3 . Since every ε \varepsilon ε -DP algorithm is also ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -DP, the same lower bound holds for pure ε \varepsilon ε -DP algorithms.
Learning Markov Chains under User-Level Privacy
In this section, we study the user complexity of learning Markov chains under user-level privacy, where each user contributes an entire Markov chain trajectory. Recall that datasets D D D and D ′ D' D ′ are user-level neighbors if they agree on every trajectory except possibly one and the exceptional trajectories may differ arbitrarily.
A direct extension of the item-level estimator. Algorithm in Appendix D.§ 1 extends directly by aggregating transition counts across users and recalibrating the noise. A length-T T T trajectory contributes T − 1 T-1 T − 1 transitions, so replacing one user changes the aggregate count matrix by at most 2 ( T − 1 ) 2(T-1) 2 ( T − 1 ) in ℓ 1 \ell_1 ℓ 1 . Thus, adding Laplace noise calibrated to sensitivity T T T , to the counts before the same row-normalization step gives user-level pure ε \varepsilon ε -DP, and hence ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -DP, for every T T T . This sensitivity calculation is deterministic; the Markov assumptions only enter in the utility analysis. On the event that the count in row i i i is of order N T π i NT\pi_i N T π i , the factor T T T in the noise cancels after normalization, giving privacy error O ~ ( S / ( N π min ε ) ) \widetilde{O}(S/(N\pi_{\min}\varepsilon)) O ( S / ( N π m i n ε )) . A complete statement and detailed analysis of this direct item-to-user-level extension are provided in Appendix F.
The Case of Large T T T . The direct extension above degrades as T T T increases, because the growth in the number of observed transitions is offset by the corresponding growth in user-level sensitivity. For sufficiently long trajectories, however, every state is visited often enough that each user supplies many outgoing transitions from every row of P P P . More precisely, applying the occupation-count concentration inequalities of Paulin [30 ] simultaneously over all users and states shows that, with high probability, every state has at least m 0 : = Θ ( π min T ) m_0 := \Theta(\pi_{\min}T) m 0 := Θ ( π m i n T ) departures in every trajectory when T T T exceeds the required mixing threshold. For each such departure, the Markov property gives X t + 1 ∣ X t = j ∼ P ( j , ⋅ ) X_{t+1} \mid X_t=j \sim P_{(j,\cdot)} X t + 1 ∣ X t = j ∼ P ( j , ⋅ ) , so the outgoing transitions from state j j j reveal samples associated with the j j j -th row of the transition matrix.
The reduction, described formally in Appendix § 13 , converts each state’s collection to exactly m 0 m_0 m 0 entries by truncating excess transitions and padding a deficient collection with independent uniform draws. It then aligns one entry from each state into each of m 0 m_0 m 0 observations in [ S ] S [S]^S [ S ] S . This gives a fixed-size instance of the product-distribution problem whose target marginals are P ( 1 , ⋅ ) , … , P ( S , ⋅ ) P_{(1,\cdot)},\ldots,P_{(S,\cdot)} P ( 1 , ⋅ ) , … , P ( S , ⋅ ) . After coupling the reduced data to this ideal product sample, we may invoke the i.i.d. product-distribution estimators under the loss ρ ( P ^ , P ) \rho(\widehat{P},P) ρ ( P , P ) as a black box. Finally, the preprocessing is performed separately for each trajectory, and hence replacing one user changes only one output block, preserving user-level adjacency. Combining this reduction with the product-distribution guarantees (§ 4 ) yields the following upper bound.
Theorem 4 (Complete version in Theorems 60 and 61 ) Let 0 < α , f < 1 0<\alpha,f<1 0 < α , f < 1 and 0 < ε ≤ 1 0<\varepsilon\le1 0 < ε ≤ 1 . For trajectory lengths T = Ω ~ ( 1 γ p s π min ) T=\widetilde{\Omega}\left(\frac{1}{\gamma_{\mathrm{ps}}\pi_{\min}}\right) T = Ω ( γ ps π m i n 1 ) , there exists a user-level ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -differentially private estimator for which N = O ~ ( S π min T α 2 + S 3 / 2 ε α π min T + 1 ε ) N=\widetilde{O}\left(\frac{S}{\pi_{\min}T\alpha^2}+\frac{S^{3/2}}{\varepsilon\alpha\sqrt{\pi_{\min}T}}+\frac{1}{\varepsilon}\right) N = O ( π m i n T α 2 S + ε α π m i n T S 3/2 + ε 1 ) users suffice to achieve ρ ( P ^ , P ) ≤ α \rho(\widehat{P},P)\le\alpha ρ ( P , P ) ≤ α with high probability uniformly over P ∈ C ( S , π min , γ p s ) P\in\mathcal{C}(S,\pi_{\min},\gamma_{\mathrm{ps}}) P ∈ C ( S , π m i n , γ ps ) and arbitrary initial distributions.
The corresponding pure DP result is given in Appendix § 13 .§ 2 . We now discuss the approach to proving a lower bound for this setting.
Reduction and proof sketch. The lower bound is transferred from user-level estimation of product distributions. Let Q = ( q 1 , … , q S ) ⊤ Q=(q_1,\ldots,q_S)^\top Q = ( q 1 , … , q S ) ⊤ be an S × S S\times S S × S row-stochastic matrix and let D Q = ⨂ i = 1 S q i D_Q=\bigotimes_{i=1}^{S}q_i D Q = ⨂ i = 1 S q i . In the source problem, each user contributes m m m independent samples from D Q D_Q D Q , and the goal is to estimate all the marginals q i q_i q i simultaneously. To turn this into a Markov chain instance, partition the state space into two layers, A = { a 1 , … , a S } \mathcal{A} = \{a_1,\ldots,a_S\} A = { a 1 , … , a S } B = { b 1 , … , b S } \mathcal{B} = \{b_1,\ldots,b_S\} B = { b 1 , … , b S } , and define the corresponding block construction, P π min , Q P_{\pi_{\min},Q} P π m i n , Q , corresponding to the A , B \mathcal{A},\mathcal{B} A , B partition.
P π min , Q = ( 0 ( 1 − η ) Q + η U η U ( 1 − η ) I S ) , η : = S π min 1 − S π min , U : = 1 S 11 T . P_{\pi_{\min},Q} =
\begin{pmatrix}
0 & (1-\eta)Q+\eta U \\
\eta U & (1-\eta)I_S
\end{pmatrix},
\qquad
\eta:= \frac{S\pi_{\min}}{1-S\pi_{\min}},
\qquad
U := \frac{1}{S}\mathbf{1}\mathbf{1}^{\mathsf{T}}. P π m i n , Q = ( 0 η U ( 1 − η ) Q + η U ( 1 − η ) I S ) , η := 1 − S π m i n S π m i n , U := S 1 1 1 T .
Thus, from a i a_i a i , the chain moves to the B \mathcal{B} B -layer according to ( 1 − η ) q i + η Unif ( [ S ] ) (1-\eta)q_i+\eta\operatorname{Unif}([S]) ( 1 − η ) q i + η Unif ([ S ]) ; from a state b j b_j b j , it remains at b j b_j b j with probability 1 − η 1-\eta 1 − η and moves to a uniformly chosen state in A \mathcal{A} A with total probability η \eta η . This chain is ergodic, and the parameters are chosen so that every a i a_i a i has stationary mass exactly π min \pi_{\min} π m i n . Consequently, a length-T T T trajectory visits each a i a_i a i on the order of π min T \pi_{\min}T π m i n T times, and its outgoing transitions encode samples from q i q_i q i .
The simulation is performed separately for each user. First generate the sequence of visits to the two layers using randomness independent of the product samples. Whenever the skeleton visits a i a_i a i , use the next sample from q i q_i q i , together with fresh uniform randomness, to generate the next state in B \mathcal{B} B . For m = ⌈ 8 π min T ⌉ m=\lceil8\pi_{\min}T\rceil m = ⌈ 8 π m i n T ⌉ , the probability that any user needs more than m m m samples from any row is low. Hence the simulation succeeds with high constant probability once m = Ω ~ ( 1 ) m=\widetilde{\Omega}(1) m = Ω ( 1 ) , which gives the condition T = Ω ~ ( 1 / π min ) T=\widetilde{\Omega}(1/\pi_{\min}) T = Ω ( 1/ π m i n ) . The exceptional event depends only on the data-independent skeleton and can be handled by returning a fixed output.
Privacy: Replacing all the product samples of one source user can change only that user’s simulated trajectory. The reduction therefore preserves user-level adjacency, so an ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -private Markov estimator induces an ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -private product-distribution estimator; the same argument applies when δ = 0 \delta=0 δ = 0 .
Utility: Since R ^ \widehat{R} R is the A \mathcal{A} A -to-B \mathcal{B} B block of the estimated transition matrix, we compute
Z = R ^ − η U 1 − η . Z=\frac{\widehat{R}-\eta U}{1-\eta}. Z = 1 − η R − η U .
and project each row of Z Z Z onto the simplex. Since η ≤ 1 / 2 \eta\le1/2 η ≤ 1/2 in the parameter range of the reduction, the resulting estimate Q ^ \widehat{Q} Q satisfies ∥ Q ^ − Q ∥ ∞ ≤ 4 ∥ P ^ − P π min , Q ∥ ∞ \|\widehat{Q}-Q\|_{\infty}\le4\|\widehat{P}-P_{\pi_{\min},Q}\|_{\infty} ∥ Q − Q ∥ ∞ ≤ 4∥ P − P π m i n , Q ∥ ∞ . Thus, up to a constant loss in accuracy and the small simulation failure probability, an accurate Markov chain estimator would yield an accurate estimator for the original product-distribution instance.
A formal version of the reduction appears in Appendix § 13 .§ 3 . Thus, to obtain our lower bounds, we apply the i.i.d. product-distribution lower bounds (§ 4 ), to obtain the following result.
Theorem 5 (Complete version in Theorem 65 ) Let 0 < α ≤ 1 384 2 0 < \alpha\le\frac{1}{384\sqrt{2}} 0 < α ≤ 384 2 1 , 0 < ε < 1 0 < \varepsilon< 1 0 < ε < 1 and δ ≤ min { ε ξ , ε 2 } \delta\le\min\{\frac{\varepsilon}{\xi},\varepsilon^2\} δ ≤ min { ξ ε , ε 2 } . For T = Ω ~ ( 1 π min ) T=\widetilde{\Omega}\left(\frac{1}{\pi_{\min}}\right) T = Ω ( π m i n 1 ) , every user-level ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -differentially private estimator based on independent length-T T T trajectories that achieves error at most α \alpha α with probability at least 3 / 4 3/4 3/4 , uniformly over P ( S , π min , γ p s ) \mathcal{P}(S,\pi_{\min},\gamma_{\mathrm{ps}}) P ( S , π m i n , γ ps ) , requires N = Ω ~ ( 1 ε + 1 α ε π min T + 1 π min T α 2 ) N=\widetilde{\Omega}\left(\frac{1}{\varepsilon}+\frac{1}{\alpha\varepsilon\sqrt{\pi_{\min}T}}+\frac{1}{\pi_{\min}T\alpha^2}\right) N = Ω ( ε 1 + α ε π m i n T 1 + π m i n T α 2 1 ) .
The corresponding result for Pure DP appears in Appendix § 13 .§ 3 , Theorem 66 .
Product-Distribution Estimation in Infinity Norm with User-Level DP
We have seen in § 3 that both upper bounds and lower bounds for user-level learning of Markov chains can be reduced to the i.i.d. setting given that the length of trajectories is large enough. In this section, we study private estimation of product distributions with user-level DP.
Problem formulation. Let P d , k : = { P ∈ R d × k : P ( j , ⋅ ) ∈ Δ ( k ) for every j ∈ [ d ] } \mathcal{P}_{d,k} := \{P \in\mathbb{R}^{d \times k}: P_{(j,\cdot)} \in\Delta(k) \text{ for every } j \in[d]\} P d , k := { P ∈ R d × k : P ( j , ⋅ ) ∈ Δ ( k ) for every j ∈ [ d ]} . We associate P ∈ P d , k P \in\mathcal{P}_{d,k} P ∈ P d , k with the product distribution ⨂ j = 1 d P ( j , ⋅ ) \bigotimes_{j=1}^{d} P_{(j,\cdot)} ⨂ j = 1 d P ( j , ⋅ ) over [ k ] d [k]^d [ k ] d . User i i i contributes a block X ( i ) = ( X 1 ( i ) , … , X m ( i ) ) ∈ ( [ k ] d ) m X^{(i)} = (X_{1}^{(i)}, \ldots, X_{m}^{(i)}) \in([k]^d)^m X ( i ) = ( X 1 ( i ) , … , X m ( i ) ) ∈ ([ k ] d ) m where X i , t ∼ i . i . d . ⨂ j = 1 d P ( j , ⋅ ) X_{i,t} \overset{\mathrm{i.i.d.}}{\sim} \bigotimes_{j=1}^{d} P_{(j,\cdot)} X i , t ∼ i.i.d. ⨂ j = 1 d P ( j , ⋅ ) , and the full dataset is D = ( X ( 1 ) , … , X ( N ) ) D = (X^{(1)}, \ldots, X^{(N)}) D = ( X ( 1 ) , … , X ( N ) ) . Datasets D D D and D ′ D' D ′ are user-level neighbors if there exists i ⋆ ∈ [ N ] i^\star\in[N] i ⋆ ∈ [ N ] such that X ( i ) = X ′ ( i ) X^{(i)} = X'^{(i)} X ( i ) = X ′ ( i ) for every i ≠ i ⋆ i \ne i^\star i = i ⋆ and the entire blocks X ( i ⋆ ) X^{(i^\star)} X ( i ⋆ ) and X ′ ( i ⋆ ) X'^{(i^\star)} X ′ ( i ⋆ ) may differ arbitrarily. The user-level privacy guarantee is required to hold for every such pair of datasets.
A pure and approximate DP estimator M \mathcal{M} M outputs a row-stochastic matrix M ( D ) = P ^ ∈ P d , k \mathcal{M}(D) = \widehat{P} \in\mathcal{P}_{d,k} M ( D ) = P ∈ P d , k , which induces a product distribution. For accuracy α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) and failure probability f ∈ ( 0 , 1 ) f \in(0,1) f ∈ ( 0 , 1 ) , we require P ^ \widehat{P} P to be an ( α , f ) (\alpha,f) ( α , f ) -accurate estimate of P P P .
We first give upper and lower bounds for approximate user-level DP, which match up to logarithmic factors in a small-δ \delta δ regime. We begin with an estimator that exploits concentration within each user’s block of m m m samples and a powerful filtering technique from Tsfadia et al. [32 ] . This yields the following upper bound.
Theorem 6 (Complete version in Theorems 41 and 42 ). For 0 < α , f < 1 0 < \alpha, f < 1 0 < α , f < 1 and 0 < ε ≤ 1 0 < \varepsilon\le1 0 < ε ≤ 1 , there exists a user-level ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -differentially private estimator such that N = O ~ ( 1 ε + k d α ε m + k d m α 2 ) N = \widetilde{O}\left(\frac{1}{\varepsilon} + \frac{k\sqrt{d}}{\alpha\varepsilon\sqrt{m}} + \frac{k\sqrt{d}}{m\alpha^2}\right) N = O ( ε 1 + α ε m k d + m α 2 k d ) users suffice to achieve ρ ( P ^ , P ) ≤ α \rho(\widehat{P},P) \le\alpha ρ ( P , P ) ≤ α with high probability, uniformly over P ∈ P d , k P \in\mathcal{P}_{d,k} P ∈ P d , k .
Proof Sketch Represent user i ∈ [ N ] i \in[N] i ∈ [ N ] by its d × k d \times k d × k empirical distribution matrix Q i ( j , a ) : = 1 m ∑ t = 1 m 1 { X t , j ( i ) = a } Q_i(j,a) := \frac{1}{m}\sum_{t=1}^{m} 1\{X_{t,j}^{(i)} = a\} Q i ( j , a ) := m 1 ∑ t = 1 m 1 { X t , j ( i ) = a } . Then E [ Q i ] = P \mathbb{E}[Q_i] = P E [ Q i ] = P and E ∥ Q i − P ∥ F 2 ≤ d m \mathbb{E}\lVert Q_i-P\rVert_F^2 \le\frac{d}{m} E ∥ Q i − P ∥ F 2 ≤ m d . Hence, with high probability, all the matrices Q i Q_i Q i ’s lie in a Frobenius ball of radius R = O ~ ( d m ) R = \widetilde{O}\left(\sqrt{\frac{d}{m}}\right) R = O ( m d ) around P P P , and therefore have pairwise distance at most 2 R 2R 2 R . Using this observation, we invoke the Friendly-Core private averaging procedure (Tsfadia et al. [32 ] ) described in the Appendix, where two matrices A A A and B B B are considered close if ∥ A − B ∥ F ≤ 2 R \lVert A-B\rVert_F \le2R ∥ A − B ∥ F ≤ 2 R . The Friendly-Core averaging procedure consists of two parts: filtering and private averaging. At a high level, filtering retains only those users’ empirical distribution matrices having sufficiently many nearby neighbors, with inclusion probabilities chosen stably under the addition or removal of one user. Additionally, it ensures that every retained point has more than half of the dataset as neighbors. Hence, the neighbor sets of retained points from two neighboring executions must intersect. Thus, even on an arbitrary input, the filter certifies that the union of the two cores has diameter O ( R ) O(R) O ( R ) .
So, if the core has size n C n_C n C , changing one retained user changes its mean by only O ( R n C ) O\left(\frac{R}{n_C}\right) O ( n C R ) . Hence, private averaging using the Gaussian mechanism suffices to prove privacy for this case. However, n C n_C n C may leak information about the data. Thus, the mechanism uses a private lower estimate of n C n_C n C to calibrate Gaussian noise without revealing the core size, while the stability of the filter yields an end-to-end DP guarantee (Tsfadia et al. [32 ] ). Finally, each noisy row is projected onto Δ ( k ) \Delta(k) Δ ( k ) .
Since the users’ empirical matrices are pairwise neighbors, the filter retains everyone with high probability and n C = N n_C = N n C = N . The private count requires N = Ω ~ ( 1 / ε ) N = \widetilde{\Omega}(1/\varepsilon) N = Ω ( 1/ ε ) . The core mean is the usual empirical distribution matrix Q ‾ = 1 N ∑ i Q i \overline{Q}=\frac{1}{N}\sum_i Q_i Q = N 1 ∑ i Q i . The privatized empirical matrix differs from the core mean by an independent additive Gaussian noise. Thus, the private to empirical gap is given by max j ∥ Z ( j , ⋅ ) ∥ 1 = O ~ ( k d N ε m ) \max_j\|Z_{(j,\cdot)}\|_1=\widetilde{O}\left(\frac{k\sqrt{d}}{N\varepsilon\sqrt{m}}\right) max j ∥ Z ( j , ⋅ ) ∥ 1 = O ( N ε m k d ) . Concentration gives the empirical-to-population bound max j ∥ Q ‾ ( j , ⋅ ) − p j ∥ 1 = O ~ ( k N m ) \max_j\|\overline{Q}_{(j,\cdot)}-p_j\|_1=\widetilde{O}\left(\sqrt{\frac{k}{Nm}}\right) max j ∥ Q ( j , ⋅ ) − p j ∥ 1 = O ( N m k ) . Projection changes the error by at most a constant factor. Making both terms at most α \alpha α , together with the private-count requirement, gives the stated user complexity.
The complete statement of the theorem and the complete proof can be found in Appendix § 11 .§ 1 . The upper bound contains one non-private sampling term and two privacy-dependent terms. A corresponding result for pure DP is given by Appendix § 11 .§ 3 , Theorems 51 and 52. The next result shows that, when δ \delta δ is sufficiently small, all three are unavoidable up to logarithmic factors.
Theorem 7 (Complete version in Theorem 43). For 0 < α ≤ 1 48 2 0<\alpha\leq\frac{1}{48\sqrt{2}} 0 < α ≤ 48 2 1 , 0 < ε ≤ 1 0<\varepsilon\leq1 0 < ε ≤ 1 , and δ ≲ min { ε d k , ε 2 } \delta\lesssim\min\left\{\frac{\varepsilon}{\sqrt{dk}},\varepsilon^2\right\} δ ≲ min { d k ε , ε 2 } , every user-level ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -differentially private estimator that achieves error at most α \alpha α with probability at least 2 / 3 2/3 2/3 , uniformly over P d , k \mathcal{P}_{d,k} P d , k , requires N = Ω ~ ( 1 ε + k d α ε m + k m α 2 ) N=\widetilde{\Omega}\left(\frac{1}{\varepsilon}+\frac{k\sqrt{d}}{\alpha\varepsilon\sqrt{m}}+\frac{k}{m\alpha^2}\right) N = Ω ( ε 1 + α ε m k d + m α 2 k ) .
Proof Sketch. We establish the three terms separately and provide references to the formal statements of each of these terms in Appendix § 11 .§ 2 .
Ω ~ ( 1 ε ) \widetilde{\Omega}\left(\frac{1}{\varepsilon}\right) Ω ( ε 1 ) : Lemma 44 constructs a family of well-separated product distributions. Accuracy would allow an estimator to identify the generating member of this family, whereas group privacy prevents such identification when the number of users is too small. Adapting the packing argument of Esfandiari et al. [15 ] gives N ≳ ε − 1 min { k d , log ( 1 / δ ) } N\gtrsim\varepsilon^{-1}\min\{kd,\log(1/\delta)\} N ≳ ε − 1 min { k d , log ( 1/ δ )} , which yields the first term in the stated small-δ \delta δ regime.
Ω ~ ( k d α ε m ) \widetilde{\Omega}\left(\frac{k\sqrt{d}}{\alpha\varepsilon\sqrt{m}}\right) Ω ( α ε m k d ) : Theorem 45 proves an expected-risk lower bound for the mixed loss ζ ^ ( P ^ , P ) : = ( ∑ j = 1 d ∥ P ^ ( j , ⋅ ) − P ( j , ⋅ ) ∥ 1 2 ) 1 / 2 \widehat{\zeta}(\widehat{P},P):=\left(\sum_{j=1}^{d}\|\widehat{P}_{(j,\cdot)}-P_{(j,\cdot)}\|_1^2\right)^{1/2} ζ ( P , P ) := ( ∑ j = 1 d ∥ P ( j , ⋅ ) − P ( j , ⋅ ) ∥ 1 2 ) 1/2 . There are two broad steps.
First, following Esfandiari et al. [15 ] , Poissonize a paired family in each j ∈ [ d ] j\in[d] j ∈ [ d ] marginal:
X i , j , b + ∼ Pois ( m ′ ( 1 k + θ j , b ) ) , X i , j , b − ∼ Pois ( m ′ ( 1 k − θ j , b ) ) . X^{+}_{i,j,b}\sim\operatorname{Pois}\left(m'\left(\frac{1}{k}+\theta_{j,b}\right)\right),\quad X^{-}_{i,j,b}\sim\operatorname{Pois}\left(m'\left(\frac{1}{k}-\theta_{j,b}\right)\right). X i , j , b + ∼ Pois ( m ′ ( k 1 + θ j , b ) ) , X i , j , b − ∼ Pois ( m ′ ( k 1 − θ j , b ) ) .
The fixed mass of each pair keeps every marginal normalized, while the category counts are independent. Conditional on a row total, expanding its counts gives independent labels from p j θ p_j^\theta p j θ ; combining labels across the d d d rows gives samples from P θ = ⨂ j = 1 d p j θ P_\theta=\bigotimes_{j=1}^{d}p_j^\theta P θ = ⨂ j = 1 d p j θ . For m ′ = Θ ~ ( m ) m'=\widetilde{\Theta}(m) m ′ = Θ ( m ) , all user–row totals exceed m m m with high probability. Hence, truncating the samples, applying the product-distribution estimator, and taking within-pair differences yield a solution to the Poisson problem. This user-wise reduction preserves adjacency.
Second, apply the fingerprinting argument of Esfandiari et al. [15 ] and Kamath et al. [23 ] to all D = d ⌊ k / 2 ⌋ D=d\lfloor k/2\rfloor D = d ⌊ k /2 ⌋ pairs. Let q = 1 / k q=1/k q = 1/ k . For adjacent databases X X X and X ∼ i X^{\sim i} X ∼ i , define
S i , ℓ : = X i , ℓ + − m ′ ( q + θ ℓ ) q + θ ℓ − X i , ℓ − − m ′ ( q − θ ℓ ) q − θ ℓ , Z i ( Y ) : = ∑ ℓ = 1 D ( r 2 − θ ℓ 2 ) ( θ ^ ℓ ( Y ) − θ ℓ ) S i , ℓ . S_{i,\ell}:=\frac{X^+_{i,\ell}-m'(q+\theta_\ell)}{q+\theta_\ell}-\frac{X^-_{i,\ell}-m'(q-\theta_\ell)}{q-\theta_\ell},\qquad Z_i(Y):=\sum_{\ell=1}^{D}(r^2-\theta_\ell^2)(\widehat{\theta}_\ell(Y)-\theta_\ell)S_{i,\ell}. S i , ℓ := q + θ ℓ X i , ℓ + − m ′ ( q + θ ℓ ) − q − θ ℓ X i , ℓ − − m ′ ( q − θ ℓ ) , Z i ( Y ) := ℓ = 1 ∑ D ( r 2 − θ ℓ 2 ) ( θ ℓ ( Y ) − θ ℓ ) S i , ℓ .
Note that X ∼ i X^{\sim i} X ∼ i replaces a pair ( X i , ℓ + , X i , ℓ − ) (X_{i,\ell}^{+}, X_{i,\ell}^{-}) ( X i , ℓ + , X i , ℓ − ) for each ℓ ∈ [ D ] \ell\in[D] ℓ ∈ [ D ] by an independent copy, while S i , ℓ S_{i,\ell} S i , ℓ still uses the original block. The fingerprinting identity with respect to S i , ℓ S_{i,\ell} S i , ℓ and accuracy ensure ∑ i = 1 N E [ Z i ( X ) ] \sum_{i=1}^{N} \mathbb{E}[Z_i(X)] ∑ i = 1 N E [ Z i ( X )] is non-zero, while centering and independence make E [ Z i ( X ∼ i ) ] \mathbb{E}[Z_i(X^{\sim i})] E [ Z i ( X ∼ i )] zero. Under the stated δ \delta δ condition, approximate privacy controls this gap.
Independence makes variances add over the D D D pairs, and ℓ 2 \ell_2 ℓ 2 aggregation across the d d d rows yields N = Ω ~ ( d k α ε m ) N = \widetilde{\Omega}\left(\frac{dk}{\alpha\varepsilon\sqrt{m}}\right) N = Ω ( α ε m d k ) for the expected mixed loss. A change in objective norm and a median of means trick yields N = Ω ~ ( k d α ε m ) N = \widetilde{\Omega}\left(\frac{k\sqrt{d}}{\alpha\varepsilon\sqrt{m}}\right) N = Ω ( α ε m k d ) .
Ω ~ ( k m α 2 ) \widetilde{\Omega}\left(\frac{k}{m\alpha^2}\right) Ω ( m α 2 k ) : This is the non-private lower bound. Without privacy, fixing all but one marginal reduces the problem to estimating a k k k -ary distribution from N m Nm N m samples. Thus, a sampling lower bound construction for a standard k k k -ary distribution ([9 ] ) gives N m = Ω ( k α 2 ) Nm = \Omega\left(\frac{k}{\alpha^2}\right) N m = Ω ( α 2 k ) .
Since each of these is a valid lower bound for the risk, the eventual lower bound is the maximum of these three terms. This proves the claim.
The complete statement of the theorem and the complete proof can be found in Appendix § 11 .§ 2 . The corresponding result for Pure DP can be found in Appendix § 11 .§ 4 , Theorem 54 .
Conclusion and Open Problems
In this work, we studied private learning of discrete Markov chains from multiple trajectories. We considered two privacy settings, namely, item-level and user-level privacy. In the item-level setting, we show that a simple perturbation to the transition count matrix yields a near-optimal algorithm. In the user-level setting, we show that, in the large-T T T regime, we can reduce the problem to user-level private product-distribution estimation under the matrix ℓ ∞ \ell_\infty ℓ ∞ loss. As an intermediate result, we establish upper and lower bounds for user-level private product-distribution estimation under the ℓ ∞ \ell_\infty ℓ ∞ norm. Our results leave three main directions for future work:
Pure-DP gap. For product-distribution estimation under the matrix ℓ ∞ \ell_\infty ℓ ∞ loss, the privacy–accuracy interaction term has a factor-d \sqrt{d} d gap between the upper and lower bounds. Closing this gap would, through the reductions underlying both the upper and lower bounds, also close the corresponding factor-S \sqrt{S} S gap for private Markov-chain estimation in the large-T T T regime.
AI Disclosure
All proof ideas and technical tools were developed and verified entirely by the authors. Codex GPT Pro 5.6 Sol was used only for formatting, grammatical corrections, and refining the text.
Statistical estimation of discrete Markov chains. Statistical estimation of Markov chains dates to Anderson and Goodman [5 ] and Billingsley [7 ] , who studied maximum-likelihood estimation and asymptotic inference for transition probabilities. Hao et al. [21 ] studied transition-matrix estimation under smooth row-wise f f f -divergence losses, while Wolfer and Kontorovich [35 , 37 ] obtained nearly matching minimax bounds under maximum row-wise ℓ 1 \ell_1 ℓ 1 error, characterizing the dependence on the state-space size, minimum stationary probability, and pseudo-spectral gap. Beyond worst-case guarantees, Wolfer [38 ] developed empirical confidence intervals and instance-dependent bounds for transition-matrix and mixing-time estimation that exploit properties such as transition sparsity.
A related line of work estimates the chain’s convergence properties. Hsu et al. [22 ] developed data-dependent confidence bounds for mixing time of reversible chains, and Wolfer and Kontorovich [36 ] extended this to general ergodic chains. Wolfer and Kontorovich [38 ] subsequently established the minimax sample complexity of estimating the pseudo-spectral gap to constant multiplicative accuracy in nonreversible chains and improved the associated empirical confidence bounds. Concentration inequalities developed by Paulin [30 ] provide important tools for finite-sample analyses of Markovian observations.
Other work considers estimation objectives beyond recovering the full transition matrix. Han et al. [20 ] established optimal rates for next-state prediction under KL loss and examined the role of spectral-gap assumptions. Han et al. [19 ] studied entropy-rate estimation for large-state-space chains, improving over the empirical estimator under suitable mixing assumptions. Zhang and Wang [39 ] developed spectral methods for low-rank transition estimation and recovery of aggregate state structure, with statistical guarantees and nearly matching minimax lower bounds.
Statistical estimation under user-level privacy. User-level differential privacy protects an individual’s entire collection of observations. Dwork et al. [14 ] explicitly distinguished user-level from event-level privacy in streaming algorithms. McMahan et al. [29 ] demonstrated its applicability to language-model training, while Amin et al. [4 ] analyzed the bias–variance trade-off induced by bounding user contributions.
Liu et al. [27 ] developed algorithms for discrete distribution estimation under ℓ 1 \ell_1 ℓ 1 loss that exploit user groupings to improve over mechanisms operating only on aggregate counts. Levy et al. [26 ] introduced concentration-based methods for Euclidean mean estimation and optimization, quantifying how additional observations per user reduce the privacy cost. Esfandiari et al. [15 ] obtained nearly optimal user–sample trade-offs for mean and discrete distribution estimation, including the few-user regime and robustness to corrupted users. Complementing these task-specific results, Ghazi et al. [17 ] developed a general learning framework using correlated sampling when users hold sufficiently many observations, and Ghazi et al. [18 ] established generic guarantees for the regime of few observations per user under pure and approximate privacy.
Subsequent work broadened the statistical models and privacy settings. Cummings et al. [10 ] studied mean estimation with heterogeneity in both users’ distributions and sample counts, while Agarwal et al. [3 ] studied user-level private mean estimation under bounded-moment assumptions, establishing nearly matching upper and lower bounds under ℓ 2 \ell_2 ℓ 2 loss. In the local privacy model, Acharya et al. [2 ] obtained tight bounds for discrete distribution estimation across nearly all parameter regimes, and Zhao et al. [40 ] developed mean-estimation and learning algorithms, including squared Euclidean error guarantees under ℓ 2 \ell_2 ℓ 2 - and ℓ ∞ \ell_\infty ℓ ∞ -bounded support.
Differential privacy for stochastic matrices. Fallin et al. [16 ] introduce a matrix Dirichlet mechanism for privately releasing an already-specified stochastic matrix, apply this mechanism to a class of Markov chains with certain structure in their transition matrices, and bound the resulting entry-wise and stationary-distribution perturbations. Benvenuti et al. [6 ] extend this approach to empirical transition matrices, providing event-level privacy for the individual transition records used to construct the matrix and bounding the induced changes in its stationary distribution and convergence behavior. In contrast to these works, our work studies the minimax estimation of an unknown transition matrix directly from Markovian trajectories under item and user-level privacy. Our guarantees account for sampling error, temporal dependence, state occupancy, and mixing, and characterize the required trajectory length or number of users rather than only the additional distortion introduced by privatizing a given empirical matrix.
Definitions
Below, we provide a complete definitions and setup for Markov chains, following Levin and Peres [25 ] .
Definition 8 (Discrete-time Markov chain). A discrete-time, time-homogeneous Markov chain on the discrete-space [ S ] [S] [ S ] with transition matrix P P P is a stochastic process ( X t ) t ≥ 0 (X_t)_{t\geq0} ( X t ) t ≥ 0 satisfying
P ( X t + 1 = j ∣ X 0 = x 0 , … , X t = x t ) = P ( X t + 1 = j ∣ X t = x t ) . \mathbb{P}(X_{t+1}=j\mid X_0=x_0,\ldots,X_t=x_t)=\mathbb{P}(X_{t+1}=j\mid X_t=x_t). P ( X t + 1 = j ∣ X 0 = x 0 , … , X t = x t ) = P ( X t + 1 = j ∣ X t = x t ) . for every t ≥ 0 t\geq0 t ≥ 0 and j , x 0 , … , x t ∈ [ S ] j,x_0,\ldots,x_t\in[S] j , x 0 , … , x t ∈ [ S ] .
As customary, we define P i , j = P ( X t + 1 = j ∣ X t = i ) P_{i,j}=\mathbb{P}(X_{t+1}=j\mid X_t=i) P i , j = P ( X t + 1 = j ∣ X t = i ) . The matrix power P t P^t P t is the t t t -step transition matrix, so that ( P t ) i , j = P ( X t = j ∣ X 0 = i ) (P^t)_{i,j}=\mathbb{P}(X_t=j\mid X_0=i) ( P t ) i , j = P ( X t = j ∣ X 0 = i ) . If the initial state has distribution μ \mu μ , then the distribution of X t X_t X t is μ P t \mu P^t μ P t . A finite trajectory of length T T T is denoted by ( X 0 , … , X T − 1 ) (X_0,\ldots,X_{T-1}) ( X 0 , … , X T − 1 ) .
Definition 9 (Reachability and irreducibility). A state j j j is said to be reachable from a state i i i if there exists an integer t ≥ 0 t\geq0 t ≥ 0 such that ( P t ) i , j > 0 (P^t)_{i,j}>0 ( P t ) i , j > 0 . Two states communicate if each is reachable from the other. A stochastic matrix P P P is called irreducible if every pair of states communicates; equivalently, for every i , j ∈ [ S ] i,j\in[S] i , j ∈ [ S ] , there exists an integer t ≥ 1 t\geq1 t ≥ 1 such that ( P t ) i , j > 0 (P^t)_{i,j}>0 ( P t ) i , j > 0 .
Definition 10 (Periodicity). The period of a state i i i is
per ( i ) : = gcd { t ≥ 1 : ( P t ) i , i > 0 } . \operatorname{per}(i):=\gcd\{t\geq1:(P^t)_{i,i}>0\}. per ( i ) := g cd{ t ≥ 1 : ( P t ) i , i > 0 } . An irreducible Markov chain has the same period at every state. A Markov chain is called aperiodic if this common period is equal to one.
Ergodicity is the long-run regularity condition needed in our analysis: it ensures that the chain eventually forgets its initial state and approaches a common equilibrium while continuing to explore the entire state space.
Definition 11 (Ergodicity). A finite-state Markov chain with transition matrix P P P is called ergodic if there exists a probability vector π \pi π , with π j > 0 \pi_j>0 π j > 0 for every j ∈ [ S ] j\in[S] j ∈ [ S ] , such that
lim t → ∞ ( P t ) i , j = π j for every i , j ∈ [ S ] . \lim_{t\to\infty}(P^t)_{i,j}=\pi_j \quad\text{for every }i,j\in[S]. t → ∞ lim ( P t ) i , j = π j for every i , j ∈ [ S ] . Thus, the distribution of the chain converges to the same full-support limiting distribution regardless of its initial state.
A finite-state Markov chain is ergodic if and only if its transition matrix is both irreducible and aperiodic Levin and Peres [25 ] . Here, irreducibility prevents the state space from decomposing into inaccessible components, while aperiodicity rules out persistent cyclic behavior. To describe the equilibrium approached by an ergodic chain, we introduce distributions that are unchanged by one step of the chain.
Definition 12 (Stationary distribution) A stochastic vector π \pi π is called a stationary distribution for P P P if π P = π \pi P = \pi π P = π .
Every finite ergodic Markov chain admits a unique stationary distribution π \pi π , and this distribution satisfies π i > 0 \pi_i > 0 π i > 0 for every i ∈ [ S ] i \in[S] i ∈ [ S ] . We define π min : = min i ∈ [ S ] π i \pi_{\min} := \min_{i\in[S]} \pi_i π m i n := min i ∈ [ S ] π i and π max : = max i ∈ [ S ] π i \pi_{\max} := \max_{i\in[S]} \pi_i π m a x := max i ∈ [ S ] π i . If P P P is ergodic, then for every initial distribution μ \mu μ ,
lim t → ∞ d T V ( μ P t , π ) = 0. \lim_{t\to\infty} d_{\mathrm{TV}}(\mu P^t,\pi)=0. t → ∞ lim d TV ( μ P t , π ) = 0.
In particular, if X 0 ∼ π X_0 \sim\pi X 0 ∼ π , then X t ∼ π X_t \sim\pi X t ∼ π for every t ≥ 0 t \ge0 t ≥ 0 , and the chain is said to be started in stationarity .
Reversibility captures when a chain in stationarity has the same dynamics forward and backward in time, and it enables a particularly clean spectral analysis.
Definition 13 (Time reversal and reversibility) Let P P P be irreducible with stationary distribution π \pi π . The time reversal of P P P is the stochastic matrix P ∗ P^* P ∗ defined by
P i , j ∗ : = π j π i P j , i . P^*_{i,j} := \frac{\pi_j}{\pi_i}P_{j,i}. P i , j ∗ := π i π j P j , i . The matrix P P P is called reversible with respect to π \pi π if P ∗ = P P^* = P P ∗ = P . Equivalently, P P P is reversible if it satisfies the detailed-balance equations π i P i , j = π j P j , i \pi_iP_{i,j} = \pi_jP_{j,i} π i P i , j = π j P j , i for every i , j ∈ [ S ] i,j \in[S] i , j ∈ [ S ] .
The time-reversal P ∗ P^* P ∗ also has stationary distribution π \pi π . For functions f , g : [ S ] → R f,g : [S] \to\mathbb{R} f , g : [ S ] → R , define the weighted inner product ⟨ f , g ⟩ π : = ∑ i = 1 S π i f ( i ) g ( i ) \langle f,g\rangle_\pi:= \sum_{i=1}^{S} \pi_i f(i)g(i) ⟨ f , g ⟩ π := ∑ i = 1 S π i f ( i ) g ( i ) and the corresponding norm ∥ f ∥ 2 , π : = ⟨ f , f ⟩ π 1 / 2 \|f\|_{2,\pi} := \langle f,f\rangle_\pi^{1/2} ∥ f ∥ 2 , π := ⟨ f , f ⟩ π 1/2 . A reversible transition matrix is self-adjoint with respect to this inner product and hence has real eigenvalues. We order these eigenvalues as 1 = λ 1 ( P ) ≥ λ 2 ( P ) ≥ ⋯ ≥ λ S ( P ) ≥ − 1 1 = \lambda_1(P) \ge\lambda_2(P) \ge\cdots\ge\lambda_S(P) \ge-1 1 = λ 1 ( P ) ≥ λ 2 ( P ) ≥ ⋯ ≥ λ S ( P ) ≥ − 1 .
The eigenvalue 1 corresponds to stationarity; for reversible chains, its separation from the next-largest eigenvalue is a fundamental spectral measure of convergence behavior.
Definition 14 (Spectral gap) The spectral gap of an irreducible reversible stochastic matrix P P P is
γ r e v ( P ) : = 1 − λ 2 ( P ) , \gamma_{\mathrm{rev}}(P) := 1-\lambda_2(P), γ rev ( P ) := 1 − λ 2 ( P ) , where λ 2 ( P ) \lambda_2(P) λ 2 ( P ) denotes the second-largest eigenvalue of P P P .
For nonreversible chains, the spectrum need not have the same direct interpretation. Multiplicative reversiblization provides a reversible surrogate from which an analogous gap can be defined.
Definition 15 (Multiplicative reversiblization and pseudo-spectral gap Paulin, [30 ] ) Let P P P be an irreducible stochastic matrix with time reversal P ∗ P^* P ∗ . For every integer k ≥ 1 k \ge1 k ≥ 1 , the matrix ( P ∗ ) k P k (P^*)^kP^k ( P ∗ ) k P k is called the k k k th multiplicative reversiblization of P P P . The pseudo-spectral gap of P P P is defined by
γ p s ( P ) : = sup k ≥ 1 γ r e v ( ( P ∗ ) k P k ) k . \gamma_{\mathrm{ps}}(P) := \sup_{k\ge1}\frac{\gamma_{\mathrm{rev}}\left((P^*)^kP^k\right)}{k}. γ ps ( P ) := k ≥ 1 sup k γ rev ( ( P ∗ ) k P k ) .
For every k ≥ 1 k \ge1 k ≥ 1 , the matrix ( P ∗ ) k P k (P^*)^kP^k ( P ∗ ) k P k is reversible with respect to π \pi π . Here, ( P ∗ ) k (P^*)^k ( P ∗ ) k denotes the k k k th matrix power of the time-reversal P ∗ P^* P ∗ .
Auxiliary Lemmas and Results
Lemma 16 (Lower tail for sums of geometric random variables). Let L 1 , … , L N ∼ i . i . d . Geom ( p ) L_1,\ldots,L_N \overset{\mathrm{i.i.d.}}{\sim} \operatorname{Geom}(p) L 1 , … , L N ∼ i.i.d. Geom ( p ) on N \mathbb{N} N and S N = ∑ i = 1 N L i S_N=\sum_{i=1}^{N}L_i S N = ∑ i = 1 N L i . Then for any ε ∈ ( 0 , 1 ) \varepsilon\in(0,1) ε ∈ ( 0 , 1 ) ,
P ( S N ≤ ( 1 − ε ) N p ) ≤ exp ( − c N ε 2 ) , \mathbb{P}\left(S_N\leq(1-\varepsilon)\frac{N}{p}\right)\leq\exp(-cN\varepsilon^2), P ( S N ≤ ( 1 − ε ) p N ) ≤ exp ( − c N ε 2 ) , for some universal constant c > 0 c>0 c > 0 .
Proof. We apply the Chernoff method to the lower tail. For any λ > 0 \lambda>0 λ > 0 ,
P ( S N ≤ t ) = P ( e − λ S N ≥ e − λ t ) ≤ e λ t E [ e − λ S N ] = e λ t ( E [ e − λ L 1 ] ) N . \mathbb{P}(S_N\leq t)=\mathbb{P}\left(e^{-\lambda S_N}\geq e^{-\lambda t}\right)\leq e^{\lambda t}\mathbb{E}[e^{-\lambda S_N}]=e^{\lambda t}\left(\mathbb{E}[e^{-\lambda L_1}]\right)^N. P ( S N ≤ t ) = P ( e − λ S N ≥ e − λ t ) ≤ e λ t E [ e − λ S N ] = e λ t ( E [ e − λ L 1 ] ) N . The moment generating function at λ > ln ( 1 − p ) \lambda>\ln(1-p) λ > ln ( 1 − p ) is
E [ e − λ L 1 ] = ∑ ℓ = 1 ∞ ( 1 − p ) ℓ − 1 p e − λ ℓ = p e − λ 1 − ( 1 − p ) e − λ . \mathbb{E}[e^{-\lambda L_1}]=\sum_{\ell=1}^{\infty}(1-p)^{\ell-1}pe^{-\lambda\ell}=\frac{pe^{-\lambda}}{1-(1-p)e^{-\lambda}}. E [ e − λ L 1 ] = ℓ = 1 ∑ ∞ ( 1 − p ) ℓ − 1 p e − λ ℓ = 1 − ( 1 − p ) e − λ p e − λ . Thus,
P ( S N ≤ t ) ≤ exp ( λ t + N log p e − λ 1 − ( 1 − p ) e − λ ) . \mathbb{P}(S_N\leq t)\leq\exp\left(\lambda t+N\log\frac{pe^{-\lambda}}{1-(1-p)e^{-\lambda}}\right). P ( S N ≤ t ) ≤ exp ( λ t + N log 1 − ( 1 − p ) e − λ p e − λ ) . Set t = ( 1 − ε ) N p t=(1-\varepsilon)\frac{N}{p} t = ( 1 − ε ) p N . For λ ≤ p 2 \lambda\leq\frac{p}{2} λ ≤ 2 p , a Taylor expansion gives
log p e − λ 1 − ( 1 − p ) e − λ ≤ − λ p + λ 2 p 2 . \log\frac{pe^{-\lambda}}{1-(1-p)e^{-\lambda}}\leq-\frac{\lambda}{p}+\frac{\lambda^2}{p^2}. log 1 − ( 1 − p ) e − λ p e − λ ≤ − p λ + p 2 λ 2 . Plugging in,
P ( S N ≤ t ) ≤ exp ( λ N p ( 1 − ε ) − N λ p + N λ 2 p 2 ) = exp ( − λ N p ε + N λ 2 p 2 ) . \mathbb{P}(S_N\leq t)\leq\exp\left(\lambda\frac{N}{p}(1-\varepsilon)-\frac{N\lambda}{p}+\frac{N\lambda^2}{p^2}\right)=\exp\left(-\lambda\frac{N}{p}\varepsilon+\frac{N\lambda^2}{p^2}\right). P ( S N ≤ t ) ≤ exp ( λ p N ( 1 − ε ) − p N λ + p 2 N λ 2 ) = exp ( − λ p N ε + p 2 N λ 2 ) . Optimizing by taking λ = p ε 2 \lambda=\frac{p\varepsilon}{2} λ = 2 pε yields
P ( S N ≤ ( 1 − ε ) N p ) ≤ exp ( − c N ε 2 ) , \mathbb{P}\left(S_N\leq(1-\varepsilon)\frac{N}{p}\right)\leq\exp(-cN\varepsilon^2), P ( S N ≤ ( 1 − ε ) p N ) ≤ exp ( − c N ε 2 ) , for a universal constant c > 0 c>0 c > 0 .
Lemma 17 (Bounded comparison under approximate DP Kamath et al. [23 ] , Equation 18). Let M \mathcal{M} M be ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -DP with 0 < ε ≤ 1 0<\varepsilon\leq1 0 < ε ≤ 1 . Let x , x ′ x,x' x , x ′ be neighboring datasets, and let Y = M ( x ) Y=\mathcal{M}(x) Y = M ( x ) and Y ′ = M ( x ′ ) Y'=\mathcal{M}(x') Y ′ = M ( x ′ ) . Let φ \varphi φ be a real-valued measurable function of the output such that ∣ φ ( y ) ∣ ≤ B |\varphi(y)|\leq B ∣ φ ( y ) ∣ ≤ B for every possible output y y y . Then
E φ ( Y ) ≤ E φ ( Y ′ ) + 2 ε E ∣ φ ( Y ′ ) ∣ + 2 δ B . \mathbb{E}\varphi(Y)\leq\mathbb{E}\varphi(Y')+2\varepsilon\mathbb{E}|\varphi(Y')|+2\delta B. E φ ( Y ) ≤ E φ ( Y ′ ) + 2 ε E ∣ φ ( Y ′ ) ∣ + 2 δ B .
Proof. Let P P P and Q Q Q denote the laws of Y Y Y and Y ′ Y' Y ′ . Write φ = φ + − φ − \varphi=\varphi_+-\varphi_- φ = φ + − φ − where φ + = max { φ , 0 } \varphi_+=\max\{\varphi,0\} φ + = max { φ , 0 } and φ − = max { − φ , 0 } \varphi_-=\max\{-\varphi,0\} φ − = max { − φ , 0 } . Note that both φ + \varphi_+ φ + and φ − \varphi_- φ − take values in [ 0 , B ] [0,B] [ 0 , B ] . For any nonnegative function h h h bounded by B B B , ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -DP implies
E P h = ∫ 0 B P ( h ≥ t ) d t ≤ ∫ 0 B { e ε Q ( h ≥ t ) + δ } d t = e ε E Q h + δ B . \mathbb{E}_P h=\int_0^B P(h\ge t)\,\mathrm{d}t\le\int_0^B\{e^\varepsilon Q(h\ge t)+\delta\}\,\mathrm{d}t=e^\varepsilon\mathbb{E}_Q h+\delta B. E P h = ∫ 0 B P ( h ≥ t ) d t ≤ ∫ 0 B { e ε Q ( h ≥ t ) + δ } d t = e ε E Q h + δ B .
Applying the same argument in the reverse direction gives E Q h ≤ e ε E P h + δ B \mathbb{E}_Qh\le e^\varepsilon\mathbb{E}_Ph+\delta B E Q h ≤ e ε E P h + δ B , which implies E P h ≥ e − ε E Q h − e − ε δ B \mathbb{E}_Ph\ge e^{-\varepsilon}\mathbb{E}_Qh-e^{-\varepsilon}\delta B E P h ≥ e − ε E Q h − e − ε δ B . Using these two inequalities with h = φ + h=\varphi_+ h = φ + and h = φ − h=\varphi_- h = φ − , we get
E P φ = E P φ + − E P φ − ≤ e ε E Q φ + + δ B − e − ε E Q φ − + e − ε δ B = E Q φ + ( e ε − 1 ) E Q φ + + ( 1 − e − ε ) E Q φ − + ( 1 + e − ε ) δ B . \begin{aligned}
\mathbb{E}_P\varphi&=\mathbb{E}_P\varphi_+-\mathbb{E}_P\varphi_-\\
&\le e^\varepsilon\mathbb{E}_Q\varphi_++\delta B-e^{-\varepsilon}\mathbb{E}_Q\varphi_-+e^{-\varepsilon}\delta B\\
&=\mathbb{E}_Q\varphi+(e^\varepsilon-1)\mathbb{E}_Q\varphi_++(1-e^{-\varepsilon})\mathbb{E}_Q\varphi_-+(1+e^{-\varepsilon})\delta B.
\end{aligned} E P φ = E P φ + − E P φ − ≤ e ε E Q φ + + δ B − e − ε E Q φ − + e − ε δ B = E Q φ + ( e ε − 1 ) E Q φ + + ( 1 − e − ε ) E Q φ − + ( 1 + e − ε ) δ B .
Since 0 < ε ≤ 1 0<\varepsilon\le1 0 < ε ≤ 1 , we have e ε − 1 ≤ 2 ε e^\varepsilon-1\le2\varepsilon e ε − 1 ≤ 2 ε , 1 − e − ε ≤ ε 1-e^{-\varepsilon}\le\varepsilon 1 − e − ε ≤ ε , 1 + e − ε ≤ 2 1+e^{-\varepsilon}\le2 1 + e − ε ≤ 2 . Therefore
E P φ ≤ E Q φ + 2 ε E Q ∣ φ ∣ + 2 δ B , \mathbb{E}_P\varphi\le\mathbb{E}_Q\varphi+2\varepsilon\mathbb{E}_Q|\varphi|+2\delta B, E P φ ≤ E Q φ + 2 ε E Q ∣ φ ∣ + 2 δ B ,
which is (17) .
Lemma 18 (McDiarmid’s inequality) (McDiarmid, [28 ] ) Let Z 1 , … , Z m Z_1,\ldots,Z_m Z 1 , … , Z m be independent random variables, with Z t Z_t Z t taking values in a set Z t \mathcal{Z}_t Z t , and let g : ∏ i = 1 m Z i → R g:\prod_{i=1}^m\mathcal{Z}_i\to\mathbb{R} g : ∏ i = 1 m Z i → R be a measurable function. Suppose that there exist constants c 1 , … , c m ≥ 0 c_1,\ldots,c_m\ge0 c 1 , … , c m ≥ 0 such that, for every t ∈ [ m ] t\in[m] t ∈ [ m ] and every z , z ′ ∈ ∏ i = 1 m Z i z,z'\in\prod_{i=1}^m\mathcal{Z}_i z , z ′ ∈ ∏ i = 1 m Z i that differ only in their t t t -th coordinate,
∣ g ( z ) − g ( z ′ ) ∣ ≤ c t . |g(z)-g(z')|\le c_t. ∣ g ( z ) − g ( z ′ ) ∣ ≤ c t . Then, for every u ≥ 0 u\ge0 u ≥ 0 ,
P [ g ( Z 1 , … , Z m ) − E [ g ( Z 1 , … , Z m ) ] ≥ u ] ≤ exp ( − 2 u 2 ∑ t = 1 m c t 2 ) . \mathbb{P}[g(Z_1,\ldots,Z_m)-\mathbb{E}[g(Z_1,\ldots,Z_m)]\ge u]\le\exp\left(-\frac{2u^2}{\sum_{t=1}^m c_t^2}\right). P [ g ( Z 1 , … , Z m ) − E [ g ( Z 1 , … , Z m )] ≥ u ] ≤ exp ( − ∑ t = 1 m c t 2 2 u 2 ) .
The following statement follows directly from applying the previous result to
∥ G ( Z 1 , … , Z m ) − E G ( Z 1 , … , Z m ) ∥ . \lVert G(Z_1,\ldots,Z_m)-\mathbb{E}G(Z_1,\ldots,Z_m)\rVert. ∥ G ( Z 1 , … , Z m ) − E G ( Z 1 , … , Z m )∥ .
Lemma 19 (Norm concentration via bounded differences) Let Z 1 , … , Z m Z_1,\ldots,Z_m Z 1 , … , Z m be independent random variables, where Z t Z_t Z t takes values in a measurable space Z t \mathcal{Z}_t Z t . Let ( V , ∥ ⋅ ∥ ) (V,\lVert\cdot\rVert) ( V , ∥ ⋅ ∥) be a normed vector space and let G : ∏ t = 1 m Z t → V G:\prod_{t=1}^m\mathcal{Z}_t\to V G : ∏ t = 1 m Z t → V be a measurable function such that G ( Z 1 , … , Z m ) G(Z_1,\ldots,Z_m) G ( Z 1 , … , Z m ) is integrable. Suppose that there exist constants c 1 , … , c m ≥ 0 c_1,\ldots,c_m\ge0 c 1 , … , c m ≥ 0 such that, for every t ∈ [ m ] t\in[m] t ∈ [ m ] and every z , z ′ ∈ ∏ s = 1 m Z s z,z'\in\prod_{s=1}^m\mathcal{Z}_s z , z ′ ∈ ∏ s = 1 m Z s that differ only in their t t t -th coordinate,
∥ G ( z ) − G ( z ′ ) ∥ ≤ c t . \lVert G(z)-G(z')\rVert\le c_t. ∥ G ( z ) − G ( z ′ )∥ ≤ c t . Let μ : = E G ( Z 1 , … , Z m ) ∈ V \mu:=\mathbb{E}G(Z_1,\ldots,Z_m)\in V μ := E G ( Z 1 , … , Z m ) ∈ V . Then, for every u ≥ 0 u\ge0 u ≥ 0 ,
P ( ∥ G ( Z 1 , … , Z m ) − μ ∥ ≥ E [ ∥ G ( Z 1 , … , Z m ) − μ ∥ ] + u ) ≤ exp ( − 2 u 2 ∑ t = 1 m c t 2 ) . \mathbb{P}\left(\lVert G(Z_1,\ldots,Z_m)-\mu\rVert\ge\mathbb{E}[\lVert G(Z_1,\ldots,Z_m)-\mu\rVert]+u\right)\le\exp\left(-\frac{2u^2}{\sum_{t=1}^m c_t^2}\right). P ( ∥ G ( Z 1 , … , Z m ) − μ ∥ ≥ E [∥ G ( Z 1 , … , Z m ) − μ ∥] + u ) ≤ exp ( − ∑ t = 1 m c t 2 2 u 2 ) .
Lemma 20 Let m , b < ∞ m,b < \infty m , b < ∞ be nonnegative. Then
∑ z ∈ Z ≥ 0 2 N ( ∑ j = 1 2 N z j ) ∏ j = 1 2 N ( m b ) z j z j ! < ∞ . \sum_{z \in\mathbb{Z}_{\ge0}^{2N}} \left(\sum_{j=1}^{2N} z_j\right) \prod_{j=1}^{2N} \frac{(mb)^{z_j}}{z_j!} < \infty. z ∈ Z ≥ 0 2 N ∑ ( j = 1 ∑ 2 N z j ) j = 1 ∏ 2 N z j ! ( mb ) z j < ∞. Proof. Let Z 1 , … , Z 2 N Z_1,\ldots,Z_{2N} Z 1 , … , Z 2 N be independent Poisson( m b ) (mb) ( mb ) random variables. Their joint probability mass function is
P ( ( Z 1 , … , Z 2 N ) = z ) = e − 2 N m b ∏ j = 1 2 N ( m b ) z j z j ! . \mathbb{P}\left((Z_1,\ldots,Z_{2N})=z\right)=e^{-2Nmb}\prod_{j=1}^{2N}\frac{(mb)^{z_j}}{z_j!}. P ( ( Z 1 , … , Z 2 N ) = z ) = e − 2 N mb j = 1 ∏ 2 N z j ! ( mb ) z j . Consequently,
∑ z ∈ Z ≥ 0 2 N ( ∑ j = 1 2 N z j ) ∏ j = 1 2 N ( m b ) z j z j ! = e 2 N m b ∑ z ∈ Z ≥ 0 2 N ( ∑ j = 1 2 N z j ) P ( ( Z 1 , … , Z 2 N ) = z ) \sum_{z \in\mathbb{Z}_{\ge0}^{2N}} \left(\sum_{j=1}^{2N} z_j\right) \prod_{j=1}^{2N} \frac{(mb)^{z_j}}{z_j!}
=e^{2Nmb}\sum_{z \in\mathbb{Z}_{\ge0}^{2N}}\left(\sum_{j=1}^{2N}z_j\right)\mathbb{P}\left((Z_1,\ldots,Z_{2N})=z\right) z ∈ Z ≥ 0 2 N ∑ ( j = 1 ∑ 2 N z j ) j = 1 ∏ 2 N z j ! ( mb ) z j = e 2 N mb z ∈ Z ≥ 0 2 N ∑ ( j = 1 ∑ 2 N z j ) P ( ( Z 1 , … , Z 2 N ) = z ) = e 2 N m b E [ ∑ j = 1 2 N Z j ] . =e^{2Nmb}\mathbb{E}\left[\sum_{j=1}^{2N}Z_j\right]. = e 2 N mb E [ j = 1 ∑ 2 N Z j ] . Since each Z j Z_j Z j has mean m b mb mb , linearity of expectation gives
E [ ∑ j = 1 2 N Z j ] = ∑ j = 1 2 N E [ Z j ] = 2 N m b < ∞ . \mathbb{E}\left[\sum_{j=1}^{2N}Z_j\right]=\sum_{j=1}^{2N}\mathbb{E}[Z_j]=2Nmb<\infty. E [ j = 1 ∑ 2 N Z j ] = j = 1 ∑ 2 N E [ Z j ] = 2 N mb < ∞. It follows that the original series is finite.
Lemma 21 ([8 Theorem 1] ) If X ∼ Pois ( λ ) X \sim\operatorname{Pois}(\lambda) X ∼ Pois ( λ ) , then for all 0 ≤ t < λ 0 \le t < \lambda 0 ≤ t < λ ,
P ( X ≤ λ − t ) ≤ exp ( − t 2 2 λ ) . \mathbb{P}(X \le\lambda-t) \le\exp\left(-\frac{t^2}{2\lambda}\right). P ( X ≤ λ − t ) ≤ exp ( − 2 λ t 2 ) .
Proofs of Section 2
Complete Statement and Proof of Theorem 2
Before providing the formal statement and the corresponding proof, we introduce some helper lemmas that will be used to prove our claim. We use the notation from Algorithm D.1. Recall that for i , j ∈ [ S ] i,j \in[S] i , j ∈ [ S ] ,
K i , j : = ∑ u = 1 N ∑ t = 1 T − 1 1 { X t ( u ) = i , X t + 1 ( u ) = j } , K i : = ∑ j = 1 S K i , j . K_{i,j} := \sum_{u=1}^{N}\sum_{t=1}^{T-1}\mathbf{1}\{X_t^{(u)}=i,X_{t+1}^{(u)}=j\}, \qquad K_i := \sum_{j=1}^{S}K_{i,j}. K i , j := u = 1 ∑ N t = 1 ∑ T − 1 1 { X t ( u ) = i , X t + 1 ( u ) = j } , K i := j = 1 ∑ S K i , j .
Here, K i K_i K i is the number of observed departures from state i i i . Whenever K i > 0 K_i > 0 K i > 0 , the empirical estimator is
P ^ i , j n p : = K i , j K i . \widehat{P}_{i,j}^{\mathrm{np}} := \frac{K_{i,j}}{K_i}. P i , j np := K i K i , j .
If K i = 0 K_i = 0 K i = 0 , its i i i -th row can be set to any fixed probability vector, such as the uniform distribution.
Figure D.1.
Input: Markov Chains ( X 1 : T ( 1 ) , … , X 1 : T ( N ) ) (X_{1:T}^{(1)}, \ldots, X_{1:T}^{(N)}) ( X 1 : T ( 1 ) , … , X 1 : T ( N ) ) ; noise distribution D \mathcal{D} D .
Operation:
For all i , j ∈ [ S ] i,j \in[S] i , j ∈ [ S ] , obtain the transition counts K i , j = ∑ ℓ = 1 N ∑ t = 1 T − 1 1 { X t ( ℓ ) = i , X t + 1 ( ℓ ) = j } K_{i,j} = \sum_{\ell=1}^{N}\sum_{t=1}^{T-1} 1\{X_{t}^{(\ell)}=i,X_{t+1}^{(\ell)}=j\} K i , j = ∑ ℓ = 1 N ∑ t = 1 T − 1 1 { X t ( ℓ ) = i , X t + 1 ( ℓ ) = j } across all chains.
For every i , j ∈ [ S ] i,j \in[S] i , j ∈ [ S ] , independently sample Z i , j ∼ D Z_{i,j} \sim\mathcal{D} Z i , j ∼ D and compute K ~ i , j : = [ K i , j + Z i , j ] + \widetilde{K}_{i,j}:=[K_{i,j}+Z_{i,j}]_{+} K i , j := [ K i , j + Z i , j ] + , where [ a ] + = max { a , 0 } [a]_{+}=\max\{a,0\} [ a ] + = max { a , 0 } .
For every i ∈ [ S ] i \in[S] i ∈ [ S ] , compute K ~ i : = ∑ k = 1 S K ~ i , k \widetilde{K}_{i}:=\sum_{k=1}^{S}\widetilde{K}_{i,k} K i := ∑ k = 1 S K i , k and, for every j ∈ [ S ] j \in[S] j ∈ [ S ] , set P ~ i , j : = K ~ i , j K ~ i \widetilde{P}_{i,j}:=\frac{\widetilde{K}_{i,j}}{\widetilde{K}_{i}} P i , j := K i K i , j if K ~ i > 0 \widetilde{K}_{i}>0 K i > 0 otherwise set P ~ i , j : = 1 S \widetilde{P}_{i,j}:=\frac{1}{S} P i , j := S 1 .
Output the estimated transition matrix P ~ : = ( P ~ i , j ) i , j ∈ [ S ] \widetilde{P}:=(\widetilde{P}_{i,j})_{i,j\in[S]} P := ( P i , j ) i , j ∈ [ S ] .
Lemma 22 [24 ] For a universal constant C 1 C_{1} C 1 , if
N ≥ C 1 max { S π min T α 2 log ( S f ) + 1 π min ln ( 1 π min ) , 1 π min γ p s T log ( S f ) } , N \ge C_{1}\max\left\{\frac{S}{\pi_{\min}T\alpha^{2}}\log\left(\frac{S}{f}\right)+\frac{1}{\pi_{\min}}\ln\left(\frac{1}{\pi_{\min}}\right),\frac{1}{\pi_{\min}\gamma_{ps}T}\log\left(\frac{S}{f}\right)\right\}, N ≥ C 1 max { π m i n T α 2 S log ( f S ) + π m i n 1 ln ( π m i n 1 ) , π m i n γ p s T 1 log ( f S ) } , then P n p \mathbb{P}^{\mathrm{np}} P np satisfies P ( ∥ P ^ n p − P ∥ ∞ ≤ α ) ≥ 1 − f \mathbb{P}\left(\|\widehat{P}^{\mathrm{np}}-P\|_{\infty}\le\alpha\right)\ge1-f P ( ∥ P np − P ∥ ∞ ≤ α ) ≥ 1 − f .
Lemma 23 [24 ] For a universal constant C 2 C_{2} C 2 , if
N T ≥ C 2 π min γ p s log ( S f ) , NT \ge\frac{C_{2}}{\pi_{\min}\gamma_{ps}}\log\left(\frac{S}{f}\right), N T ≥ π m i n γ p s C 2 log ( f S ) , then P ( ∃ i ∈ [ S ] , K i ∉ [ 1 2 π i N T , 3 2 π i N T ] ) ≤ f \mathbb{P}\left(\exists i\in[S],K_{i}\notin\left[\frac{1}{2}\pi_{i}NT,\frac{3}{2}\pi_{i}NT\right]\right)\le f P ( ∃ i ∈ [ S ] , K i ∈ / [ 2 1 π i N T , 2 3 π i N T ] ) ≤ f .
Lemma 24 Let ( K i , j ) i , j ∈ S (K_{i,j})_{i,j\in S} ( K i , j ) i , j ∈ S be a matrix with nonnegative entries such that for each row i ∈ [ S ] i\in[S] i ∈ [ S ] , K i : = ∑ j = 1 S K i , j > 0 K_i:=\sum_{j=1}^{S}K_{i,j}>0 K i := ∑ j = 1 S K i , j > 0 , then for any K i , j ≥ 0 K_{i,j}\ge0 K i , j ≥ 0 , for each i , j ∈ [ S ] i,j\in[S] i , j ∈ [ S ] , we have that
∑ j = 1 S ∣ [ K i , j + Z i , j ] + ∑ k = 1 S [ K i , k + Z i , k ] + − K i , j K i ∣ ≤ 2 ∑ j = 1 S ∣ Z i , j ∣ K i − ∑ k = 1 S ∣ Z i , k ∣ . \sum_{j=1}^{S}\left|\frac{[K_{i,j}+Z_{i,j}]_{+}}{\sum_{k=1}^{S}[K_{i,k}+Z_{i,k}]_{+}}-\frac{K_{i,j}}{K_i}\right|\le\frac{2\sum_{j=1}^{S}|Z_{i,j}|}{K_i-\sum_{k=1}^{S}|Z_{i,k}|}. j = 1 ∑ S ∑ k = 1 S [ K i , k + Z i , k ] + [ K i , j + Z i , j ] + − K i K i , j ≤ K i − ∑ k = 1 S ∣ Z i , k ∣ 2 ∑ j = 1 S ∣ Z i , j ∣ .
Proof. Simplifying the LHS of the inequality gives
∑ j = 1 S ∣ [ K i , j + Z i , j ] + ∑ k = 1 S [ K i , k + Z i , k ] + − K i , j ∑ k = 1 S K i , k ∣ = ∑ j = 1 S ∣ [ K i , j + Z i , j ] + ∑ k = 1 S K i , k − K i , j ∑ k = 1 S [ K i , k + Z i , k ] + ∑ k = 1 S [ K i , k + Z i , k ] + + ∑ k = 1 S K i , k ∣ = ∑ j = 1 S ∣ ∑ k = 1 S ( [ K i , j + Z i , j ] + K i , k − K i , j [ K i , k + Z i , k ] + ) ∑ k = 1 S [ K i , k + Z i , k ] + + ∑ k = 1 S K i , k ∣ = ∑ j = 1 S ∣ ∑ k = 1 S ( [ K i , j K i , k + K i , k Z i , j ] + − [ K i , k K i , j + K i , j Z i , k ] + ) ∑ k = 1 S [ K i , k + Z i , k ] + + ∑ k = 1 S K i , k ∣ = ∑ j = 1 S ∣ ∑ k = 1 S ( [ K i , j K i , k + K i , k Z i , j ] + − [ K i , k K i , j + K i , j Z i , k ] + ) ∣ ∑ k = 1 S [ K i , k + Z i , k ] + + ∑ k = 1 S K i , k ≤ ∑ j = 1 S ∑ k = 1 S ∣ [ K i , j K i , k + K i , k Z i , j ] + − [ K i , k K i , j + K i , j Z i , k ] + ∣ ∑ k = 1 S [ K i , k + Z i , k ] + + ∑ k = 1 S K i , k ≤ ∑ j = 1 S ∑ k = 1 S ∣ K i , k Z i , j − K i , j Z i , k ∣ ∑ k = 1 S [ K i , k + Z i , k ] + + ∑ k = 1 S K i , k ≤ ∑ j = 1 S ∑ k = 1 S ( K i , k ∣ Z i , j ∣ + K i , j ∣ Z i , k ∣ ) ∑ k = 1 S [ K i , k + Z i , k ] + + ∑ k = 1 S K i , k ≤ ( ∑ k = 1 S K i , k ) ( ∑ j = 1 S ∣ Z i , j ∣ ) + ( ∑ j = 1 S K i , j ) ( ∑ k = 1 S ∣ Z i , k ∣ ) ∑ k = 1 S [ K i , k + Z i , k ] + + ∑ k = 1 S K i , k = 2 ∑ j = 1 S ∣ Z i , j ∣ ∑ k = 1 S [ K i , k + Z i , k ] + ≤ 2 ∑ j = 1 S ∣ Z i , j ∣ ∑ k = 1 S K i , k − ∑ k = 1 S ∣ Z i , k ∣ . \begin{aligned}
&\sum_{j=1}^{S}\left|\frac{[K_{i,j}+Z_{i,j}]_{+}}{\sum_{k=1}^{S}[K_{i,k}+Z_{i,k}]_{+}}-\frac{K_{i,j}}{\sum_{k=1}^{S}K_{i,k}}\right| \\
&=\sum_{j=1}^{S}\left|\frac{[K_{i,j}+Z_{i,j}]_{+}\sum_{k=1}^{S}K_{i,k}-K_{i,j}\sum_{k=1}^{S}[K_{i,k}+Z_{i,k}]_{+}}{\sum_{k=1}^{S}[K_{i,k}+Z_{i,k}]_{+}+\sum_{k=1}^{S}K_{i,k}}\right| \\
&=\sum_{j=1}^{S}\left|\frac{\sum_{k=1}^{S}\left([K_{i,j}+Z_{i,j}]_{+}K_{i,k}-K_{i,j}[K_{i,k}+Z_{i,k}]_{+}\right)}{\sum_{k=1}^{S}[K_{i,k}+Z_{i,k}]_{+}+\sum_{k=1}^{S}K_{i,k}}\right| \\
&=\sum_{j=1}^{S}\left|\frac{\sum_{k=1}^{S}\left([K_{i,j}K_{i,k}+K_{i,k}Z_{i,j}]_{+}-[K_{i,k}K_{i,j}+K_{i,j}Z_{i,k}]_{+}\right)}{\sum_{k=1}^{S}[K_{i,k}+Z_{i,k}]_{+}+\sum_{k=1}^{S}K_{i,k}}\right| \\
&=\frac{\sum_{j=1}^{S}\left|\sum_{k=1}^{S}\left([K_{i,j}K_{i,k}+K_{i,k}Z_{i,j}]_{+}-[K_{i,k}K_{i,j}+K_{i,j}Z_{i,k}]_{+}\right)\right|}{\sum_{k=1}^{S}[K_{i,k}+Z_{i,k}]_{+}+\sum_{k=1}^{S}K_{i,k}} \\
&\leq\frac{\sum_{j=1}^{S}\sum_{k=1}^{S}\left|[K_{i,j}K_{i,k}+K_{i,k}Z_{i,j}]_{+}-[K_{i,k}K_{i,j}+K_{i,j}Z_{i,k}]_{+}\right|}{\sum_{k=1}^{S}[K_{i,k}+Z_{i,k}]_{+}+\sum_{k=1}^{S}K_{i,k}} \\
&\leq\frac{\sum_{j=1}^{S}\sum_{k=1}^{S}|K_{i,k}Z_{i,j}-K_{i,j}Z_{i,k}|}{\sum_{k=1}^{S}[K_{i,k}+Z_{i,k}]_{+}+\sum_{k=1}^{S}K_{i,k}} \\
&\leq\frac{\sum_{j=1}^{S}\sum_{k=1}^{S}(K_{i,k}|Z_{i,j}|+K_{i,j}|Z_{i,k}|)}{\sum_{k=1}^{S}[K_{i,k}+Z_{i,k}]_{+}+\sum_{k=1}^{S}K_{i,k}} \\
&\leq\frac{\left(\sum_{k=1}^{S}K_{i,k}\right)\left(\sum_{j=1}^{S}|Z_{i,j}|\right)+\left(\sum_{j=1}^{S}K_{i,j}\right)\left(\sum_{k=1}^{S}|Z_{i,k}|\right)}{\sum_{k=1}^{S}[K_{i,k}+Z_{i,k}]_{+}+\sum_{k=1}^{S}K_{i,k}} \\
&=\frac{2\sum_{j=1}^{S}|Z_{i,j}|}{\sum_{k=1}^{S}[K_{i,k}+Z_{i,k}]_{+}}\leq\frac{2\sum_{j=1}^{S}|Z_{i,j}|}{\sum_{k=1}^{S}K_{i,k}-\sum_{k=1}^{S}|Z_{i,k}|}.
\end{aligned} j = 1 ∑ S ∑ k = 1 S [ K i , k + Z i , k ] + [ K i , j + Z i , j ] + − ∑ k = 1 S K i , k K i , j = j = 1 ∑ S ∑ k = 1 S [ K i , k + Z i , k ] + + ∑ k = 1 S K i , k [ K i , j + Z i , j ] + ∑ k = 1 S K i , k − K i , j ∑ k = 1 S [ K i , k + Z i , k ] + = j = 1 ∑ S ∑ k = 1 S [ K i , k + Z i , k ] + + ∑ k = 1 S K i , k ∑ k = 1 S ( [ K i , j + Z i , j ] + K i , k − K i , j [ K i , k + Z i , k ] + ) = j = 1 ∑ S ∑ k = 1 S [ K i , k + Z i , k ] + + ∑ k = 1 S K i , k ∑ k = 1 S ( [ K i , j K i , k + K i , k Z i , j ] + − [ K i , k K i , j + K i , j Z i , k ] + ) = ∑ k = 1 S [ K i , k + Z i , k ] + + ∑ k = 1 S K i , k ∑ j = 1 S ∑ k = 1 S ( [ K i , j K i , k + K i , k Z i , j ] + − [ K i , k K i , j + K i , j Z i , k ] + ) ≤ ∑ k = 1 S [ K i , k + Z i , k ] + + ∑ k = 1 S K i , k ∑ j = 1 S ∑ k = 1 S ∣ [ K i , j K i , k + K i , k Z i , j ] + − [ K i , k K i , j + K i , j Z i , k ] + ∣ ≤ ∑ k = 1 S [ K i , k + Z i , k ] + + ∑ k = 1 S K i , k ∑ j = 1 S ∑ k = 1 S ∣ K i , k Z i , j − K i , j Z i , k ∣ ≤ ∑ k = 1 S [ K i , k + Z i , k ] + + ∑ k = 1 S K i , k ∑ j = 1 S ∑ k = 1 S ( K i , k ∣ Z i , j ∣ + K i , j ∣ Z i , k ∣ ) ≤ ∑ k = 1 S [ K i , k + Z i , k ] + + ∑ k = 1 S K i , k ( ∑ k = 1 S K i , k ) ( ∑ j = 1 S ∣ Z i , j ∣ ) + ( ∑ j = 1 S K i , j ) ( ∑ k = 1 S ∣ Z i , k ∣ ) = ∑ k = 1 S [ K i , k + Z i , k ] + 2 ∑ j = 1 S ∣ Z i , j ∣ ≤ ∑ k = 1 S K i , k − ∑ k = 1 S ∣ Z i , k ∣ 2 ∑ j = 1 S ∣ Z i , j ∣ .
This proves the claim.
Theorem 25 (Complete Privacy Guarantee of Theorem 2 ) Algorithm D.1 with D = Lap ( 4 / ε ) \mathcal{D}=\operatorname{Lap}(4/\varepsilon) D = Lap ( 4/ ε ) is ε \varepsilon ε differentially private.
Proof. Consider the count matrix K ′ K' K ′ corresponding to the adjacent database. Changing a single data point in a chain can affect at most two transitions, which implies that the ℓ 1 \ell_1 ℓ 1 norm between the vectorized versions of the matrices is upper bounded by 4. Hence, for D = Lap ( 4 / ε ) \mathcal{D}=\operatorname{Lap}(4/\varepsilon) D = Lap ( 4/ ε ) , we get that the count matrix is ε \varepsilon ε -DP by the Laplace mechanism Dwork and Roth [12 ] . Steps 2 and 3 are post-processing operations, which implies that the resultant matrix P ^ n p \hat{P}^{\mathrm{np}} P ^ np satisfies ε \varepsilon ε -DP.
Theorem 26 (Complete Utility Guarantee of Theorem 2 ) Fix 0 < α , f < 1 0<\alpha,f<1 0 < α , f < 1 and 0 < ε ≤ 1 0<\varepsilon\leq1 0 < ε ≤ 1 . Uniformly over P ∈ C ( S , π min , γ p s ) P\in\mathcal{C}(\mathcal{S},\pi_{\min},\gamma_{ps}) P ∈ C ( S , π m i n , γ p s ) and arbitrary initial distributions, Algorithm D.1 with D = \mathcal{D}= D =
Lap ( 0 , 4 / ε ) \operatorname{Lap}(0,4/\varepsilon) Lap ( 0 , 4/ ε ) satisfies Pr ( ρ ( P ^ , P ) ≤ α ) ≥ 1 − f \Pr\left(\rho(\widehat{P},P)\le\alpha\right)\ge1-f Pr ( ρ ( P , P ) ≤ α ) ≥ 1 − f for
N = O ( S log ( S f ) π min T α 2 + ln ( 1 π min ) π min T + log ( S f ) γ p s π min T + S + max { S log ( S f ) , log ( S f ) } π min T α ) . N=\mathcal{O}\left(\frac{S\log\left(\frac{S}{f}\right)}{\pi_{\min}T\alpha^2}+\frac{\ln\left(\frac{1}{\pi_{\min}}\right)}{\pi_{\min}T}+\frac{\log\left(\frac{S}{f}\right)}{\gamma_{ps}\pi_{\min}T}+\frac{S+\max\left\{\sqrt{S\log\left(\frac{S}{f}\right)},\log\left(\frac{S}{f}\right)\right\}}{\pi_{\min}T\alpha}\right). N = O π m i n T α 2 S log ( f S ) + π m i n T ln ( π m i n 1 ) + γ p s π m i n T log ( f S ) + π m i n T α S + max { S log ( f S ) , log ( f S ) } .
Proof. We start by bounding the matrix-norm distance between corresponding rows of P ^ n p \widehat{P}^{\mathrm{np}} P np with P ^ \widehat{P} P . Consider an arbitrary i t h i^{\mathrm{th}} i th row of the two matrices. We seek a high probability bound on the following quantity
∑ j = 1 S ∣ [ K i , j + Z i , j ] + ∑ k = 1 S [ K i , k + Z i , k ] + − K i , j ∑ k = 1 S K i , k ∣ . \sum_{j=1}^{S}\left|\frac{[K_{i,j}+Z_{i,j}]_{+}}{\sum_{k=1}^{S}[K_{i,k}+Z_{i,k}]_{+}}-\frac{K_{i,j}}{\sum_{k=1}^{S}K_{i,k}}\right|. j = 1 ∑ S ∑ k = 1 S [ K i , k + Z i , k ] + [ K i , j + Z i , j ] + − ∑ k = 1 S K i , k K i , j .
Let 0 < R ≤ 1 4 π min N T 0<R\le\frac{1}{4}\pi_{\min}NT 0 < R ≤ 4 1 π m i n N T and α ≤ 1 \alpha\le1 α ≤ 1 . Define K i : = ∑ j = 1 S K i , j K_i:=\sum_{j=1}^{S}K_{i,j} K i := ∑ j = 1 S K i , j and consider the events
E 1 = { ∑ j = 1 S ∣ Z i , j ∣ ≤ R for all rows i ∈ [ S ] } \mathcal{E}_1=\left\{\sum_{j=1}^{S}|Z_{i,j}|\le R\text{ for all rows }i\in[S]\right\} E 1 = { j = 1 ∑ S ∣ Z i , j ∣ ≤ R for all rows i ∈ [ S ] }
E 2 = { ∀ i ∈ [ S ] , K i ∈ [ 1 2 π i N T , 3 2 π i N T ] } . \mathcal{E}_2=\left\{\forall i\in[S],K_i\in\left[\frac{1}{2}\pi_iNT,\frac{3}{2}\pi_iNT\right]\right\}. E 2 = { ∀ i ∈ [ S ] , K i ∈ [ 2 1 π i N T , 2 3 π i N T ] } .
Conditional on the events E 1 \mathcal{E}_1 E 1 and E 2 \mathcal{E}_2 E 2 , we have that K i ≥ 1 4 π min N T ≥ R K_i\ge\frac{1}{4}\pi_{\min}NT\ge R K i ≥ 4 1 π m i n N T ≥ R . Hence, we get that for all i ∈ [ S ] i\in[S] i ∈ [ S ]
∑ j = 1 S [ K i , j + Z i , j ] + ≥ ∑ j = 1 S ( K i , j + Z i , j ) = K i + ∑ j = 1 S Z i , j ≥ K i − ∑ j = 1 S ∣ Z i , j ∣ ≥ 1 4 π min T > 0. \sum_{j=1}^{S}[K_{i,j}+Z_{i,j}]_{+}\ge\sum_{j=1}^{S}(K_{i,j}+Z_{i,j})=K_i+\sum_{j=1}^{S}Z_{i,j}\ge K_i-\sum_{j=1}^{S}|Z_{i,j}|\ge\frac{1}{4}\pi_{\min}T>0. j = 1 ∑ S [ K i , j + Z i , j ] + ≥ j = 1 ∑ S ( K i , j + Z i , j ) = K i + j = 1 ∑ S Z i , j ≥ K i − j = 1 ∑ S ∣ Z i , j ∣ ≥ 4 1 π m i n T > 0.
Thus, P ~ i , j : = K ~ i , j K ~ i \widetilde{P}_{i,j}:=\frac{\widetilde{K}_{i,j}}{\widetilde{K}_i} P i , j := K i K i , j . For each row, Lemma 24 bounds the above quantity by
∑ j = 1 S ∣ ∣ K i , j + Z i , j ∣ ∑ k = 1 S [ K i , k + Z i , k ] + − K i , j ∑ k = 1 S K i , k ∣ ≤ 2 R K i − R ≤ 2 R 1 2 π min N T − R . \sum_{j=1}^{S}\left|\frac{|K_{i,j}+Z_{i,j}|}{\sum_{k=1}^{S}[K_{i,k}+Z_{i,k}]_{+}}-\frac{K_{i,j}}{\sum_{k=1}^{S}K_{i,k}}\right|\le\frac{2R}{K_i-R}\le\frac{2R}{\frac{1}{2}\pi_{\min}NT-R}. j = 1 ∑ S ∑ k = 1 S [ K i , k + Z i , k ] + ∣ K i , j + Z i , j ∣ − ∑ k = 1 S K i , k K i , j ≤ K i − R 2 R ≤ 2 1 π m i n N T − R 2 R .
Let σ 2 = 8 ε 2 \sigma^2=\frac{8}{\varepsilon^2} σ 2 = ε 2 8 . A Laplace random variable is sub-exponential with Bernstein parameters ( σ 2 , σ 2 ) \left(\sigma^2,\frac{\sigma}{\sqrt{2}}\right) ( σ 2 , 2 σ ) . Then, applying Bernstein’s inequality [33 ] for each row and then taking the union bound over all the rows, we obtain
P ( ∃ i ∈ [ S ] , ∣ ∑ j = 1 S ∣ Z i , j ∣ − 2 S ε ∣ ≥ t ) ≤ 2 S exp ( − c min ( t 2 S σ 2 , t σ ) ) . \mathbb{P}\left(\exists i\in[S],\left|\sum_{j=1}^{S}|Z_{i,j}|-\frac{2S}{\varepsilon}\right|\ge t\right)\le2S\exp\left(-c\min\left(\frac{t^2}{S\sigma^2},\frac{t}{\sigma}\right)\right). P ( ∃ i ∈ [ S ] , j = 1 ∑ S ∣ Z i , j ∣ − ε 2 S ≥ t ) ≤ 2 S exp ( − c min ( S σ 2 t 2 , σ t ) ) .
Hence, setting R = 2 S ε + t R=\frac{2S}{\varepsilon}+t R = ε 2 S + t , we get that P ( E 1 ‾ ) ≤ 2 S exp ( − c min ( t 2 S σ 2 , t σ ) ) \mathbb{P}(\overline{\mathcal{E}_1})\le2S\exp\left(-c\min\left(\frac{t^2}{S\sigma^2},\frac{t}{\sigma}\right)\right) P ( E 1 ) ≤ 2 S exp ( − c min ( S σ 2 t 2 , σ t ) ) . Thus, the event E 1 ∩ E 2 \mathcal{E}_1\cap\mathcal{E}_2 E 1 ∩ E 2 implies that ∥ P ^ n p − P ^ ∥ ∞ ≤ α \left\|\widehat{P}^{\mathrm{np}}-\widehat{P}\right\|_{\infty}\le\alpha P np − P ∞ ≤ α . Thus, taking N T ≳ max { R π min α , 1 π min γ p s log ( S f ) } NT\gtrsim\max\left\{\frac{R}{\pi_{\min}\alpha},\frac{1}{\pi_{\min}\gamma_{ps}}\log\left(\frac{S}{f}\right)\right\} N T ≳ max { π m i n α R , π m i n γ p s 1 log ( f S ) } and using Lemma 23, we get
P ( ∥ P ^ n p − P ^ ∥ ∞ ≥ α ) ≤ P ( ∥ P ^ n p − P ^ ∥ ∞ ≥ α ∣ E 1 ∩ E 2 ) + P ( E ‾ 1 ) + P ( E ‾ 2 ) \mathbb{P}\left(\left\|\widehat{P}^{\mathrm{np}}-\widehat{P}\right\|_{\infty}\geq\alpha\right)\leq\mathbb{P}\left(\left\|\widehat{P}^{\mathrm{np}}-\widehat{P}\right\|_{\infty}\geq\alpha\mid\mathcal{E}_1\cap\mathcal{E}_2\right)+\mathbb{P}(\overline{\mathcal{E}}_1)+\mathbb{P}(\overline{\mathcal{E}}_2) P ( P np − P ∞ ≥ α ) ≤ P ( P np − P ∞ ≥ α ∣ E 1 ∩ E 2 ) + P ( E 1 ) + P ( E 2 )
≤ 2 S exp ( − c min ( t 2 S σ 2 , t σ ) ) + f 3 . \leq2S\exp\left(-c\min\left(\frac{t^2}{S\sigma^2},\frac{t}{\sigma}\right)\right)+\frac{f}{3}. ≤ 2 S exp ( − c min ( S σ 2 t 2 , σ t ) ) + 3 f .
Setting t = 2 2 ε max { S log ( 18 S f ) , log ( 18 S f ) } t=\frac{2\sqrt{2}}{\varepsilon}\max\left\{\sqrt{S\log\left(\frac{18S}{f}\right)},\log\left(\frac{18S}{f}\right)\right\} t = ε 2 2 max { S log ( f 18 S ) , log ( f 18 S ) } and combining this with Lemma 22, for
N ≳ max { S π min T α 2 log ( S f ) + 1 π min ln ( 1 π min ) , 1 π min γ p s T log ( S f ) } , N\gtrsim\max\left\{\frac{S}{\pi_{\min}T\alpha^2}\log\left(\frac{S}{f}\right)+\frac{1}{\pi_{\min}}\ln\left(\frac{1}{\pi_{\min}}\right),\frac{1}{\pi_{\min}\gamma_{\mathrm{ps}}T}\log\left(\frac{S}{f}\right)\right\}, N ≳ max { π m i n T α 2 S log ( f S ) + π m i n 1 ln ( π m i n 1 ) , π m i n γ ps T 1 log ( f S ) } ,
we obtain
P ( ∥ P ^ n p − P ∥ ∞ ≥ α ) ≤ P ( ∥ P ^ − P ∥ ∞ ≥ α ) + P ( ∥ P ^ n p − P ^ ∥ ∞ ≥ α ) ≤ f . \mathbb{P}\left(\left\|\widehat{P}^{\mathrm{np}}-P\right\|_{\infty}\geq\alpha\right)\leq\mathbb{P}\left(\left\|\widehat{P}-P\right\|_{\infty}\geq\alpha\right)+\mathbb{P}\left(\left\|\widehat{P}^{\mathrm{np}}-\widehat{P}\right\|_{\infty}\geq\alpha\right)\leq f. P ( P np − P ∞ ≥ α ) ≤ P ( P − P ∞ ≥ α ) + P ( P np − P ∞ ≥ α ) ≤ f .
Moreover, note that the above value of t t t implies that
R = Θ ( S ε + 1 ε max { S log ( 6 S f ) , log ( 6 S f ) } ) , R=\Theta\left(\frac{S}{\varepsilon}+\frac{1}{\varepsilon}\max\left\{\sqrt{S\log\left(\frac{6S}{f}\right)},\log\left(\frac{6S}{f}\right)\right\}\right), R = Θ ( ε S + ε 1 max { S log ( f 6 S ) , log ( f 6 S ) } ) ,
which gives the eventual user complexity
N = O ( S log ( S f ) π min T α 2 + ln ( 1 π min ) π min T + log ( S f ) π min γ p s T + S + max { S log ( S f ) , log ( S f ) } π min T α ε ) . N=O\left(\frac{S\log\left(\frac{S}{f}\right)}{\pi_{\min}T\alpha^2}+\frac{\ln\left(\frac{1}{\pi_{\min}}\right)}{\pi_{\min}T}+\frac{\log\left(\frac{S}{f}\right)}{\pi_{\min}\gamma_{\mathrm{ps}}T}+\frac{S+\max\left\{\sqrt{S\log\left(\frac{S}{f}\right)},\log\left(\frac{S}{f}\right)\right\}}{\pi_{\min}T\alpha\varepsilon}\right). N = O π m i n T α 2 S log ( f S ) + π m i n T ln ( π m i n 1 ) + π m i n γ ps T log ( f S ) + π m i n T α ε S + max { S log ( f S ) , log ( f S ) } .
Gaussian Mechanism for Approximate DP
Theorem 27 Algorithm D.1 with D = N ( 0 , σ 2 ) \mathcal{D}=\mathcal{N}(0,\sigma^2) D = N ( 0 , σ 2 ) , where σ = 4 log ( 1 / δ ) ε \sigma=\frac{4\sqrt{\log(1/\delta)}}{\varepsilon} σ = ε 4 l o g ( 1/ δ ) is ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) differentially private.
Proof. Using the same argument as in Theorem 25, for an adjacent matrix K ′ K' K ′ , the ∥ K − K ′ ∥ F ≤ 2 \left\|K-K'\right\|_F\leq2 ∥ K − K ′ ∥ F ≤ 2 . Hence, for D = N ( 0 , σ 2 ) \mathcal{D}=\mathcal{N}(0,\sigma^2) D = N ( 0 , σ 2 ) where σ = 4 log ( 1 / δ ) ε \sigma=\frac{4\sqrt{\log(1/\delta)}}{\varepsilon} σ = ε 4 l o g ( 1/ δ ) , the privacy guarantee follows from the ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) privacy guarantee of the Gaussian mechanism on the count matrix K K K and post-processing operations, so the resulting P ^ n p \widehat{P}^{\mathrm{np}} P np satisfies ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -DP.
Theorem 28 Fix 0 < α , f < 1 0<\alpha,f<1 0 < α , f < 1 and 0 < ε ≤ 1 0<\varepsilon\leq1 0 < ε ≤ 1 . Uniformly over P ∈ C ( S , π min , γ p s ) P\in\mathcal{C}(S,\pi_{\min},\gamma_{\mathrm{ps}}) P ∈ C ( S , π m i n , γ ps ) and arbitrary initial distributions, Algorithm D.1 with D = N ( 0 , σ 2 ) \mathcal{D}=\mathcal{N}(0,\sigma^2) D = N ( 0 , σ 2 ) , where σ = 4 log ( 1 / δ ) ε \sigma=\frac{4\sqrt{\log(1/\delta)}}{\varepsilon} σ = ε 4 l o g ( 1/ δ ) , satisfies Pr ( ρ ( P ^ , P ) ≤ α ) ≥ 1 − f \Pr\left(\rho(\widehat{P},P)\leq\alpha\right)\geq1-f Pr ( ρ ( P , P ) ≤ α ) ≥ 1 − f provided that
N = Θ ( S log ( S f ) π min T α 2 + ln ( 1 π min ) π min T + log ( S f ) γ p s π min T + S log ( 1 δ ) ε π min T α + S log ( 1 δ ) log ( S f ) π min T α ε ) . N=\Theta\left(\frac{S\log\left(\frac{S}{f}\right)}{\pi_{\min}T\alpha^2}+\frac{\ln\left(\frac{1}{\pi_{\min}}\right)}{\pi_{\min}T}+\frac{\log\left(\frac{S}{f}\right)}{\gamma_{\mathrm{ps}}\pi_{\min}T}+\frac{S\sqrt{\log\left(\frac{1}{\delta}\right)}}{\varepsilon\pi_{\min}T\alpha}+\frac{\sqrt{S\log\left(\frac{1}{\delta}\right)\log\left(\frac{S}{f}\right)}}{\pi_{\min}T\alpha\varepsilon}\right). N = Θ π m i n T α 2 S log ( f S ) + π m i n T ln ( π m i n 1 ) + γ ps π m i n T log ( f S ) + ε π m i n T α S log ( δ 1 ) + π m i n T α ε S log ( δ 1 ) log ( f S ) .
Proof. Since ∣ Z i , j ∣ |Z_{i,j}| ∣ Z i , j ∣ has mean 2 π σ \sqrt{\frac{2}{\pi}}\sigma π 2 σ , we have E ∑ j = 1 S ∣ Z i , j ∣ = 2 π S σ \mathbb{E}\sum_{j=1}^{S}|Z_{i,j}| = \sqrt{\frac{2}{\pi}}S\sigma E ∑ j = 1 S ∣ Z i , j ∣ = π 2 S σ . Since the absolute value function is 1-Lipschitz, it implies that ∣ Z i , j ∣ − E ∣ Z i , j ∣ |Z_{i,j}|-\mathbb{E}|Z_{i,j}| ∣ Z i , j ∣ − E ∣ Z i , j ∣ is 2 σ 2\sigma 2 σ sub-gaussian. Thus, by concentration of sum of sub-gaussian random variables Vershynin, [33 ] applied to each row, followed by a union bound over all rows, we get that
P ( ∃ i ∈ [ S ] , ∣ ∑ j = 1 S ∣ Z i , j ∣ − S σ 2 π ∣ ≥ t ) ≤ 2 S exp ( − t 2 2 S σ 2 ) . \mathbb{P}\left(\exists i\in[S],\left|\sum_{j=1}^{S}|Z_{i,j}|-S\sigma\sqrt{\frac{2}{\pi}}\right|\ge t\right)\le2S\exp\left(-\frac{t^2}{2S\sigma^2}\right). P ( ∃ i ∈ [ S ] , j = 1 ∑ S ∣ Z i , j ∣ − S σ π 2 ≥ t ) ≤ 2 S exp ( − 2 S σ 2 t 2 ) .
As in Theorem 26 , setting R = S σ 2 π + t R=S\sigma\sqrt{\frac{2}{\pi}}+t R = S σ π 2 + t , we get that P ( E 1 ) ≤ 2 S exp ( − t 2 2 S σ 2 ) \mathbb{P}(\mathcal{E}_1)\le2S\exp\left(-\frac{t^2}{2S\sigma^2}\right) P ( E 1 ) ≤ 2 S exp ( − 2 S σ 2 t 2 ) . Defining events E 1 \mathcal{E}_1 E 1 and E 2 \mathcal{E}_2 E 2 as in Theorem 26 , the event E 1 ∩ E 2 \mathcal{E}_1\cap\mathcal{E}_2 E 1 ∩ E 2 implies that ∥ P ^ n p − P ^ ∥ ∞ ≤ α \left\|\widehat{P}^{\mathrm{np}}-\widehat{P}\right\|_\infty\le\alpha P np − P ∞ ≤ α when N = Θ ( R π min α ) N=\Theta\left(\frac{R}{\pi_{\min}\alpha}\right) N = Θ ( π m i n α R ) . Thus, taking N T ≳ max { R π min α , 1 π min γ p s log ( S f ) } NT\gtrsim\max\left\{\frac{R}{\pi_{\min}\alpha},\frac{1}{\pi_{\min}\gamma_{\mathrm{ps}}}\log\left(\frac{S}{f}\right)\right\} N T ≳ max { π m i n α R , π m i n γ ps 1 log ( f S ) } and using Lemma 23,
P ( ∥ P ^ n p − P ^ ∥ ∞ ≥ α ) ≤ P ( ∥ P ^ n p − P ^ ∥ ∞ ≥ α ∣ E 1 ∩ E 2 ) + P ( E ‾ 1 ) + P ( E ‾ 2 ) \mathbb{P}\left(\left\|\widehat{P}^{\mathrm{np}}-\widehat{P}\right\|_\infty\ge\alpha\right)\le\mathbb{P}\left(\left\|\widehat{P}^{\mathrm{np}}-\widehat{P}\right\|_\infty\ge\alpha\mid\mathcal{E}_1\cap\mathcal{E}_2\right)+\mathbb{P}(\overline{\mathcal{E}}_1)+\mathbb{P}(\overline{\mathcal{E}}_2) P ( P np − P ∞ ≥ α ) ≤ P ( P np − P ∞ ≥ α ∣ E 1 ∩ E 2 ) + P ( E 1 ) + P ( E 2 )
≤ 2 S exp ( − t 2 2 S σ 2 ) + f 3 . \le2S\exp\left(-\frac{t^2}{2S\sigma^2}\right)+\frac{f}{3}. ≤ 2 S exp ( − 2 S σ 2 t 2 ) + 3 f .
Setting t = 2 σ S log ( 6 S f ) t=2\sigma\sqrt{S\log\left(\frac{6S}{f}\right)} t = 2 σ S log ( f 6 S ) and combining this with Lemma 22, for
N ≳ max { S π min T α 2 log ( S f ) + 1 π min ln ( 1 π min ) , 1 π min γ p s T log ( S f ) } , N\gtrsim\max\left\{\frac{S}{\pi_{\min}T\alpha^2}\log\left(\frac{S}{f}\right)+\frac{1}{\pi_{\min}}\ln\left(\frac{1}{\pi_{\min}}\right),\frac{1}{\pi_{\min}\gamma_{\mathrm{ps}}T}\log\left(\frac{S}{f}\right)\right\}, N ≳ max { π m i n T α 2 S log ( f S ) + π m i n 1 ln ( π m i n 1 ) , π m i n γ ps T 1 log ( f S ) } ,
we obtain
P ( ∥ P ^ n p − P ∥ ∞ ≥ α ) ≤ P ( ∥ P ^ − P ∥ ∞ ≥ α ) + P ( ∥ P ^ n p − P ^ ∥ ∞ ≥ α ) ≤ f . \mathbb{P}\left(\left\|\widehat{P}^{\mathrm{np}}-P\right\|_\infty\ge\alpha\right)\le\mathbb{P}\left(\left\|\widehat{P}-P\right\|_\infty\ge\alpha\right)+\mathbb{P}\left(\left\|\widehat{P}^{\mathrm{np}}-\widehat{P}\right\|_\infty\ge\alpha\right)\le f. P ( P np − P ∞ ≥ α ) ≤ P ( P − P ∞ ≥ α ) + P ( P np − P ∞ ≥ α ) ≤ f .
Moreover, note that the above value of t t t implies that R = Θ ( S log ( 1 / δ ) ϵ + S log ( 1 / δ ) ϵ log ( S f ) ) R=\Theta\left(\frac{S\sqrt{\log(1/\delta)}}{\epsilon}+\sqrt{\frac{S\log(1/\delta)}{\epsilon}}\sqrt{\log\left(\frac{S}{f}\right)}\right) R = Θ ( ϵ S l o g ( 1/ δ ) + ϵ S l o g ( 1/ δ ) log ( f S ) ) , which gives the eventual sample complexity to be
N = Θ ( S log ( S f ) π min T α 2 + ln ( 1 π min ) π min T + log ( S f ) γ p s π min T + S log ( 1 δ ) ϵ π min T α + S log ( 1 δ ) log ( S f ) π min T α ϵ ) . N=\Theta\left(\frac{S\log\left(\frac{S}{f}\right)}{\pi_{\min}T\alpha^2}+\frac{\ln\left(\frac{1}{\pi_{\min}}\right)}{\pi_{\min}T}+\frac{\log\left(\frac{S}{f}\right)}{\gamma_{\mathrm{ps}}\pi_{\min}T}+\frac{S\sqrt{\log\left(\frac{1}{\delta}\right)}}{\epsilon\pi_{\min}T\alpha}+\frac{\sqrt{S\log\left(\frac{1}{\delta}\right)\log\left(\frac{S}{f}\right)}}{\pi_{\min}T\alpha\epsilon}\right). N = Θ π m i n T α 2 S log ( f S ) + π m i n T ln ( π m i n 1 ) + γ ps π m i n T log ( f S ) + ϵ π m i n T α S log ( δ 1 ) + π m i n T α ϵ S log ( δ 1 ) log ( f S ) .
Complete Statement and Proof of Theorem 3
Let Y 1 : M = ( Y 1 , … , Y M ) Y_{1:M}=(Y_1,\ldots,Y_M) Y 1 : M = ( Y 1 , … , Y M ) be i.i.d. samples from an unknown distribution p ∈ Δ ( k ) p\in\Delta(k) p ∈ Δ ( k ) . An item-level ( ϵ , δ ) (\epsilon,\delta) ( ϵ , δ ) -differentially private estimator outputs p ^ ∈ Δ ( k ) \widehat{p}\in\Delta(k) p ∈ Δ ( k ) , and we seek the smallest M M M for which P ( d T V ( p ^ , p ) ≤ α ) ≥ 1 − f \mathbb{P}(d_{\mathrm{TV}}(\widehat{p},p)\le\alpha)\ge1-f P ( d TV ( p , p ) ≤ α ) ≥ 1 − f holds uniformly over p ∈ Δ ( k ) p\in\Delta(k) p ∈ Δ ( k ) . Note that for p , q ∈ Δ ( k ) p,q\in\Delta(k) p , q ∈ Δ ( k ) , ∥ p − q ∥ 1 = 2 d T V ( p , q ) \|p-q\|_1=2d_{\mathrm{TV}}(p,q) ∥ p − q ∥ 1 = 2 d TV ( p , q ) . The following result gives a risk lower bound for this problem. It is the specialization of Esfandiari et al. [15 ] to one sample per user, for which user-level privacy coincides with item-level privacy.
Lemma 29 ([15 Theorem 10] ) For every ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) item-level differentially private algorithm P \mathcal{P} P satisfying
δ = o ( ε k 3 / 2 ⋅ n 1 / 2 ⋅ log 2 ( ε − 1 n k ) ) , \delta=o\left(\frac{\varepsilon}{k^{3/2}\cdot n^{1/2}\cdot\log^2(\varepsilon^{-1}nk)}\right), δ = o ( k 3/2 ⋅ n 1/2 ⋅ log 2 ( ε − 1 nk ) ε ) , there exists a distribution p ~ \widetilde{p} p over [ k ] [k] [ k ] , such that if X 1 : N = ( X 1 , ⋯ , X n ) ∼ i . i . d . p ~ X_{1:N}=(X_1,\cdots,X_n)\mathrel{\overset{\mathrm{i.i.d.}}{\sim}}\widetilde{p} X 1 : N = ( X 1 , ⋯ , X n ) ∼ i.i.d. p , then with probability at least 1 / 3 1/3 1/3 ,
∥ P ( X 1 : N ) − p ~ ∥ 1 = Ω ( k n + k ε ⋅ n ⋅ log 7 ( ε − 1 ⋅ n k ) ) . \left\|\mathcal{P}(X_{1:N})-\widetilde{p}\right\|_1=\Omega\left(\sqrt{\frac{k}{n}}+\frac{k}{\varepsilon\cdot n\cdot\log^7(\varepsilon^{-1}\cdot nk)}\right). ∥ P ( X 1 : N ) − p ∥ 1 = Ω ( n k + ε ⋅ n ⋅ log 7 ( ε − 1 ⋅ nk ) k ) .
The lemma lower-bounds the achievable error as a function of the sample size. Solving this bound for the number of samples needed to attain error α \alpha α gives the following sample-complexity lower bound.
Corollary 30 Let k ≥ 2 k\ge2 k ≥ 2 , 0 < α ≤ 1 0<\alpha\le1 0 < α ≤ 1 and 0 < ε ≤ 1 0<\varepsilon\le1 0 < ε ≤ 1 . Suppose that P \mathcal{P} P is an ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) item-level differentially private algorithm and that, for every distribution p p p over [ k ] [k] [ k ] , when given X 1 : N = ( X 1 , … , X N ) ∼ i . i . d . p X_{1:N}=(X_1,\ldots,X_N)\mathrel{\overset{\mathrm{i.i.d.}}{\sim}}p X 1 : N = ( X 1 , … , X N ) ∼ i.i.d. p , it satisfies
P ( ∥ P ( X 1 : N ) − p ∥ 1 ≤ α ) > 2 3 . \mathbb{P}\left(\left\|\mathcal{P}(X_{1:N})-p\right\|_1\le\alpha\right)>\frac{2}{3}. P ( ∥ P ( X 1 : N ) − p ∥ 1 ≤ α ) > 3 2 . If
δ = o ( ε 3 / 2 α k 2 log 2 ( k α ε ) ) , \delta=o\left(\frac{\varepsilon^{3/2}\alpha}{k^2\log^2\left(\frac{k}{\alpha\varepsilon}\right)}\right), δ = o ( k 2 log 2 ( α ε k ) ε 3/2 α ) , then
N = Ω ( k α 2 + k α ε log 7 ( k α ε ) ) . N=\Omega\left(\frac{k}{\alpha^2}+\frac{k}{\alpha\varepsilon\log^7\left(\frac{k}{\alpha\varepsilon}\right)}\right). N = Ω ( α 2 k + α ε log 7 ( α ε k ) k ) . Proof. Let N α : = k α 2 + k α ε log 7 ( k α ε ) N_\alpha:=\frac{k}{\alpha^2}+\frac{k}{\alpha\varepsilon\log^7\left(\frac{k}{\alpha\varepsilon}\right)} N α := α 2 k + α ε l o g 7 ( α ε k ) k . If N ≥ N α N\ge N_\alpha N ≥ N α , the conclusion follows immediately. Thus, it suffices to consider the case N < N α N<N_\alpha N < N α . Since N α = O ( k α 2 ε ) N_\alpha=O\left(\frac{k}{\alpha^2\varepsilon}\right) N α = O ( α 2 ε k ) , we have log ( ε − 1 N k ) = O ( log ( k α ε ) ) \log(\varepsilon^{-1}Nk)=O\left(\log\left(\frac{k}{\alpha\varepsilon}\right)\right) log ( ε − 1 N k ) = O ( log ( α ε k ) ) . Consequently, the assumed condition on δ \delta δ implies
δ = o ( ε k 3 / 2 N log 2 ( ε − 1 N k ) ) , \delta=o\left(\frac{\varepsilon}{k^{3/2}\sqrt{N}\log^2(\varepsilon^{-1}Nk)}\right), δ = o ( k 3/2 N log 2 ( ε − 1 N k ) ε ) , and hence Lemma 29 applies. It follows that there exists a distribution p ~ \widetilde{p} p over [ k ] [k] [ k ] such that, with probability at least 1 / 3 1/3 1/3 ,
∥ P ( X 1 : N ) − p ~ ∥ 1 ≥ c ( k N + k ε N log 7 ( ε − 1 N k ) ) \left\|\mathcal{P}(X_{1:N})-\widetilde{p}\right\|_1\ge c\left(\sqrt{\frac{k}{N}}+\frac{k}{\varepsilon N\log^7(\varepsilon^{-1}Nk)}\right) ∥ P ( X 1 : N ) − p ∥ 1 ≥ c ( N k + εN log 7 ( ε − 1 N k ) k ) for some universal constant c > 0 c>0 c > 0 . Since P \mathcal{P} P has error at most α \alpha α with probability greater than 2 / 3 2/3 2/3 , we must have
k N + k ε N log 7 ( ε − 1 N k ) = O ( α ) . \sqrt{\frac{k}{N}}+\frac{k}{\varepsilon N\log^7(\varepsilon^{-1}Nk)}=O(\alpha). N k + εN log 7 ( ε − 1 N k ) k = O ( α ) . The first term gives N = Ω ( k α 2 ) N=\Omega\left(\frac{k}{\alpha^2}\right) N = Ω ( α 2 k ) . Moreover, using log ( ε − 1 N k ) = O ( log ( k α ε ) ) \log(\varepsilon^{-1}Nk)=O\left(\log\left(\frac{k}{\alpha\varepsilon}\right)\right) log ( ε − 1 N k ) = O ( log ( α ε k ) ) , the second term gives N = Ω ( k α ε L α 7 ) N=\Omega\left(\frac{k}{\alpha\varepsilon L_\alpha^7}\right) N = Ω ( α ε L α 7 k ) . Combining the two bounds yields
N = Ω ( k α 2 + k α ε log 7 ( k α ε ) ) . N=\Omega\left(\frac{k}{\alpha^2}+\frac{k}{\alpha\varepsilon\log^7\left(\frac{k}{\alpha\varepsilon}\right)}\right). N = Ω ( α 2 k + α ε log 7 ( α ε k ) k ) .
To transfer this i.i.d. lower bound to transition-matrix estimation, we reduce discrete distribution estimation to estimating an S S S -state Markov chain with a privacy-preserving reduction. The next lemma gives the privacy and accuracy guarantees of this reduction.
Lemma 31 Let S ≥ 2 S \ge2 S ≥ 2 , 0 < π min ≤ 1 S + 2 0 < \pi_{\min} \le\frac{1}{S+2} 0 < π m i n ≤ S + 2 1 , and N T ≥ C 0 π min NT \ge\frac{C_0}{\pi_{\min}} N T ≥ π m i n C 0 . For every ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) differentially private algorithm M \mathcal{M} M that receives N N N length-T T T trajectories X = ( X 1 : T ( 1 ) , ⋯ , X 1 : T ( N ) ) \mathbf{X} = \left(X_{1:T}^{(1)}, \cdots, X_{1:T}^{(N)}\right) X = ( X 1 : T ( 1 ) , ⋯ , X 1 : T ( N ) ) from a S S S -state ergodic Markov chain M M M with min x π ( x ) = π min \min_x \pi(x) = \pi_{\min} min x π ( x ) = π m i n and satisfies
P ( ∥ M ( X ) − M ∥ ∞ ≤ α ) ≥ 3 4 , \mathbb{P}\left(\left\lVert\mathcal{M}(\mathbf{X}) - M\right\rVert_{\infty} \le\alpha\right) \ge\frac{3}{4}, P ( ∥ M ( X ) − M ∥ ∞ ≤ α ) ≥ 4 3 , there exists a corresponding ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -DP algorithm P \mathcal{P} P such that, for every p ∈ Δ ( S − 1 ) p \in\Delta(S-1) p ∈ Δ ( S − 1 ) when P \mathcal{P} P is given ⌊ 2 π min N T ⌋ \left\lfloor2\pi_{\min}NT\right\rfloor ⌊ 2 π m i n N T ⌋ i.i.d. samples from p p p , denoted by Y 1 : ⌊ 2 π min N T ⌋ Y_{1:\left\lfloor2\pi_{\min}NT\right\rfloor} Y 1 : ⌊ 2 π m i n N T ⌋ , it satisfies
P ( ∥ P ( Y 1 : ⌊ 2 π min N T ⌋ ) − p ∥ 1 ≤ 4 α ) ≥ 2 3 . \mathbb{P}\left(\left\lVert\mathcal{P}\left(Y_{1:\left\lfloor2\pi_{\min}NT\right\rfloor}\right)-p\right\rVert_1 \le4\alpha\right) \ge\frac{2}{3}. P ( P ( Y 1 : ⌊ 2 π m i n N T ⌋ ) − p 1 ≤ 4 α ) ≥ 3 2 .
Proof. Let M \mathcal{M} M be the algorithm for Markov chain estimation with error bounded by α \alpha α with probability at least 3 / 4 3/4 3/4 . Under the assumption π min ≤ 1 S + 2 \pi_{\min} \le\frac{1}{S+2} π m i n ≤ S + 2 1 , let k = S − 1 k=S-1 k = S − 1 . Consider the following reduction for any p ∈ Δ ( k ) p \in\Delta(k) p ∈ Δ ( k ) . Initialize X 0 X_0 X 0 by setting X 0 = i X_0=i X 0 = i with probability 1 − π min k \frac{1-\pi_{\min}}{k} k 1 − π m i n for each i ∈ [ k ] i \in[k] i ∈ [ k ] and X 0 = k + 1 X_0=k+1 X 0 = k + 1 with probability π min \pi_{\min} π m i n . Now, consider the following process: For j ≤ k j \le k j ≤ k ,
X i + 1 ∣ ( X i = j ) = { ℓ w.p. 1 − π min k if ℓ ≤ k , k + 1 w.p. π min if ℓ = k + 1. X_{i+1}\mid(X_i=j)=
\begin{cases}
\ell& \text{w.p. } \frac{1-\pi_{\min}}{k} \quad\text{if } \ell\le k,\\
k+1 & \text{w.p. } \pi_{\min} \quad\text{if } \ell=k+1.
\end{cases} X i + 1 ∣ ( X i = j ) = { ℓ k + 1 w.p. k 1 − π m i n if ℓ ≤ k , w.p. π m i n if ℓ = k + 1.
For j = k + 1 j=k+1 j = k + 1
X i + 1 ∣ ( X i = k + 1 ) = { ℓ w.p. ( 1 − π min ) p ℓ if ℓ ≤ k , k + 1 w.p. π min if ℓ = k + 1. X_{i+1}\mid(X_i=k+1)=
\begin{cases}
\ell& \text{w.p. } (1-\pi_{\min})p_\ell\quad\text{if } \ell\le k,\\
k+1 & \text{w.p. } \pi_{\min} \quad\text{if } \ell=k+1.
\end{cases} X i + 1 ∣ ( X i = k + 1 ) = { ℓ k + 1 w.p. ( 1 − π m i n ) p ℓ if ℓ ≤ k , w.p. π m i n if ℓ = k + 1.
Clearly the process above is a Markov Chain with transition matrix M ( p ) M^{(p)} M ( p ) ,
M ( p ) = ( 1 − π min k ⋯ 1 − π min k π min ⋮ ⋱ ⋮ ⋮ 1 − π min k ⋯ 1 − π min k π min ( 1 − π min ) p 1 ⋯ ( 1 − π min ) p k π min ) . M^{(p)} =
\begin{pmatrix}
\frac{1-\pi_{\min}}{k} & \cdots& \frac{1-\pi_{\min}}{k} & \pi_{\min}\\
\vdots& \ddots& \vdots& \vdots\\
\frac{1-\pi_{\min}}{k} & \cdots& \frac{1-\pi_{\min}}{k} & \pi_{\min}\\
(1-\pi_{\min})p_1 & \cdots& (1-\pi_{\min})p_k & \pi_{\min}
\end{pmatrix}. M ( p ) = k 1 − π m i n ⋮ k 1 − π m i n ( 1 − π m i n ) p 1 ⋯ ⋱ ⋯ ⋯ k 1 − π m i n ⋮ k 1 − π m i n ( 1 − π m i n ) p k π m i n ⋮ π m i n π m i n .
Moreover, this transition matrix defines a chain with stationary distribution given by
π i = ( 1 − π min ) 2 k + ( 1 − π min ) p i π min , for i ∈ [ k ] , π k + 1 = π min . \pi_i = \frac{(1-\pi_{\min})^2}{k} + (1-\pi_{\min})p_i\pi_{\min}, \quad\text{for } i \in[k], \qquad\pi_{k+1}=\pi_{\min}. π i = k ( 1 − π m i n ) 2 + ( 1 − π m i n ) p i π m i n , for i ∈ [ k ] , π k + 1 = π m i n .
Since π min < 1 k + 2 \pi_{\min}<\frac{1}{k+2} π m i n < k + 2 1 , we have π min 2 − ( k + 2 ) π min + 1 > 0 \pi_{\min}^2-(k+2)\pi_{\min}+1>0 π m i n 2 − ( k + 2 ) π m i n + 1 > 0 , which implies ( 1 − π min ) 2 k > π min \frac{(1-\pi_{\min})^2}{k}>\pi_{\min} k ( 1 − π m i n ) 2 > π m i n . Hence, π min \pi_{\min} π m i n is the minimum stationary distribution probability.
Given M M M i.i.d. samples Y 1 , … , Y M ∼ i . i . d . p Y_1,\ldots,Y_M \mathrel{\overset{\mathrm{i.i.d.}}{\sim}} p Y 1 , … , Y M ∼ i.i.d. p , define the following simulation P \mathcal{P} P which estimates p p p :
Set t = 1 t=1 t = 1 .
For each u ∈ [ N ] u \in[N] u ∈ [ N ] :
(a) Sample X 0 ∼ ( 1 − π min k , ⋯ , 1 − π min k , π min ) X_0 \sim\left(\frac{1-\pi_{\min}}{k}, \cdots, \frac{1-\pi_{\min}}{k}, \pi_{\min}\right) X 0 ∼ ( k 1 − π m i n , ⋯ , k 1 − π m i n , π m i n ) .
(b) For i = 0 , … , T − 1 i=0,\ldots,T-1 i = 0 , … , T − 1 :
i. If X i = k + 1 X_i=k+1 X i = k + 1 , then set
X i + 1 = { Y t w . p . ( 1 − π min ) k + 1 w . p . π min X_{i+1} =
\begin{cases}
Y_t & w.p.\ (1-\pi_{\min})\\
k+1 & w.p.\ \pi_{\min}
\end{cases} X i + 1 = { Y t k + 1 w . p . ( 1 − π m i n ) w . p . π m i n
and set t ← t + 1 t \leftarrow t+1 t ← t + 1 .
ii. If X i ≠ k + 1 X_i \ne k+1 X i = k + 1 , set X i + 1 ∼ ( 1 − π min k , … , 1 − π min k , π min ) X_{i+1} \sim\left(\frac{1-\pi_{\min}}{k},\ldots,\frac{1-\pi_{\min}}{k},\pi_{\min}\right) X i + 1 ∼ ( k 1 − π m i n , … , k 1 − π m i n , π m i n ) .
iii. If t = M + 1 t=M+1 t = M + 1 , then return ( 1 k , … , 1 k ) \left(\frac{1}{k},\ldots,\frac{1}{k}\right) ( k 1 , … , k 1 ) .
Run M ( X 0 : T 1 , … , X 0 : T N ) \mathcal{M}(X_{0:T}^{1},\ldots,X_{0:T}^{N}) M ( X 0 : T 1 , … , X 0 : T N ) and let p ~ \tilde{p} p ~ be the first k k k entries of the k + 1 k+1 k + 1 -st row.
Return p ^ = arg min q ∈ Δ ( k ) ∥ q − p ~ 1 − π min ∥ \hat{p}=\arg\min_{q\in\Delta(k)}\left\lVert q-\frac{\tilde{p}}{1-\pi_{\min}}\right\rVert p ^ = arg min q ∈ Δ ( k ) q − 1 − π m i n p ~ .
We can observe two things:
The random variables 1 { X i = k + 1 } \mathbb{1}\{X_i=k+1\} 1 { X i = k + 1 } are i.i.d. Bernoulli with parameter π min \pi_{\min} π m i n . Note that t t t represents the number of times we hit k + 1 k+1 k + 1 (which corresponds to the number of times we use a sample from p p p for determining the next state).
All Markov chains constructed are mutually independent.
Let J J J be the ( M + 1 ) (M+1) ( M + 1 ) -th arrival time of state k + 1 k+1 k + 1 . If L i L_i L i are the interarrival times, then
J = ∑ j = 1 M + 1 L j J=\sum_{j=1}^{M+1}L_j J = j = 1 ∑ M + 1 L j
and ( L i ) i ≥ 1 ∼ i . i . d . Geom ( π min ) (L_i)_{i\geq1}\mathrel{\overset{\mathrm{i.i.d.}}{\sim}}\operatorname{Geom}(\pi_{\min}) ( L i ) i ≥ 1 ∼ i.i.d. Geom ( π m i n ) . Hence, by our reduction, the final value of t t t is less than or equal to J J J . Therefore, the event J ≤ N T J\leq NT J ≤ N T implies that the algorithm returns ( 1 k , … , 1 k ) \left(\frac{1}{k},\ldots,\frac{1}{k}\right) ( k 1 , … , k 1 ) .
Adjacency-preserving coupling. Let Y 1 : M = ( Y 1 , … , Y M ) Y_{1:M}=(Y_1,\ldots,Y_M) Y 1 : M = ( Y 1 , … , Y M ) and Y 1 : M ′ = ( Y 1 ′ , … , Y M ′ ) Y'_{1:M}=(Y'_1,\ldots,Y'_M) Y 1 : M ′ = ( Y 1 ′ , … , Y M ′ ) be neighboring datasets that differ only in coordinate r r r . Couple the two simulations using exactly the same randomness: the same initial states, the same Bernoulli choices made when leaving state k + 1 k+1 k + 1 , and the same random choices from every row in [ k ] [k] [ k ] . Under this coupling, the two simulations visit state k + 1 k+1 k + 1 at the same times and therefore consume the samples Y t Y_t Y t and Y t ′ Y'_t Y t ′ in the same order. Indeed, whether the next state is k + 1 k+1 k + 1 is determined only by the shared randomness and not by the value of Y t Y_t Y t . Consequently, both simulations also reach the stopping event simultaneously.
Before sample r r r is consumed, the two simulated datasets agree exactly. When sample r r r is consumed, either the shared Bernoulli choice selects state k + 1 k+1 k + 1 , in which case the simulations continue to agree, or it selects the data-dependent successor, in which case the next states are Y r Y_r Y r and Y r ′ Y'_r Y r ′ . These are both states in [ k ] [k] [ k ] . Since all rows indexed by [ k ] [k] [ k ] in M ( p ) \mathcal{M}^{(p)} M ( p ) are identical, using shared randomness makes the two trajectories agree again at the following step. They remain identical thereafter. Thus, for every fixed realization of the simulation randomness, the two resulting multi-trajectory datasets are either identical or differ in exactly one state observation within one trajectory. They are therefore item-level neighbors.
Privacy guarantee. Let U U U collect all randomness used by the trajectory simulation, and let U U ( Y ) \mathcal{U}_U(Y) U U ( Y ) denote the resulting trajectory dataset. The stopping time J J J is determined entirely by U U U : it depends on the initial-state draws and transition coins, but not on the values of Y 1 , … , Y M Y_1,\ldots,Y_M Y 1 , … , Y M . Consequently, the event E : = { J > N T } E := \{J > NT\} E := { J > N T } has the same probability under Y Y Y and Y ′ Y' Y ′ , and the conditional distribution of U U U given E E E is also the same for both inputs.
For every fixed u ∈ E u \in E u ∈ E , the coupling argument above shows that U u ( Y ) \mathcal{U}_u(Y) U u ( Y ) and U u ( Y ′ ) \mathcal{U}_u(Y') U u ( Y ′ ) are either identical or item-level neighbors. Therefore, differential privacy of M \mathcal{M} M gives
P ( M ( U u ( Y ) ) ∈ S ) ≤ e ε P ( M ( U u ( Y ′ ) ) ∈ S ) + δ . \mathbb{P}\left(\mathcal{M}(\mathcal{U}_u(Y)) \in S\right) \le e^\varepsilon\mathbb{P}\left(\mathcal{M}(\mathcal{U}_u(Y')) \in S\right) + \delta. P ( M ( U u ( Y )) ∈ S ) ≤ e ε P ( M ( U u ( Y ′ )) ∈ S ) + δ .
On the event E E E , we have R ( Y ) = M ( U U ( Y ) ) \mathcal{R}(Y) = \mathcal{M}(\mathcal{U}_U(Y)) R ( Y ) = M ( U U ( Y )) (Step 3 of the reduction). Hence,
P ( R ( Y ) ∈ S ∣ E ) = E U ∣ E [ P ( M ( U U ( Y ) ) ∈ S ∣ U ) ] ≤ e ε E U ∣ E [ P ( M ( U U ( Y ′ ) ) ∈ S ∣ U ) ] + δ = e ε P ( R ( Y ′ ) ∈ S ∣ E ) + δ . \begin{aligned}
\mathbb{P}(\mathcal{R}(Y) \in S \mid E) &= \mathbb{E}_{U\mid E}\left[\mathbb{P}(\mathcal{M}(\mathcal{U}_U(Y)) \in S \mid U)\right] \\
&\le e^\varepsilon\mathbb{E}_{U\mid E}\left[\mathbb{P}(\mathcal{M}(\mathcal{U}_U(Y')) \in S \mid U)\right] + \delta\\
&= e^\varepsilon\mathbb{P}(\mathcal{R}(Y') \in S \mid E) + \delta.
\end{aligned} P ( R ( Y ) ∈ S ∣ E ) = E U ∣ E [ P ( M ( U U ( Y )) ∈ S ∣ U ) ] ≤ e ε E U ∣ E [ P ( M ( U U ( Y ′ )) ∈ S ∣ U ) ] + δ = e ε P ( R ( Y ′ ) ∈ S ∣ E ) + δ .
Thus, the mechanism conditioned on E E E remains DP. Let q : = P ( E ) q := \mathbb{P}(E) q := P ( E ) , which is independent of the input dataset, and let q 0 = ( 1 / k , … , 1 / k ) q_0 = (1/k,\ldots,1/k) q 0 = ( 1/ k , … , 1/ k ) be the fixed output on E c E^c E c . By the law of total probability,
P ( R ( Y ) ∈ S ) = q P ( R ( Y ) ∈ S ∣ E ) + ( 1 − q ) 1 ( 1 / k , … , 1 / k ) ∈ S ≤ q ( e ε P ( R ( Y ′ ) ∈ S ∣ E ) + δ ) + ( 1 − q ) 1 ( 1 / k , … , 1 / k ) ∈ S ≤ e ε ( q P ( R ( Y ′ ) ∈ S ∣ E ) + ( 1 − q ) 1 ( 1 / k , … , 1 / k ) ∈ S ) + δ = e ε P ( R ( Y ′ ) ∈ S ) + δ . \begin{aligned}
\mathbb{P}(\mathcal{R}(Y) \in S) &= q\mathbb{P}(\mathcal{R}(Y) \in S \mid E) + (1-q)\mathbf{1}_{(1/k,\ldots,1/k)\in S} \\
&\le q\left(e^\varepsilon\mathbb{P}(\mathcal{R}(Y') \in S \mid E) + \delta\right) + (1-q)\mathbf{1}_{(1/k,\ldots,1/k)\in S} \\
&\le e^\varepsilon\left(q\mathbb{P}(\mathcal{R}(Y') \in S \mid E) + (1-q)\mathbf{1}_{(1/k,\ldots,1/k)\in S}\right) + \delta\\
&= e^\varepsilon\mathbb{P}(\mathcal{R}(Y') \in S) + \delta.
\end{aligned} P ( R ( Y ) ∈ S ) = q P ( R ( Y ) ∈ S ∣ E ) + ( 1 − q ) 1 ( 1/ k , … , 1/ k ) ∈ S ≤ q ( e ε P ( R ( Y ′ ) ∈ S ∣ E ) + δ ) + ( 1 − q ) 1 ( 1/ k , … , 1/ k ) ∈ S ≤ e ε ( q P ( R ( Y ′ ) ∈ S ∣ E ) + ( 1 − q ) 1 ( 1/ k , … , 1/ k ) ∈ S ) + δ = e ε P ( R ( Y ′ ) ∈ S ) + δ .
Hence, R \mathcal{R} R is ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -DP and by post processing, P \mathcal{P} P is also ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -DP. Note that the knowledge of t = M + 1 t = M + 1 t = M + 1 does not need to be privatized since it occurs only when J ≤ N T J \le NT J ≤ N T and this event does not depend on the input dataset Y 1 , … , Y M Y_1,\ldots,Y_M Y 1 , … , Y M .
Utility Guarantee We are given that p ∈ Δ ( k ) p \in\Delta(k) p ∈ Δ ( k ) and p ^ = arg min q ∈ Δ ( k ) ∥ q − p ~ 1 − π min ∥ 1 \hat{p} = \arg\min_{q\in\Delta(k)} \left\|q-\frac{\tilde{p}}{1-\pi_{\min}}\right\|_1 p ^ = arg min q ∈ Δ ( k ) q − 1 − π m i n p ~ 1 . Hence, by the triangle inequality and the fact that p ^ = arg min q ∈ Δ ( k ) ∥ q − p ~ 1 − π min ∥ 1 \hat{p} = \arg\min_{q\in\Delta(k)} \left\|q-\frac{\tilde{p}}{1-\pi_{\min}}\right\|_1 p ^ = arg min q ∈ Δ ( k ) q − 1 − π m i n p ~ 1 we have
∥ p ^ − p ∥ 1 ≤ ∥ p ^ − p ~ 1 − π min ∥ 1 + ∥ p ~ 1 − π min − p ∥ 1 ≤ 2 ∥ p ~ 1 − π min − p ∥ 1 (1) \|\hat{p}-p\|_1 \le\left\|\hat{p}-\frac{\tilde{p}}{1-\pi_{\min}}\right\|_1 + \left\|\frac{\tilde{p}}{1-\pi_{\min}}-p\right\|_1 \le2\left\|\frac{\tilde{p}}{1-\pi_{\min}}-p\right\|_1 \tag*{(1)} ∥ p ^ − p ∥ 1 ≤ p ^ − 1 − π m i n p ~ 1 + 1 − π m i n p ~ − p 1 ≤ 2 1 − π m i n p ~ − p 1 (1)
Let X 1 : N = ( X 1 , ⋯ , X N ) X_{1:N}=(X_1,\cdots,X_N) X 1 : N = ( X 1 , ⋯ , X N ) and Y 1 : M = ( Y 1 , ⋯ , Y M ) Y_{1:M}=(Y_1,\cdots,Y_M) Y 1 : M = ( Y 1 , ⋯ , Y M ) . The utility guarantee is as follows:
P ( ∥ P ( Y 1 : M ) − p ∥ 1 ≥ α ) = P ( ∥ P ( Y 1 : M ) − p ∥ 1 ≥ α ∣ J > N T ) P ( J > N T ) + P ( ∥ P ( Y 1 : M ) − p ∥ 1 ≥ α ∣ J ≤ N T ) P ( J ≤ N T ) ≤ P ( ∥ p ~ ( X ) 1 − π min − p ∥ 1 ≥ α 2 ∣ J > N T ) P ( J > N T ) + P ( J ≤ N T ) = P ( ∥ p ~ ( X ) − ( 1 − π min ) p ∥ 1 ≥ ( 1 − π min ) α 2 ∣ J > N T ) P ( J > N T ) + P ( J ≤ N T ) ≤ P ( ∥ M ( X ) ( k + 1 , ⋅ ) − M ( k + 1 , ⋅ ) ( p ) ∥ 1 ≥ ( 1 − π min ) α 2 ∣ J > N T ) P ( J > N T ) + P ( J ≤ N T ) ≤ P ( ∥ M ( X ) − M ( p ) ∥ ∞ ≥ α 4 ∣ J > N T ) P ( J > N T ) + P ( J ≤ N T ) . \begin{aligned}
\mathbb{P}\left(\left\|\mathcal{P}(Y_{1:M})-p\right\|_1\ge\alpha\right)
&=\mathbb{P}\left(\left\|\mathcal{P}(Y_{1:M})-p\right\|_1\ge\alpha\mid J>NT\right)\mathbb{P}(J>NT)\\
&\quad+\mathbb{P}\left(\left\|\mathcal{P}(Y_{1:M})-p\right\|_1\ge\alpha\mid J\le NT\right)\mathbb{P}(J\le NT)\\
&\le\mathbb{P}\left(\left\|\frac{\widetilde{p}(\mathbf{X})}{1-\pi_{\min}}-p\right\|_1\ge\frac{\alpha}{2}\mid J>NT\right)\mathbb{P}(J>NT)+\mathbb{P}(J\le NT)\\
&=\mathbb{P}\left(\left\|\widetilde{p}(\mathbf{X})-(1-\pi_{\min})p\right\|_1\ge(1-\pi_{\min})\frac{\alpha}{2}\mid J>NT\right)\mathbb{P}(J>NT)\\
&\quad+\mathbb{P}(J\le NT)\\
&\le\mathbb{P}\left(\left\|\mathcal{M}(\mathbf{X})_{(k+1,\cdot)}-\mathcal{M}^{(p)}_{(k+1,\cdot)}\right\|_1\ge(1-\pi_{\min})\frac{\alpha}{2}\mid J>NT\right)\mathbb{P}(J>NT)\\
&\quad+\mathbb{P}(J\le NT)\\
&\le\mathbb{P}\left(\left\|\mathcal{M}(\mathbf{X})-\mathcal{M}^{(p)}\right\|_\infty\ge\frac{\alpha}{4}\mid J>NT\right)\mathbb{P}(J>NT)+\mathbb{P}(J\le NT).
\end{aligned} P ( ∥ P ( Y 1 : M ) − p ∥ 1 ≥ α ) = P ( ∥ P ( Y 1 : M ) − p ∥ 1 ≥ α ∣ J > N T ) P ( J > N T ) + P ( ∥ P ( Y 1 : M ) − p ∥ 1 ≥ α ∣ J ≤ N T ) P ( J ≤ N T ) ≤ P ( 1 − π m i n p ( X ) − p 1 ≥ 2 α ∣ J > N T ) P ( J > N T ) + P ( J ≤ N T ) = P ( ∥ p ( X ) − ( 1 − π m i n ) p ∥ 1 ≥ ( 1 − π m i n ) 2 α ∣ J > N T ) P ( J > N T ) + P ( J ≤ N T ) ≤ P ( M ( X ) ( k + 1 , ⋅ ) − M ( k + 1 , ⋅ ) ( p ) 1 ≥ ( 1 − π m i n ) 2 α ∣ J > N T ) P ( J > N T ) + P ( J ≤ N T ) ≤ P ( M ( X ) − M ( p ) ∞ ≥ 4 α ∣ J > N T ) P ( J > N T ) + P ( J ≤ N T ) .
The first step follows from the law of total probability. The second step follows from (1) . The third step follows from multiplying ( 1 − π min ) (1-\pi_{\min}) ( 1 − π m i n ) on both sides of ∥ p ~ ( X ) 1 − π min − p ∥ 1 ≥ α \left\|\frac{\widetilde{p}(\mathbf{X})}{1-\pi_{\min}}-p\right\|_1\ge\alpha 1 − π m i n p ( X ) − p 1 ≥ α . The fourth step follows from the fact that the expression ∥ p ~ − ( 1 − π min ) p ∥ 1 \|\widetilde{p}-(1-\pi_{\min})p\|_1 ∥ p − ( 1 − π m i n ) p ∥ 1 represents the error of the first k k k entries of the last row of M ( X ) − M ( p ) \mathcal{M}(\mathbf{X})-\mathcal{M}^{(p)} M ( X ) − M ( p ) . The fifth step follows from the definition of ℓ ∞ \ell_\infty ℓ ∞ error and the fact that π min < 1 2 \pi_{\min}<\frac{1}{2} π m i n < 2 1 since k ≥ 0 k\ge0 k ≥ 0 .
By our construction J = ∑ j = 1 M + 1 L i J=\sum_{j=1}^{M+1}L_i J = ∑ j = 1 M + 1 L i , where L i ∼ Geom ( π min ) L_i\sim\operatorname{Geom}(\pi_{\min}) L i ∼ Geom ( π m i n ) . Setting ε = 1 2 \varepsilon=\frac{1}{2} ε = 2 1 in Lemma 16 , yields
P ( J ≤ M 2 π min ) ≤ P ( J ≤ M + 1 2 π min ) ≤ exp ( − c ′ M ) , \mathbb{P}\left(J\le\frac{M}{2\pi_{\min}}\right)\le\mathbb{P}\left(J\le\frac{M+1}{2\pi_{\min}}\right)\le\exp(-c'M), P ( J ≤ 2 π m i n M ) ≤ P ( J ≤ 2 π m i n M + 1 ) ≤ exp ( − c ′ M ) ,
for some universal constant c ′ c' c ′ . Set N T = M 2 π min NT=\frac{M}{2\pi_{\min}} N T = 2 π m i n M and for M M M large enough (such that exp ( − c ′ M ) ≤ 1 12 \exp(-c'M)\le\frac{1}{12} exp ( − c ′ M ) ≤ 12 1 ), the utility guarantee of M \mathcal{M} M yields
P ( ∥ P ( Y 1 : ⌊ 2 π min N T ⌋ ) − p ∥ 1 ≥ 4 α ) ≤ 1 3 . \mathbb{P}\left(\left\|\mathcal{P}(Y_{1:\lfloor2\pi_{\min}NT\rfloor})-p\right\|_1\ge4\alpha\right)\le\frac{1}{3}. P ( P ( Y 1 : ⌊ 2 π m i n N T ⌋ ) − p 1 ≥ 4 α ) ≤ 3 1 .
This proves the claim.
Applying Corollary 30 to the estimator supplied by Lemma 31 translates the i.i.d. sample lower bound into a lower bound on the trajectory length.
Theorem 32 (Complete version of Theorem 3 ) Let S ≥ 3 S\ge3 S ≥ 3 , 0 < α ≤ 1 / 4 0<\alpha\le1/4 0 < α ≤ 1/4 , 0 < ε ≤ 1 0<\varepsilon\le1 0 < ε ≤ 1 , 0 < π min ≤ 1 S + 2 0<\pi_{\min}\le\frac{1}{S+2} 0 < π m i n ≤ S + 2 1 , 0 < γ p s ≤ 1 0<\gamma_{ps}\le1 0 < γ p s ≤ 1 , and δ = o ( ε 3 / 2 α S 2 log 2 ( S α ε ) ) \delta=o\left(\frac{\varepsilon^{3/2}\alpha}{S^2\log^2\left(\frac{S}{\alpha\varepsilon}\right)}\right) δ = o ( S 2 l o g 2 ( α ε S ) ε 3/2 α ) . Let M \mathcal{M} M be an item-level ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -differentially private estimator based on N N N mutually independent length T T T trajectories, where N T ≳ 1 π min NT\gtrsim\frac{1}{\pi_{\min}} N T ≳ π m i n 1 . Assume that, for every P ∈ C ( S , π min , γ p s ) P\in\mathcal{C}(S,\pi_{\min},\gamma_{ps}) P ∈ C ( S , π m i n , γ p s ) and every set of initial distributions μ 1 , … , μ N \mu_1,\ldots,\mu_N μ 1 , … , μ N , a collection of trajectories X = ( X 1 : T ( 1 ) , … , X 1 : T ( N ) ) \mathbf{X}=(X_{1:T}^{(1)},\ldots,X_{1:T}^{(N)}) X = ( X 1 : T ( 1 ) , … , X 1 : T ( N ) ) where X 1 : T ( u ) ∼ ( P , μ u ) X_{1:T}^{(u)}\sim(P,\mu_u) X 1 : T ( u ) ∼ ( P , μ u ) satisfies
P ( ∥ M ( X ) − P ∥ ∞ ≤ α ) ≥ 3 4 . \mathbb{P}\left(\left\|\mathcal{M}(\mathbf{X})-P\right\|_\infty\le\alpha\right)\ge\frac{3}{4}. P ( ∥ M ( X ) − P ∥ ∞ ≤ α ) ≥ 4 3 . Then
N = Ω ( S π min T α 2 + S π min T α ε log 7 ( S α ε ) ) . N=\Omega\left(\frac{S}{\pi_{\min}T\alpha^2}+\frac{S}{\pi_{\min}T\alpha\varepsilon\log^7\left(\frac{S}{\alpha\varepsilon}\right)}\right). N = Ω ( π m i n T α 2 S + π m i n T α ε log 7 ( α ε S ) S ) .
Proof Lemma 31 converts M \mathcal{M} M into an estimator for distributions over S − 1 S-1 S − 1 symbols using ⌊ 2 π min N T ⌋ \lfloor2\pi_{\min}NT\rfloor ⌊ 2 π m i n N T ⌋ samples and achieving ℓ 1 \ell_1 ℓ 1 error at most 4 α 4\alpha 4 α . Applying Corollary 30 proves the claim. ■
Remark 33 Note that when N = 1 N=1 N = 1 , we can use the same technique to show that
T = Ω ( S π min α 2 + S π min α ε log 7 ( S α ε ) ) . T = \Omega\left(\frac{S}{\pi_{\min}\alpha^2}+\frac{S}{\pi_{\min}\alpha\varepsilon\log^7\left(\frac{S}{\alpha\varepsilon}\right)}\right). T = Ω ( π m i n α 2 S + π m i n α ε log 7 ( α ε S ) S ) .
Moreover, the non-private lower bound of Wolfer and Kontorovich [37 ] also applies in the single-chain case, improving our lower bound to
T = Ω ( S π min α 2 + S π min α ε log 7 ( S α ε ) + S ln ( S ) γ p s ) , T = \Omega\left(\frac{S}{\pi_{\min}\alpha^2}+\frac{S}{\pi_{\min}\alpha\varepsilon\log^7\left(\frac{S}{\alpha\varepsilon}\right)}+\frac{S\ln(S)}{\gamma_{ps}}\right), T = Ω ( π m i n α 2 S + π m i n α ε log 7 ( α ε S ) S + γ p s S ln ( S ) ) ,
which is tight for π min = Ω ( 1 S ln ( S ) ) \pi_{\min}=\Omega\left(\frac{1}{S\ln(S)}\right) π m i n = Ω ( S l n ( S ) 1 ) .
Proofs of Section 4
Complete Statement and Proof of Theorem 6
Our upper bound is based on the tools defined in Tsfadia et al. [32 ] .
Definition 34 (Tsfadia et al. [32 ] ) For a function f : X 2 → { 0 , 1 } f:\mathcal{X}^2\to\{0,1\} f : X 2 → { 0 , 1 } , a dataset D ⊆ X D\subseteq\mathcal{X} D ⊆ X is called
f f f -complete if for every z , z ′ ∈ D z,z'\in D z , z ′ ∈ D , f ( z , z ′ ) = 1 f(z,z')=1 f ( z , z ′ ) = 1 .
f f f -friendly if, for every z , z ′ ∈ D z,z'\in D z , z ′ ∈ D , there exists a point w ∈ X w\in\mathcal{X} w ∈ X such that f ( z , w ) = f ( z ′ , w ) = 1 f(z,w)=f(z',w)=1 f ( z , w ) = f ( z ′ , w ) = 1 .
Definition 35 (f f f -friendly differential privacy Tsfadia et al. [32 ] ) An algorithm A A A is called f f f -friendly ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -differentially private if, for every pair of neighboring databases D , D ′ D,D' D , D ′ such that D ∪ D ′ D\cup D' D ∪ D ′ is f f f -friendly, the distributions A ( D ) A(D) A ( D ) and A ( D ′ ) A(D') A ( D ′ ) are ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -indistinguishable.
Definition 36 (f f f -friendly concentrated differential privacy (Tsfadia et al. [32 ] ) An algorithm A A A is called f f f -friendly ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -differentially private if, for every pair of neighboring databases D , D ′ D,D' D , D ′ such that D ∪ D ′ D\cup D' D ∪ D ′ is f f f -friendly, the distributions A ( D ) A(D) A ( D ) and A ( D ′ ) A(D') A ( D ′ ) are ( ρ , δ ) (\rho,\delta) ( ρ , δ ) zCDP-indistinguishable. For friendly neighboring databases, the standard conversion from zCDP to approximate DP holds.
It has been shown that f f f -friendly DP algorithms can be converted into DP algorithms by composition with a pre-processing step known as a filter . This filtering algorithm selects a set of f f f -friendly data-points from the original dataset, on which f f f -friendly DP guarantees can be applied. The following result from Tsfadia et al. [32 ] formalizes this. From a utility point of view, filtering may fail for arbitrary datasets, but one can use concentration arguments for certain i.i.d. datapoints to show that, with high probability, such datasets satisfy a notion of friendliness with high probability or contain large friendly subsets. This yields favorable utility guarantees whilst only requiring to satisfy a relaxed notion of privacy.
Algorithm E.1 BASICFILTER (α = 0 \alpha= 0 α = 0 ) Tsfadia et al. [32 ] .
Input: A database D = ( x 1 , … , x n ) ∈ X n \mathcal{D} = (x_1,\ldots,x_n) \in\mathcal{X}^n D = ( x 1 , … , x n ) ∈ X n , a predicate f : X 2 → { 0 , 1 } f : \mathcal{X}^2 \to\{0,1\} f : X 2 → { 0 , 1 } .
Operation:
For i ∈ [ n ] i \in[n] i ∈ [ n ] : (a) Let z i = ∑ j = 1 n f ( x i , x j ) − n 2 z_i = \sum_{j=1}^{n} f(x_i,x_j) - \frac{n}{2} z i = ∑ j = 1 n f ( x i , x j ) − 2 n . (b) Sample v i ← Bern ( p i ) v_i \leftarrow\operatorname{Bern}(p_i) v i ← Bern ( p i ) , where
p i = { 0 , z i ≤ 0 , 1 , z i ≥ n 2 , 2 z i n , otherwise . p_i =
\begin{cases}
0, & z_i \le0,\\
1, & z_i \ge\frac{n}{2},\\
\frac{2z_i}{n}, & \text{otherwise}.
\end{cases} p i = ⎩ ⎨ ⎧ 0 , 1 , n 2 z i , z i ≤ 0 , z i ≥ 2 n , otherwise .
Output v = ( v 1 , … , v n ) v = (v_1,\ldots,v_n) v = ( v 1 , … , v n ) .
Lemma 37 (Tsfadia et al. [32 ] ) Let f : X 2 → { 0 , 1 } f : \mathcal{X}^2 \to\{0,1\} f : X 2 → { 0 , 1 } , and let A A A be an f f f -friendly ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -differentially private algorithm. Given a database D = ( x 1 , … , x n ) ∈ X ∗ \mathcal{D} = (x_1,\ldots,x_n) \in\mathcal{X}^* D = ( x 1 , … , x n ) ∈ X ∗ , define v = BasicFilter ( D , f ) ∈ { 0 , 1 } n v = \operatorname{BasicFilter}(\mathcal{D},f) \in\{0,1\}^n v = BasicFilter ( D , f ) ∈ { 0 , 1 } n and D v : = ( x i ) i ∈ [ n ] : v i = 1 \mathcal{D}_v := (x_i)_{i\in[n]:v_i=1} D v := ( x i ) i ∈ [ n ] : v i = 1 , and consider the algorithm B ( D ) : = A ( D v ) B(\mathcal{D}) := A(\mathcal{D}_v) B ( D ) := A ( D v ) . Then B B B is ( 2 ( e ε − 1 ) , 2 δ e ε + 2 ( e ε − 1 ) ) \left(2(e^\varepsilon-1),2\delta e^{\varepsilon+2(e^\varepsilon-1)}\right) ( 2 ( e ε − 1 ) , 2 δ e ε + 2 ( e ε − 1 ) ) -differentially private.
Algorithm E.2 FRIENDLYAVG Tsfadia et al. [32 ] .
Input: A database D ∈ ( R d ) ∗ \mathcal{D} \in(\mathbb{R}^d)^* D ∈ ( R d ) ∗ , privacy parameters ρ , δ > 0 \rho,\delta> 0 ρ , δ > 0 , and r ≥ 0 r \ge0 r ≥ 0 .
Operation:
Let n = ∣ D ∣ n = |\mathcal{D}| n = ∣ D ∣ , ρ 1 = 0.1 ( 1 − δ ) ρ \rho_1 = 0.1(1-\delta)\rho ρ 1 = 0.1 ( 1 − δ ) ρ , ρ 2 = 0.9 ρ \rho_2 = 0.9\rho ρ 2 = 0.9 ρ .
Sample n ^ ∼ N ( n − ln ( 1 / δ ) ρ 1 − 1 , 1 2 ρ 1 ) \hat{n} \sim\mathcal{N}\left(n-\sqrt{\frac{\ln(1/\delta)}{\rho_1}}-1,\frac{1}{2\rho_1}\right) n ^ ∼ N ( n − ρ 1 l n ( 1/ δ ) − 1 , 2 ρ 1 1 ) .
If n = 0 n=0 n = 0 or n ^ ≤ 0 \hat{n}\le0 n ^ ≤ 0 , output ⊥ \perp ⊥ and abort.
Otherwise, output Avg ( D ) + N ( 0 , σ 2 I d × d ) \operatorname{Avg}(\mathcal{D})+\mathcal{N}(0,\sigma^2 I_{d\times d}) Avg ( D ) + N ( 0 , σ 2 I d × d ) , where σ = 2 r n ^ ⋅ 1 2 ρ 2 \sigma= \frac{2r}{\hat{n}}\cdot\frac{1}{\sqrt{2\rho_2}} σ = n ^ 2 r ⋅ 2 ρ 2 1 .
We now define the appropriate notion of friendliness for our task. For z ∈ R d × k z \in\mathbb{R}^{d\times k} z ∈ R d × k and a radius r ≥ 0 r \ge0 r ≥ 0 , define
F r ( 2 ) ( z , z ′ ) : = 1 { ∥ z − z ′ ∥ F ≤ r } . F_r^{(2)}(z,z') := \mathbf{1}\{\lVert z-z'\rVert_F \le r\}. F r ( 2 ) ( z , z ′ ) := 1 {∥ z − z ′ ∥ F ≤ r } .
It is important to note that the Frobenius norm on a matrix corresponds to the ℓ 2 \ell_2 ℓ 2 norm of the vectorization of the matrix. Hence, for algorithms with matrix inputs and guarantees stated in the Frobenius norms, it simply helps to think about the operations acting on vectorized versions of the input matrices.
Lemma 38 (Tsfadia et al. [32 ] ) FRIENDLYAVG is ( ρ , δ ) (\rho,\delta) ( ρ , δ ) F r ( 2 ) F_r^{(2)} F r ( 2 ) -friendly zCDP.
Note that FRIENDLYAVG assumes that the value of n n n is not public and hence computes a private estimate n ^ \hat{n} n ^ that underestimates n n n with high probability while ensuring privacy at the same time. Then, for any two neighboring datasets D D D and D ′ D' D ′ , their union being friendly implies that for any pair z , z ′ ∈ D ∪ D ′ z,z' \in D \cup D' z , z ′ ∈ D ∪ D ′ , there exists a point w w w such that ∥ z − w ∥ F ≤ r \lVert z-w\rVert_F \le r ∥ z − w ∥ F ≤ r and ∥ z ′ − w ∥ F ≤ r \lVert z'-w\rVert_F \le r ∥ z ′ − w ∥ F ≤ r . This implies that ∥ z − z ′ ∥ F ≤ 2 r \lVert z-z'\rVert_F \le2r ∥ z − z ′ ∥ F ≤ 2 r , so the mean is 2 r 2r 2 r -sensitive and noise is added calibrated to this sensitivity. A complete proof of this result can be found in Tsfadia et al. [32 ] .
We now present a private averaging procedure for R d × k \mathbb{R}^{d \times k} R d × k matrices with utility measured in the ∥ ⋅ ∥ ∞ \lVert\cdot\rVert_\infty ∥ ⋅ ∥ ∞ norm. The idea is simply to filter the data using the F r ( 2 ) F_r^{(2)} F r ( 2 ) filter and then privatize the output using a mechanism that yields a private estimate for F r ( 2 ) F_r^{(2)} F r ( 2 ) -complete database inputs.
Algorithm E.3 JOINTAVG
Input: A database D ∈ ( R d × k ) ∗ D \in(\mathbb{R}^{d \times k})^* D ∈ ( R d × k ) ∗ , privacy parameters ε , δ > 0 \varepsilon,\delta> 0 ε , δ > 0 , and r ≥ 0 r \ge0 r ≥ 0 .
Operation:
Let v v v be the output of BASICFILTER on D D D with predicate F r ( 2 ) F_r^{(2)} F r ( 2 ) , and let D ′ = { D i : v i = 1 , i ∈ [ n ] } D' = \{D_i : v_i = 1, i \in[n]\} D ′ = { D i : v i = 1 , i ∈ [ n ]} .
Run FRIENDLYAVG on D ′ D' D ′ with zCDP-privacy parameters ( ε 2 256 log ( 2 e 2 / δ ) , δ 2 e 2 ) \left(\frac{\varepsilon^2}{256\log(2e^2/\delta)},\frac{\delta}{2e^2}\right) ( 256 l o g ( 2 e 2 / δ ) ε 2 , 2 e 2 δ ) and radius r r r and denote its output by μ ~ \tilde{\mu} μ ~ .
If μ ~ = ⊥ \tilde{\mu} = \bot μ ~ = ⊥ , set μ ~ = 1 k 11 T \tilde{\mu} = \frac{1}{k}\mathbf{1}\mathbf{1}^{\mathsf{T}} μ ~ = k 1 1 1 T .
Return μ ~ \tilde{\mu} μ ~ .
Lemma 39 (Privacy of JOINTAVG) Let 0 < ε ≤ 1 0 < \varepsilon\le1 0 < ε ≤ 1 , 0 < δ < 1 0 < \delta< 1 0 < δ < 1 . JOINTAVG is ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -DP for any r ≥ 0 r \ge0 r ≥ 0 .
Proof To prove the privacy guarantee, it suffices to establish privacy for Steps 2 and 3 of Algorithm E.3. By Lemma 38, FRIENDLYAVG is F r ( 2 ) F_r^{(2)} F r ( 2 ) -friendly ( ε 2 256 log ( 4 e 2 / δ ) , δ 4 e 2 ) \left(\frac{\varepsilon^2}{256\log(4e^2/\delta)},\frac{\delta}{4e^2}\right) ( 256 l o g ( 4 e 2 / δ ) ε 2 , 4 e 2 δ ) -zCDP. Applying the conversion from approximate zCDP to approximate DP implies that the mechanism is F r ( 2 ) F_r^{(2)} F r ( 2 ) -friendly ( ε 4 , δ 2 e 2 ) \left(\frac{\varepsilon}{4},\frac{\delta}{2e^2}\right) ( 4 ε , 2 e 2 δ ) -DP. Because ε ≤ 1 \varepsilon\le1 ε ≤ 1 , Lemma 37 implies that JointAvg is ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) DP.
The privacy guarantees follow primarily from the implied Frobenius filter. The following lemma gives the utility guarantee with respect to the matrix ∥ ⋅ ∥ ∞ \lVert\cdot\rVert_\infty ∥ ⋅ ∥ ∞ norm given that its input is F r ( 2 ) F_r^{(2)} F r ( 2 ) -complete.
Lemma 40 Let 0 < ε , δ , β < 1 0 < \varepsilon,\delta,\beta< 1 0 < ε , δ , β < 1 , and r ≥ 0 r \ge0 r ≥ 0 . Suppose that D = ( z 1 , … , z N ) D = (z_1,\ldots,z_N) D = ( z 1 , … , z N ) is F r ( 2 ) F_r^{(2)} F r ( 2 ) -complete and N ≥ C ε log ( 1 δ ) log ( 1 β δ ) N \ge\frac{C}{\varepsilon}\sqrt{\log\left(\frac{1}{\delta}\right)\log\left(\frac{1}{\beta\delta}\right)} N ≥ ε C log ( δ 1 ) log ( β δ 1 ) . Then, with probability at least 1 − β 1-\beta 1 − β , the output μ ~ \tilde{\mu} μ ~ of Algorithm E.3, satisfies
max j ∈ [ d ] ∥ μ ~ ( j , ⋅ ) − 1 N ∑ i = 1 N z i ( j , ⋅ ) ∥ 1 ≤ C r log ( C / δ ) ε N ( k + k log ( C d β ) ) . \max_{j \in[d]} \left\lVert\tilde{\mu}_{(j,\cdot)}-\frac{1}{N}\sum_{i=1}^{N}z_{i(j,\cdot)} \right\rVert_1 \le C\frac{r\sqrt{\log(C/\delta)}}{\varepsilon N}\left(k+\sqrt{k\log\left(\frac{Cd}{\beta}\right)}\right). j ∈ [ d ] max μ ~ ( j , ⋅ ) − N 1 i = 1 ∑ N z i ( j , ⋅ ) 1 ≤ C εN r log ( C / δ ) ( k + k log ( β C d ) ) .
where C > 0 C > 0 C > 0 is a universal constant.
Proof. Given that D D D is F r ( 2 ) F_r^{(2)} F r ( 2 ) -complete, BASICFILTER retains every element with probability one. Consequently, FRIENDLYAVG is applied to the full vectorized database. Let ρ = ε 2 256 log ( 2 e 2 / δ ) \rho= \frac{\varepsilon^2}{256\log(2e^2/\delta)} ρ = 256 l o g ( 2 e 2 / δ ) ε 2 . The private lower estimate of the core size used by FRIENDLYAVG is
n ^ = N − log ( 2 e 2 / δ ) ρ 1 − 1 + W , W ∼ N ( 0 , 1 2 ρ 1 ) . \hat{n}=N-\sqrt{\frac{\log(2e^2/\delta)}{\rho_1}}-1+W,\qquad W\sim\mathcal{N}\left(0,\frac{1}{2\rho_1}\right). n ^ = N − ρ 1 log ( 2 e 2 / δ ) − 1 + W , W ∼ N ( 0 , 2 ρ 1 1 ) .
where ρ 1 : = 0.1 ( 1 − δ 2 e 2 ) ρ \rho_1 := 0.1\left(1-\frac{\delta}{2e^2}\right)\rho ρ 1 := 0.1 ( 1 − 2 e 2 δ ) ρ and ρ 2 : = 0.9 ρ \rho_2 := 0.9\rho ρ 2 := 0.9 ρ . A Gaussian tail bound gives W ≥ − log ( 2 / β ) ρ 1 W\geq-\sqrt{\frac{\log(2/\beta)}{\rho_1}} W ≥ − ρ 1 l o g ( 2/ β ) with probability at least 1 − β / 2 1-\beta/2 1 − β /2 . Hence n ^ ≥ N / 2 \hat{n}\geq N/2 n ^ ≥ N /2 whenever
N ≥ 2 ( log ( 2 e 2 / δ ) ρ 1 + log ( 2 / β ) ρ 1 + 1 ) . N\geq2\left(\sqrt{\frac{\log(2e^2/\delta)}{\rho_1}}+\sqrt{\frac{\log(2/\beta)}{\rho_1}}+1\right). N ≥ 2 ( ρ 1 log ( 2 e 2 / δ ) + ρ 1 log ( 2/ β ) + 1 ) .
Because ρ 1 ≥ c ρ \rho_1\geq c\rho ρ 1 ≥ c ρ and 1 ρ = 16 ε log ( 2 e 2 δ ) \frac{1}{\sqrt{\rho}}=\frac{16}{\varepsilon}\sqrt{\log\left(\frac{2e^2}{\delta}\right)} ρ 1 = ε 16 log ( δ 2 e 2 ) , N ≥ C ε log ( C δ ) log ( C β δ ) N\geq\frac{C}{\varepsilon}\sqrt{\log\left(\frac{C}{\delta}\right)\log\left(\frac{C}{\beta\delta}\right)} N ≥ ε C log ( δ C ) log ( β δ C ) implies this condition after increasing the universal constant C C C . Conditioned on n ^ ≥ N / 2 \hat{n}\geq N/2 n ^ ≥ N /2 , FRIENDLYAVG releases the empirical average plus an isotropic Gaussian vector G G G in R d k \mathbb{R}^{dk} R d k . Writing this Gaussian vector block-wise as G = ( G 1 , … , G d ) G=(G_1,\ldots,G_d) G = ( G 1 , … , G d ) , each block G j = μ ~ j − 1 n ^ ∑ i = 1 N z i , j G_j=\tilde{\mu}_j-\frac{1}{\hat{n}}\sum_{i=1}^{N}z_{i,j} G j = μ ~ j − n ^ 1 ∑ i = 1 N z i , j satisfies G j ∼ N ( 0 , σ 2 I k ) G_j\sim\mathcal{N}(0,\sigma^2I_k) G j ∼ N ( 0 , σ 2 I k ) , where
σ = 2 r n ^ 1 2 ρ 2 ≤ C r log ( C / δ ) ε N . \sigma=\frac{2r}{\hat{n}}\sqrt{\frac{1}{2\rho_2}}\leq\frac{C^r\sqrt{\log(C/\delta)}}{\varepsilon N}. σ = n ^ 2 r 2 ρ 2 1 ≤ εN C r log ( C / δ ) .
For each j j j , we have E ∥ G j ∥ 1 = k σ 2 / π ≤ k σ \mathbb{E}\|G_j\|_1=k\sigma\sqrt{2/\pi}\leq k\sigma E ∥ G j ∥ 1 = k σ 2/ π ≤ k σ . Moreover, the map x ↦ ∥ x ∥ 1 x\mapsto\|x\|_1 x ↦ ∥ x ∥ 1 is k \sqrt{k} k -Lipschitz with respect to the Euclidean norm. The Gaussian isoperimetric inequality for Lipschitz functions therefore gives
P ( ∥ G j ∥ 1 > σ ( k + 2 k log ( 2 d β ) ) ) ≤ β 2 d . \mathbb{P}\left(\|G_j\|_1>\sigma\left(k+\sqrt{2k\log\left(\frac{2d}{\beta}\right)}\right)\right)\leq\frac{\beta}{2d}. P ( ∥ G j ∥ 1 > σ ( k + 2 k log ( β 2 d ) ) ) ≤ 2 d β .
A union bound over j ∈ [ d ] j\in[d] j ∈ [ d ] , together with the high probability event that n ^ ≥ N / 2 \hat{n}\geq N/2 n ^ ≥ N /2 , proves the claimed utility bound with probability at least 1 − β 1-\beta 1 − β .
Intuitively, Algorithm E.4 applies the JOINTAVG mechanism to estimate the distribution matrix of a k k k -ary, d d d -dimensional distribution. The privacy guarantee follows directly from the privacy of JOINTAVG. Hence, the main remaining step is to prove that the constructed empirical distribution matrices for each user are F r m d ( 2 ) F_{rm\sqrt{d}}^{(2)} F r m d ( 2 ) complete with high probability.
Theorem 41 (Complete Privacy Guarantee in Theorem 6) Algorithm E.4 is ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -DP.
Proof. Replacing all m m m samples of one user changes exactly one tuple Y i Y_i Y i . Lemma 39 therefore gives user-level ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -differential privacy, and the simplex projection is post-processing.
Algorithm E.4 User-level private estimation of product distributions with approximate DP.
Input: A database D = ( X ( i ) ) i ∈ [ N ] , t ∈ [ m ] \mathcal{D} = (X^{(i)})_{i \in[N], t \in[m]} D = ( X ( i ) ) i ∈ [ N ] , t ∈ [ m ] , where X t ( i ) ∈ [ k ] d X_t^{(i)} \in[k]^d X t ( i ) ∈ [ k ] d , privacy parameters ε , δ > 0 \varepsilon, \delta> 0 ε , δ > 0 , and failure probability f ∈ ( 0 , 1 ) f \in(0,1) f ∈ ( 0 , 1 ) .
Operation:
For every user i ∈ [ N ] i \in[N] i ∈ [ N ] and product coordinate j ∈ [ d ] j \in[d] j ∈ [ d ] , compute the empirical marginal
P ‾ i , ( j , ⋅ ) : = 1 m ∑ t = 1 m e X t , j ( i ) ∈ Δ ( k ) , \overline{P}_{i,(j,\cdot)} := \frac{1}{m} \sum_{t=1}^{m} e_{X_{t,j}^{(i)}} \in\Delta(k), P i , ( j , ⋅ ) := m 1 t = 1 ∑ m e X t , j ( i ) ∈ Δ ( k ) ,
where X t , j ( i ) X_{t,j}^{(i)} X t , j ( i ) is the j j j -th coordinate of X t ( i ) X_t^{(i)} X t ( i ) and e a ∈ R k e_a \in\mathbb{R}^k e a ∈ R k is the a a a -th standard basis vector.
Set r m : = min { 2 , 2 m ( 1 + log ( 3 N d f ) ) } r_m := \min\left\{ \sqrt{2}, \frac{2}{\sqrt{m}}\left(1+\sqrt{\log\left(\frac{3Nd}{f}\right)}\right)\right\} r m := min { 2 , m 2 ( 1 + log ( f 3 N d ) ) } . Here, r m r_m r m is set using the public database size N N N .
Run JOINTAVG ( P ‾ 1 , … , P ‾ N ) \operatorname{JOINTAVG}(\overline{P}_1,\ldots,\overline{P}_N) JOINTAVG ( P 1 , … , P N ) with radius r m d r_m\sqrt{d} r m d and privacy parameters ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) and let the output be P ~ \widetilde{P} P .
For every j ∈ [ d ] j \in[d] j ∈ [ d ] , compute
P ^ ( j , ⋅ ) ∈ arg min q ∈ Δ ( k ) ∥ q − P ~ ( j , ⋅ ) ∥ 1 \widehat{P}_{(j,\cdot)} \in\underset{q \in\Delta(k)}{\arg\min}\ \lVert q-\widetilde{P}_{(j,\cdot)}\rVert_1 P ( j , ⋅ ) ∈ q ∈ Δ ( k ) arg min ∥ q − P ( j , ⋅ ) ∥ 1
and output P ^ \widehat{P} P .
Theorem 42 (Complete Utility Guarantee in Theorem 6 ). Fix 0 < α , f < 1 0 < \alpha, f < 1 0 < α , f < 1 and 0 < ε ≤ 1 0 < \varepsilon\leq1 0 < ε ≤ 1 . Uniformly over P ∈ P d , k P \in\mathcal{P}_{d,k} P ∈ P d , k , the output of Algorithm E.4, P ^ \widehat{P} P , satisfies P ( ρ ( P ^ , P ) ≤ α ) ≥ 1 − f \mathbb{P}\left(\rho(\widehat{P},P) \leq\alpha\right) \geq1-f P ( ρ ( P , P ) ≤ α ) ≥ 1 − f for
N ≥ C [ k + log ( d / f ) m α 2 + k d ε α m log 3 / 2 ( d k m α ε δ f ) + 1 ε log ( 1 δ ) log ( 1 δ f ) ] . N \geq C\left[\frac{k+\log(d/f)}{m\alpha^2}+\frac{k\sqrt{d}}{\varepsilon\alpha\sqrt{m}}\log^{3/2}\left(\frac{dkm}{\alpha\varepsilon\delta f}\right)+\frac{1}{\varepsilon}\sqrt{\log\left(\frac{1}{\delta}\right)\log\left(\frac{1}{\delta f}\right)}\right]. N ≥ C [ m α 2 k + log ( d / f ) + ε α m k d log 3/2 ( α ε δ f d k m ) + ε 1 log ( δ 1 ) log ( δ f 1 ) ] .
Proof. Let
P ‾ ( j , ⋅ ) : = 1 N ∑ i = 1 N P ‾ i , ( j , ⋅ ) = 1 N m ∑ i = 1 N ∑ t = 1 m e X t , j ( i ) . \overline{P}_{(j,\cdot)} := \frac{1}{N}\sum_{i=1}^{N}\overline{P}_{i,(j,\cdot)}=\frac{1}{Nm}\sum_{i=1}^{N}\sum_{t=1}^{m}e_{X_{t,j}^{(i)}}. P ( j , ⋅ ) := N 1 i = 1 ∑ N P i , ( j , ⋅ ) = N m 1 i = 1 ∑ N t = 1 ∑ m e X t , j ( i ) .
Recall that e X t , j ( i ) e_{X_{t,j}^{(i)}} e X t , j ( i ) corresponds to the standard basis vector in R k \mathbb{R}^k R k indexed by X t , j ( i ) X_{t,j}^{(i)} X t , j ( i ) , which implies that P ‾ ( j , ⋅ ) ∈ Δ ( k ) \overline{P}_{(j,\cdot)} \in\Delta(k) P ( j , ⋅ ) ∈ Δ ( k ) . Since P ( j , ⋅ ) ∈ Δ ( k ) P_{(j,\cdot)} \in\Delta(k) P ( j , ⋅ ) ∈ Δ ( k ) and P ^ ( j , ⋅ ) \widehat{P}_{(j,\cdot)} P ( j , ⋅ ) is an ℓ 1 \ell_1 ℓ 1 -nearest point in Δ ( k ) \Delta(k) Δ ( k ) to P ~ ( j , ⋅ ) \widetilde{P}_{(j,\cdot)} P ( j , ⋅ ) , we have ∥ P ^ ( j , ⋅ ) − P ~ ( j , ⋅ ) ∥ 1 ≤ ∥ P ( j , ⋅ ) − P ~ ( j , ⋅ ) ∥ 1 \lVert\widehat{P}_{(j,\cdot)}-\widetilde{P}_{(j,\cdot)}\rVert_1 \leq\lVert P_{(j,\cdot)}-\widetilde{P}_{(j,\cdot)}\rVert_1 ∥ P ( j , ⋅ ) − P ( j , ⋅ ) ∥ 1 ≤ ∥ P ( j , ⋅ ) − P ( j , ⋅ ) ∥ 1 . Consequently,
∥ P ^ ( j , ⋅ ) − P ( j , ⋅ ) ∥ 1 ≤ ∥ P ^ ( j , ⋅ ) − P ~ ( j , ⋅ ) ∥ 1 + ∥ P ~ ( j , ⋅ ) − P ( j , ⋅ ) ∥ 1 \lVert\widehat{P}_{(j,\cdot)}-P_{(j,\cdot)}\rVert_1 \leq\lVert\widehat{P}_{(j,\cdot)}-\widetilde{P}_{(j,\cdot)}\rVert_1+\lVert\widetilde{P}_{(j,\cdot)}-P_{(j,\cdot)}\rVert_1 ∥ P ( j , ⋅ ) − P ( j , ⋅ ) ∥ 1 ≤ ∥ P ( j , ⋅ ) − P ( j , ⋅ ) ∥ 1 + ∥ P ( j , ⋅ ) − P ( j , ⋅ ) ∥ 1
≤ 2 ∥ P ~ ( j , ⋅ ) − P ( j , ⋅ ) ∥ 1 \leq2\lVert\widetilde{P}_{(j,\cdot)}-P_{(j,\cdot)}\rVert_1 ≤ 2 ∥ P ( j , ⋅ ) − P ( j , ⋅ ) ∥ 1
≤ 2 ∥ P ‾ ( j , ⋅ ) − P ( j , ⋅ ) ∥ 1 + 2 ∥ P ~ ( j , ⋅ ) − P ‾ ( j , ⋅ ) ∥ 1 . \leq2\lVert\overline{P}_{(j,\cdot)}-P_{(j,\cdot)}\rVert_1+2\lVert\widetilde{P}_{(j,\cdot)}-\overline{P}_{(j,\cdot)}\rVert_1. ≤ 2 ∥ P ( j , ⋅ ) − P ( j , ⋅ ) ∥ 1 + 2 ∥ P ( j , ⋅ ) − P ( j , ⋅ ) ∥ 1 .
Taking the maximum on both sides gives,
max j ∈ [ d ] ∥ P ^ ( j , ⋅ ) − P ( j , ⋅ ) ∥ 1 ≤ 2 max j ∈ [ d ] ∥ P ~ ( j , ⋅ ) − P ‾ ( j , ⋅ ) ∥ 1 + 2 max j ∈ [ d ] ∥ P ‾ ( j , ⋅ ) − P ( j , ⋅ ) ∥ 1 . \max_{j\in[d]}\lVert\widehat{P}_{(j,\cdot)}-P_{(j,\cdot)}\rVert_1\leq2\max_{j\in[d]}\lVert\widetilde{P}_{(j,\cdot)}-\overline{P}_{(j,\cdot)}\rVert_1+2\max_{j\in[d]}\lVert\overline{P}_{(j,\cdot)}-P_{(j,\cdot)}\rVert_1. j ∈ [ d ] max ∥ P ( j , ⋅ ) − P ( j , ⋅ ) ∥ 1 ≤ 2 j ∈ [ d ] max ∥ P ( j , ⋅ ) − P ( j , ⋅ ) ∥ 1 + 2 j ∈ [ d ] max ∥ P ( j , ⋅ ) − P ( j , ⋅ ) ∥ 1 .
Upper bounding T 1 T_1 T 1 w.h.p. To bound this term, we show that the dataset is F r m d ( 2 ) F_{r_m\sqrt{d}}^{(2)} F r m d ( 2 ) -complete with high probability and appeal to the utility guarantee in Lemma 40. Towards this, fix i ∈ [ N ] i\in[N] i ∈ [ N ] and j ∈ [ d ] j\in[d] j ∈ [ d ] . Since P ‾ i , ( j , ⋅ ) \overline{P}_{i,(j,\cdot)} P i , ( j , ⋅ ) is the empirical distribution of m m m independent samples from P ( j , ⋅ ) P_{(j,\cdot)} P ( j , ⋅ ) ,
E ∥ P ‾ i , ( j , ⋅ ) − P ( j , ⋅ ) ∥ 2 2 = ∑ a = 1 k Var ( P ‾ i , ( j , a ) ) = 1 m ∑ a = 1 k P ( j , a ) ( 1 − P ( j , a ) ) = 1 − ∥ P ( j , ⋅ ) ∥ 2 2 m ≤ 1 m . \mathbb{E}\lVert\overline{P}_{i,(j,\cdot)}-P_{(j,\cdot)}\rVert_2^2=\sum_{a=1}^{k}\operatorname{Var}(\overline{P}_{i,(j,a)})=\frac{1}{m}\sum_{a=1}^{k}P_{(j,a)}(1-P_{(j,a)})=\frac{1-\lVert P_{(j,\cdot)}\rVert_2^2}{m}\leq\frac{1}{m}. E ∥ P i , ( j , ⋅ ) − P ( j , ⋅ ) ∥ 2 2 = a = 1 ∑ k Var ( P i , ( j , a ) ) = m 1 a = 1 ∑ k P ( j , a ) ( 1 − P ( j , a ) ) = m 1 − ∥ P ( j , ⋅ ) ∥ 2 2 ≤ m 1 .
Hence E ∥ P ‾ i , ( j , ⋅ ) − P ( j , ⋅ ) ∥ 2 ≤ 1 m \mathbb{E}\lVert\overline{P}_{i,(j,\cdot)}-P_{(j,\cdot)}\rVert_2\leq\frac{1}{\sqrt{m}} E ∥ P i , ( j , ⋅ ) − P ( j , ⋅ ) ∥ 2 ≤ m 1 . Changing one of the m m m samples changes P ‾ i , ( j , ⋅ ) \overline{P}_{i,(j,\cdot)} P i , ( j , ⋅ ) in Euclidean norm by at most 2 m \frac{\sqrt{2}}{m} m 2 . Lemma 19 therefore yields, for every t > 0 t>0 t > 0 ,
P ( ∥ P ‾ i , ( j , ⋅ ) − P ( j , ⋅ ) ∥ 2 > 1 m + t ) ≤ e − m t 2 . \mathbb{P}\left(\lVert\overline{P}_{i,(j,\cdot)}-P_{(j,\cdot)}\rVert_2>\frac{1}{\sqrt{m}}+t\right)\leq e^{-mt^2}. P ( ∥ P i , ( j , ⋅ ) − P ( j , ⋅ ) ∥ 2 > m 1 + t ) ≤ e − m t 2 .
Taking t = 1 m log ( 3 N d f ) t=\frac{1}{m}\sqrt{\log\left(\frac{3Nd}{f}\right)} t = m 1 log ( f 3 N d ) and applying a union bound over all i ∈ [ N ] i\in[N] i ∈ [ N ] and j ∈ [ d ] j\in[d] j ∈ [ d ] gives, with probability at least 1 − f 3 1-\frac{f}{3} 1 − 3 f ,
∥ P ‾ i , ( j , ⋅ ) − P ( j , ⋅ ) ∥ 2 ≤ 1 m ( 1 + log ( 3 N d f ) ) , \lVert\overline{P}_{i,(j,\cdot)}-P_{(j,\cdot)}\rVert_2\leq\frac{1}{\sqrt{m}}\left(1+\sqrt{\log\left(\frac{3Nd}{f}\right)}\right), ∥ P i , ( j , ⋅ ) − P ( j , ⋅ ) ∥ 2 ≤ m 1 ( 1 + log ( f 3 N d ) ) ,
for every i ∈ [ N ] i\in[N] i ∈ [ N ] and j ∈ [ d ] j\in[d] j ∈ [ d ] . On this event, the triangle inequality gives
∥ P ‾ i , ( j , ⋅ ) − P ‾ i ′ , ( j , ⋅ ) ∥ 2 ≤ 2 m ( 1 + log ( 3 N d f ) ) , \lVert\overline{P}_{i,(j,\cdot)}-\overline{P}_{i',(j,\cdot)}\rVert_2\leq\frac{2}{\sqrt{m}}\left(1+\sqrt{\log\left(\frac{3Nd}{f}\right)}\right), ∥ P i , ( j , ⋅ ) − P i ′ , ( j , ⋅ ) ∥ 2 ≤ m 2 ( 1 + log ( f 3 N d ) ) ,
for every i , i ′ ∈ [ N ] i,i'\in[N] i , i ′ ∈ [ N ] and j ∈ [ d ] j\in[d] j ∈ [ d ] . In addition, any two vectors in Δ ( k ) \Delta(k) Δ ( k ) are at Euclidean distance at most 2 \sqrt{2} 2 . Recalling that r m : = min { 2 , 2 m ( 1 + log ( 3 N d f ) ) } r_m:=\min\left\{\sqrt{2},\frac{2}{\sqrt{m}}\left(1+\sqrt{\log\left(\frac{3Nd}{f}\right)}\right)\right\} r m := min { 2 , m 2 ( 1 + log ( f 3 N d ) ) } , it follows that the database ( Y 1 , … , Y N ) (Y_1,\ldots,Y_N) ( Y 1 , … , Y N ) is F r m d ( 2 ) F_{r_m\sqrt{d}}^{(2)} F r m d ( 2 ) -complete with probability at least 1 − f / 3 1-f/3 1 − f /3 .
Condition on the event that ( Y 1 , … , Y N ) (Y_1,\ldots,Y_N) ( Y 1 , … , Y N ) is F r m d ( 2 ) F_{r_m\sqrt{d}}^{(2)} F r m d ( 2 ) -complete. Taking N ≥ C ε log ( C δ ) log ( C δ f ) N\geq\frac{C}{\varepsilon}\sqrt{\log\left(\frac{C}{\delta}\right)\log\left(\frac{C}{\delta f}\right)} N ≥ ε C log ( δ C ) log ( δ f C ) in the theorem allows us to apply Lemma 40 with β = f / 3 \beta=f/3 β = f /3 . Therefore, with conditional probability at least 1 − f / 3 1-f/3 1 − f /3 , the mechanism does not return 1 k 11 ⊤ \frac{1}{k}\mathbf{1}\mathbf{1}^{\top} k 1 1 1 ⊤ from ⊥ \perp ⊥ and
max j ∈ [ d ] ∥ P ~ ( j , ⋅ ) − P ‾ ( j , ⋅ ) ∥ 1 ≤ C r m d log ( C / δ ) ε N ( k + k log ( C d / f ) ) ≤ C ( k + k log ( C d / f ) ) d log ( C / δ ) log ( C N d / f ) ε N m . \begin{aligned}
\max_{j\in[d]}\lVert\widetilde{P}_{(j,\cdot)}-\overline{P}_{(j,\cdot)}\rVert_1\leq C\frac{r_m\sqrt{d}\log(C/\delta)}{\varepsilon N}\left(k+\sqrt{k\log(Cd/f)}\right) \\
&\leq C\frac{\left(k+\sqrt{k\log(Cd/f)}\right)\sqrt{d\log(C/\delta)\log(CNd/f)}}{\varepsilon N\sqrt{m}}.
\end{aligned} j ∈ [ d ] max ∥ P ( j , ⋅ ) − P ( j , ⋅ ) ∥ 1 ≤ C εN r m d log ( C / δ ) ( k + k log ( C d / f ) ) ≤ C εN m ( k + k log ( C d / f ) ) d log ( C / δ ) log ( C N d / f ) .
Upper bounding T 2 T_2 T 2 w.h.p. This amounts to bounding an empirical-to-population gap using concentration for the mean of bounded random vectors. P ‾ ( j , ⋅ ) \overline{P}_{(j,\cdot)} P ( j , ⋅ ) is the empirical distribution of N m Nm N m independent samples from P ( j , ⋅ ) P_{(j,\cdot)} P ( j , ⋅ ) . As above, E ∥ P ‾ ( j , ⋅ ) − P ( j , ⋅ ) ∥ 2 2 ≤ 1 N m \mathbb{E}\lVert\overline{P}_{(j,\cdot)}-P_{(j,\cdot)}\rVert_2^2\le\frac{1}{Nm} E ∥ P ( j , ⋅ ) − P ( j , ⋅ ) ∥ 2 2 ≤ N m 1 , and hence E ∥ P ‾ ( j , ⋅ ) − P ( j , ⋅ ) ∥ 1 ≤ k N m \mathbb{E}\lVert\overline{P}_{(j,\cdot)}-P_{(j,\cdot)}\rVert_1\le\sqrt{\frac{k}{Nm}} E ∥ P ( j , ⋅ ) − P ( j , ⋅ ) ∥ 1 ≤ N m k . Changing one of the N m Nm N m observations changes ∥ P ‾ ( j , ⋅ ) − P ( j , ⋅ ) ∥ 1 \lVert\overline{P}_{(j,\cdot)}-P_{(j,\cdot)}\rVert_1 ∥ P ( j , ⋅ ) − P ( j , ⋅ ) ∥ 1 by at most 2 N m \frac{2}{Nm} N m 2 . Lemma 19 gives
P ( ∥ P ‾ ( j , ⋅ ) − P ( j , ⋅ ) ∥ 1 > k N m + t ) ≤ exp ( − N m t 2 2 ) . \mathbb{P}\left(\lVert\overline{P}_{(j,\cdot)}-P_{(j,\cdot)}\rVert_1>\sqrt{\frac{k}{Nm}}+t\right)\le\exp\left(-\frac{Nmt^2}{2}\right). P ( ∥ P ( j , ⋅ ) − P ( j , ⋅ ) ∥ 1 > N m k + t ) ≤ exp ( − 2 N m t 2 ) .
Taking t = 2 log ( 3 d / f ) N m t=\sqrt{\frac{2\log(3d/f)}{Nm}} t = N m 2 l o g ( 3 d / f ) and applying a union bound over j ∈ [ d ] j\in[d] j ∈ [ d ] , we obtain, with probability at least 1 − f / 3 1-f/3 1 − f /3 ,
max j ∈ [ d ] ∥ P ‾ ( j , ⋅ ) − P ( j , ⋅ ) ∥ 1 ≤ C k + log ( C d / f ) N m . \max_{j\in[d]}\lVert\overline{P}_{(j,\cdot)}-P_{(j,\cdot)}\rVert_1\le C\sqrt{\frac{k+\log(Cd/f)}{Nm}}. j ∈ [ d ] max ∥ P ( j , ⋅ ) − P ( j , ⋅ ) ∥ 1 ≤ C N m k + log ( C d / f ) .
Combining the bounds The F r m d ( 2 ) F^{(2)}_{r_m\sqrt d} F r m d ( 2 ) completeness event, the global empirical-concentration event, and the private-release event each fail with probability at most f / 3 f/3 f /3 . Thus, taking N N N large enough to control these three events leads to an O ( α ) \mathcal{O}(\alpha) O ( α ) error. The sampling term is at most a constant multiple of α \alpha α once
N ≥ C k + log ( C d / f ) m α 2 . N\ge C\frac{k+\log(Cd/f)}{m\alpha^2}. N ≥ C m α 2 k + log ( C d / f ) .
For the private-release term,
N ≥ C ( k + k log ( C d / f ) ) d log ( C / δ ) log ( C N d / f ) ε α m . N\ge C\frac{\left(k+\sqrt{k\log(Cd/f)}\right)\sqrt{d\log(C/\delta)\log(CNd/f)}}{\varepsilon\alpha\sqrt{m}}. N ≥ C ε α m ( k + k log ( C d / f ) ) d log ( C / δ ) log ( C N d / f ) .
Since N N N is polynomial in d d d , k k k , m m m , 1 / α 1/\alpha 1/ α , 1 / ε 1/\varepsilon 1/ ε , 1 / δ 1/\delta 1/ δ , and 1 / f 1/f 1/ f , we have log ( C N d f ) ≤ C ′ log ( d k m α ε δ f ) \log\left(\frac{CN d}{f}\right)\le C'\log\left(\frac{dkm}{\alpha\varepsilon\delta f}\right) log ( f C N d ) ≤ C ′ log ( α ε δ f d k m ) after increasing the universal constant. This proves the explicit user-complexity bound.
Complete Statement and Proof of Theorem 7
Theorem 43 (Complete version of Theorem 7). There are universal constants C ℓ ρ , C δ > 0 C_{\ell}^{\rho},C_{\delta}>0 C ℓ ρ , C δ > 0 such that the following holds. Let 0 < α ≤ 1 48 2 0<\alpha\le\frac{1}{48\sqrt{2}} 0 < α ≤ 48 2 1 , 0 < ε ≤ 1 0<\varepsilon\le1 0 < ε ≤ 1 , k ≥ 40 k\ge40 k ≥ 40 and δ ≤ min { C δ ε d k , ε 2 } \delta\le\min\left\{\frac{C_{\delta}\varepsilon}{\sqrt{d}k},\varepsilon^2\right\} δ ≤ min { d k C δ ε , ε 2 } . Let A \mathcal{A} A be an ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -user-level DP estimator with N N N users, each contributing m m m samples. Suppose that, uniformly over P ∈ P d , k P\in\mathcal{P}_{d,k} P ∈ P d , k , A \mathcal{A} A outputs P ^ ∈ P d , k \widehat{P}\in\mathcal{P}_{d,k} P ∈ P d , k such that
P ( ρ ( P ^ , P ) ≤ α ) ≥ 2 3 , (2) \mathbb{P}\left(\rho(\widehat{P},P)\le\alpha\right)\ge\frac{2}{3}, \tag*{(2)} P ( ρ ( P , P ) ≤ α ) ≥ 3 2 , (2) then
N ≳ 1 ε min { k d , log ( 1 δ ) } + k d α ε m log C ℓ ρ ( ( α ε ) − 1 e d k ) + k m α 2 . (3) N\gtrsim\frac{1}{\varepsilon}\min\left\{kd,\log\left(\frac{1}{\delta}\right)\right\}+\frac{k\sqrt{d}}{\alpha\varepsilon\sqrt{m}\log^{C_{\ell}^{\rho}}\left((\alpha\varepsilon)^{-1}edk\right)}+\frac{k}{m\alpha^2}. \tag*{(3)} N ≳ ε 1 min { k d , log ( δ 1 ) } + α ε m log C ℓ ρ ( ( α ε ) − 1 e d k ) k d + m α 2 k . (3)
We prove the three terms in the user-level lower bound in three separate parts.
Lemma 44 proves a lower bound on the number of users by showing that for any algorithm achieving the desired utility needs N ≳ 1 ε min { k d , log ( 1 δ ) } N\gtrsim\frac{1}{\varepsilon}\min\left\{kd,\log\left(\frac{1}{\delta}\right)\right\} N ≳ ε 1 min { k d , log ( δ 1 ) } users. This bound is proved via an adaptation of the packing argument in Esfandiari et al. [15 ] to our setting.
Theorem 45 derives the lower bound on the number of users required to bound, in expectation, the error defined by ξ ( P ^ , P ) : = ∑ j = 1 d ∥ P ^ ( j , ⋅ ) − P ( j , ⋅ ) ∥ 1 2 \xi(\widehat{P},P):=\sqrt{\sum_{j=1}^{d}\|\widehat{P}_{(j,\cdot)}-P_{(j,\cdot)}\|_{1}^{2}} ξ ( P , P ) := ∑ j = 1 d ∥ P ( j , ⋅ ) − P ( j , ⋅ ) ∥ 1 2 . Thus ξ \xi ξ is an ℓ 2 \ell_{2} ℓ 2 norm over product coordinates, with an ℓ 1 \ell_{1} ℓ 1 error within each coordinate. Theorem 45 proves N ≳ d k α ε m log 2 ( ( α ε ) − 1 e d k ) N\gtrsim\frac{dk}{\alpha\varepsilon\sqrt{m}\log^{2}((\alpha\varepsilon)^{-1}edk)} N ≳ α ε m l o g 2 (( α ε ) − 1 e d k ) d k . However, the utility guarantee upper-bounds a different norm of the difference between the estimated and actual matrices. Thus, the lower bound is adjusted for the utility guarantee stated in Theorem 43 via a change of norm to align with the norm in the stated utility guarantee in Theorem 43 . Additionally, since the user lower bound applies to an expected-utility guarantee, a median-of-means trick is used to show the lower bound for a stronger constant-probability utility condition yielding the second term of the lower bound.
The final bound simply follows from the sample-complexity lower bound for achieving the desired utility for this task without any privacy considerations. This is made rigorous in the proof of Theorem 43 .
We formalize the aforementioned sketch of the proof below. Before proving the above theorem, we require two results which we prove later.
Lemma 44 (User lower bound via packing) Let ε ≤ 1 \varepsilon\leq1 ε ≤ 1 , δ ≤ ε 2 \delta\leq\varepsilon^{2} δ ≤ ε 2 , and k ≥ 40 k\geq40 k ≥ 40 . Suppose that A \mathcal{A} A is an ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -user-level differentially private estimator using N N N users, each contributing m m m samples, which outputs P ^ ∈ P d , k \widehat{P}\in\mathcal{P}_{d,k} P ∈ P d , k and that for each P ∈ P d , k P\in\mathcal{P}_{d,k} P ∈ P d , k , satisfies
P ( ρ ( P ^ , P ) ≤ α ) ≥ 2 3 . \mathbb{P}\left(\rho(\widehat{P},P)\leq\alpha\right)\geq\frac{2}{3}. P ( ρ ( P , P ) ≤ α ) ≥ 3 2 . Then
N ≳ 1 ε min { k d , log ( 1 δ ) } . N\gtrsim\frac{1}{\varepsilon}\min\left\{kd,\log\left(\frac{1}{\delta}\right)\right\}. N ≳ ε 1 min { k d , log ( δ 1 ) } .
Theorem 45 (Sample Lower Bound under approximate DP) Let 0 < ε ≤ 1 0<\varepsilon\leq1 0 < ε ≤ 1 , 0 < α ≤ d 48 2 0<\alpha\leq\frac{\sqrt{d}}{48\sqrt{2}} 0 < α ≤ 48 2 d , and δ ≤ C δ ε d k \delta\leq\frac{C_{\delta}\varepsilon}{\sqrt{dk}} δ ≤ d k C δ ε . Define
ξ ( P ^ , P ) : = ∑ j = 1 d ∥ P ^ ( j , ⋅ ) − P ( j , ⋅ ) ∥ 1 2 . \xi(\widehat{P},P):=\sqrt{\sum_{j=1}^{d}\|\widehat{P}_{(j,\cdot)}-P_{(j,\cdot)}\|_{1}^{2}}. ξ ( P , P ) := j = 1 ∑ d ∥ P ( j , ⋅ ) − P ( j , ⋅ ) ∥ 1 2 . There exists a universal constant C δ > 0 C_{\delta}>0 C δ > 0 such that the following holds. Suppose A \mathcal{A} A is an ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -user-level differentially private estimator which outputs P ^ ∈ P d , k \widehat{P}\in\mathcal{P}_{d,k} P ∈ P d , k satisfying
sup P ∈ P d , k E P [ ξ ( P ^ , P ) 2 ] ≤ α 2 \sup_{P\in\mathcal{P}_{d,k}}\mathbb{E}_{P}\left[\xi(\widehat{P},P)^{2}\right]\leq\alpha^{2} P ∈ P d , k sup E P [ ξ ( P , P ) 2 ] ≤ α 2 then
N ≳ d k α ε m log 2 ( ( α ε ) − 1 e d k ) . (4) N\gtrsim\frac{dk}{\alpha\varepsilon\sqrt{m}\log^{2}\left((\alpha\varepsilon)^{-1}edk\right)}. \tag*{(4)} N ≳ α ε m log 2 ( ( α ε ) − 1 e d k ) d k . (4)
We first show how Lemma 44 and Theorem 45 imply Theorem 43 .
Proof of Theorem 43 For any ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -user-level DP estimator with N N N users, we simply have to exhibit three instances in the same class, one yielding each term. The lower bound of N ≳ 1 ε min { k d , log ( 1 δ ) } N\gtrsim\frac{1}{\varepsilon}\min\left\{kd,\log\left(\frac{1}{\delta}\right)\right\} N ≳ ε 1 min { k d , log ( δ 1 ) } directly follows by Lemma 44 from the accuracy guarantee and the conditions on ε \varepsilon ε and δ \delta δ . We now prove the lower bounds due to private term and sampling term separately.
Sampling Term We use the standard fact that learning an arbitrary distribution on [ k ] [k] [ k ] to total-variation accuracy η \eta η with success probability at least 2 / 3 2/3 2/3 requires Ω ( k / η 2 ) \Omega(k/\eta^2) Ω ( k / η 2 ) samples; see, for example, Theorem 1 of Canonne [9 ] . Let u k u_k u k denote the uniform distribution on [ k ] [k] [ k ] and consider the subclass
P ′ : = { p ⊗ u k ⊗ ( d − 1 ) : p ∈ Δ ( k ) } ⊆ P d , k . \mathcal{P}' := \left\{p \otimes u_k^{\otimes(d-1)} : p \in\Delta(k)\right\} \subseteq\mathcal{P}_{d,k}. P ′ := { p ⊗ u k ⊗ ( d − 1 ) : p ∈ Δ ( k ) } ⊆ P d , k .
Suppose that Y i , t ∼ p Y_{i,t} \sim p Y i , t ∼ p independently for i ∈ [ N ] i \in[N] i ∈ [ N ] and t ∈ [ m ] t \in[m] t ∈ [ m ] . Independently generate
U i , t , j ∼ u k , i ∈ [ N ] , t ∈ [ m ] , j = 2 , … , d , U_{i,t,j} \sim u_k,\qquad i \in[N],\ t \in[m],\ j=2,\ldots,d, U i , t , j ∼ u k , i ∈ [ N ] , t ∈ [ m ] , j = 2 , … , d ,
and form X i , t : = ( Y i , t , U i , t , 2 , … , U i , t , d ) X_{i,t}:=(Y_{i,t},U_{i,t,2},\ldots,U_{i,t,d}) X i , t := ( Y i , t , U i , t , 2 , … , U i , t , d ) . Then the resulting dataset has exactly the law of N N N users, each with m m m independent samples from P p : = p ⊗ u k ⊗ ( d − 1 ) P_p:=p\otimes u_k^{\otimes(d-1)} P p := p ⊗ u k ⊗ ( d − 1 ) . Run the assumed estimator on this dataset and output its first estimated marginal p ^ 1 \widehat p_1 p 1 . Since
2 d T V ( p ^ 1 , p ) ≤ ∥ p ^ 1 − p ∥ 1 ≤ ρ ( P ^ , P p ) , 2d_{\mathrm{TV}}(\widehat p_1,p)\leq\|\widehat p_1-p\|_1\leq\rho(\widehat P,P_p), 2 d TV ( p 1 , p ) ≤ ∥ p 1 − p ∥ 1 ≤ ρ ( P , P p ) ,
the assumed guarantee implies
inf p ∈ Δ ( k ) P p ( d T V ( p ^ 1 , p ) ≤ α 2 ) ≥ 2 3 . \inf_{p\in\Delta(k)}\mathbb{P}_p\left(d_{\mathrm{TV}}(\widehat p_1,p)\leq\frac{\alpha}{2}\right)\geq\frac{2}{3}. p ∈ Δ ( k ) inf P p ( d TV ( p 1 , p ) ≤ 2 α ) ≥ 3 2 .
The constant-probability sampling lower bound for learning an arbitrary distribution on [ k ] [k] [ k ] in total variation implies
N m ≳ k α 2 . Nm\gtrsim\frac{k}{\alpha^2}. N m ≳ α 2 k .
This proves the sampling lower bound.
Privacy Term To establish the privacy term, we first apply a norm comparison and then a median-based amplification argument to convert the expected-error lower bound into a constant-probability lower bound, losing only logarithmic factors. The amplification preserves user-level privacy by operating on disjoint blocks of users.
Fix 0 < α ≤ 1 48 2 0<\alpha\leq\frac{1}{48\sqrt{2}} 0 < α ≤ 48 2 1 . We prove this by contradiction. Assume that there exists an estimator A \mathcal{A} A which satisfies Equation (2) but does not satisfy not (3) . Since ξ ( P ^ , P ) ≤ d ρ ( P ^ , P ) \xi(\widehat P,P)\leq\sqrt d\rho(\widehat P,P) ξ ( P , P ) ≤ d ρ ( P , P ) , this implies that A \mathcal{A} A satisfies
inf P ∈ P d , k P ( ξ ( P ^ , P ) ≤ α d ) ≥ 2 3 . (5) \inf_{P\in\mathcal{P}_{d,k}}\mathbb{P}\left(\xi(\widehat P,P)\leq\alpha\sqrt d\right)\geq\frac{2}{3}. \tag*{(5)} P ∈ P d , k inf P ( ξ ( P , P ) ≤ α d ) ≥ 3 2 . (5)
Let R = ⌈ C 1 log ( e / α ) ⌉ R=\lceil C_1\log(e/\alpha)\rceil R = ⌈ C 1 log ( e / α )⌉ , where C 1 > 0 C_1>0 C 1 > 0 is a universal constant to be determined. Split the R N RN R N users into R R R disjoint blocks of size N N N . Run A \mathcal{A} A independently on each block, obtaining candidate estimates P ^ ( 1 ) , … , P ^ ( R ) \widehat P^{(1)},\ldots,\widehat P^{(R)} P ( 1 ) , … , P ( R ) . Let E r E_r E r be the event
E r = { ξ ( P ^ ( r ) , P ) ≤ α d 3 2 } . E_r=\left\{\xi(\widehat P^{(r)},P)\leq\frac{\alpha\sqrt d}{3\sqrt{2}}\right\}. E r = { ξ ( P ( r ) , P ) ≤ 3 2 α d } .
The events E 1 , … , E R E_1,\ldots,E_R E 1 , … , E R are independent and each has probability at least 2 / 3 2/3 2/3 by (5) . Hence, choosing C 1 > 0 C_1>0 C 1 > 0 sufficiently large, a Chernoff bound gives
P ( ∑ r = 1 R 1 { E r } < 3 R 5 ) ≤ exp ( − c R ) ≤ α 2 8 . (6) \mathbb{P}\left(\sum_{r=1}^{R}\mathbf{1}\{E_r\}<\frac{3R}{5}\right)\leq\exp(-cR)\leq\frac{\alpha^2}{8}. \tag*{(6)} P ( r = 1 ∑ R 1 { E r } < 5 3 R ) ≤ exp ( − c R ) ≤ 8 α 2 . (6)
We now define the aggregation rule. The loss ξ \xi ξ is a metric: each coordinate error ∥ p j − q j ∥ 1 \lVert p_j-q_j\rVert_1 ∥ p j − q j ∥ 1 is a metric, and applying the ℓ 2 \ell_2 ℓ 2 norm across coordinates preserves the triangle inequality by Minkowski’s inequality. For a candidate Q r : = P ^ ( r ) Q_r := \widehat{P}^{(r)} Q r := P ( r ) , define
η r : = inf { t ≥ 0 : ∣ { s ∈ [ R ] : ξ ( Q r , Q s ) ≤ t } ∣ ≥ R 2 } . \eta_r := \inf\left\{t \ge0 : \left|\left\{s \in[R] : \xi(Q_r,Q_s) \le t\right\}\right| \ge\frac{R}{2}\right\}. η r := inf { t ≥ 0 : ∣ { s ∈ [ R ] : ξ ( Q r , Q s ) ≤ t } ∣ ≥ 2 R } .
Choose r ⋆ ∈ arg min r ∈ [ R ] η r r_\star\in\arg\min_{r\in[R]} \eta_r r ⋆ ∈ arg min r ∈ [ R ] η r and output P ^ m e d = Q r ⋆ \widehat{P}^{\mathrm{med}} = Q_{r_\star} P med = Q r ⋆ .
We define a candidate r r r to be good if E r E_r E r holds. On the event that at least 3 R 5 \frac{3R}{5} 5 3 R candidates are good, P ^ m e d \widehat{P}^{\mathrm{med}} P med is close to P P P . Indeed, if g g g is good, then every other good candidate lies within distance at most 2 3 α d \frac{\sqrt{2}}{3}\alpha\sqrt{d} 3 2 α d of Q g Q_g Q g by the triangle inequality. Since there are more than R 2 \frac{R}{2} 2 R good candidates, η g ≤ 2 3 α d \eta_g \le\frac{\sqrt{2}}{3}\alpha\sqrt{d} η g ≤ 3 2 α d . By minimality of r ⋆ r_\star r ⋆ , η r ⋆ ≤ 2 3 α d \eta_{r_\star} \le\frac{\sqrt{2}}{3}\alpha\sqrt{d} η r ⋆ ≤ 3 2 α d . Thus at least R 2 \frac{R}{2} 2 R candidates lie within distance 2 3 α \frac{\sqrt{2}}{3}\alpha 3 2 α of Q r ⋆ Q_{r_\star} Q r ⋆ . This set must intersect the set of good candidates, because the good candidates have cardinality larger than R 2 \frac{R}{2} 2 R . Pick a good candidate Q s Q_s Q s in the intersection. Then
ξ ( Q r ⋆ , P ) ≤ ξ ( Q r ⋆ , Q s ) + ξ ( Q s , P ) ≤ α d 2 . \xi(Q_{r_\star},P) \le\xi(Q_{r_\star},Q_s)+\xi(Q_s,P) \le\frac{\alpha\sqrt{d}}{\sqrt{2}}. ξ ( Q r ⋆ , P ) ≤ ξ ( Q r ⋆ , Q s ) + ξ ( Q s , P ) ≤ 2 α d .
Therefore, with probability at least 1 − α 2 8 1-\frac{\alpha^2}{8} 1 − 8 α 2 , ξ ( P ^ m e d , P ) ≤ α d 2 \xi(\widehat{P}^{\mathrm{med}},P) \le\frac{\alpha\sqrt{d}}{\sqrt{2}} ξ ( P med , P ) ≤ 2 α d . Since the loss is uniformly bounded by ξ 2 ≤ 4 d \xi^2 \le4d ξ 2 ≤ 4 d , we have
E P ξ ( P ^ m e d , P ) 2 ≤ α 2 d 2 + 4 d ⋅ α 2 8 ≤ α 2 d . (7) \mathbb{E}_P\xi(\widehat{P}^{\mathrm{med}},P)^2 \le\frac{\alpha^2d}{2}+4d\cdot\frac{\alpha^2}{8}\le\alpha^2d. \tag*{(7)} E P ξ ( P med , P ) 2 ≤ 2 α 2 d + 4 d ⋅ 8 α 2 ≤ α 2 d . (7)
The amplified estimator is still ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -user-level DP. This follows from parallel composition: the R R R invocations of A \mathcal{A} A are run on disjoint sets of users, so changing one user can affect only one invocation. The final metric median is a post-processing step. Since α d ≤ d 48 2 \alpha\sqrt{d}\le\frac{\sqrt{d}}{48\sqrt{2}} α d ≤ 48 2 d , apply Theorem 45 to A m e d \mathcal{A}^{\mathrm{med}} A med , which uses R N RN R N users and m m m samples per user. From (7) ,
R N m ≳ k d α ε log 2 ( e d k / ( α ε ) ) . RN\sqrt{m}\gtrsim\frac{k\sqrt{d}}{\alpha\varepsilon\log^2(edk/(\alpha\varepsilon))}. R N m ≳ α ε log 2 ( e d k / ( α ε )) k d .
Since R = Θ ( log ( e d / α ) ) R=\Theta(\log(ed/\alpha)) R = Θ ( log ( e d / α )) , this implies
N m ≳ k d α ε log ℓ ( e d k / ( α ε ) ) . (8) N\sqrt{m}\gtrsim\frac{k\sqrt{d}}{\alpha\varepsilon\log^\ell(edk/(\alpha\varepsilon))}. \tag*{(8)} N m ≳ α ε log ℓ ( e d k / ( α ε )) k d . (8)
Proof of Theorem 45
We now prove Theorem 45 . In a nutshell, our proof can be divided into three broad parts.
Motivated by techniques from Esfandiari et al. [15 ] , we then prove a lower bound on the sample complexity for privately estimating the parameters of the Poisson Estimation Problem via fingerprinting arguments. The fingerprinting identity essentially states that an accurate estimator must have a sufficient correlation with the users’ likelihood scores. On the other hand, approximate item-level privacy upper bounds this correlation. The well-behaved nature of the Poisson distribution makes this computation explicit and easy to analyze.
We begin by defining the Poisson Estimation Problem.
Definition 46 (Poisson Estimation Problem). Let q ∈ [ 0 , 1 ] q \in[0,1] q ∈ [ 0 , 1 ] and r ≤ q 4 r \le\frac{q}{4} r ≤ 4 q . For each i ∈ [ N ] i \in[N] i ∈ [ N ] and ℓ ∈ [ D ] \ell\in[D] ℓ ∈ [ D ] , draw independent counts X i , ℓ + ∼ Pois ( m ( q + θ ℓ ) ) X^{+}_{i,\ell} \sim\operatorname{Pois}\left(m\left(q+\theta_{\ell}\right)\right) X i , ℓ + ∼ Pois ( m ( q + θ ℓ ) ) and X i , ℓ − ∼ Pois ( m ( q − θ ℓ ) ) X^{-}_{i,\ell} \sim\operatorname{Pois}\left(m\left(q-\theta_{\ell}\right)\right) X i , ℓ − ∼ Pois ( m ( q − θ ℓ ) ) , where ∣ θ ℓ ∣ ≤ r \lvert\theta_{\ell}\rvert\le r ∣ θ ℓ ∣ ≤ r . The i t h i^{\mathrm{th}} i th data-point consists of the full block X i = { X i , ℓ + , X i , ℓ − : ℓ ∈ [ D ] } X_i = \{X^{+}_{i,\ell}, X^{-}_{i,\ell} : \ell\in[D]\} X i = { X i , ℓ + , X i , ℓ − : ℓ ∈ [ D ]} . Neighboring datasets differ in one such block. An algorithm B \mathcal{B} B solves the Poisson Estimation Problem with α \alpha α accuracy if for every θ ∈ [ − r , r ] D \theta\in[-r,r]^D θ ∈ [ − r , r ] D , it outputs an estimate θ ^ ∈ [ − r , r ] D \hat{\theta} \in[-r,r]^D θ ^ ∈ [ − r , r ] D that satisfies E [ ∥ θ ^ − θ ∥ 2 2 ] ≤ α \mathbb{E}\left[\lVert\hat{\theta}-\theta\rVert_2^2\right] \le\alpha E [ ∥ θ ^ − θ ∥ 2 2 ] ≤ α .
We use fingerprinting techniques developed in Esfandiari et al. [15 ] and Kamath et al. [23 ] to prove this lower bound. It is important to note that we cannot directly use the fingerprinting results from Esfandiari et al. [15 ] since we are solving a different Poisson estimation problem. Thus, for our case, we require new computations to accommodate the new structure of the intermediate problem. However, the computations use insights proposed in Esfandiari et al. [15 ] and Kamath et al. [23 ] .
Note that a direct extension of the reduction in Esfandiari et al. [15 ] to multiple dimensions encounters a normalization issue due to the nature of their reduction. Their hard instance consists of independent Poisson counts with means m λ 1 , … , m λ k m\lambda_1,\ldots,m\lambda_k m λ 1 , … , m λ k , where the vector λ \lambda λ need not sum to one. Expanding these counts into categorical observations therefore produces samples from the normalized distribution λ / s \lambda/s λ / s , where s : = ∑ a = 1 k λ a s := \sum_{a=1}^{k}\lambda_a s := ∑ a = 1 k λ a . To recover the original Poisson means, the reduction must estimate both λ / s \lambda/s λ / s and the total intensity s s s , with the latter requiring an additional private one-dimensional estimation step. For a single k k k -ary distribution, the resulting loss in privacy and accuracy can be absorbed into constant factors. In our setting, this normalization must be estimated separately for each of the d d d rows. The resulting d d d normalization errors accumulate as their ℓ 2 \ell_2 ℓ 2 norm, introducing an additional factor of d \sqrt{d} d in the mixed loss; moreover, since the same users contribute to every row, these estimates do not benefit from parallel composition.
We avoid this difficulty by considering a paired Poisson family. Within each row, the categories are grouped into pairs and their means are perturbed in opposite directions, for example,
λ j , 2 a − 1 = 1 k + θ j , a , λ j , 2 a = 1 k − θ j , a . \lambda_{j,2a-1} = \frac{1}{k} + \theta_{j,a}, \qquad\lambda_{j,2a} = \frac{1}{k} - \theta_{j,a}. λ j , 2 a − 1 = k 1 + θ j , a , λ j , 2 a = k 1 − θ j , a .
Thus, the total intensity of every pair, and consequently of every row, is fixed independently of the unknown parameters { θ j , a } \{\theta_{j,a}\} { θ j , a } . The realized Poisson counts remain random, but their total mean is known, so no private row-wise normalization estimate is needed. The hard family therefore varies only through the imbalance within each pair. At the same time, the individual counts remain independent Poisson variables, allowing the Poisson score identity and the associated fingerprinting argument to be applied as before. This retains the advantages of Poissonization while avoiding the extraneous d \sqrt{d} d accumulation caused by estimating d d d unknown normalization factors.
We now prove the sample complexity necessary to achieve D r 2 12 \frac{D r^2}{12} 12 D r 2 accuracy while preserving ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) item level DP for the Poisson Estimation Problem.
Lemma 47 (Paired Poisson score identity) Fix positive integers m m m , N N N , a number q > 0 q>0 q > 0 , and a radius 0 ≤ r ≤ q 2 0\le r\le\frac{q}{2} 0 ≤ r ≤ 2 q . For each parameter value θ ∈ [ − r , r ] \theta\in[-r,r] θ ∈ [ − r , r ] , let X + = ( X 1 + , … , X N + ) X^{+}=(X^{+}_{1},\ldots,X^{+}_{N}) X + = ( X 1 + , … , X N + ) and X − = ( X 1 − , … , X N − ) X^{-}=(X^{-}_{1},\ldots,X^{-}_{N}) X − = ( X 1 − , … , X N − ) where { X i + } i = 1 N ∼ i . i . d . Pois ( m ( q + θ ) ) \{X^{+}_{i}\}_{i=1}^{N}\mathrel{\overset{\mathrm{i.i.d.}}{\sim}}\operatorname{Pois}(m(q+\theta)) { X i + } i = 1 N ∼ i.i.d. Pois ( m ( q + θ )) and { X i − } i = 1 N ∼ i . i . d . Pois ( m ( q − θ ) ) \{X^{-}_{i}\}_{i=1}^{N}\mathrel{\overset{\mathrm{i.i.d.}}{\sim}}\operatorname{Pois}(m(q-\theta)) { X i − } i = 1 N ∼ i.i.d. Pois ( m ( q − θ )) . Let P θ \mathbb{P}_{\theta} P θ denote the joint probability distribution function of ( X + , X − ) (X^{+},X^{-}) ( X + , X − ) . For each θ ∈ [ − r , r ] \theta\in[-r,r] θ ∈ [ − r , r ] , define g ( θ ) = E P θ [ f ( X + , X − ) ] g(\theta)=\mathbb{E}_{\mathbb{P}_{\theta}}[f(X^{+},X^{-})] g ( θ ) = E P θ [ f ( X + , X − )] where f : Z ≥ 0 2 N → R f:\mathbb{Z}_{\ge0}^{2N}\to\mathbb{R} f : Z ≥ 0 2 N → R is a bounded measurable function over θ ∈ [ − r , r ] \theta\in[-r,r] θ ∈ [ − r , r ] . Then, the derivative of g g g satisfies
g ′ ( θ ) = E θ [ f ( X + , X − ) ∑ i = 1 N { X i + − m ( q + θ ) q + θ − X i − − m ( q − θ ) q − θ } ] . g'(\theta)=\mathbb{E}_{\theta}\left[f(X^{+},X^{-})\sum_{i=1}^{N}\left\{\frac{X^{+}_{i}-m(q+\theta)}{q+\theta}-\frac{X^{-}_{i}-m(q-\theta)}{q-\theta}\right\}\right]. g ′ ( θ ) = E θ [ f ( X + , X − ) i = 1 ∑ N { q + θ X i + − m ( q + θ ) − q − θ X i − − m ( q − θ ) } ] .
Proof. Write x + = ( x 1 + , … , x N + ) ∈ Z ≥ 0 N x^{+}=(x^{+}_{1},\ldots,x^{+}_{N})\in\mathbb{Z}_{\ge0}^{N} x + = ( x 1 + , … , x N + ) ∈ Z ≥ 0 N , x − = ( x 1 − , … , x N − ) ∈ Z ≥ 0 N x^{-}=(x^{-}_{1},\ldots,x^{-}_{N})\in\mathbb{Z}_{\ge0}^{N} x − = ( x 1 − , … , x N − ) ∈ Z ≥ 0 N and define ∣ x + ∣ = ∑ i = 1 N x i + |x^{+}|=\sum_{i=1}^{N}x^{+}_{i} ∣ x + ∣ = ∑ i = 1 N x i + , ∣ x − ∣ = ∑ i = 1 N x i − |x^{-}|=\sum_{i=1}^{N}x^{-}_{i} ∣ x − ∣ = ∑ i = 1 N x i − , x + ! = ∏ i = 1 N x i + ! x^{+}!=\prod_{i=1}^{N}x^{+}_{i}! x + ! = ∏ i = 1 N x i + ! , and x − ! = ∏ i = 1 N x i − ! x^{-}!=\prod_{i=1}^{N}x^{-}_{i}! x − ! = ∏ i = 1 N x i − ! . For a fixed parameter value θ ∈ [ − r , r ] \theta\in[-r,r] θ ∈ [ − r , r ] , the joint probability mass function of the counts is
P θ ( X + = x + , X − = x − ) = ∏ i = 1 N [ e − m ( q + θ ) ( m ( q + θ ) ) x i + x i + ! ] ∏ i = 1 N [ e − m ( q − θ ) ( m ( q − θ ) ) x i − x i − ! ] = e − m N ( q + θ ) e − m N ( q − θ ) m ∣ x + ∣ + ∣ x − ∣ ( q + θ ) ∣ x + ∣ ( q − θ ) ∣ x − ∣ x + ! x − ! . \begin{aligned}
\mathbb{P}_{\theta}(X^{+}=x^{+},X^{-}=x^{-})=\prod_{i=1}^{N}\left[e^{-m(q+\theta)}\frac{(m(q+\theta))^{x^{+}_{i}}}{x^{+}_{i}!}\right]\prod_{i=1}^{N}\left[e^{-m(q-\theta)}\frac{(m(q-\theta))^{x^{-}_{i}}}{x^{-}_{i}!}\right] \\
&=e^{-mN(q+\theta)}e^{-mN(q-\theta)}\frac{m^{|x^{+}|+|x^{-}|}(q+\theta)^{|x^{+}|}(q-\theta)^{|x^{-}|}}{x^{+}!x^{-}!}.
\end{aligned} P θ ( X + = x + , X − = x − ) = i = 1 ∏ N [ e − m ( q + θ ) x i + ! ( m ( q + θ ) ) x i + ] i = 1 ∏ N [ e − m ( q − θ ) x i − ! ( m ( q − θ ) ) x i − ] = e − m N ( q + θ ) e − m N ( q − θ ) x + ! x − ! m ∣ x + ∣ + ∣ x − ∣ ( q + θ ) ∣ x + ∣ ( q − θ ) ∣ x − ∣ .
Since ( q + θ ) + ( q − θ ) = 2 q (q+\theta)+(q-\theta)=2q ( q + θ ) + ( q − θ ) = 2 q , the exponential factor is independent of θ \theta θ . Therefore,
P θ ( X + = x + , X − = x − ) = e − 2 m N q m ∣ x + ∣ + ∣ x − ∣ ( q + θ ) ∣ x + ∣ ( q − θ ) ∣ x − ∣ x + ! x − ! . \mathbb{P}_{\theta}(X^{+}=x^{+},X^{-}=x^{-})=e^{-2mNq}\frac{m^{|x^{+}|+|x^{-}|}(q+\theta)^{|x^{+}|}(q-\theta)^{|x^{-}|}}{x^{+}!x^{-}!}. P θ ( X + = x + , X − = x − ) = e − 2 m N q x + ! x − ! m ∣ x + ∣ + ∣ x − ∣ ( q + θ ) ∣ x + ∣ ( q − θ ) ∣ x − ∣ .
Hence
g ( θ ) = ∑ x + ∈ Z ≥ 0 N ∑ x − ∈ Z ≥ 0 N f ( x + , x − ) P θ ( X + = x + , X − = x − ) = e − 2 m N q ∑ x + ∈ Z ≥ 0 N ∑ x − ∈ Z ≥ 0 N f ( x + , x − ) m ∣ x + ∣ + ∣ x − ∣ ( q + θ ) ∣ x + ∣ ( q − θ ) ∣ x − ∣ x + ! x − ! . \begin{aligned}
g(\theta)=\sum_{x^{+}\in\mathbb{Z}_{\ge0}^{N}}\sum_{x^{-}\in\mathbb{Z}_{\ge0}^{N}}f(x^{+},x^{-})\mathbb{P}_{\theta}(X^{+}=x^{+},X^{-}=x^{-}) \\
&=e^{-2mNq}\sum_{x^{+}\in\mathbb{Z}_{\ge0}^{N}}\sum_{x^{-}\in\mathbb{Z}_{\ge0}^{N}}f(x^{+},x^{-})\frac{m^{|x^{+}|+|x^{-}|}(q+\theta)^{|x^{+}|}(q-\theta)^{|x^{-}|}}{x^{+}!x^{-}!}.
\end{aligned} g ( θ ) = x + ∈ Z ≥ 0 N ∑ x − ∈ Z ≥ 0 N ∑ f ( x + , x − ) P θ ( X + = x + , X − = x − ) = e − 2 m N q x + ∈ Z ≥ 0 N ∑ x − ∈ Z ≥ 0 N ∑ f ( x + , x − ) x + ! x − ! m ∣ x + ∣ + ∣ x − ∣ ( q + θ ) ∣ x + ∣ ( q − θ ) ∣ x − ∣ .
We now prove the differentiability of g ( θ ) g(\theta) g ( θ ) and derive the exact form of its derivative. First fix ( x + , x − ) ∈ Z ≥ 0 2 N (x^{+},x^{-})\in\mathbb{Z}_{\ge0}^{2N} ( x + , x − ) ∈ Z ≥ 0 2 N . Differentiating ( q + θ ) ∣ x + ∣ ( q − θ ) ∣ x − ∣ (q+\theta)^{|x^{+}|}(q-\theta)^{|x^{-}|} ( q + θ ) ∣ x + ∣ ( q − θ ) ∣ x − ∣ , we get:
d d θ [ ( q + θ ) ∣ x + ∣ ( q − θ ) ∣ x − ∣ ] = ∣ x + ∣ ( q + θ ) ∣ x + ∣ − 1 ( q − θ ) ∣ x − ∣ − ∣ x − ∣ ( q + θ ) ∣ x + ∣ ( q − θ ) ∣ x − ∣ − 1 = ( q + θ ) ∣ x + ∣ ( q − θ ) ∣ x − ∣ ( ∣ x + ∣ q + θ − ∣ x − ∣ q − θ ) . \begin{aligned}
\frac{d}{d\theta}\left[(q+\theta)^{|x^{+}|}(q-\theta)^{|x^{-}|}\right]=|x^{+}|(q+\theta)^{|x^{+}|-1}(q-\theta)^{|x^{-}|}-|x^{-}|(q+\theta)^{|x^{+}|}(q-\theta)^{|x^{-}|-1} \\
&=(q+\theta)^{|x^{+}|}(q-\theta)^{|x^{-}|}\left(\frac{|x^{+}|}{q+\theta}-\frac{|x^{-}|}{q-\theta}\right).
\end{aligned} d θ d [ ( q + θ ) ∣ x + ∣ ( q − θ ) ∣ x − ∣ ] = ∣ x + ∣ ( q + θ ) ∣ x + ∣ − 1 ( q − θ ) ∣ x − ∣ − ∣ x − ∣ ( q + θ ) ∣ x + ∣ ( q − θ ) ∣ x − ∣ − 1 = ( q + θ ) ∣ x + ∣ ( q − θ ) ∣ x − ∣ ( q + θ ∣ x + ∣ − q − θ ∣ x − ∣ ) .
Thus, we have
d d θ P θ ( X + = x + , X − = x − ) = P θ ( X + = x + , X − = x − ) ( ∣ x + ∣ q + θ − ∣ x − ∣ q − θ ) . \frac{d}{d\theta}\mathbb{P}_{\theta}(X^{+}=x^{+},X^{-}=x^{-})=\mathbb{P}_{\theta}(X^{+}=x^{+},X^{-}=x^{-})\left(\frac{|x^{+}|}{q+\theta}-\frac{|x^{-}|}{q-\theta}\right). d θ d P θ ( X + = x + , X − = x − ) = P θ ( X + = x + , X − = x − ) ( q + θ ∣ x + ∣ − q − θ ∣ x − ∣ ) .
Series of Derivatives Converges Let ∥ f ∥ ∞ ≤ B \lVert f\rVert_{\infty} \le B ∥ f ∥ ∞ ≤ B . Fix a compact interval J ⊂ ( − q , q ) J \subset(-q,q) J ⊂ ( − q , q ) . Since ( q + θ ) (q+\theta) ( q + θ ) and ( q − θ ) (q-\theta) ( q − θ ) are positive and continuous on J J J , there exist constants 0 < a < b < ∞ 0<a<b<\infty 0 < a < b < ∞ such that a ≤ ( q + θ ) , ( q − θ ) ≤ b a\le(q+\theta),(q-\theta)\le b a ≤ ( q + θ ) , ( q − θ ) ≤ b for all θ ∈ J \theta\in J θ ∈ J . For θ ∈ J \theta\in J θ ∈ J , using the derivative formula above,
∣ f ( x + , x − ) d d θ P θ ( X + = x + , X − = x − ) ∣ ≤ B P θ ( X + = x + , X − = x − ) ( ∣ x + ∣ a + ∣ x − ∣ a ) ≤ B a ( ∣ x + ∣ + ∣ x − ∣ ) m ∣ x + ∣ + ∣ x − ∣ b ∣ x + ∣ + ∣ x − ∣ x + ! x − ! . \begin{aligned}
\left|f(x^+,x^-)\frac{d}{d\theta}\mathbb{P}_{\theta}(X^+=x^+,X^-=x^-)\right|
\le B\mathbb{P}_{\theta}(X^+=x^+,X^-=x^-)\left(\frac{|x^+|}{a}+\frac{|x^-|}{a}\right) \\
&\le\frac{B}{a}(|x^+|+|x^-|)\frac{m^{|x^+|+|x^-|}b^{|x^+|+|x^-|}}{x^+!x^-!}.
\end{aligned} f ( x + , x − ) d θ d P θ ( X + = x + , X − = x − ) ≤ B P θ ( X + = x + , X − = x − ) ( a ∣ x + ∣ + a ∣ x − ∣ ) ≤ a B ( ∣ x + ∣ + ∣ x − ∣ ) x + ! x − ! m ∣ x + ∣ + ∣ x − ∣ b ∣ x + ∣ + ∣ x − ∣ .
The right-hand side is summable over ( x + , x − ) ∈ Z ≥ 0 2 n (x^+,x^-)\in\mathbb{Z}_{\geq0}^{2n} ( x + , x − ) ∈ Z ≥ 0 2 n . Indeed,
∑ x + ∈ Z ≥ 0 N ∑ x − ∈ Z ≥ 0 N ( ∣ x + ∣ + ∣ x − ∣ ) ( m b ) ∣ x + ∣ + ∣ x − ∣ x + ! x − ! = ∑ z ∈ Z ≥ 0 2 n ( ∑ j = 1 2 N z j ) ∏ j = 1 2 N ( m b ) z j z j ! < ∞ . \sum_{x^+\in\mathbb{Z}_{\geq0}^{N}}\sum_{x^-\in\mathbb{Z}_{\geq0}^{N}}(|x^+|+|x^-|)\frac{(mb)^{|x^+|+|x^-|}}{x^+!x^-!}
=
\sum_{z\in\mathbb{Z}_{\geq0}^{2n}}\left(\sum_{j=1}^{2N}z_j\right)\prod_{j=1}^{2N}\frac{(mb)^{z_j}}{z_j!}<\infty. x + ∈ Z ≥ 0 N ∑ x − ∈ Z ≥ 0 N ∑ ( ∣ x + ∣ + ∣ x − ∣ ) x + ! x − ! ( mb ) ∣ x + ∣ + ∣ x − ∣ = z ∈ Z ≥ 0 2 n ∑ ( j = 1 ∑ 2 N z j ) j = 1 ∏ 2 N z j ! ( mb ) z j < ∞.
The last inequality follows from Lemma 20. Thus, on every compact interval J ⊂ ( − q , q ) J\subset(-q,q) J ⊂ ( − q , q ) , the derivatives of the summands are dominated uniformly in θ ∈ J \theta\in J θ ∈ J by a summable sequence. By the Weierstrass M M M -test (Rudin, [31 ] , Theorem 7.10), we obtain that
∑ x + ∈ Z ≥ 0 N ∑ x − ∈ Z ≥ 0 N f ( x + , x − ) d d θ P θ ( X + = x + , X − = x − ) \sum_{x^+\in\mathbb{Z}_{\geq0}^{N}}\sum_{x^-\in\mathbb{Z}_{\geq0}^{N}}f(x^+,x^-)\frac{d}{d\theta}\mathbb{P}_{\theta}(X^+=x^+,X^-=x^-) x + ∈ Z ≥ 0 N ∑ x − ∈ Z ≥ 0 N ∑ f ( x + , x − ) d θ d P θ ( X + = x + , X − = x − )
converges uniformly over [ − r , r ] [-r,r] [ − r , r ] . Moreover, g ( 0 ) ≤ B < ∞ g(0)\le B<\infty g ( 0 ) ≤ B < ∞ . Hence, applying Rudin [31 ] shows that g ( θ ) g(\theta) g ( θ ) is differentiable and g ′ ( θ ) g'(\theta) g ′ ( θ ) is equal to the sum above. Therefore,
g ′ ( θ ) = ∑ x + ∈ Z ≥ 0 N ∑ x − ∈ Z ≥ 0 N f ( x + , x − ) d d θ P θ ( X + = x + , X − = x − ) = ∑ x + ∈ Z ≥ 0 N ∑ x − ∈ Z ≥ 0 N f ( x + , x − ) P θ ( X + = x + , X − = x − ) ( ∣ x + ∣ q + θ − ∣ x − ∣ q − θ ) = E θ [ f ( X + , X − ) ( ∑ i = 1 N X i + q + θ − ∑ i = 1 N X i − q − θ ) ] = E θ [ f ( X + , X − ) { ( ∑ i = 1 N X i + q + θ − N m ) − ( ∑ i = 1 N X i − q − θ − N m ) } ] = E θ [ f ( X + , X − ) ∑ i = 1 N { X i + − m ( q + θ ) q + θ − X i − − m ( q − θ ) q − θ } ] . \begin{aligned}
g'(\theta)=\sum_{x^+\in\mathbb{Z}_{\geq0}^{N}}\sum_{x^-\in\mathbb{Z}_{\geq0}^{N}}f(x^+,x^-)\frac{d}{d\theta}\mathbb{P}_{\theta}(X^+=x^+,X^-=x^-) \\
&=\sum_{x^+\in\mathbb{Z}_{\geq0}^{N}}\sum_{x^-\in\mathbb{Z}_{\geq0}^{N}}f(x^+,x^-)\mathbb{P}_{\theta}(X^+=x^+,X^-=x^-)\left(\frac{|x^+|}{q+\theta}-\frac{|x^-|}{q-\theta}\right) \\
&=\mathbb{E}_{\theta}\left[f(X^+,X^-)\left(\frac{\sum_{i=1}^{N}X_i^+}{q+\theta}-\frac{\sum_{i=1}^{N}X_i^-}{q-\theta}\right)\right] \\
&=\mathbb{E}_{\theta}\left[f(X^+,X^-)\left\{\left(\frac{\sum_{i=1}^{N}X_i^+}{q+\theta}-Nm\right)-\left(\frac{\sum_{i=1}^{N}X_i^-}{q-\theta}-Nm\right)\right\}\right] \\
&=\mathbb{E}_{\theta}\left[f(X^+,X^-)\sum_{i=1}^{N}\left\{\frac{X_i^+-m(q+\theta)}{q+\theta}-\frac{X_i^--m(q-\theta)}{q-\theta}\right\}\right].
\end{aligned} g ′ ( θ ) = x + ∈ Z ≥ 0 N ∑ x − ∈ Z ≥ 0 N ∑ f ( x + , x − ) d θ d P θ ( X + = x + , X − = x − ) = x + ∈ Z ≥ 0 N ∑ x − ∈ Z ≥ 0 N ∑ f ( x + , x − ) P θ ( X + = x + , X − = x − ) ( q + θ ∣ x + ∣ − q − θ ∣ x − ∣ ) = E θ [ f ( X + , X − ) ( q + θ ∑ i = 1 N X i + − q − θ ∑ i = 1 N X i − ) ] = E θ [ f ( X + , X − ) { ( q + θ ∑ i = 1 N X i + − N m ) − ( q − θ ∑ i = 1 N X i − − N m ) } ] = E θ [ f ( X + , X − ) i = 1 ∑ N { q + θ X i + − m ( q + θ ) − q − θ X i − − m ( q − θ ) } ] .
Since θ ∈ [ − r , r ] \theta\in[-r,r] θ ∈ [ − r , r ] and r ≤ q 2 r\le\frac{q}{2} r ≤ 2 q , one also has ( q + θ ) , ( q − θ ) ∈ [ q 2 , 3 q 2 ] (q+\theta),(q-\theta)\in\left[\frac{q}{2},\frac{3q}{2}\right] ( q + θ ) , ( q − θ ) ∈ [ 2 q , 2 3 q ] . Hence, the score is integrable and all the above quantities are finite.
Lemma 48 (One-dimensional paired fingerprinting inequality) Let θ ∼ Unif [ − r , r ] \theta\sim\operatorname{Unif}[-r,r] θ ∼ Unif [ − r , r ] , and conditionally on θ \theta θ , let X i + ∼ Pois ( m ( q + θ ) ) X_i^+\sim\operatorname{Pois}(m(q+\theta)) X i + ∼ Pois ( m ( q + θ )) and X i − ∼ Pois ( m ( q − θ ) ) X_i^-\sim\operatorname{Pois}(m(q-\theta)) X i − ∼ Pois ( m ( q − θ )) independently for i = 1 , … , N i=1,\ldots,N i = 1 , … , N . Assume r ≤ q 2 r\le\frac{q}{2} r ≤ 2 q . Let θ ^ = θ ^ ( X ) ∈ [ − r , r ] \widehat{\theta}=\widehat{\theta}(X)\in[-r,r] θ = θ ( X ) ∈ [ − r , r ] be any estimator. Then,
E [ ( θ ^ − θ ) 2 + ( r 2 − θ 2 ) ( θ ^ − θ ) ∑ i = 1 N { X i + − m ( q + θ ) q + θ − X i − − m ( q − θ ) q − θ } ] ≥ r 2 3 . \mathbb{E}\left[(\widehat{\theta}-\theta)^2+(r^2-\theta^2)(\widehat{\theta}-\theta)\sum_{i=1}^{N}\left\{\frac{X_i^+-m(q+\theta)}{q+\theta}-\frac{X_i^--m(q-\theta)}{q-\theta}\right\}\right]\ge\frac{r^2}{3}. E [ ( θ − θ ) 2 + ( r 2 − θ 2 ) ( θ − θ ) i = 1 ∑ N { q + θ X i + − m ( q + θ ) − q − θ X i − − m ( q − θ ) } ] ≥ 3 r 2 . :::`
Proof. Let g ( θ ) = E [ θ ^ ∣ θ ] g(\theta)=\mathbb{E}[\hat{\theta}\mid\theta] g ( θ ) = E [ θ ^ ∣ θ ] . By Lemma 47, applied to the conditional expectation of the estimator over any internal randomness, we have
g ′ ( θ ) = E [ θ ^ ∑ i = 1 N { X i + − m ( q + θ ) q + θ − X i − − m ( q − θ ) q − θ } ∣ θ ] . g'(\theta)=\mathbb{E}\left[\left.\hat{\theta}\sum_{i=1}^{N}\left\{\frac{X_i^+-m(q+\theta)}{q+\theta}-\frac{X_i^--m(q-\theta)}{q-\theta}\right\}\right|\theta\right]. g ′ ( θ ) = E [ θ ^ i = 1 ∑ N { q + θ X i + − m ( q + θ ) − q − θ X i − − m ( q − θ ) } θ ] .
Since E [ X i + − m ( q + θ ) ∣ θ ] = 0 \mathbb{E}[X_i^+-m(q+\theta)\mid\theta]=0 E [ X i + − m ( q + θ ) ∣ θ ] = 0 and E [ X i − − m ( q − θ ) ∣ θ ] = 0 \mathbb{E}[X_i^--m(q-\theta)\mid\theta]=0 E [ X i − − m ( q − θ ) ∣ θ ] = 0 for all i ∈ [ N ] i\in[N] i ∈ [ N ] , we obtain,
g ′ ( θ ) = E [ ( θ ^ − θ ) ∑ i = 1 N { X i + − m ( q + θ ) q + θ − X i − − m ( q − θ ) q − θ } ∣ θ ] . g'(\theta)=\mathbb{E}\left[\left.(\hat{\theta}-\theta)\sum_{i=1}^{N}\left\{\frac{X_i^+-m(q+\theta)}{q+\theta}-\frac{X_i^--m(q-\theta)}{q-\theta}\right\}\right|\theta\right]. g ′ ( θ ) = E [ ( θ ^ − θ ) i = 1 ∑ N { q + θ X i + − m ( q + θ ) − q − θ X i − − m ( q − θ ) } θ ] .
Averaging over θ ∼ Unif [ − r , r ] \theta\sim\operatorname{Unif}[-r,r] θ ∼ Unif [ − r , r ] , we get,
E [ ( r 2 − θ 2 ) ( θ ^ − θ ) ∑ i = 1 N { X i + − m ( q + θ ) q + θ − X i − − m ( q − θ ) q − θ } ] = E θ [ ( r 2 − θ 2 ) g ′ ( θ ) ∣ θ ] = 1 2 r ∫ − r r ( r 2 − θ 2 ) g ′ ( θ ) d θ = 1 2 r [ ( r 2 − θ 2 ) g ( θ ) ] − r r + 1 2 r ∫ − r r 2 θ g ( θ ) d θ = 2 E [ θ θ ^ ] . \begin{aligned}
\mathbb{E}\left[(r^2-\theta^2)(\hat{\theta}-\theta)\sum_{i=1}^{N}\left\{\frac{X_i^+-m(q+\theta)}{q+\theta}-\frac{X_i^--m(q-\theta)}{q-\theta}\right\}\right] \\
&=\mathbb{E}_{\theta}\left[(r^2-\theta^2)g'(\theta)\mid\theta\right] \\
&=\frac{1}{2r}\int_{-r}^{r}(r^2-\theta^2)g'(\theta)\,d\theta\\
&=\frac{1}{2r}\left[(r^2-\theta^2)g(\theta)\right]_{-r}^{r}+\frac{1}{2r}\int_{-r}^{r}2\theta g(\theta)\,d\theta\\
&=2\mathbb{E}[\theta\hat{\theta}].
\end{aligned} E [ ( r 2 − θ 2 ) ( θ ^ − θ ) i = 1 ∑ N { q + θ X i + − m ( q + θ ) − q − θ X i − − m ( q − θ ) } ] = E θ [ ( r 2 − θ 2 ) g ′ ( θ ) ∣ θ ] = 2 r 1 ∫ − r r ( r 2 − θ 2 ) g ′ ( θ ) d θ = 2 r 1 [ ( r 2 − θ 2 ) g ( θ ) ] − r r + 2 r 1 ∫ − r r 2 θ g ( θ ) d θ = 2 E [ θ θ ^ ] .
The second equality follows from the definition of expectation and the third equality follows from integration by parts. In the fourth equality, the boundary term vanishes because r 2 − θ 2 = 0 r^2-\theta^2=0 r 2 − θ 2 = 0 at θ = ± r \theta=\pm r θ = ± r .
By linearity of expectation, we get that
E [ ( θ ^ − θ ) 2 + ( r 2 − θ 2 ) ( θ ^ − θ ) ∑ i = 1 N { X i + − m ( q + θ ) q + θ − X i − − m ( q − θ ) q − θ } ] = E [ ( θ ^ − θ ) 2 ] + E [ ( r 2 − θ 2 ) ( θ ^ − θ ) ∑ i = 1 N { X i + − m ( q + θ ) q + θ − X i − − m ( q − θ ) q − θ } ] = E [ ( θ ^ − θ ) 2 ] + 2 E [ θ θ ^ ] = E [ θ ^ 2 ] + E [ θ 2 ] ≥ E [ θ 2 ] = r 2 3 . \begin{aligned}
\mathbb{E}\left[(\hat{\theta}-\theta)^2+(r^2-\theta^2)(\hat{\theta}-\theta)\sum_{i=1}^{N}\left\{\frac{X_i^+-m(q+\theta)}{q+\theta}-\frac{X_i^--m(q-\theta)}{q-\theta}\right\}\right] \\
&=\mathbb{E}\left[(\hat{\theta}-\theta)^2\right]+\mathbb{E}\left[(r^2-\theta^2)(\hat{\theta}-\theta)\sum_{i=1}^{N}\left\{\frac{X_i^+-m(q+\theta)}{q+\theta}-\frac{X_i^--m(q-\theta)}{q-\theta}\right\}\right] \\
&=\mathbb{E}\left[(\hat{\theta}-\theta)^2\right]+2\mathbb{E}[\theta\hat{\theta}] \\
&=\mathbb{E}[\hat{\theta}^2]+\mathbb{E}[\theta^2]\geq\mathbb{E}[\theta^2]=\frac{r^2}{3}.
\end{aligned} E [ ( θ ^ − θ ) 2 + ( r 2 − θ 2 ) ( θ ^ − θ ) i = 1 ∑ N { q + θ X i + − m ( q + θ ) − q − θ X i − − m ( q − θ ) } ] = E [ ( θ ^ − θ ) 2 ] + E [ ( r 2 − θ 2 ) ( θ ^ − θ ) i = 1 ∑ N { q + θ X i + − m ( q + θ ) − q − θ X i − − m ( q − θ ) } ] = E [ ( θ ^ − θ ) 2 ] + 2 E [ θ θ ^ ] = E [ θ ^ 2 ] + E [ θ 2 ] ≥ E [ θ 2 ] = 3 r 2 .
This proves the lemma.
Recall that for our reduction and the high-dimensional fingerprinting argument we will need to work on a lifted space of dimension D > d D>d D > d .
Lemma 49 (Poisson lower bound under approximate DP). Take D ∈ N D\in\mathbb{N} D ∈ N . Let B \mathcal{B} B be ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) DP algorithm which has accuracy D r 2 12 \frac{Dr^2}{12} 12 D r 2 and which solves the Poisson Estimation Problem defined in Definition 46 with output θ ^ ( X ) \hat{\theta}(X) θ ^ ( X ) . If δ ≤ C δ ε D \delta\leq\frac{C_\delta\varepsilon}{\sqrt{D}} δ ≤ D C δ ε , for some universal constant C δ > 0 C_\delta>0 C δ > 0 , then
N m ≳ D q ε r . N\sqrt{m}\gtrsim\frac{\sqrt{D}q}{\varepsilon r}. N m ≳ ε r D q .
Proof. Fix an item i ∈ [ N ] i \in[N] i ∈ [ N ] . Conditioned on a parameter θ \theta θ , define the paired Poisson score for each hard coordinate ℓ \ell ℓ
S ( X i , ℓ , θ ℓ ) : = X i , ℓ + − m ( q + θ ℓ ) q + θ ℓ − X i , ℓ − − m ( q − θ ℓ ) q − θ ℓ . S(X_{i,\ell},\theta_\ell) := \frac{X^+_{i,\ell}-m(q+\theta_\ell)}{q+\theta_\ell}-\frac{X^-_{i,\ell}-m(q-\theta_\ell)}{q-\theta_\ell}. S ( X i , ℓ , θ ℓ ) := q + θ ℓ X i , ℓ + − m ( q + θ ℓ ) − q − θ ℓ X i , ℓ − − m ( q − θ ℓ ) .
Let
Z i : = ∑ ℓ = 1 D ( r 2 − θ ℓ 2 ) ( θ ^ ℓ ( X ) − θ ℓ ) S ( X i , ℓ , θ ℓ ) . Z_i := \sum_{\ell=1}^{D}(r^2-\theta_\ell^2)(\widehat{\theta}_\ell(X)-\theta_\ell)S(X_{i,\ell},\theta_\ell). Z i := ℓ = 1 ∑ D ( r 2 − θ ℓ 2 ) ( θ ℓ ( X ) − θ ℓ ) S ( X i , ℓ , θ ℓ ) .
The statistic ( r 2 − θ ℓ 2 ) ( θ ^ ℓ ( X ) − θ ℓ ) S ( X i , ℓ , θ ℓ ) (r^2-\theta_\ell^2)(\widehat{\theta}_\ell(X)-\theta_\ell)S(X_{i,\ell},\theta_\ell) ( r 2 − θ ℓ 2 ) ( θ ℓ ( X ) − θ ℓ ) S ( X i , ℓ , θ ℓ ) measures the correlation between the estimation error on coordinate ℓ \ell ℓ and the i th i^{\text{th}} i th item’s score in that direction.
Let X ∼ i X^{\sim i} X ∼ i be the dataset obtained by replacing item i i i ’s block by an independent fresh draw from the distribution under the same θ \theta θ as the samples in X X X . Define
Z ~ i : = ∑ ℓ = 1 D ( r 2 − θ ℓ 2 ) ( θ ^ ℓ ( X ∼ i ) − θ ℓ ) S ( X i , ℓ , θ ℓ ) . \widetilde{Z}_i := \sum_{\ell=1}^{D}(r^2-\theta_\ell^2)(\widehat{\theta}_\ell(X^{\sim i})-\theta_\ell)S(X_{i,\ell},\theta_\ell). Z i := ℓ = 1 ∑ D ( r 2 − θ ℓ 2 ) ( θ ℓ ( X ∼ i ) − θ ℓ ) S ( X i , ℓ , θ ℓ ) .
Note that the score S i , ℓ S_{i,\ell} S i , ℓ is still computed from the original i th i^{\text{th}} i th block.
Keeping the conditioning on θ \theta θ , if we further condition on the original data X X X and on the resampled data X ∼ i X^{\sim i} X ∼ i , the two inputs X X X and X ∼ i X^{\sim i} X ∼ i are neighboring datasets. Moreover, for every possible output u ∈ [ − r , r ] D u \in[-r,r]^D u ∈ [ − r , r ] D of the algorithm, we have ∣ r 2 − θ ℓ 2 ∣ ≤ r 2 |r^2-\theta_\ell^2| \le r^2 ∣ r 2 − θ ℓ 2 ∣ ≤ r 2 and ∣ u ℓ − θ ℓ ∣ ≤ 2 r |u_\ell-\theta_\ell| \le2r ∣ u ℓ − θ ℓ ∣ ≤ 2 r . Hence, by Cauchy-Schwarz, the corresponding score statistic is bounded by
∣ ∑ ℓ = 1 D ( r 2 − θ ℓ 2 ) ( u ℓ − θ ℓ ) S ( X i , ℓ , θ ℓ ) ∣ ≤ 2 r 3 ∑ ℓ = 1 D ∣ S ( X i , ℓ , θ ℓ ) ∣ = : B i . \left|\sum_{\ell=1}^{D}(r^2-\theta_\ell^2)(u_\ell-\theta_\ell)S(X_{i,\ell},\theta_\ell)\right|
\le2r^3\sum_{\ell=1}^{D}|S(X_{i,\ell},\theta_\ell)|=:B_i. ℓ = 1 ∑ D ( r 2 − θ ℓ 2 ) ( u ℓ − θ ℓ ) S ( X i , ℓ , θ ℓ ) ≤ 2 r 3 ℓ = 1 ∑ D ∣ S ( X i , ℓ , θ ℓ ) ∣ =: B i .
Since θ ^ \widehat{\theta} θ is ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -DP, applying Lemma 17 conditional on θ \theta θ , X X X and X ∼ i X^{\sim i} X ∼ i gives
E Z i ≤ E Z ~ i + 2 ε E ∣ Z ~ i ∣ + 2 δ B i . \mathbb{E}Z_i \le\mathbb{E}\widetilde{Z}_i+2\varepsilon\mathbb{E}|\widetilde{Z}_i|+2\delta B_i. E Z i ≤ E Z i + 2 ε E ∣ Z i ∣ + 2 δ B i .
Here the expectation is over the randomness of θ ^ \widehat{\theta} θ . Applying another expectation over θ , X , X ∼ i \theta,X,X^{\sim i} θ , X , X ∼ i on both sides yields
E Z i ≤ E Z ~ i + 2 ε E ∣ Z ~ i ∣ + 2 δ E B i . (9) \mathbb{E}Z_i \le\mathbb{E}\widetilde{Z}_i+2\varepsilon\mathbb{E}|\widetilde{Z}_i|+2\delta\mathbb{E}B_i. \tag*{(9)} E Z i ≤ E Z i + 2 ε E ∣ Z i ∣ + 2 δ E B i . (9)
Since r ≤ q 2 r\le\frac{q}{2} r ≤ 2 q , q ± θ ℓ q\pm\theta_\ell q ± θ ℓ for all ℓ ∈ [ D ] \ell\in[D] ℓ ∈ [ D ] lie in [ q 2 , 3 q 2 ] \left[\frac{q}{2},\frac{3q}{2}\right] [ 2 q , 2 3 q ] ,
E [ S 2 ( X i , ℓ , θ ℓ ) ∣ θ ] = m ( 1 q + θ ℓ + 1 q − θ ℓ ) ≲ m q . (10) \mathbb{E}[S^2(X_{i,\ell},\theta_\ell)\mid\theta]
=m\left(\frac{1}{q+\theta_\ell}+\frac{1}{q-\theta_\ell}\right)\lesssim\frac{m}{q}. \tag*{(10)} E [ S 2 ( X i , ℓ , θ ℓ ) ∣ θ ] = m ( q + θ ℓ 1 + q − θ ℓ 1 ) ≲ q m . (10)
For the last term, E S 2 ( X i , ℓ , θ ℓ ) ≤ m q \mathbb{E}S^2(X_{i,\ell},\theta_\ell)\le\frac{m}{q} E S 2 ( X i , ℓ , θ ℓ ) ≤ q m and Jensen’s inequality give
E B i = 2 r 3 ∑ ℓ = 1 D E ∣ S ( X i , ℓ , θ ℓ ) ∣ ≤ 2 r 3 ∑ ℓ = 1 D E S 2 ( X i , ℓ , θ ℓ ) ≲ r 3 D m q . \mathbb{E}B_i=2r^3\sum_{\ell=1}^{D}\mathbb{E}|S(X_{i,\ell},\theta_\ell)|
\le2r^3\sum_{\ell=1}^{D}\sqrt{\mathbb{E}S^2(X_{i,\ell},\theta_\ell)}
\lesssim r^3D\sqrt{\frac{m}{q}}. E B i = 2 r 3 ℓ = 1 ∑ D E ∣ S ( X i , ℓ , θ ℓ ) ∣ ≤ 2 r 3 ℓ = 1 ∑ D E S 2 ( X i , ℓ , θ ℓ ) ≲ r 3 D q m .
Hence, plugging this upper bound into (9), we obtain
E Z i ≲ E Z ~ i + ε E ∣ Z ~ i ∣ + δ r 3 D m q . (11) \mathbb{E}Z_i\lesssim\mathbb{E}\widetilde{Z}_i+\varepsilon\mathbb{E}|\widetilde{Z}_i|+\delta r^3D\sqrt{\frac{m}{q}}. \tag*{(11)} E Z i ≲ E Z i + ε E ∣ Z i ∣ + δ r 3 D q m . (11)
Fingerprinting Lower Bound. Conditional on { X i , ℓ ′ : i ∈ [ N ] , ℓ ′ ≠ ℓ } \{X_{i,\ell'}: i \in[N], \ell' \ne\ell\} { X i , ℓ ′ : i ∈ [ N ] , ℓ ′ = ℓ } , θ ^ ℓ ( X ) \widehat{\theta}_{\ell}(X) θ ℓ ( X ) is a bounded function of { X i , ℓ : i ∈ [ N ] } \{X_{i,\ell}: i \in[N]\} { X i , ℓ : i ∈ [ N ]} . Additionally, X i , ℓ = { X i , ℓ + , X i , ℓ − } X_{i,\ell}=\{X_{i,\ell}^{+},X_{i,\ell}^{-}\} X i , ℓ = { X i , ℓ + , X i , ℓ − } for X i , ℓ + ∼ Pois ( m ( q + θ ) ) X_{i,\ell}^{+}\sim\operatorname{Pois}(m(q+\theta)) X i , ℓ + ∼ Pois ( m ( q + θ )) and X i , ℓ − ∼ Pois ( m ( q − θ ) ) X_{i,\ell}^{-}\sim\operatorname{Pois}(m(q-\theta)) X i , ℓ − ∼ Pois ( m ( q − θ )) independently for all i ∈ [ N ] i\in[N] i ∈ [ N ] and for all ℓ ∈ [ D ] \ell\in[D] ℓ ∈ [ D ] . Thus, for all ℓ ∈ [ D ] \ell\in[D] ℓ ∈ [ D ] , applying Lemma 48 to θ ^ ℓ \widehat{\theta}_{\ell} θ ℓ conditioned on X i , ℓ ′ X_{i,\ell'} X i , ℓ ′ for all i ∈ [ N ] i\in[N] i ∈ [ N ] and ℓ ′ ∈ [ D ] ∖ { ℓ } \ell'\in[D]\setminus\{\ell\} ℓ ′ ∈ [ D ] ∖ { ℓ } , we get that
E [ ( θ ^ ℓ ( X ) − θ ℓ ) 2 + ( r 2 − θ 2 ) ( θ ^ ℓ ( X ) − θ ℓ ) ∑ i = 1 N S ( X i , ℓ , θ ℓ ) | { X 1 , ℓ ′ , … , X N , ℓ ′ } ℓ ′ ∈ [ D ] ∖ { ℓ } ] ≥ r 2 3 . \mathbb{E}\left[\left(\widehat{\theta}_{\ell}(X)-\theta_{\ell}\right)^{2}+\left(r^{2}-\theta^{2}\right)\left(\widehat{\theta}_{\ell}(X)-\theta_{\ell}\right)\sum_{i=1}^{N}S(X_{i,\ell},\theta_{\ell})\middle|\{X_{1,\ell'},\ldots,X_{N,\ell'}\}_{\ell'\in[D]\setminus\{\ell\}}\right]\ge\frac{r^{2}}{3}. E [ ( θ ℓ ( X ) − θ ℓ ) 2 + ( r 2 − θ 2 ) ( θ ℓ ( X ) − θ ℓ ) i = 1 ∑ N S ( X i , ℓ , θ ℓ ) { X 1 , ℓ ′ , … , X N , ℓ ′ } ℓ ′ ∈ [ D ] ∖ { ℓ } ] ≥ 3 r 2 .
Taking expectations over the conditioning variables on both sides and using the law of iterated expectations, we get that for all ℓ ∈ [ D ] \ell\in[D] ℓ ∈ [ D ] ,
E [ ( θ ^ ℓ ( X ) − θ ℓ ) 2 + ( r 2 − θ 2 ) ( θ ^ ℓ ( X ) − θ ℓ ) ∑ i = 1 N S ( X i , ℓ , θ ℓ ) ] ≥ r 2 3 . \mathbb{E}\left[\left(\widehat{\theta}_{\ell}(X)-\theta_{\ell}\right)^{2}+\left(r^{2}-\theta^{2}\right)\left(\widehat{\theta}_{\ell}(X)-\theta_{\ell}\right)\sum_{i=1}^{N}S(X_{i,\ell},\theta_{\ell})\right]\ge\frac{r^{2}}{3}. E [ ( θ ℓ ( X ) − θ ℓ ) 2 + ( r 2 − θ 2 ) ( θ ℓ ( X ) − θ ℓ ) i = 1 ∑ N S ( X i , ℓ , θ ℓ ) ] ≥ 3 r 2 .
Summing the above inequality over ℓ ∈ [ D ] \ell\in[D] ℓ ∈ [ D ] and using linearity of expectation gives
∑ ℓ = 1 D E [ ( θ ^ ℓ ( X ) − θ ℓ ) 2 + ( r 2 − θ 2 ) ( θ ^ ℓ ( X ) − θ ℓ ) ∑ i = 1 N S ( X i , ℓ , θ ℓ ) ] = E [ ∑ ℓ = 1 D ( θ ^ ℓ ( X ) − θ ℓ ) 2 + ∑ ℓ = 1 D ( r 2 − θ 2 ) ( θ ^ ℓ ( X ) − θ ℓ ) ∑ i = 1 N S ( X i , ℓ , θ ℓ ) ] = E [ ∥ θ ^ ( X ) − θ ∥ 2 + ∑ ℓ = 1 D ( r 2 − θ 2 ) ( θ ^ ℓ ( X ) − θ ℓ ) ∑ i = 1 N S ( X i , ℓ , θ ℓ ) ] = E [ ∥ θ ^ ( X ) − θ ∥ 2 + E [ ∑ i = 1 N ∑ ℓ = 1 D ( r 2 − θ 2 ) ( θ ^ ℓ ( X ) − θ ℓ ) S ( X i , ℓ , θ ℓ ) ] ] = E ∥ θ ^ ( X ) − θ ∥ 2 2 + ∑ i = 1 N E Z i ≥ D r 2 3 . \begin{aligned}
\sum_{\ell=1}^{D}\mathbb{E}\left[\left(\widehat{\theta}_{\ell}(X)-\theta_{\ell}\right)^{2}+\left(r^{2}-\theta^{2}\right)\left(\widehat{\theta}_{\ell}(X)-\theta_{\ell}\right)\sum_{i=1}^{N}S(X_{i,\ell},\theta_{\ell})\right] \\
&=\mathbb{E}\left[\sum_{\ell=1}^{D}\left(\widehat{\theta}_{\ell}(X)-\theta_{\ell}\right)^{2}+\sum_{\ell=1}^{D}\left(r^{2}-\theta^{2}\right)\left(\widehat{\theta}_{\ell}(X)-\theta_{\ell}\right)\sum_{i=1}^{N}S(X_{i,\ell},\theta_{\ell})\right] \\
&=\mathbb{E}\left[\left\|\widehat{\theta}(X)-\theta\right\|^{2}+\sum_{\ell=1}^{D}\left(r^{2}-\theta^{2}\right)\left(\widehat{\theta}_{\ell}(X)-\theta_{\ell}\right)\sum_{i=1}^{N}S(X_{i,\ell},\theta_{\ell})\right] \\
&=\mathbb{E}\left[\left\|\widehat{\theta}(X)-\theta\right\|^{2}+\mathbb{E}\left[\sum_{i=1}^{N}\sum_{\ell=1}^{D}\left(r^{2}-\theta^{2}\right)\left(\widehat{\theta}_{\ell}(X)-\theta_{\ell}\right)S(X_{i,\ell},\theta_{\ell})\right]\right] \\
&=\mathbb{E}\|\widehat{\theta}(X)-\theta\|_{2}^{2}+\sum_{i=1}^{N}\mathbb{E}Z_{i}\ge\frac{Dr^{2}}{3}.
\end{aligned} ℓ = 1 ∑ D E [ ( θ ℓ ( X ) − θ ℓ ) 2 + ( r 2 − θ 2 ) ( θ ℓ ( X ) − θ ℓ ) i = 1 ∑ N S ( X i , ℓ , θ ℓ ) ] = E [ ℓ = 1 ∑ D ( θ ℓ ( X ) − θ ℓ ) 2 + ℓ = 1 ∑ D ( r 2 − θ 2 ) ( θ ℓ ( X ) − θ ℓ ) i = 1 ∑ N S ( X i , ℓ , θ ℓ ) ] = E [ θ ( X ) − θ 2 + ℓ = 1 ∑ D ( r 2 − θ 2 ) ( θ ℓ ( X ) − θ ℓ ) i = 1 ∑ N S ( X i , ℓ , θ ℓ ) ] = E [ θ ( X ) − θ 2 + E [ i = 1 ∑ N ℓ = 1 ∑ D ( r 2 − θ 2 ) ( θ ℓ ( X ) − θ ℓ ) S ( X i , ℓ , θ ℓ ) ] ] = E ∥ θ ( X ) − θ ∥ 2 2 + i = 1 ∑ N E Z i ≥ 3 D r 2 .
Using the fact that B \mathcal{B} B is D r 2 12 \frac{Dr^{2}}{12} 12 D r 2 accurate, we get
∑ i = 1 N E Z i ≥ D r 2 4 . (12) \sum_{i=1}^{N}\mathbb{E}Z_{i}\ge\frac{Dr^{2}}{4}. \tag*{(12)} i = 1 ∑ N E Z i ≥ 4 D r 2 . (12)
Approximate-DP upper bound. For each i ∈ [ N ] i\in[N] i ∈ [ N ] , conditional on θ \theta θ , the original score S ( X i , ℓ , θ ℓ ) S(X_{i,\ell},\theta_{\ell}) S ( X i , ℓ , θ ℓ ) is independent of θ ^ ( X ∼ i ) \widehat{\theta}(X^{\sim i}) θ ( X ∼ i ) and has mean zero. Therefore E [ Z ~ i ∣ θ ] = 0 \mathbb{E}[\widetilde{Z}_{i}\mid\theta]=0 E [ Z i ∣ θ ] = 0 , which implies that E Z ~ i = 0 \mathbb{E}\widetilde{Z}_{i}=0 E Z i = 0 . Since r ≤ q 2 r\le\frac{q}{2} r ≤ 2 q , q ± θ ℓ ∈ [ q 2 , 3 q 2 ] q\pm\theta_{\ell}\in\left[\frac{q}{2},\frac{3q}{2}\right] q ± θ ℓ ∈ [ 2 q , 2 3 q ] for each ℓ ∈ [ D ] \ell\in[D] ℓ ∈ [ D ] ,
E [ S 2 ( X i , ℓ , θ ℓ ) ∣ θ ] = m ( 1 q + θ ℓ + 1 q − θ ℓ ) ≲ m q . \mathbb{E}[S^{2}(X_{i,\ell},\theta_{\ell})\mid\theta]=m\left(\frac{1}{q+\theta_{\ell}}+\frac{1}{q-\theta_{\ell}}\right)\lesssim\frac{m}{q}. E [ S 2 ( X i , ℓ , θ ℓ ) ∣ θ ] = m ( q + θ ℓ 1 + q − θ ℓ 1 ) ≲ q m .
Conditioned on θ \theta θ , for each ℓ ∈ [ D ] \ell\in[D] ℓ ∈ [ D ] , S ( X i , ℓ , θ ℓ ) S(X_{i,\ell},\theta_\ell) S ( X i , ℓ , θ ℓ ) is centered and independent of S ( X i , ℓ ′ , θ ℓ ′ ) S(X_{i,\ell'},\theta_{\ell'}) S ( X i , ℓ ′ , θ ℓ ′ ) for all ℓ ′ ∈ [ D ] ∖ { ℓ } \ell' \in[D] \setminus\{\ell\} ℓ ′ ∈ [ D ] ∖ { ℓ } . Hence,
E [ Z ~ i 2 ∣ θ ] = E [ ( ∑ ℓ = 1 D ( r 2 − θ ℓ 2 ) ( θ ^ ℓ ( X ∼ i ) − θ ℓ ) S ( X i , ℓ , θ ℓ ) ) 2 ∣ θ ] = E [ ∑ ℓ = 1 D ( r 2 − θ ℓ 2 ) 2 ( θ ^ ℓ ( X ∼ i ) − θ ℓ ) 2 S 2 ( X i , ℓ , θ ℓ ) ∣ θ ] \begin{aligned}
\mathbb{E}[\widetilde{Z}_i^2 \mid\theta] = \mathbb{E}\left[\left.\left(\sum_{\ell=1}^{D}(r^2-\theta_\ell^2)(\widehat{\theta}_\ell(X^{\sim i})-\theta_\ell)S(X_{i,\ell},\theta_\ell)\right)^2\right| \theta\right] \\
&= \mathbb{E}\left[\left.\sum_{\ell=1}^{D}(r^2-\theta_\ell^2)^2(\widehat{\theta}_\ell(X^{\sim i})-\theta_\ell)^2S^2(X_{i,\ell},\theta_\ell)\right| \theta\right]
\end{aligned} E [ Z i 2 ∣ θ ] = E ( ℓ = 1 ∑ D ( r 2 − θ ℓ 2 ) ( θ ℓ ( X ∼ i ) − θ ℓ ) S ( X i , ℓ , θ ℓ ) ) 2 θ = E [ ℓ = 1 ∑ D ( r 2 − θ ℓ 2 ) 2 ( θ ℓ ( X ∼ i ) − θ ℓ ) 2 S 2 ( X i , ℓ , θ ℓ ) θ ]
≤ 2 r 4 E [ ∑ ℓ = 1 D ( θ ^ ℓ ( X ∼ i ) − θ ℓ ) 2 S 2 ( X i , ℓ , θ ℓ ) ∣ θ ] = 2 r 4 ∑ ℓ = 1 D E [ ( θ ^ ℓ ( X ∼ i ) − θ ℓ ) 2 S 2 ( X i , ℓ , θ ℓ ) ∣ θ ] = 2 r 4 ∑ ℓ = 1 D E [ ( θ ^ ℓ ( X ∼ i ) − θ ℓ ) 2 ∣ θ ] E [ S 2 ( X i , ℓ , θ ℓ ) ∣ θ ] \begin{aligned}
\le2r^4\mathbb{E}\left[\left.\sum_{\ell=1}^{D}(\widehat{\theta}_\ell(X^{\sim i})-\theta_\ell)^2S^2(X_{i,\ell},\theta_\ell)\right| \theta\right] \\
&=2r^4\sum_{\ell=1}^{D}\mathbb{E}\left[\left.(\widehat{\theta}_\ell(X^{\sim i})-\theta_\ell)^2S^2(X_{i,\ell},\theta_\ell)\right| \theta\right] \\
&=2r^4\sum_{\ell=1}^{D}\mathbb{E}\left[\left.(\widehat{\theta}_\ell(X^{\sim i})-\theta_\ell)^2\right| \theta\right]\mathbb{E}\left[S^2(X_{i,\ell},\theta_\ell)\mid\theta\right]
\end{aligned} ≤ 2 r 4 E [ ℓ = 1 ∑ D ( θ ℓ ( X ∼ i ) − θ ℓ ) 2 S 2 ( X i , ℓ , θ ℓ ) θ ] = 2 r 4 ℓ = 1 ∑ D E [ ( θ ℓ ( X ∼ i ) − θ ℓ ) 2 S 2 ( X i , ℓ , θ ℓ ) θ ] = 2 r 4 ℓ = 1 ∑ D E [ ( θ ℓ ( X ∼ i ) − θ ℓ ) 2 θ ] E [ S 2 ( X i , ℓ , θ ℓ ) ∣ θ ]
≲ m r 4 q ∑ ℓ = 1 D E [ ( θ ^ ℓ ( X ∼ i ) − θ ℓ ) 2 ∣ θ ] = m r 4 q E [ ∥ θ ^ ( X ∼ i ) − θ ∥ 2 2 ∣ θ ] . \begin{aligned}
\lesssim\frac{mr^4}{q}\sum_{\ell=1}^{D}\mathbb{E}\left[\left.(\widehat{\theta}_\ell(X^{\sim i})-\theta_\ell)^2\right| \theta\right] \\
&=\frac{mr^4}{q}\mathbb{E}\left[\left.\|\widehat{\theta}(X^{\sim i})-\theta\|_2^2\right| \theta\right].
\end{aligned} ≲ q m r 4 ℓ = 1 ∑ D E [ ( θ ℓ ( X ∼ i ) − θ ℓ ) 2 θ ] = q m r 4 E [ ∥ θ ( X ∼ i ) − θ ∥ 2 2 θ ] .
The first step follows from the definition of Z ~ i \widetilde{Z}_i Z i . Since S ( X i , ℓ , θ ℓ ) S(X_{i,\ell},\theta_\ell) S ( X i , ℓ , θ ℓ ) is centered and independent of S ( X i , ℓ ′ , θ ℓ ′ ) S(X_{i,\ell'},\theta_{\ell'}) S ( X i , ℓ ′ , θ ℓ ′ ) for all ℓ ′ ∈ [ D ] ∖ { ℓ } \ell' \in[D] \setminus\{\ell\} ℓ ′ ∈ [ D ] ∖ { ℓ } , the expectation of the cross terms vanish and the second step follows. The third step follows from the fact that ( r 2 − θ ℓ 2 ) 2 ≤ 2 r 4 (r^2-\theta_\ell^2)^2 \le2r^4 ( r 2 − θ ℓ 2 ) 2 ≤ 2 r 4 . The fourth step follows from linearity of expectation. The fifth step follows from the fact that S ( X i , ℓ , θ ℓ ) S(X_{i,\ell},\theta_\ell) S ( X i , ℓ , θ ℓ ) is independent of X ∼ i X^{\sim i} X ∼ i . The penultimate step follows from (10) . The last step follows from linearity of expectation and the definition of the ℓ 2 \ell_2 ℓ 2 norm.
Taking expectation with respect to θ ∼ Unif ( [ − r , r ] ) \theta\sim\operatorname{Unif}([-r,r]) θ ∼ Unif ([ − r , r ]) on both sides and using the fact that B \mathcal{B} B is D r 2 12 \frac{Dr^2}{12} 12 D r 2 accurate, we get E Z ~ i 2 ≲ m D r 6 q \mathbb{E}\widetilde{Z}_i^2 \lesssim\frac{mDr^6}{q} E Z i 2 ≲ q m D r 6 . Jensen’s inequality implies that
E ∣ Z ~ i ∣ ≲ r 3 m D q . (13) \mathbb{E}|\widetilde{Z}_i| \lesssim r^3\sqrt{\frac{mD}{q}}. \tag*{(13)} E ∣ Z i ∣ ≲ r 3 q m D . (13)
Hence, considering (11) , the first term is zero, and the second term is controlled by (13) . Thus, we obtain that for every i ∈ [ N ] i \in[N] i ∈ [ N ] ,
E Z i ≲ ε r 3 m D q + δ r 3 D m q . \mathbb{E}Z_i \lesssim\varepsilon r^3\sqrt{\frac{mD}{q}}+\delta r^3D\sqrt{\frac{m}{q}}. E Z i ≲ ε r 3 q m D + δ r 3 D q m .
If δ ≤ C δ ε D \delta\le\frac{C_\delta\varepsilon}{\sqrt{D}} δ ≤ D C δ ε with C δ > 0 C_\delta>0 C δ > 0 sufficiently small, then E Z i ≲ ε r 3 m D q \mathbb{E}Z_i \lesssim\varepsilon r^3\sqrt{\frac{mD}{q}} E Z i ≲ ε r 3 q m D . Summing this inequality over i ∈ [ N ] i \in[N] i ∈ [ N ] and comparing with (12) gives
D r 2 4 ≲ N ε r 3 m D q . \frac{Dr^2}{4}\lesssim N\varepsilon r^3\sqrt{\frac{mD}{q}}. 4 D r 2 ≲ N ε r 3 q m D .
Rearranging the above expression proves the claim.
Now we prove Theorem 45 via a privacy preserving reduction from estimating the parameters of product samples to estimating θ \theta θ in Lemma 49.
Proof of Theorem 45 We now prove Theorem 45 by reducing the problem of estimating a d d d -dimensional k k k -ary distribution with m m m samples per user to estimating θ \theta θ in the paired Poisson model, in which one data point consists of 2 D 2D 2 D Poisson random variables. Assume, toward contradiction, that there is an ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -user-level DP estimator A \mathcal{A} A satisfying
sup P ∈ P d , k E P ξ ( P ^ , P ) 2 ≤ α 2 , (14) \sup_{P \in\mathcal{P}_{d,k}} \mathbb{E}_{P}\xi(\widehat{P},P)^2 \leq\alpha^2, \tag*{(14)} P ∈ P d , k sup E P ξ ( P , P ) 2 ≤ α 2 , (14)
but that (4) fails.
Local Paired Family Let s = ⌊ k 2 ⌋ s = \left\lfloor\frac{k}{2} \right\rfloor s = ⌊ 2 k ⌋ and D = d s D = ds D = d s . The hard parameter is θ = ( θ j , b ) j ∈ [ d ] , b ∈ [ s ] ∈ [ − r , r ] d × s \theta= (\theta_{j,b})_{j\in[d],b\in[s]} \in[-r,r]^{d\times s} θ = ( θ j , b ) j ∈ [ d ] , b ∈ [ s ] ∈ [ − r , r ] d × s , where r = 24 2 α k d r = 24\sqrt{2}\frac{\alpha}{k\sqrt{d}} r = 24 2 k d α . Note that α \alpha α is small enough that r ≤ 1 2 k r \leq\frac{1}{2k} r ≤ 2 k 1 holds. For j ∈ [ d ] j \in[d] j ∈ [ d ] and b ∈ [ s ] b \in[s] b ∈ [ s ] , define
p j θ ( 2 b − 1 ) = 1 k + θ j , b , p j θ ( 2 b ) = 1 k − θ j , b . (15) p_j^\theta(2b-1) = \frac{1}{k}+\theta_{j,b}, \qquad p_j^\theta(2b) = \frac{1}{k}-\theta_{j,b}. \tag*{(15)} p j θ ( 2 b − 1 ) = k 1 + θ j , b , p j θ ( 2 b ) = k 1 − θ j , b . (15)
If k k k is odd, set the final unpaired coordinate to p j θ ( k ) = 1 k p_j^\theta(k)=\frac{1}{k} p j θ ( k ) = k 1 . Each pair in (15) sums to 2 k \frac{2}{k} k 2 , so every p j θ p_j^\theta p j θ is a probability vector in Δ k \Delta_k Δ k . Let P θ = ⨂ j = 1 d p j θ P_\theta= \bigotimes_{j=1}^{d}p_j^\theta P θ = ⨂ j = 1 d p j θ , and let the prior be θ j , b ∼ i . i . d . Unif [ − r , r ] \theta_{j,b} \mathrel{\overset{\mathrm{i.i.d.}}{\sim}} \operatorname{Unif}[-r,r] θ j , b ∼ i.i.d. Unif [ − r , r ] .
Let m ′ = C 0 log 4 ( e d k α ε ) m m' = C_0\log^4\left(\frac{edk}{\alpha\varepsilon}\right)m m ′ = C 0 log 4 ( α ε e d k ) m , where C 0 C_0 C 0 is a sufficiently large numerical constant. The Poisson estimator receives independent counts X ( j , a ) ( 1 ) , … , X ( j , a ) ( N ) ∼ i . i . d . Pois ( m ′ p j θ ( a ) ) X_{(j,a)}^{(1)},\ldots,X_{(j,a)}^{(N)} \mathrel{\overset{\mathrm{i.i.d.}}{\sim}} \operatorname{Pois}\left(m'p_j^\theta(a)\right) X ( j , a ) ( 1 ) , … , X ( j , a ) ( N ) ∼ i.i.d. Pois ( m ′ p j θ ( a ) ) , for each j ∈ [ d ] j \in[d] j ∈ [ d ] , a ∈ [ k ] a \in[k] a ∈ [ k ] . For each user-coordinate pair ( i , j ) (i,j) ( i , j ) , let X ( j ) ( i ) = ∑ a = 1 k X ( j , a ) ( i ) X_{(j)}^{(i)} = \sum_{a=1}^{k}X_{(j,a)}^{(i)} X ( j ) ( i ) = ∑ a = 1 k X ( j , a ) ( i ) .
Conditioned on X ( j ) ( i ) = t X_{(j)}^{(i)}=t X ( j ) ( i ) = t , if we form the expanded list containing X ( j , a ) ( i ) X_{(j,a)}^{(i)} X ( j , a ) ( i ) copies of label a a a and perform a random permutation on the resultant list, we get that X ~ 1 ( i ) ( j ) , … , X ~ t ( i ) ( j ) \widetilde{X}_{1}^{(i)}(j),\ldots,\widetilde{X}_{t}^{(i)}(j) X 1 ( i ) ( j ) , … , X t ( i ) ( j ) are distributed as t t t independent samples from p j θ ∑ c = 1 k p j θ ( c ) \frac{p_j^\theta}{\sum_{c=1}^{k}p_j^\theta(c)} ∑ c = 1 k p j θ ( c ) p j θ ([15 Theorem 25] ). Since p j θ ∈ Δ k p_j^\theta\in\Delta_k p j θ ∈ Δ k , X ~ 1 ( i ) ( j ) , … , X ~ t ( i ) ( j ) ∼ p j θ \widetilde{X}_{1}^{(i)}(j),\ldots,\widetilde{X}_{t}^{(i)}(j) \sim p_j^\theta X 1 ( i ) ( j ) , … , X t ( i ) ( j ) ∼ p j θ .
Using the facts above, we prepare the input for the product distribution estimation. For each ( i , j ) (i,j) ( i , j ) , if X ( j ) ( i ) ≥ m X_{(j)}^{(i)} \geq m X ( j ) ( i ) ≥ m , take the first m m m labels from this randomly permuted expanded list. Otherwise, fill in m m m independent uniform labels from [ k ] [k] [ k ] . Let X ~ ( i ) = ( X ~ ( i ) ( 1 ) , … , X ~ ( i ) ( d ) ) \widetilde{X}^{(i)} = (\widetilde{X}^{(i)}(1),\ldots,\widetilde{X}^{(i)}(d)) X ( i ) = ( X ( i ) ( 1 ) , … , X ( i ) ( d )) . Conditioned on X ( j ) ( i ) ≥ m X_{(j)}^{(i)} \geq m X ( j ) ( i ) ≥ m for each ( i , j ) (i,j) ( i , j ) , this produces samples X ~ 1 ( i ) , … , X ~ m ( i ) ∼ ⨂ j = 1 d p j θ \widetilde{X}_{1}^{(i)},\ldots,\widetilde{X}_{m}^{(i)} \sim\bigotimes_{j=1}^{d}p_j^\theta X 1 ( i ) , … , X m ( i ) ∼ ⨂ j = 1 d p j θ for each i ∈ [ N ] i \in[N] i ∈ [ N ] . On the complementary event, we don’t have any such guarantee, however we later show that X ( j ) ( i ) ≥ m X_{(j)}^{(i)} \geq m X ( j ) ( i ) ≥ m occurs with high probability for each user-coordinate pair ( i , j ) (i,j) ( i , j ) . Run A \mathcal{A} A on { X ~ 1 ( i ) , … , X ~ m ( i ) } i = 1 N \left\{\widetilde{X}_{1}^{(i)},\ldots,\widetilde{X}_{m}^{(i)}\right\}_{i=1}^{N} { X 1 ( i ) , … , X m ( i ) } i = 1 N to obtain p ^ 1 , … , p ^ d \widehat{p}_1,\ldots,\widehat{p}_d p 1 , … , p d , and output
θ ^ j , b = Π [ − r , r ] ( p ^ j ( 2 b − 1 ) − p ^ j ( 2 b ) 2 ) , (16) \widehat{\theta}_{j,b} = \Pi_{[-r,r]}\left(\frac{\widehat{p}_j(2b-1)-\widehat{p}_j(2b)}{2}\right), \tag*{(16)} θ j , b = Π [ − r , r ] ( 2 p j ( 2 b − 1 ) − p j ( 2 b ) ) , (16)
where Π [ − r , r ] \Pi_{[-r,r]} Π [ − r , r ] denotes Euclidean projection onto [ − r , r ] [-r,r] [ − r , r ] .
Privacy Guarantee. The map from one user’s Poisson counts { X ( j , a ) ( i ) : j ∈ [ d ] , a ∈ [ k ] } i = 1 N \left\{X_{(j,a)}^{(i)}:j\in[d],a\in[k]\right\}_{i=1}^{N} { X ( j , a ) ( i ) : j ∈ [ d ] , a ∈ [ k ] } i = 1 N to the synthetic samples { X ~ 1 ( i ) , … , X ~ m ( i ) } i = 1 N \left\{\widetilde{X}_{1}^{(i)},\ldots,\widetilde{X}_{m}^{(i)}\right\}_{i=1}^{N} { X 1 ( i ) , … , X m ( i ) } i = 1 N operates separately on each user. Thus neighboring Poisson datasets map to neighboring product-sample user-level datasets. Since A \mathcal{A} A is ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -user-level DP and (16) is post-processing, the constructed Poisson estimator is therefore ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) DP.
Utility Relation Between Instances Let L α : = log ( e d k α ε ) L_{\alpha}:=\log\left(\frac{edk}{\alpha\varepsilon}\right) L α := log ( α ε e d k ) and A 0 : = C 0 L α 4 ≥ 2 A_{0}:=C_{0}L_{\alpha}^{4}\ge2 A 0 := C 0 L α 4 ≥ 2 , and let G G G be the event that X i , j ≥ m X_{i,j}\ge m X i , j ≥ m for every i ∈ [ n ] i\in[n] i ∈ [ n ] and j ∈ [ d ] j\in[d] j ∈ [ d ] . Since X i , j ∼ Pois ( A 0 m ) X_{i,j}\sim\operatorname{Pois}(A_{0}m) X i , j ∼ Pois ( A 0 m ) and A 0 ≥ 2 A_{0}\ge2 A 0 ≥ 2 , Lemma 21 implies that
P ( X i , j < m ) ≤ P ( X i , j ≤ A 0 m 2 ) ≤ exp ( − A 0 m 8 ) ≤ exp ( − A 0 8 ) . \mathbb{P}(X_{i,j}<m)\le\mathbb{P}\left(X_{i,j}\le\frac{A_{0}m}{2}\right)\le\exp\left(-\frac{A_{0}m}{8}\right)\le\exp\left(-\frac{A_{0}}{8}\right). P ( X i , j < m ) ≤ P ( X i , j ≤ 2 A 0 m ) ≤ exp ( − 8 A 0 m ) ≤ exp ( − 8 A 0 ) .
A union bound therefore yields
P ( G c ) ≤ n d exp ( − A 0 8 ) . \mathbb{P}(G^{c})\le nd\exp\left(-\frac{A_{0}}{8}\right). P ( G c ) ≤ n d exp ( − 8 A 0 ) .
Since, we have assumed the failure of (4) , and since m ≥ 1 m\ge1 m ≥ 1 , it is safe to assume that N ≤ C 1 d k α ε N\le C_{1}\frac{d^{k}}{\alpha\varepsilon} N ≤ C 1 α ε d k . Then
P ( G c ) ≤ C 1 d 2 k α ε exp ( − C 0 L α 4 8 ) = C 1 α 2 d 3 k d α 3 ε exp ( − C 0 L α 4 8 ) ≤ C 1 α 2 d exp ( 3 L α − C 0 L α 4 8 ) . \mathbb{P}(G^{c})\le C_{1}\frac{d^{2}k}{\alpha\varepsilon}\exp\left(-\frac{C_{0}L_{\alpha}^{4}}{8}\right)=C_{1}\frac{\alpha^{2}d^{3}k}{d\alpha^{3}\varepsilon}\exp\left(-\frac{C_{0}L_{\alpha}^{4}}{8}\right)\le C_{1}\frac{\alpha^{2}}{d}\exp\left(3L_{\alpha}-\frac{C_{0}L_{\alpha}^{4}}{8}\right). P ( G c ) ≤ C 1 α ε d 2 k exp ( − 8 C 0 L α 4 ) = C 1 d α 3 ε α 2 d 3 k exp ( − 8 C 0 L α 4 ) ≤ C 1 d α 2 exp ( 3 L α − 8 C 0 L α 4 ) .
Since L α ≥ 1 L_{\alpha}\ge1 L α ≥ 1 , choosing C 0 C_{0} C 0 to be a sufficiently large absolute constant gives
P ( G c ) ≤ α 2 4 d . \mathbb{P}(G^{c})\le\frac{\alpha^{2}}{4d}. P ( G c ) ≤ 4 d α 2 .
On G G G , the data have exactly the same law as N N N users with m m m independent samples each from P θ P_{\theta} P θ . Since ξ 2 ( P ^ , P ) ≤ 4 d \xi^{2}(\widehat{P},P)\le4d ξ 2 ( P , P ) ≤ 4 d is always true, combining the assumed risk guarantee (14) conditioned on G c G^{c} G c and applying the law of total probability gives
E ∑ j = 1 d ∥ p ^ j − p j θ ∥ 1 2 ≤ 2 α 2 . (17) \mathbb{E}\sum_{j=1}^{d}\left\|\widehat{p}_{j}-p_{j}^{\theta}\right\|_{1}^{2}\le2\alpha^{2}. \tag*{(17)} E j = 1 ∑ d p j − p j θ 1 2 ≤ 2 α 2 . (17)
For each pair ( j , b ) (j,b) ( j , b ) , θ j , b = p j θ ( 2 b − 1 ) − p j θ ( 2 b ) 2 \theta_{j,b}=\frac{p_{j}^{\theta}(2b-1)-p_{j}^{\theta}(2b)}{2} θ j , b = 2 p j θ ( 2 b − 1 ) − p j θ ( 2 b ) . Projection in (16) cannot increase distance to θ j , b ∈ [ − r , r ] \theta_{j,b}\in[-r,r] θ j , b ∈ [ − r , r ] , so
∣ θ ^ j , b − θ j , b ∣ ≤ 1 2 ( ∣ p ^ j ( 2 b − 1 ) − p j θ ( 2 b − 1 ) ∣ + ∣ p ^ j ( 2 b ) − p j θ ( 2 b ) ∣ ) . \left|\widehat{\theta}_{j,b}-\theta_{j,b}\right|\le\frac{1}{2}\left(\left|\widehat{p}_{j}(2b-1)-p_{j}^{\theta}(2b-1)\right|+\left|\widehat{p}_{j}(2b)-p_{j}^{\theta}(2b)\right|\right). θ j , b − θ j , b ≤ 2 1 ( p j ( 2 b − 1 ) − p j θ ( 2 b − 1 ) + p j ( 2 b ) − p j θ ( 2 b ) ) .
Since ∣ θ ^ j , b − θ j , b ∣ ≤ 2 r \left|\widehat{\theta}_{j,b}-\theta_{j,b}\right|\le2r θ j , b − θ j , b ≤ 2 r , the above expression implies that
∥ θ ^ − θ ∥ 2 2 ≤ r ∑ j = 1 d ∥ p ^ j − p j θ ∥ 1 ≤ r d ( ∑ j = 1 d ∥ p ^ j − p j θ ∥ 1 2 ) 1 / 2 . (18) \left\|\widehat{\theta}-\theta\right\|_{2}^{2}\le r\sum_{j=1}^{d}\left\|\widehat{p}_{j}-p_{j}^{\theta}\right\|_{1}\le r\sqrt{d}\left(\sum_{j=1}^{d}\left\|\widehat{p}_{j}-p_{j}^{\theta}\right\|_{1}^{2}\right)^{1/2}. \tag*{(18)} θ − θ 2 2 ≤ r j = 1 ∑ d p j − p j θ 1 ≤ r d ( j = 1 ∑ d p j − p j θ 1 2 ) 1/2 . (18)
Taking expectations in (18) , applying Jensen’s inequality, and using (17) , we get E ∥ θ ^ − θ ∥ 2 2 ≤ r 2 d α \mathbb{E}\|\widehat{\theta}-\theta\|_{2}^{2}\le r\sqrt{2d}\alpha E ∥ θ − θ ∥ 2 2 ≤ r 2 d α . With r = 24 2 α k d r=\frac{24\sqrt{2}\alpha}{k\sqrt{d}} r = k d 24 2 α , E ∥ θ ^ − θ ∥ 2 2 ≤ D r 2 T 2 \mathbb{E}\|\widehat{\theta}-\theta\|_{2}^{2}\le\frac{D r^{2}}{T^{2}} E ∥ θ − θ ∥ 2 2 ≤ T 2 D r 2 . Hence, applying Lemma 49 with q = 1 k q=\frac{1}{k} q = k 1 and Poisson mean parameter m ′ = C log 4 ( e d k α ε ) m m' = C\log^{4}\left(\frac{edk}{\alpha\varepsilon}\right)m m ′ = C log 4 ( α ε e d k ) m gives N m ′ ≳ D / k ε r N\sqrt{m'} \gtrsim\frac{\sqrt{D/k}}{\varepsilon r} N m ′ ≳ ε r D / k . Since D = Θ ( d k ) D=\Theta(dk) D = Θ ( d k ) and r = 24 2 α k d r=\frac{24\sqrt{2}\alpha}{k\sqrt{d}} r = k d 24 2 α , we get
N m ≳ d k α ε log 2 ( e d k α ε ) . N\sqrt{m}\gtrsim\frac{dk}{\alpha\varepsilon\log^{2}\left(\frac{edk}{\alpha\varepsilon}\right)}. N m ≳ α ε log 2 ( α ε e d k ) d k .
contradicting the assumed failure of (4) . This proves Theorem 45 .
Proof of Lemma 44
Proof of Lemma 44 We first prove the result when k k k is even. For odd k k k , let k ′ : = 2 ⌊ k 2 ⌋ k' := 2\left\lfloor\frac{k}{2}\right\rfloor k ′ := 2 ⌊ 2 k ⌋ . Apply the even-domain construction below on the first k ′ k' k ′ symbols and assign probability zero to the remaining symbol. Since k ′ ≥ k / 2 k' \ge k/2 k ′ ≥ k /2 , this changes only the universal constants in the final lower bound.
Defining a Packing Let C ⊆ { 0 , 1 } k C\subseteq\{0,1\}^{k} C ⊆ { 0 , 1 } k be a constant-weight binary code such that every c ∈ C c\in C c ∈ C has Hamming weight k / 2 k/2 k /2 , every distinct c , c ′ ∈ C c,c'\in C c , c ′ ∈ C satisfy d H ( c , c ′ ) ≥ k / 8 d_{\mathrm{H}}(c,c')\ge k/8 d H ( c , c ′ ) ≥ k /8 , and log ∣ C ∣ = Ω ( k ) \log|C|=\Omega(k) log ∣ C ∣ = Ω ( k ) . For k ≥ 40 k\ge40 k ≥ 40 , this follows from [1 Lemma 6] by taking weight k / 2 k/2 k /2 . For every c ∈ C c\in C c ∈ C , define p c ∈ Δ ( k ) p_c\in\Delta(k) p c ∈ Δ ( k ) by
p c ( a ) = { 1 + 24 α k , c a = 1 , 1 − 24 α k , c a = 0. p_c(a)=
\begin{cases}
\frac{1+24\alpha}{k}, & c_a=1,\\
\frac{1-24\alpha}{k}, & c_a=0.
\end{cases} p c ( a ) = { k 1 + 24 α , k 1 − 24 α , c a = 1 , c a = 0.
Since every codeword has exactly k / 2 k/2 k /2 ones,
∑ a = 1 k p c ( a ) = k 2 ⋅ 1 + 24 α k + k 2 ⋅ 1 − 24 α k = 1. \sum_{a=1}^{k}p_c(a)=\frac{k}{2}\cdot\frac{1+24\alpha}{k}+\frac{k}{2}\cdot\frac{1-24\alpha}{k}=1. a = 1 ∑ k p c ( a ) = 2 k ⋅ k 1 + 24 α + 2 k ⋅ k 1 − 24 α = 1.
Moreover, p c ( a ) ≥ 0 p_c(a)\ge0 p c ( a ) ≥ 0 because α < 1 / 48 \alpha<1/48 α < 1/48 . For every c = ( c ( 1 ) , … , c ( d ) ) ∈ C d \mathbf{c}=(c^{(1)},\ldots,c^{(d)})\in C^d c = ( c ( 1 ) , … , c ( d ) ) ∈ C d , define P c : = ⨂ j = 1 d p c ( j ) P_{\mathbf{c}}:=\bigotimes_{j=1}^{d}p_{c^{(j)}} P c := ⨂ j = 1 d p c ( j ) . Let V : = { P c : c ∈ C d } \mathcal{V}:=\{P_{\mathbf{c}}:\mathbf{c}\in C^d\} V := { P c : c ∈ C d } . Its cardinality is W : = ∣ V ∣ = ∣ C ∣ d W:=|\mathcal{V}|=|C|^d W := ∣ V ∣ = ∣ C ∣ d , and therefore
log W = d log ∣ C ∣ = Ω ( k d ) . (19) \log W=d\log|C|=\Omega(kd). \tag*{(19)} log W = d log ∣ C ∣ = Ω ( k d ) . (19)
Separation of the packing. Fix distinct c , c ′ ∈ C c,c'\in C c , c ′ ∈ C and set h : = d H ( c , c ′ ) h:=d_{\mathrm{H}}(c,c') h := d H ( c , c ′ ) . At every coordinate on which c c c and c ′ c' c ′ differ, the corresponding probabilities differ by 48 α / k 48\alpha/k 48 α / k . Hence
d T V ( p c , p c ′ ) = 1 2 ∑ a = 1 k ∣ p c ( a ) − p c ′ ( a ) ∣ = 1 2 ⋅ h ⋅ 48 α k = 24 α h k ≥ 3 α . d_{\mathrm{TV}}(p_c,p_{c'})=\frac{1}{2}\sum_{a=1}^{k}|p_c(a)-p_{c'}(a)|=\frac{1}{2}\cdot h\cdot\frac{48\alpha}{k}=\frac{24\alpha h}{k}\ge3\alpha. d TV ( p c , p c ′ ) = 2 1 a = 1 ∑ k ∣ p c ( a ) − p c ′ ( a ) ∣ = 2 1 ⋅ h ⋅ k 48 α = k 24 α h ≥ 3 α .
Equivalently, ∥ p c − p c ′ ∥ 1 ≥ 6 α \|p_c-p_{c'}\|_1\ge6\alpha ∥ p c − p c ′ ∥ 1 ≥ 6 α . If c ≠ c ′ \mathbf{c}\ne\mathbf{c'} c = c ′ , then c ( j ) ≠ c ′ ( j ) c^{(j)}\ne c'^{(j)} c ( j ) = c ′ ( j ) for some j ∈ [ d ] j\in[d] j ∈ [ d ] . It follows from the ℓ 1 \ell_1 ℓ 1 norm separation that
ρ ( P c , P c ′ ) = max ℓ ∈ [ d ] ∥ p c ( ℓ ) − p c ′ ( ℓ ) ∥ 1 ≥ ∥ p c ( j ) − p c ′ ( j ) ∥ 1 ≥ 6 α . (20) \rho(P_{\mathbf{c}},P_{\mathbf{c}'})=\max_{\ell\in[d]}\|p_{c^{(\ell)}}-p_{c'^{(\ell)}}\|_1\ge\|p_{c^{(j)}}-p_{c'^{(j)}}\|_1\ge6\alpha. \tag*{(20)} ρ ( P c , P c ′ ) = ℓ ∈ [ d ] max ∥ p c ( ℓ ) − p c ′ ( ℓ ) ∥ 1 ≥ ∥ p c ( j ) − p c ′ ( j ) ∥ 1 ≥ 6 α . (20)
Post-process the output of A \mathcal{A} A by selecting the nearest packing element:
B ( X ) ∈ arg min i ∈ [ W ] ρ ( P ^ , P i ) , \mathcal{B}(X)\in\operatorname*{arg\,min}_{i\in[W]}\rho(\widehat{P},P_i), B ( X ) ∈ i ∈ [ W ] arg min ρ ( P , P i ) ,
with ties broken according to a fixed ordering of [ W ] [W] [ W ] . Since B \mathcal{B} B is a post-processing of A \mathcal{A} A , it is ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -user-level differentially private.
Suppose now that the true distribution is P i P_i P i and that ρ ( P ^ , P i ) ≤ α \rho(\widehat{P},P_i)\leq\alpha ρ ( P , P i ) ≤ α . For every ℓ ≠ i \ell\neq i ℓ = i , the triangle inequality and (20) give
ρ ( P ^ , P ℓ ) ≥ ρ ( P i , P ℓ ) − ρ ( P ^ , P i ) ≥ 6 α − α = 5 α > ρ ( P ^ , P i ) . \rho(\widehat{P},P_\ell)\geq\rho(P_i,P_\ell)-\rho(\widehat{P},P_i)\geq6\alpha-\alpha=5\alpha>\rho(\widehat{P},P_i). ρ ( P , P ℓ ) ≥ ρ ( P i , P ℓ ) − ρ ( P , P i ) ≥ 6 α − α = 5 α > ρ ( P , P i ) .
Thus, P i P_i P i is the unique nearest packing element, and consequently
P X ∼ P i ⊗ N m [ B ( X ) = i ] ≥ 2 3 . (21) \mathbb{P}_{X\sim P_i^{\otimes Nm}}\left[\mathcal{B}(X)=i\right]\geq\frac{2}{3}. \tag*{(21)} P X ∼ P i ⊗ N m [ B ( X ) = i ] ≥ 3 2 . (21)
Fix an arbitrary user block z 0 ∈ ( [ k ] d ) m z_0\in([k]^d)^m z 0 ∈ ([ k ] d ) m . For each i ∈ [ W ] i\in[W] i ∈ [ W ] and t ∈ { 0 , … , N } t\in\{0,\ldots,N\} t ∈ { 0 , … , N } , let X ( i , t ) X^{(i,t)} X ( i , t ) be the random dataset in which the first t t t user blocks are drawn independently from P i ⊗ m P_i^{\otimes m} P i ⊗ m and the remaining N − t N-t N − t user blocks are equal to z 0 z_0 z 0 . Define
q i , t : = P [ B ( X ( i , t ) ) = i ] . q_{i,t}:=\mathbb{P}\left[\mathcal{B}(X^{(i,t)})=i\right]. q i , t := P [ B ( X ( i , t ) ) = i ] .
For every t ∈ { 0 , … , N − 1 } t\in\{0,\ldots,N-1\} t ∈ { 0 , … , N − 1 } , the datasets defining X ( i , t ) X^{(i,t)} X ( i , t ) and X ( i , t + 1 ) X^{(i,t+1)} X ( i , t + 1 ) differ only in user t + 1 t+1 t + 1 . Conditioning on all the sampled user blocks, applying ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -DP, and then averaging gives
q i , t + 1 ≤ e ε q i , t + δ . q_{i,t+1}\leq e^\varepsilon q_{i,t}+\delta. q i , t + 1 ≤ e ε q i , t + δ .
This can be rewritten as
q i , t + 1 + δ e ε − 1 ≤ e ε ( q i , t + δ e ε − 1 ) . q_{i,t+1}+\frac{\delta}{e^\varepsilon-1}\leq e^\varepsilon\left(q_{i,t}+\frac{\delta}{e^\varepsilon-1}\right). q i , t + 1 + e ε − 1 δ ≤ e ε ( q i , t + e ε − 1 δ ) .
Iterating over t = 0 , … , N − 1 t=0,\ldots,N-1 t = 0 , … , N − 1 and using (21) yields
q i , 0 + δ e ε − 1 ≥ e − N ε ( q i , N + δ e ε − 1 ) ≥ e − N ε ( 2 3 + δ e ε − 1 ) . q_{i,0}+\frac{\delta}{e^\varepsilon-1}\geq e^{-N\varepsilon}\left(q_{i,N}+\frac{\delta}{e^\varepsilon-1}\right)\geq e^{-N\varepsilon}\left(\frac{2}{3}+\frac{\delta}{e^\varepsilon-1}\right). q i , 0 + e ε − 1 δ ≥ e − N ε ( q i , N + e ε − 1 δ ) ≥ e − N ε ( 3 2 + e ε − 1 δ ) .
Therefore,
q i , 0 ≥ e − N ε ( 2 3 + δ e ε − 1 ) − δ e ε − 1 . (22) q_{i,0}\geq e^{-N\varepsilon}\left(\frac{2}{3}+\frac{\delta}{e^\varepsilon-1}\right)-\frac{\delta}{e^\varepsilon-1}. \tag*{(22)} q i , 0 ≥ e − N ε ( 3 2 + e ε − 1 δ ) − e ε − 1 δ . (22)
Crucially, X ( i , 0 ) X^{(i,0)} X ( i , 0 ) is the same fixed dataset ( z 0 , … , z 0 ) (z_0,\ldots,z_0) ( z 0 , … , z 0 ) for every i i i . Since B \mathcal{B} B outputs exactly one element of [ W ] [W] [ W ] , ∑ i = 1 W q i , 0 = 1 \sum_{i=1}^{W}q_{i,0}=1 ∑ i = 1 W q i , 0 = 1 . Thus, summing (22) over i i i gives
1 ≥ W [ e − N ε ( 2 3 + δ e ε − 1 ) − δ e ε − 1 ] . 1\geq W\left[e^{-N\varepsilon}\left(\frac{2}{3}+\frac{\delta}{e^\varepsilon-1}\right)-\frac{\delta}{e^\varepsilon-1}\right]. 1 ≥ W [ e − N ε ( 3 2 + e ε − 1 δ ) − e ε − 1 δ ] .
Rearranging gives
e − N ε ( 2 3 + δ e ε − 1 ) ≤ 1 W + δ e ε − 1 . e^{-N\varepsilon}\left(\frac{2}{3}+\frac{\delta}{e^\varepsilon-1}\right)\leq\frac{1}{W}+\frac{\delta}{e^\varepsilon-1}. e − N ε ( 3 2 + e ε − 1 δ ) ≤ W 1 + e ε − 1 δ .
Hence, using e ε − 1 = Θ ( ε ) e^\varepsilon-1=\Theta(\varepsilon) e ε − 1 = Θ ( ε ) for ε ≤ 1 \varepsilon\leq1 ε ≤ 1 and δ ≤ ε 2 \delta\leq\varepsilon^2 δ ≤ ε 2 , we obtain
N ≥ 1 ε log ( 2 3 + δ e ε − 1 1 W + δ e ε − 1 ) ≳ 1 ε min { log ( W ) , log ( 1 δ ) } . N\geq\frac{1}{\varepsilon}\log\left(\frac{\frac{2}{3}+\frac{\delta}{e^\varepsilon-1}}{\frac{1}{W}+\frac{\delta}{e^\varepsilon-1}}\right)\gtrsim\frac{1}{\varepsilon}\min\left\{\log(W),\log\left(\frac{1}{\delta}\right)\right\}. N ≥ ε 1 log ( W 1 + e ε − 1 δ 3 2 + e ε − 1 δ ) ≳ ε 1 min { log ( W ) , log ( δ 1 ) } .
Using (20) along with the above expression proves the claim.
Pure DP Upper Bound
Lemma 50 (Ghazi et al. [18 ] ) Consider the problem of estimating a discrete distribution p ∈ Δ ( k ) p \in\Delta(k) p ∈ Δ ( k ) over [ k ] [k] [ k ] given n = Θ ~ ( k ε + k α ε m + k α 2 m ) n = \widetilde{\Theta}\left(\frac{k}{\varepsilon} + \frac{k}{\alpha\varepsilon\sqrt{m}} + \frac{k}{\alpha^{2}m}\right) n = Θ ( ε k + α ε m k + α 2 m k ) users with m m m samples per user. Let X X X denote the dataset sampled i.i.d. from p p p . For sufficiently small ε \varepsilon ε , α \alpha α , there exists an ε \varepsilon ε user level DP algorithm A ε \mathcal{A}_{\varepsilon} A ε which achieves ∥ A ε ( X ) − p ∥ 1 ≤ α \left\|\mathcal{A}_{\varepsilon}(X)-p\right\|_{1} \leq\alpha ∥ A ε ( X ) − p ∥ 1 ≤ α with probability greater than 1 − f 1-f 1 − f .
Based on the above result, we propose a (trivial) algorithm to estimate P ^ \widehat{P} P with pure DP. Using the fact that each row of the distribution matrix corresponds to a k k k -ary distribution, Algorithm E.5 simply applies the algorithm in Lemma 50 to each row and obtains the required guarantee.
Algorithm E.5 User-level private estimation of product distributions with pure DP.
Input: A database D = ( X i , t ) i ∈ [ N ] , t ∈ [ m ] \mathcal{D} = (X_{i,t})_{i\in[N],\,t\in[m]} D = ( X i , t ) i ∈ [ N ] , t ∈ [ m ] , where X i , t ∈ [ k ] d X_{i,t} \in[k]^d X i , t ∈ [ k ] d , privacy parameters ε , δ > 0 \varepsilon,\delta> 0 ε , δ > 0 , and failure probability f ∈ ( 0 , 1 ) f \in(0,1) f ∈ ( 0 , 1 ) .
Operation:
For each product coordinate j ∈ [ d ] j \in[d] j ∈ [ d ] , let X j \mathcal{X}_j X j represent the user level data { X i , t , j } i ∈ [ N ] , t ∈ [ m ] \{X_{i,t,j}\}_{i\in[N],\,t\in[m]} { X i , t , j } i ∈ [ N ] , t ∈ [ m ] , where X i , t , j X_{i,t,j} X i , t , j is the j t h j^{\mathrm{th}} j th coordinate of X i , t X_{i,t} X i , t .
For each j ∈ [ d ] j \in[d] j ∈ [ d ] set P ^ j , ⋅ = A ε d ( X j ) \widehat{P}_{j,\cdot} = \mathcal{A}_{\frac{\varepsilon}{d}}(\mathcal{X}_j) P j , ⋅ = A d ε ( X j ) with failure probability f d \frac{f}{d} d f and output P ^ \widehat{P} P .
Theorem 51 Algorithm E.5 is ε \varepsilon ε -DP.
Proof We use d d d instances of A ε d \mathcal{A}_{\frac{\varepsilon}{d}} A d ε each satisfying ε / d \varepsilon/d ε / d -user level DP. By simple composition (Dwork and Roth, [12 ] ), the algorithm is ε \varepsilon ε user-level DP.
Theorem 52 Fix 0 < f < 1 0 < f < 1 0 < f < 1 and let α \alpha α and ε \varepsilon ε be sufficiently small, as required by Lemma 50. The output of Algorithm E.5, P ^ \widehat{P} P , satisfies Pr ( ρ ( P ^ , P ) ≤ α ) ≥ 1 − f \Pr\left(\rho(\widehat{P},P) \leq\alpha\right) \geq1-f Pr ( ρ ( P , P ) ≤ α ) ≥ 1 − f uniformly over P ∈ P d , k P \in\mathcal{P}_{d,k} P ∈ P d , k for
N = Θ ~ ( k d ε + k d α ε m + k m α 2 ) . N = \widetilde{\Theta}\left(\frac{kd}{\varepsilon} + \frac{kd}{\alpha\varepsilon\sqrt{m}} + \frac{k}{m\alpha^{2}}\right). N = Θ ( ε k d + α ε m k d + m α 2 k ) .
Proof Because P P P is a product distribution, each coordinate represents samples from an independent k k k -ary distribution. Hence, N N N samples from P P P yield N N N samples from P j , ⋅ P_{j,\cdot} P j , ⋅ for every j ∈ [ d ] j \in[d] j ∈ [ d ] . Lemma 50 implies that, with N = Θ ~ ( k d ε + k d α ε m + k α 2 m ) N = \widetilde{\Theta}\left(\frac{kd}{\varepsilon} + \frac{kd}{\alpha\varepsilon\sqrt{m}} + \frac{k}{\alpha^{2}m}\right) N = Θ ( ε k d + α ε m k d + α 2 m k ) samples for every j ∈ [ d ] j \in[d] j ∈ [ d ] ,
Pr ( ∥ P ^ j , ⋅ − P j , ⋅ ∥ 1 ≥ α ) ≤ f d . \Pr\left(\left\|\widehat{P}_{j,\cdot}-P_{j,\cdot}\right\|_{1} \geq\alpha\right) \leq\frac{f}{d}. Pr ( P j , ⋅ − P j , ⋅ 1 ≥ α ) ≤ d f .
A union bound over the d d d coordinates shows that with probability greater than 1 − f 1-f 1 − f , ρ ( P ^ , P ) ≤ α \rho(\widehat{P},P) \leq\alpha ρ ( P , P ) ≤ α . This concludes the proof.
Pure DP Lower Bound
Following Ghazi et al. [18 ] , we use the following notation for the lower-bound argument. A task T \mathcal{T} T has a finite output space O T \mathcal{O}_{\mathcal{T}} O T and, for every valid data-generating distribution D D D , a set Ψ T ( D ) ⊆ O T \Psi_{\mathcal{T}}(D) \subseteq\mathcal{O}_{\mathcal{T}} Ψ T ( D ) ⊆ O T of correct outputs. An algorithm B \mathcal{B} B is said to be useful for T \mathcal{T} T if, for every valid D D D ,
P X ∼ D ⊗ n m ( B ( X ) ∈ Ψ T ( D ) ) ≥ 2 3 , \mathbb{P}_{X \sim D^{\otimes nm}}\left(\mathcal{B}(X) \in\Psi_{\mathcal{T}}(D)\right) \ge\frac{2}{3}, P X ∼ D ⊗ nm ( B ( X ) ∈ Ψ T ( D ) ) ≥ 3 2 ,
where the probability includes both the randomness of the samples and the internal randomness of B \mathcal{B} B . We let n m T ( ε ) n^{\mathcal{T}}_{m}(\varepsilon) n m T ( ε ) denote the smallest number of users for which there exists an ε \varepsilon ε -user-level differentially private algorithm that is useful for T \mathcal{T} T .
Lemma 53 (User-level DP Fano’s inequality (Ghazi et al. [18 ] , Lemma 39). Let T \mathcal{T} T be any finite-output task. Suppose that there exist valid distributions D 1 , … , D W D_1, \ldots, D_W D 1 , … , D W such that, for all distinct i , j ∈ [ W ] i,j \in[W] i , j ∈ [ W ] , Ψ T ( D i ) ∩ Ψ T ( D j ) = ∅ \Psi_{\mathcal{T}}(D_i) \cap\Psi_{\mathcal{T}}(D_j) = \varnothing Ψ T ( D i ) ∩ Ψ T ( D j ) = ∅ and D K L ( D i ∥ D j ) ≤ β D_{\mathrm{KL}}(D_i \Vert D_j) \le\beta D KL ( D i ∥ D j ) ≤ β . Then
n m T ( ε ) = Ω ( log W ε + log W ε m β + log W m β ) . n^{\mathcal{T}}_{m}(\varepsilon) = \Omega\left(\frac{\log W}{\varepsilon}+\frac{\log W}{\varepsilon\sqrt{m\beta}}+\frac{\log W}{m\beta}\right). n m T ( ε ) = Ω ( ε log W + ε m β log W + m β log W ) .
Theorem 54 Let k ≥ 40 k \ge40 k ≥ 40 and α < 1 / 48 \alpha< 1/48 α < 1/48 . Let A \mathcal{A} A be an ε \varepsilon ε -user-level differentially private estimator with N N N users, each contributing m m m samples. Suppose that, uniformly over P ∈ P d , k P \in\mathcal{P}_{d,k} P ∈ P d , k , A \mathcal{A} A outputs P ^ ∈ P d , k \widehat{P} \in\mathcal{P}_{d,k} P ∈ P d , k such that
P ( ρ ( P ^ , P ) ≤ α ) ≥ 2 3 . \mathbb{P}\left(\rho(\widehat{P},P) \le\alpha\right) \ge\frac{2}{3}. P ( ρ ( P , P ) ≤ α ) ≥ 3 2 . Then
N = Ω ( k d ε + k d ε α m + k m α 2 ) . N = \Omega\left(\frac{kd}{\varepsilon}+\frac{k\sqrt{d}}{\varepsilon\alpha\sqrt{m}}+\frac{k}{m\alpha^2}\right). N = Ω ( ε k d + ε α m k d + m α 2 k ) .
Proof We first prove the result when k k k is even. For odd k k k , let k ′ : = 2 ⌊ k 2 ⌋ k' := 2\left\lfloor\frac{k}{2}\right\rfloor k ′ := 2 ⌊ 2 k ⌋ . Apply the even-domain construction below on the first k ′ k' k ′ symbols and assign probability zero to the remaining symbol. Since k ′ ≥ k / 2 k' \ge k/2 k ′ ≥ k /2 , this changes only the universal constants in the final lower bound.
Defining a Packing Let C ⊆ { 0 , 1 } k \mathcal{C} \subseteq\{0,1\}^{k} C ⊆ { 0 , 1 } k be a constant-weight binary code such that every c ∈ C \boldsymbol{c} \in\mathcal{C} c ∈ C has Hamming weight k 2 \frac{k}{2} 2 k , every distinct c , c ′ ∈ C \boldsymbol{c},\boldsymbol{c}' \in\mathcal{C} c , c ′ ∈ C satisfy d H ( c , c ′ ) ≥ k 8 d_{\mathrm{H}}(\boldsymbol{c},\boldsymbol{c}') \ge\frac{k}{8} d H ( c , c ′ ) ≥ 8 k , and log ∣ C ∣ = Ω ( k ) \log|\mathcal{C}| = \Omega(k) log ∣ C ∣ = Ω ( k ) . For k 0 ≥ 40 k_0 \ge40 k 0 ≥ 40 , this follows from Acharya et al. [1 ] by taking weight k 2 \frac{k}{2} 2 k . For every c ∈ C \boldsymbol{c} \in\mathcal{C} c ∈ C , define p c ∈ Δ ( k ) p_{\boldsymbol{c}} \in\Delta(k) p c ∈ Δ ( k ) by
p c ( a ) = { 1 + 24 α k , c a = 1 , 1 − 24 α k , c a = 0. p_{\boldsymbol{c}}(a)=
\begin{cases}
\frac{1+24\alpha}{k}, & c_a=1,\\
\frac{1-24\alpha}{k}, & c_a=0.
\end{cases} p c ( a ) = { k 1 + 24 α , k 1 − 24 α , c a = 1 , c a = 0.
where p c ( a ) p_{\boldsymbol{c}}(a) p c ( a ) denotes its a a a -th co-ordinate. Since every codeword has exactly k 2 \frac{k}{2} 2 k ones,
∑ a = 1 k p c ( a ) = k 2 ⋅ 1 + 24 α k + k 2 ⋅ 1 − 24 α k = 1. \sum_{a=1}^{k}p_{\boldsymbol{c}}(a)=\frac{k}{2}\cdot\frac{1+24\alpha}{k}+\frac{k}{2}\cdot\frac{1-24\alpha}{k}=1. a = 1 ∑ k p c ( a ) = 2 k ⋅ k 1 + 24 α + 2 k ⋅ k 1 − 24 α = 1.
Moreover, p c ( a ) ≥ 0 p_{\boldsymbol{c}}(a) \ge0 p c ( a ) ≥ 0 because α < 1 / 48 \alpha< 1/48 α < 1/48 . For every c = ( c ( 1 ) , … , c ( d ) ) ∈ C d \boldsymbol{c}=(\boldsymbol{c}^{(1)},\ldots,\boldsymbol{c}^{(d)}) \in\mathcal{C}^{d} c = ( c ( 1 ) , … , c ( d ) ) ∈ C d , define P c : = ⨂ j = 1 d p c ( j ) P_{\boldsymbol{c}} := \bigotimes_{j=1}^{d}p_{\boldsymbol{c}^{(j)}} P c := ⨂ j = 1 d p c ( j ) . Let V : = { P c : c ∈ C d } \mathcal{V} := \{P_{\boldsymbol{c}}:\boldsymbol{c}\in\mathcal{C}^{d}\} V := { P c : c ∈ C d } . Its cardinality is W : = ∣ V ∣ = ∣ C ∣ d W := |\mathcal{V}|=|\mathcal{C}|^{d} W := ∣ V ∣ = ∣ C ∣ d , and therefore
log W = d log ∣ C ∣ = Ω ( k d ) . (23) \log W=d\log|\mathcal{C}|=\Omega(kd). \tag*{(23)} log W = d log ∣ C ∣ = Ω ( k d ) . (23)
Separation of the packing. Fix distinct c , c ′ ∈ C c,c' \in\mathcal{C} c , c ′ ∈ C and set h : = d H ( c , c ′ ) h := d_{\mathrm{H}}(c,c') h := d H ( c , c ′ ) . At every coordinate on which c c c and c ′ c' c ′ differ, the corresponding probabilities differ by 48 α / k 48\alpha/k 48 α / k . Hence
d T V ( p c , p c ′ ) = 1 2 ∑ a = 1 k ∣ p c ( a ) − p c ′ ( a ) ∣ = 1 2 ⋅ h ⋅ 48 α k = 24 α h k ≥ 3 α , d_{\mathrm{TV}}(p_c,p_{c'}) = \frac{1}{2}\sum_{a=1}^{k} \lvert p_c(a)-p_{c'}(a)\rvert= \frac{1}{2}\cdot h\cdot\frac{48\alpha}{k} = \frac{24\alpha h}{k} \ge3\alpha, d TV ( p c , p c ′ ) = 2 1 a = 1 ∑ k ∣ p c ( a ) − p c ′ ( a )∣ = 2 1 ⋅ h ⋅ k 48 α = k 24 α h ≥ 3 α ,
where the last step follows since h ≥ k 8 h \ge\frac{k}{8} h ≥ 8 k . Equivalently, ∥ p c − p c ′ ∥ 1 ≥ 6 α \lVert p_c-p_{c'}\rVert_1 \ge6\alpha ∥ p c − p c ′ ∥ 1 ≥ 6 α . If c ≠ c ′ c \ne c' c = c ′ , then c ( j ) ≠ c ′ ( j ) c^{(j)} \ne c'^{(j)} c ( j ) = c ′ ( j ) for some j ∈ [ d ] j \in[d] j ∈ [ d ] . It follows from the ℓ 1 \ell_1 ℓ 1 norm separation that
ρ ( P c , P c ′ ) = max ℓ ∈ [ d ] ∥ p c ( ℓ ) − p c ′ ( ℓ ) ∥ 1 ≥ ∥ p c ( j ) − p c ′ ( j ) ∥ 1 ≥ 6 α . (24) \rho(P_c,P_{c'}) = \max_{\ell\in[d]} \lVert p_{c(\ell)}-p_{c'(\ell)}\rVert_1 \ge\lVert p_{c(j)}-p_{c'(j)}\rVert_1 \ge6\alpha. \tag*{(24)} ρ ( P c , P c ′ ) = ℓ ∈ [ d ] max ∥ p c ( ℓ ) − p c ′ ( ℓ ) ∥ 1 ≥ ∥ p c ( j ) − p c ′ ( j ) ∥ 1 ≥ 6 α . (24)
Reduction to a finite distribution-identification task. Enumerate the packing as V = { P 1 , … , P W } \mathcal{V} = \{P_1,\ldots,P_W\} V = { P 1 , … , P W } . Define a finite-output task T V \mathcal{T}_{\mathsf{V}} T V whose valid data-generating distributions are P 1 , … , P W P_1,\ldots,P_W P 1 , … , P W , whose output space is [ W ] [W] [ W ] , and whose correct-output sets are Ψ T V ( P i ) : = { i } \Psi_{\mathsf{T}_{\mathsf{V}}}(P_i) := \{i\} Ψ T V ( P i ) := { i } for all i ∈ [ W ] i \in[W] i ∈ [ W ] . In particular, the correct-output sets are pairwise disjoint. We then construct a useful algorithm for T V \mathcal{T}_{\mathsf{V}} T V from the assumed estimator A \mathcal{A} A . Given a dataset X X X , run A \mathcal{A} A and let P ^ \widehat{P} P be its output. Define
B ( X ) ∈ arg min i ∈ [ W ] ρ ( P ^ , P i ) , \mathcal{B}(X) \in\arg\min_{i\in[W]} \rho(\widehat{P},P_i), B ( X ) ∈ arg i ∈ [ W ] min ρ ( P , P i ) ,
where ties are broken according to a fixed ordering of [ W ] [W] [ W ] . Since B \mathcal{B} B is a deterministic post-processing of A \mathcal{A} A , it is ε \varepsilon ε -user-level differentially private.
Suppose now that the true distribution is P i P_i P i and that ρ ( P ^ , P i ) ≤ α \rho(\widehat{P},P_i) \le\alpha ρ ( P , P i ) ≤ α . For every ℓ ≠ i \ell\ne i ℓ = i , the triangle inequality and (24) give
ρ ( P ^ , P ℓ ) ≥ ρ ( P i , P ℓ ) − ρ ( P ^ , P i ) ≥ 6 α − α = 5 α > ρ ( P ^ , P i ) . \rho(\widehat{P},P_\ell) \ge\rho(P_i,P_\ell)-\rho(\widehat{P},P_i) \ge6\alpha-\alpha=5\alpha> \rho(\widehat{P},P_i). ρ ( P , P ℓ ) ≥ ρ ( P i , P ℓ ) − ρ ( P , P i ) ≥ 6 α − α = 5 α > ρ ( P , P i ) .
Thus P i P_i P i is the unique nearest packing element, and B ( X ) = i \mathcal{B}(X)=i B ( X ) = i . The assumed utility guarantee for A \mathcal{A} A therefore implies that, for every i ∈ [ W ] i \in[W] i ∈ [ W ] ,
P X ∼ P i ⊗ n ( B ( X ) = i ) = P X ∼ P i ⊗ n ( B ( X ) ∈ Ψ T V ( P i ) ) ≥ 2 3 . \mathbb{P}_{X\sim P_i^{\otimes n}}(\mathcal{B}(X)=i) = \mathbb{P}_{X\sim P_i^{\otimes n}}(\mathcal{B}(X)\in\Psi_{\mathsf{T}_{\mathsf{V}}}(P_i)) \ge\frac{2}{3}. P X ∼ P i ⊗ n ( B ( X ) = i ) = P X ∼ P i ⊗ n ( B ( X ) ∈ Ψ T V ( P i )) ≥ 3 2 .
Hence B \mathcal{B} B is useful for T V \mathcal{T}_{\mathsf{V}} T V , and consequently N ≥ n m T V ( ε ) N \ge n^{\mathcal{T}_{\mathsf{V}}}_{m}(\varepsilon) N ≥ n m T V ( ε ) .
Pairwise KL-divergence bound. Set x : = 24 α x := 24\alpha x := 24 α . Since α < 1 / 48 \alpha< 1/48 α < 1/48 , we have 0 < x < 1 / 2 0 < x < 1/2 0 < x < 1/2 . Fix distinct c , c ′ ∈ C c,c' \in\mathcal{C} c , c ′ ∈ C and set h : = d H ( c , c ′ ) h := d_{\mathrm{H}}(c,c') h := d H ( c , c ′ ) . Because both codewords have Hamming weight k / 2 k/2 k /2 , exactly h / 2 h/2 h /2 of their differing coordinates satisfy c a = 1 , c a ′ = 0 c_a=1,c'_a=0 c a = 1 , c a ′ = 0 and exactly h / 2 h/2 h /2 satisfy c a = 0 , c a ′ = 1 c_a=0,c'_a=1 c a = 0 , c a ′ = 1 . This can be seen by the following argument. Take ∣ { a : c a = 1 , c a ′ = 0 } ∣ = h 1 \lvert\{a:c_a=1,c'_a=0\}\rvert=h_1 ∣{ a : c a = 1 , c a ′ = 0 }∣ = h 1 and ∣ { a : c a = 0 , c a ′ = 1 } ∣ = h 2 \lvert\{a:c_a=0,c'_a=1\}\rvert=h_2 ∣{ a : c a = 0 , c a ′ = 1 }∣ = h 2 , then it would mean that if c c c has Hamming weight k / 2 k/2 k /2 , then c ′ c' c ′ must have a Hamming weight ≥ h 2 + k 2 − h 1 \ge h_2+\frac{k}{2}-h_1 ≥ h 2 + 2 k − h 1 . On the other hand, if c ′ c' c ′ has Hamming weight k / 2 k/2 k /2 , then we get that c c c must have a Hamming weight of at least h 1 + k 2 − h 2 h_1+\frac{k}{2}-h_2 h 1 + 2 k − h 2 . Now, since both vectors have Hamming weight k / 2 k/2 k /2 , we get that h 1 ≤ h 2 h_1\le h_2 h 1 ≤ h 2 and h 2 ≤ h 1 h_2\le h_1 h 2 ≤ h 1 , proving that h 1 = h 2 h_1=h_2 h 1 = h 2 . Therefore,
D K L ( p c ∥ p c ′ ) = h 2 [ 1 + x k log ( 1 + x 1 − x ) + 1 − x k log ( 1 − x 1 + x ) ] = h x k log ( 1 + x 1 − x ) . D_{\mathrm{KL}}(p_c\Vert p_{c'}) = \frac{h}{2}\left[\frac{1+x}{k}\log\left(\frac{1+x}{1-x}\right)+\frac{1-x}{k}\log\left(\frac{1-x}{1+x}\right)\right] = \frac{hx}{k}\log\left(\frac{1+x}{1-x}\right). D KL ( p c ∥ p c ′ ) = 2 h [ k 1 + x log ( 1 − x 1 + x ) + k 1 − x log ( 1 + x 1 − x ) ] = k h x log ( 1 − x 1 + x ) .
For 0 ≤ x ≤ 1 / 2 0 \le x \le1/2 0 ≤ x ≤ 1/2 , log ( 1 + x 1 − x ) ≤ 4 x \log\left(\frac{1+x}{1-x}\right) \le4x log ( 1 − x 1 + x ) ≤ 4 x . It follows that
D K L ( p c ∥ p c ′ ) ≤ 4 h x 2 k ≤ 4 x 2 = 2304 α 2 . D_{\mathrm{KL}}(p_c \Vert p_{c'}) \le\frac{4hx^2}{k} \le4x^2 = 2304\alpha^2. D KL ( p c ∥ p c ′ ) ≤ k 4 h x 2 ≤ 4 x 2 = 2304 α 2 .
By additivity of KL divergence under products, for every c , c ′ ∈ C d c,c' \in\mathcal{C}^d c , c ′ ∈ C d ,
D K L ( P c ∥ P c ′ ) = ∑ j = 1 d D K L ( p c ( j ) ∥ p c ′ ( j ) ) ≤ 2304 d α 2 . D_{\mathrm{KL}}(P_c \Vert P_{c'}) = \sum_{j=1}^{d}D_{\mathrm{KL}}\left(p_{c(j)} \Vert p_{c'(j)}\right) \le2304d\alpha^2. D KL ( P c ∥ P c ′ ) = j = 1 ∑ d D KL ( p c ( j ) ∥ p c ′ ( j ) ) ≤ 2304 d α 2 .
Thus, Lemma 53 applies to the finite task T V \mathcal{T}_{\mathcal{V}} T V with β : = 2304 d α 2 \beta:= 2304d\alpha^2 β := 2304 d α 2 . Combining (23) , Lemma 53 , and the fact that N ≥ n T V T V ( ε ) N \ge n_{\mathcal{T}_{\mathcal{V}}}^{\mathrm{TV}}(\varepsilon) N ≥ n T V TV ( ε ) , we obtain
N ≳ k d ε + k d ε α m + k m α 2 . N \gtrsim\frac{kd}{\varepsilon}+\frac{k\sqrt{d}}{\varepsilon\alpha\sqrt{m}}+\frac{k}{m\alpha^2}. N ≳ ε k d + ε α m k d + m α 2 k .
This proves the result.
A Simple Extension of the Item-Level Algorithm to User-Level Privacy
In this section, the user complexity bounds follow by applying the item-level algorithm to the user-level case.
Theorem 55 Algorithm D .1 D.1 D .1 with D = Lap ( 4 T ε ) \mathcal{D}=\operatorname{Lap}\left(\frac{4T}{\varepsilon}\right) D = Lap ( ε 4 T ) is ε \varepsilon ε user-level differentially private.
Proof Consider the count matrix K ′ K' K ′ corresponding to the adjacent database. Changing one chain can affect at most 2 T 2T 2 T transitions, which implies that the ℓ 1 \ell_1 ℓ 1 norm between the vectorized versions of the matrices is upper bounded by 4 T 4T 4 T . Hence, for D = Lap ( 4 T ε ) \mathcal{D}=\operatorname{Lap}\left(\frac{4T}{\varepsilon}\right) D = Lap ( ε 4 T ) , we get that the count matrix is ε \varepsilon ε -DP by the Laplace mechanism [12 ] . Steps 2 and 3 are simply post-processing, which implies that the resulting matrix P ~ \widetilde{P} P satisfies ε \varepsilon ε -DP.
Theorem 56 Fix 0 < α , f < 1 0 < \alpha,f < 1 0 < α , f < 1 and 0 < ε ≤ 1 0 < \varepsilon\le1 0 < ε ≤ 1 . Uniformly over P ∈ C ( S , π min , γ p s ) P \in\mathcal{C}(S,\pi_{\min},\gamma_{\mathrm{ps}}) P ∈ C ( S , π m i n , γ ps ) and arbitrary initial distributions, Algorithm D .1 D.1 D .1 with D = Lap ( 0 , 4 T / ε ) \mathcal{D}=\operatorname{Lap}(0,4T/\varepsilon) D = Lap ( 0 , 4 T / ε ) satisfies P ( ρ ( P ^ , P ) ≤ α ) ≥ 1 − f \mathbb{P}\left(\rho(\widehat{P},P)\le\alpha\right)\ge1-f P ( ρ ( P , P ) ≤ α ) ≥ 1 − f for
N = O ( S log ( S π min ) π min T α 2 + ln ( 1 π min ) π min T + log ( S π min ) π min T γ p s + S + max { S log ( S π min ) , log ( S π min ) } π min α ε ) . N=O\left(\frac{S\log\left(\frac{S}{\pi_{\min}}\right)}{\pi_{\min}T\alpha^2}+\frac{\ln\left(\frac{1}{\pi_{\min}}\right)}{\pi_{\min}T}+\frac{\log\left(\frac{S}{\pi_{\min}}\right)}{\pi_{\min}T\gamma_{\mathrm{ps}}}+\frac{S+\max\left\{\sqrt{S\log\left(\frac{S}{\pi_{\min}}\right)},\log\left(\frac{S}{\pi_{\min}}\right)\right\}}{\pi_{\min}\alpha\varepsilon}\right). N = O π m i n T α 2 S log ( π m i n S ) + π m i n T ln ( π m i n 1 ) + π m i n T γ ps log ( π m i n S ) + π m i n α ε S + max { S log ( π m i n S ) , log ( π m i n S ) } .
Proof Proceeding exactly as in the item level analysis, we look at the matrix-norm distance between corresponding rows of P ~ \widetilde{P} P with P ^ \widehat{P} P . Consider the arbitrary i t h i^{\mathrm{th}} i th row of the two matrices. We seek a high probability bound on the following quantity
∑ j = 1 S ∣ [ K i , j + Z i , j ] + ∑ k = 1 S [ K i , k + Z i , k ] + − K i , j ∑ k = 1 S K i , k ∣ . \sum_{j=1}^{S}\left|\frac{[K_{i,j}+Z_{i,j}]_+}{\sum_{k=1}^{S}[K_{i,k}+Z_{i,k}]_+}-\frac{K_{i,j}}{\sum_{k=1}^{S}K_{i,k}}\right|. j = 1 ∑ S ∑ k = 1 S [ K i , k + Z i , k ] + [ K i , j + Z i , j ] + − ∑ k = 1 S K i , k K i , j .
Let 0 < R ≤ 1 2 π min N 0<R\le\frac{1}{2}\pi_{\min}N 0 < R ≤ 2 1 π m i n N and α ≤ 1 \alpha\le1 α ≤ 1 . Define K i : = ∑ j = 1 S K i , j K_i:=\sum_{j=1}^{S}K_{i,j} K i := ∑ j = 1 S K i , j and consider the events
E 1 = { ∑ j = 1 S ∣ Z i , j ∣ ≤ R for all rows i ∈ [ S ] } \mathcal{E}_1=\left\{\sum_{j=1}^{S}|Z_{i,j}|\le R\text{ for all rows }i\in[S]\right\} E 1 = { j = 1 ∑ S ∣ Z i , j ∣ ≤ R for all rows i ∈ [ S ] }
E 2 = { ∀ i ∈ [ S ] , K i ∈ [ 1 2 π i N T , 3 2 π i N T ] } . \mathcal{E}_2=\left\{\forall i\in[S],K_i\in\left[\frac{1}{2}\pi_iNT,\frac{3}{2}\pi_iNT\right]\right\}. E 2 = { ∀ i ∈ [ S ] , K i ∈ [ 2 1 π i N T , 2 3 π i N T ] } .
Conditional on the events E 1 \mathcal{E}_1 E 1 and E 2 \mathcal{E}_2 E 2 , we have that K i ≥ 1 4 π min N T ≥ R K_i\ge\frac{1}{4}\pi_{\min}NT\ge R K i ≥ 4 1 π m i n N T ≥ R . Hence, we get that for all i ∈ [ S ] i\in[S] i ∈ [ S ]
∑ j = 1 S [ K i , j + Z i , j ] + ≥ ∑ j = 1 S ( K i , j + Z i , j ) = K i + ∑ j = 1 S Z i , j ≥ K i − ∑ j = 1 S ∣ Z i , j ∣ ≥ 1 4 π min T > 0. \sum_{j=1}^{S}[K_{i,j}+Z_{i,j}]_{+}\ge\sum_{j=1}^{S}(K_{i,j}+Z_{i,j})=K_i+\sum_{j=1}^{S}Z_{i,j}\ge K_i-\sum_{j=1}^{S}|Z_{i,j}|\ge\frac{1}{4}\pi_{\min}T>0. j = 1 ∑ S [ K i , j + Z i , j ] + ≥ j = 1 ∑ S ( K i , j + Z i , j ) = K i + j = 1 ∑ S Z i , j ≥ K i − j = 1 ∑ S ∣ Z i , j ∣ ≥ 4 1 π m i n T > 0.
Thus, P ~ i , j : = K ~ i , j K i \widetilde{P}_{i,j}:=\frac{\widetilde{K}_{i,j}}{K_i} P i , j := K i K i , j . For each row, Lemma 24 bounds the above quantity by
∑ j = 1 S ∣ [ K i , j + Z i , j ] + ∑ k = 1 S [ K i , k + Z i , k ] + − K i , j ∑ k = 1 S K i , k ∣ ≤ 2 R K i − R ≤ 2 R 1 2 π min N T − R . \sum_{j=1}^{S}\left|\frac{[K_{i,j}+Z_{i,j}]_{+}}{\sum_{k=1}^{S}[K_{i,k}+Z_{i,k}]_{+}}-\frac{K_{i,j}}{\sum_{k=1}^{S}K_{i,k}}\right|\le\frac{2R}{K_i-R}\le\frac{2R}{\frac{1}{2}\pi_{\min}NT-R}. j = 1 ∑ S ∑ k = 1 S [ K i , k + Z i , k ] + [ K i , j + Z i , j ] + − ∑ k = 1 S K i , k K i , j ≤ K i − R 2 R ≤ 2 1 π m i n N T − R 2 R .
Let σ 2 = 8 T 2 ε 2 \sigma^2=\frac{8T^2}{\varepsilon^2} σ 2 = ε 2 8 T 2 . A Laplace random variable is sub-exponential with Bernstein parameters ( σ 2 , σ 2 ) \left(\sigma^2,\frac{\sigma}{\sqrt{2}}\right) ( σ 2 , 2 σ ) . Then, by applying Bernstein’s inequality [33 ] to each row and then taking the union bound over all the rows, we get that
P ( ∃ i ∈ [ S ] , ∣ ∑ j = 1 S ∣ Z i , j ∣ − 2 S T ε ∣ ≥ t ) ≤ 2 S exp ( − c min ( t 2 S σ 2 , t σ ) ) . \mathbb{P}\left(\exists i\in[S],\left|\sum_{j=1}^{S}|Z_{i,j}|-\frac{2ST}{\varepsilon}\right|\ge t\right)\le2S\exp\left(-c\min\left(\frac{t^2}{S\sigma^2},\frac{t}{\sigma}\right)\right). P ( ∃ i ∈ [ S ] , j = 1 ∑ S ∣ Z i , j ∣ − ε 2 S T ≥ t ) ≤ 2 S exp ( − c min ( S σ 2 t 2 , σ t ) ) .
Hence, setting R = 2 S T ε + t R=\frac{2ST}{\varepsilon}+t R = ε 2 S T + t , we get that P ( E 1 ) ≤ 2 S exp ( − c min ( t 2 S σ 2 , t σ ) ) \mathbb{P}(\mathcal{E}_1)\le2S\exp\left(-c\min\left(\frac{t^2}{S\sigma^2},\frac{t}{\sigma}\right)\right) P ( E 1 ) ≤ 2 S exp ( − c min ( S σ 2 t 2 , σ t ) ) . Thus, the event E 1 ∩ E 2 \mathcal{E}_1\cap\mathcal{E}_2 E 1 ∩ E 2 implies that ∥ P ~ − P ^ ∥ ∞ ≤ α \|\widetilde{P}-\widehat{P}\|_{\infty}\le\alpha ∥ P − P ∥ ∞ ≤ α when N T = Θ ( R π min α + 1 π min γ p s log ( S f ) ) NT=\Theta\left(\frac{R}{\pi_{\min}\alpha}+\frac{1}{\pi_{\min}\gamma_{ps}}\log\left(\frac{S}{f}\right)\right) N T = Θ ( π m i n α R + π m i n γ p s 1 log ( f S ) ) . Hence, by Lemma 23
P ( ∥ P ~ − P ^ ∥ ∞ ≥ α ) ≤ P ( ∥ P ~ − P ^ ∥ ∞ ≥ α ∣ E 1 ∩ E 2 ) + P ( E 1 ) + P ( E 2 ‾ ) \mathbb{P}\left(\|\widetilde{P}-\widehat{P}\|_{\infty}\ge\alpha\right)\le\mathbb{P}\left(\|\widetilde{P}-\widehat{P}\|_{\infty}\ge\alpha\mid\mathcal{E}_1\cap\mathcal{E}_2\right)+\mathbb{P}(\mathcal{E}_1)+\mathbb{P}(\overline{\mathcal{E}_2}) P ( ∥ P − P ∥ ∞ ≥ α ) ≤ P ( ∥ P − P ∥ ∞ ≥ α ∣ E 1 ∩ E 2 ) + P ( E 1 ) + P ( E 2 )
≤ 2 S exp ( − c min ( t 2 S σ 2 , t σ ) ) + f 3 . \le2S\exp\left(-c\min\left(\frac{t^2}{S\sigma^2},\frac{t}{\sigma}\right)\right)+\frac{f}{3}. ≤ 2 S exp ( − c min ( S σ 2 t 2 , σ t ) ) + 3 f .
Setting t = 2 T 2 ε max { S log ( 6 S f ) , log ( 6 S f ) } t=\frac{2T\sqrt{2}}{\varepsilon}\max\left\{\sqrt{S\log\left(\frac{6S}{f}\right)},\log\left(\frac{6S}{f}\right)\right\} t = ε 2 T 2 max { S log ( f 6 S ) , log ( f 6 S ) } and applying Lemma 22 with
N ≥ C 1 max { S π min T α 2 log ( S f ) + ln ( 1 π min ) π min T , 1 π min γ p s T log ( S f ) } , N\ge C_1\max\left\{\frac{S}{\pi_{\min}T\alpha^2}\log\left(\frac{S}{f}\right)+\frac{\ln\left(\frac{1}{\pi_{\min}}\right)}{\pi_{\min}T},\frac{1}{\pi_{\min}\gamma_{ps}T}\log\left(\frac{S}{f}\right)\right\}, N ≥ C 1 max ⎩ ⎨ ⎧ π m i n T α 2 S log ( f S ) + π m i n T ln ( π m i n 1 ) , π m i n γ p s T 1 log ( f S ) ⎭ ⎬ ⎫ ,
we obtain
P ( ∥ P ~ − P ∥ ∞ ≥ α ) ≤ P ( ∥ P ~ − P ∥ ∞ ≥ α ) + P ( ∥ P ~ − P ^ ∥ ∞ ≥ α ) ≤ f . \mathbb{P}\left(\|\widetilde{P}-P\|_{\infty}\ge\alpha\right)\le\mathbb{P}\left(\|\widetilde{P}-P\|_{\infty}\ge\alpha\right)+\mathbb{P}\left(\|\widetilde{P}-\widehat{P}\|_{\infty}\ge\alpha\right)\le f. P ( ∥ P − P ∥ ∞ ≥ α ) ≤ P ( ∥ P − P ∥ ∞ ≥ α ) + P ( ∥ P − P ∥ ∞ ≥ α ) ≤ f .
The above value of t t t implies that R = Θ ( S T ε + T ε max { S log ( 6 S f ) , log ( 6 S f ) } ) R = \Theta\left(\frac{ST}{\varepsilon} + \frac{T}{\varepsilon}\max\left\{\sqrt{S\log\left(\frac{6S}{f}\right)},\log\left(\frac{6S}{f}\right)\right\}\right) R = Θ ( ε S T + ε T max { S log ( f 6 S ) , log ( f 6 S ) } ) , which yields the following sample complexity,
N = O ( S log ( s f ) π min T α 2 + ln ( 1 π min ) π min T + log ( s f ) π min T γ p s + S + max { S log ( s f ) , log ( s f ) } π min α ε ) . N = O\left(\frac{S\log\left(\frac{s}{f}\right)}{\pi_{\min}T\alpha^2}+\frac{\ln\left(\frac{1}{\pi_{\min}}\right)}{\pi_{\min}T}+\frac{\log\left(\frac{s}{f}\right)}{\pi_{\min}T\gamma_{ps}}+\frac{S+\max\left\{\sqrt{S\log\left(\frac{s}{f}\right)},\log\left(\frac{s}{f}\right)\right\}}{\pi_{\min}\alpha\varepsilon}\right). N = O π m i n T α 2 S log ( f s ) + π m i n T ln ( π m i n 1 ) + π m i n T γ p s log ( f s ) + π m i n α ε S + max { S log ( f s ) , log ( f s ) } .
It is important to note that every ε \varepsilon ε -DP algorithm is ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -DP for any 0 ≤ δ < 1 0 \leq\delta< 1 0 ≤ δ < 1 . However, for completeness, we also give the analysis for an algorithm based on the Gaussian mechanism below.
Theorem 57 Algorithm D.1 with D = N ( 0 , σ 2 ) \mathcal{D} = \mathcal{N}(0,\sigma^2) D = N ( 0 , σ 2 ) , where σ = 4 T log ( 1 / δ ) ε \sigma= \frac{4T\sqrt{\log(1/\delta)}}{\varepsilon} σ = ε 4 T l o g ( 1/ δ ) is ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) differentially private.
Proof. Using exact same argument as in Theorem 25 , for an adjacent matrix K ′ K' K ′ , the ∥ K − K ′ ∥ F ≤ 2 T \lVert K-K'\rVert_F \leq2T ∥ K − K ′ ∥ F ≤ 2 T . Hence, for D = N ( 0 , σ 2 ) \mathcal{D}=\mathcal{N}(0,\sigma^2) D = N ( 0 , σ 2 ) where σ = 4 T log ( 1 / δ ) ε \sigma=\frac{4T\sqrt{\log(1/\delta)}}{\varepsilon} σ = ε 4 T l o g ( 1/ δ ) , the privacy guarantee follows from the ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) privacy guarantee of the Gaussian mechanism on the count matrix K K K and Steps 2 and 3 are post-processing operations, so the resulting P ~ \widetilde{P} P satisfies ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -DP.
Theorem 58 Fix 0 < α , f < 1 0 < \alpha, f < 1 0 < α , f < 1 and 0 < ε ≤ 1 0 < \varepsilon\leq1 0 < ε ≤ 1 . Uniformly over P ∈ C ( S , π min , γ p s ) P \in\mathcal{C}(S,\pi_{\min},\gamma_{ps}) P ∈ C ( S , π m i n , γ p s ) and arbitrary initial distributions, Algorithm D.1 with D \mathcal{D} D being N ( 0 , σ 2 ) \mathcal{N}(0,\sigma^2) N ( 0 , σ 2 ) where σ = 4 T log ( 1 / δ ) ε \sigma=\frac{4T\sqrt{\log(1/\delta)}}{\varepsilon} σ = ε 4 T l o g ( 1/ δ ) satisfies P ( ρ ( P ~ , P ) ≤ α ) ≥ 1 − f \mathbb{P}\left(\rho(\widetilde{P},P)\leq\alpha\right)\geq1-f P ( ρ ( P , P ) ≤ α ) ≥ 1 − f for
N = O ( S log ( s f ) π min T α 2 + ln ( 1 π min ) π min T + log ( s f ) π min T γ p s + S log ( 1 δ ) ε π min α + S log ( 1 δ ) log ( s f ) π min α ε ) . N = O\left(\frac{S\log\left(\frac{s}{f}\right)}{\pi_{\min}T\alpha^2}+\frac{\ln\left(\frac{1}{\pi_{\min}}\right)}{\pi_{\min}T}+\frac{\log\left(\frac{s}{f}\right)}{\pi_{\min}T\gamma_{ps}}+\frac{S\sqrt{\log\left(\frac{1}{\delta}\right)}}{\varepsilon\pi_{\min}\alpha}+\frac{\sqrt{S\log\left(\frac{1}{\delta}\right)\log\left(\frac{s}{f}\right)}}{\pi_{\min}\alpha\varepsilon}\right). N = O π m i n T α 2 S log ( f s ) + π m i n T ln ( π m i n 1 ) + π m i n T γ p s log ( f s ) + ε π m i n α S log ( δ 1 ) + π m i n α ε S log ( δ 1 ) log ( f s ) . Proof Since ∣ Z i , j ∣ |Z_{i,j}| ∣ Z i , j ∣ has mean 2 π σ \sqrt{\frac{2}{\pi}}\sigma π 2 σ , we have E ∑ j = 1 S ∣ Z i , j ∣ = 2 π S σ \mathbb{E}\sum_{j=1}^{S}|Z_{i,j}|=\sqrt{\frac{2}{\pi}}S\sigma E ∑ j = 1 S ∣ Z i , j ∣ = π 2 S σ . Since the absolute value function is 1-Lipschitz, it implies that ∣ Z i , j ∣ − E ∣ Z i , j ∣ |Z_{i,j}|-\mathbb{E}|Z_{i,j}| ∣ Z i , j ∣ − E ∣ Z i , j ∣ is 2 σ 2\sigma 2 σ sub-gaussian. Thus, by applying the concentration inequality for sums of sub-Gaussian random variables ([33 ] ) to each row and then taking a union bound over all rows, we get that
P ( ∃ i ∈ [ S ] , ∣ ∑ j = 1 S ∣ Z i , j ∣ − S σ 2 π ∣ ≥ t ) ≤ 2 S exp ( − t 2 2 S σ 2 ) . \mathbb{P}\left(\exists i\in[S],\left|\sum_{j=1}^{S}|Z_{i,j}|-S\sigma\sqrt{\frac{2}{\pi}}\right|\geq t\right)\leq2S\exp\left(-\frac{t^2}{2S\sigma^2}\right). P ( ∃ i ∈ [ S ] , j = 1 ∑ S ∣ Z i , j ∣ − S σ π 2 ≥ t ) ≤ 2 S exp ( − 2 S σ 2 t 2 ) . As in Theorem 56, setting R = S σ 2 π + t R=S\sigma\sqrt{\frac{2}{\pi}}+t R = S σ π 2 + t , we get that P ( E 1 ) ≤ 2 S exp ( − t 2 2 S σ 2 ) \mathbb{P}(\mathcal{E}_1)\leq2S\exp\left(-\frac{t^2}{2S\sigma^2}\right) P ( E 1 ) ≤ 2 S exp ( − 2 S σ 2 t 2 ) . Thus, the event E 1 ∩ E 2 \mathcal{E}_1\cap\mathcal{E}_2 E 1 ∩ E 2 implies that ∥ P ~ − P ^ ∥ ∞ ≤ α \lVert\widetilde{P}-\widehat{P}\rVert_\infty\leq\alpha ∥ P − P ∥ ∞ ≤ α when N T = Θ ( R π min α ) NT=\Theta\left(\frac{R}{\pi_{\min}\alpha}\right) N T = Θ ( π m i n α R ) . Taking N T = Θ ( R π min α ) NT=\Theta\left(\frac{R}{\pi_{\min}\alpha}\right) N T = Θ ( π m i n α R )
and applying Lemma 23 we get
P ( ∥ P ~ − P ^ ∥ ∞ ≥ α ) ≤ P ( ∥ P ~ − P ∥ ∞ ≥ α ∣ E 1 ∩ E 2 ) + P ( E ‾ 1 ) + P ( E ‾ 2 ) ≤ 2 S exp ( − t 2 2 S σ 2 ) + f 3 . \mathbb{P}\left(\left\|\widetilde{P}-\widehat{P}\right\|_{\infty}\geq\alpha\right)\leq\mathbb{P}\left(\left\|\widetilde{P}-P\right\|_{\infty}\geq\alpha\mid\mathcal{E}_{1}\cap\mathcal{E}_{2}\right)+\mathbb{P}\left(\overline{\mathcal{E}}_{1}\right)+\mathbb{P}\left(\overline{\mathcal{E}}_{2}\right)
\leq2S\exp\left(-\frac{t^{2}}{2S\sigma^{2}}\right)+\frac{f}{3}. P ( P − P ∞ ≥ α ) ≤ P ( P − P ∞ ≥ α ∣ E 1 ∩ E 2 ) + P ( E 1 ) + P ( E 2 ) ≤ 2 S exp ( − 2 S σ 2 t 2 ) + 3 f .
Setting t = 2 σ S log ( 6 S f ) t=2\sigma\sqrt{S\log\left(\frac{6S}{f}\right)} t = 2 σ S log ( f 6 S ) and combining this with Lemma 22, for
N ≥ C 1 max { S π min T α 2 log ( S f ) + ln ( 1 π min ) π min T , 1 π min γ p s T log ( S f ) } , N\geq C_{1}\max\left\{\frac{S}{\pi_{\min}T\alpha^{2}}\log\left(\frac{S}{f}\right)+\frac{\ln\left(\frac{1}{\pi_{\min}}\right)}{\pi_{\min}T},\ \frac{1}{\pi_{\min}\gamma_{ps}T}\log\left(\frac{S}{f}\right)\right\}, N ≥ C 1 max ⎩ ⎨ ⎧ π m i n T α 2 S log ( f S ) + π m i n T ln ( π m i n 1 ) , π m i n γ p s T 1 log ( f S ) ⎭ ⎬ ⎫ ,
we obtain
P ( ∥ P ~ − P ∥ ∞ ≥ α ) ≤ P ( ∥ P ^ − P ∥ ∞ ≥ α ) + P ( ∥ P ~ − P ^ ∥ ∞ ≥ α ) ≤ f . \mathbb{P}\left(\left\|\widetilde{P}-P\right\|_{\infty}\geq\alpha\right)\leq\mathbb{P}\left(\left\|\widehat{P}-P\right\|_{\infty}\geq\alpha\right)+\mathbb{P}\left(\left\|\widetilde{P}-\widehat{P}\right\|_{\infty}\geq\alpha\right)\leq f. P ( P − P ∞ ≥ α ) ≤ P ( P − P ∞ ≥ α ) + P ( P − P ∞ ≥ α ) ≤ f .
Moreover, note that the above value of t t t implies that
R = Θ ( S T log ( 1 / δ ) ϵ + T S log ( 1 / δ ) ϵ log ( S f ) ) , R=\Theta\left(\frac{ST\sqrt{\log(1/\delta)}}{\epsilon}+\frac{T\sqrt{S\log(1/\delta)}}{\epsilon}\sqrt{\log\left(\frac{S}{f}\right)}\right), R = Θ ( ϵ S T log ( 1/ δ ) + ϵ T S log ( 1/ δ ) log ( f S ) ) ,
which yields the following sample complexity,
N = O ( S log ( S f ) π min T α 2 + ln ( 1 π min ) π min T + log ( S f ) π min T γ p s + S log ( 1 / δ ) ϵ π min α + S log ( 1 / δ ) log ( S f ) π min α ϵ ) . N=O\left(\frac{S\log\left(\frac{S}{f}\right)}{\pi_{\min}T\alpha^{2}}+\frac{\ln\left(\frac{1}{\pi_{\min}}\right)}{\pi_{\min}T}+\frac{\log\left(\frac{S}{f}\right)}{\pi_{\min}T\gamma_{ps}}+\frac{S\sqrt{\log(1/\delta)}}{\epsilon\pi_{\min}\alpha}+\frac{\sqrt{S\log(1/\delta)\log\left(\frac{S}{f}\right)}}{\pi_{\min}\alpha\epsilon}\right). N = O π m i n T α 2 S log ( f S ) + π m i n T ln ( π m i n 1 ) + π m i n T γ p s log ( f S ) + ϵ π m i n α S log ( 1/ δ ) + π m i n α ϵ S log ( 1/ δ ) log ( f S ) .
Proofs for Section 3
The following algorithm converts each state’s collection to exactly m 0 m_{0} m 0 entries by truncating excess transitions and padding a deficient collection with independent uniform draws. It then aligns one entry from each state into each of m 0 m_{0} m 0 observations in [ S ] S [S]^{S} [ S ] S . With high probability, this gives a fixed-size instance of the product-distribution problem with d = k = S d=k=S d = k = S , with target marginals P ( 1 , ⋅ ) , … , P ( S , ⋅ ) P_{(1,\cdot)},\ldots,P_{(S,\cdot)} P ( 1 , ⋅ ) , … , P ( S , ⋅ ) . After coupling the reduced data to this ideal product sample (Step 4 of Algorithm G.2), we may invoke the estimators of Appendix § 11 as a black box. Their loss is exactly ρ ( P ^ , P ) \rho(\widehat{P},P) ρ ( P , P ) , so their accuracy guarantees translate directly to the transition matrix. Finally, the preprocessing is performed separately for each trajectory, and hence replacing one user changes only one output block, preserving user-level adjacency.
The following lemma formalizes the high-probability event used above; on this event, every collection already contains at least m 0 m_{0} m 0 transitions, so padding is never invoked. Combining this reduction with the product-distribution guarantees of Appendix § 11 yields the following upper bounds.
Algorithm G.1 PadAndTruncatem _m m
Input: A multiset S ∈ [ k ] ∗ S \in[k]^* S ∈ [ k ] ∗ and a target size m ∈ N m \in\mathbb{N} m ∈ N .
Output: A multiset S ^ ∈ [ k ] m \widehat{S} \in[k]^m S ∈ [ k ] m .
If ∣ S ∣ > m |S| > m ∣ S ∣ > m , select m m m elements uniformly at random from S S S , without replacement, and return the resulting multiset.
Otherwise, independently sample Y 1 , … , Y m − ∣ S ∣ ∼ Unif ( [ k ] ) Y_1,\ldots,Y_{m-|S|} \sim\operatorname{Unif}([k]) Y 1 , … , Y m − ∣ S ∣ ∼ Unif ([ k ]) , and return
S ^ = S ⊎ { Y 1 , … , Y m − ∣ S ∣ } . \widehat{S}=S\uplus\{Y_1,\ldots,Y_{m-|S|}\}. S = S ⊎ { Y 1 , … , Y m − ∣ S ∣ } .
where ⊎ \uplus ⊎ denotes multiset union.
Algorithm G.2 Reduction to Product-Distribution Estimation
Input: Trajectories { ( X i , 1 , … , X i , T ) } i = 1 N \{(X_{i,1},\ldots,X_{i,T})\}_{i=1}^{N} {( X i , 1 , … , X i , T ) } i = 1 N , number of states S S S , a lower bound π min \pi_{\min} π m i n on the stationary probabilities, and an ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -DP S S S dimensional S S S ary distribution estimator A \mathcal{A} A .
Set m 0 = ⌈ π min ( T − 1 ) 2 ⌉ m_0=\left\lceil\frac{\pi_{\min}(T-1)}{2}\right\rceil m 0 = ⌈ 2 π m i n ( T − 1 ) ⌉ .
For every i ∈ [ N ] i\in[N] i ∈ [ N ] and j ∈ [ S ] j\in[S] j ∈ [ S ] , create the multiset S j i ← { X i , t + 1 : X i , t = j , t ∈ [ T − 1 ] } S_j^i\leftarrow\{X_{i,t+1}:X_{i,t}=j,\ t\in[T-1]\} S j i ← { X i , t + 1 : X i , t = j , t ∈ [ T − 1 ]} .
For every i ∈ [ N ] i\in[N] i ∈ [ N ] and j ∈ [ S ] j\in[S] j ∈ [ S ] , set S ^ j i ← PadAndTruncate m 0 ( S j i ) \widehat{S}_j^i\leftarrow\operatorname{PadAndTruncate}_{m_0}(S_j^i) S j i ← PadAndTruncate m 0 ( S j i ) .
For every i ∈ [ N ] i\in[N] i ∈ [ N ] , create points X ~ 1 ( i ) , … , X ~ m 0 ( i ) ∈ [ S ] S \widetilde{X}_1^{(i)},\ldots,\widetilde{X}_{m_0}^{(i)}\in[S]^S X 1 ( i ) , … , X m 0 ( i ) ∈ [ S ] S as follows: for every ℓ ∈ [ m 0 ] \ell\in[m_0] ℓ ∈ [ m 0 ] and j ∈ [ S ] j\in[S] j ∈ [ S ] , set ( X ~ ℓ ( i ) ) j ← ( S ^ j i ) ℓ (\widetilde{X}_{\ell}^{(i)})_j\leftarrow(\widehat{S}_j^i)_\ell ( X ℓ ( i ) ) j ← ( S j i ) ℓ .
For every i ∈ [ N ] i\in[N] i ∈ [ N ] , set X ~ ( i ) ← ( X ~ 1 ( i ) , … , X ~ m 0 ( i ) ) \widetilde{X}^{(i)}\leftarrow(\widetilde{X}_1^{(i)},\ldots,\widetilde{X}_{m_0}^{(i)}) X ( i ) ← ( X 1 ( i ) , … , X m 0 ( i ) ) .
Return A ( X ~ ( 1 ) , … , X ~ ( N ) ) \mathcal{A}(\widetilde{X}^{(1)},\ldots,\widetilde{X}^{(N)}) A ( X ( 1 ) , … , X ( N ) ) .
Lemma 59 Let { ( X i , 1 , … , X i , T ) } i = 1 N \{(X_{i,1},\ldots,X_{i,T})\}_{i=1}^{N} {( X i , 1 , … , X i , T ) } i = 1 N be N N N trajectories, where each X i , 1 , … , X i , T X_{i,1},\ldots,X_{i,T} X i , 1 , … , X i , T is a Markov chain with a minimum stationary probability π min \pi_{\min} π m i n . For every i ∈ [ N ] i\in[N] i ∈ [ N ] and j ∈ [ S ] j\in[S] j ∈ [ S ] , define the multiset S j i ← { X i , t + 1 : X i , t = j , t ∈ [ T − 1 ] } S_j^i\leftarrow\{X_{i,t+1}:X_{i,t}=j,\ t\in[T-1]\} S j i ← { X i , t + 1 : X i , t = j , t ∈ [ T − 1 ]} . Then for T ≳ 1 γ p s π min log ( N S π min f ) T\gtrsim\frac{1}{\gamma_{\mathrm{ps}}\pi_{\min}}\log\left(\frac{N\sqrt{S}}{\sqrt{\pi_{\min}f}}\right) T ≳ γ ps π m i n 1 log ( π m i n f N S ) ,
P ( ⋂ i = 1 N ⋂ j = 1 S { ∣ S j i ∣ ≥ 1 2 π j ( T − 1 ) } ) ≥ 1 − f . \mathbb{P}\left(\bigcap_{i=1}^{N}\bigcap_{j=1}^{S}\left\{|S_j^i|\ge\frac{1}{2}\pi_j(T-1)\right\}\right)\ge1-f. P ( i = 1 ⋂ N j = 1 ⋂ S { ∣ S j i ∣ ≥ 2 1 π j ( T − 1 ) } ) ≥ 1 − f .
Proof Let E : = ⋃ i = 1 N ⋃ j = 1 S { ∣ S j i ∣ ≤ 1 2 π j ( T − 1 ) } \mathcal{E}:=\bigcup_{i=1}^{N}\bigcup_{j=1}^{S}\left\{|S_j^i|\le\frac{1}{2}\pi_j(T-1)\right\} E := ⋃ i = 1 N ⋃ j = 1 S { ∣ S j i ∣ ≤ 2 1 π j ( T − 1 ) } . For each i ∈ [ N ] i\in[N] i ∈ [ N ] , the same chain governs each trajectory, and ∣ S j i ∣ |S_j^i| ∣ S j i ∣ equals to the number of occurrences of the element j j j . Hence, by Lemma 23, we get that for each j ∈ [ S ] j \in[S] j ∈ [ S ] ,
P π ( ∣ S j i ∣ ≤ 1 2 π j ( T − 1 ) ) ≤ exp ( − γ p s ( 1 2 ( T − 1 ) π j ) 2 8 ( T − 1 + 1 γ p s ) π j ( 1 − π j ) + 10 ( T − 1 ) π j ) ≤ exp ( − γ p s ( 1 2 ( T − 1 ) π min ) 2 8 ( T − 1 + 1 γ p s ) π min ( 1 − π min ) + 10 ( T − 1 ) π min ) . \begin{aligned}
\mathbb{P}_{\pi}\left(\left|S_j^i\right| \le\frac{1}{2}\pi_j(T-1)\right) \le\exp\left(-\frac{\gamma_{\mathrm{ps}}\left(\frac{1}{2}(T-1)\pi_j\right)^2}{8\left(T-1+\frac{1}{\gamma_{\mathrm{ps}}}\right)\pi_j(1-\pi_j)+10(T-1)\pi_j}\right) \\
&\le\exp\left(-\frac{\gamma_{\mathrm{ps}}\left(\frac{1}{2}(T-1)\pi_{\min}\right)^2}{8\left(T-1+\frac{1}{\gamma_{\mathrm{ps}}}\right)\pi_{\min}(1-\pi_{\min})+10(T-1)\pi_{\min}}\right).
\end{aligned} P π ( S j i ≤ 2 1 π j ( T − 1 ) ) ≤ exp − 8 ( T − 1 + γ ps 1 ) π j ( 1 − π j ) + 10 ( T − 1 ) π j γ ps ( 2 1 ( T − 1 ) π j ) 2 ≤ exp − 8 ( T − 1 + γ ps 1 ) π m i n ( 1 − π m i n ) + 10 ( T − 1 ) π m i n γ ps ( 2 1 ( T − 1 ) π m i n ) 2 .
By a union bound over all S S S states, we get
P π ( ⋃ j = 1 S { ∣ S j i ∣ ≤ 1 2 π j ( T − 1 ) } ) ≤ S exp ( − γ p s ( 1 2 ( T − 1 ) π min ) 2 8 ( T − 1 + 1 γ p s ) π min ( 1 − π min ) + 10 ( T − 1 ) π min ) . \mathbb{P}_{\pi}\left(\bigcup_{j=1}^{S}\left\{\left|S_j^i\right| \le\frac{1}{2}\pi_j(T-1)\right\}\right) \le S\exp\left(-\frac{\gamma_{\mathrm{ps}}\left(\frac{1}{2}(T-1)\pi_{\min}\right)^2}{8\left(T-1+\frac{1}{\gamma_{\mathrm{ps}}}\right)\pi_{\min}(1-\pi_{\min})+10(T-1)\pi_{\min}}\right). P π ( j = 1 ⋃ S { S j i ≤ 2 1 π j ( T − 1 ) } ) ≤ S exp − 8 ( T − 1 + γ ps 1 ) π m i n ( 1 − π m i n ) + 10 ( T − 1 ) π m i n γ ps ( 2 1 ( T − 1 ) π m i n ) 2 .
Now, for each user i i i , trajectory i i i has initial distribution μ i \mu_i μ i , then after accounting for the nonstationary initial distribution Paulin [30 ] , we get
P ( ⋃ j = 1 S { ∣ S j i ∣ ≤ 1 2 π j ( T − 1 ) } ) ≤ S π min exp ( − γ p s ( 1 2 ( T − 1 ) π min ) 2 16 ( T − 1 + 1 γ p s ) π min ( 1 − π min ) + 20 ( T − 1 ) π min ) . \mathbb{P}\left(\bigcup_{j=1}^{S}\left\{\left|S_j^i\right| \le\frac{1}{2}\pi_j(T-1)\right\}\right) \le\frac{\sqrt{S}}{\sqrt{\pi_{\min}}}\exp\left(-\frac{\gamma_{\mathrm{ps}}\left(\frac{1}{2}(T-1)\pi_{\min}\right)^2}{16\left(T-1+\frac{1}{\gamma_{\mathrm{ps}}}\right)\pi_{\min}(1-\pi_{\min})+20(T-1)\pi_{\min}}\right). P ( j = 1 ⋃ S { S j i ≤ 2 1 π j ( T − 1 ) } ) ≤ π m i n S exp − 16 ( T − 1 + γ ps 1 ) π m i n ( 1 − π m i n ) + 20 ( T − 1 ) π m i n γ ps ( 2 1 ( T − 1 ) π m i n ) 2 .
Hence, by a union bound over all users, we get
P ( E ) ≤ N S π min exp ( − γ p s ( 1 2 ( T − 1 ) π min ) 2 16 ( T − 1 + 1 γ p s ) π min ( 1 − π min ) + 20 ( T − 1 ) π min ) . \mathbb{P}(\mathcal{E}) \le\frac{N\sqrt{S}}{\sqrt{\pi_{\min}}}\exp\left(-\frac{\gamma_{\mathrm{ps}}\left(\frac{1}{2}(T-1)\pi_{\min}\right)^2}{16\left(T-1+\frac{1}{\gamma_{\mathrm{ps}}}\right)\pi_{\min}(1-\pi_{\min})+20(T-1)\pi_{\min}}\right). P ( E ) ≤ π m i n N S exp − 16 ( T − 1 + γ ps 1 ) π m i n ( 1 − π m i n ) + 20 ( T − 1 ) π m i n γ ps ( 2 1 ( T − 1 ) π m i n ) 2 .
Setting T ≥ C γ p s π min log ( N S π min ε ) T \ge\frac{C}{\gamma_{\mathrm{ps}}\pi_{\min}}\log\left(\frac{N\sqrt{S}}{\sqrt{\pi_{\min}}\varepsilon}\right) T ≥ γ ps π m i n C log ( π m i n ε N S ) for a sufficiently large C C C concludes the proof.
Complete Statement and Proof of Theorem 4
Theorem 42 showed the existence of an ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) user-level DP algorithm that receives a set of N N N users each having m m m points sampled from a d d d fold k k k -ary distribution, and achieves the desired accuracy with high probability using N = Θ ~ ( 1 ε + k m α 2 + k d α ε m ) N = \widetilde{\Theta}\left(\frac{1}{\varepsilon}+\frac{k}{m\alpha^2}+\frac{k\sqrt{d}}{\alpha\varepsilon\sqrt{m}}\right) N = Θ ( ε 1 + m α 2 k + α ε m k d ) users.
Theorem 60 (Complete Privacy Guarantee in Theorem 4) Algorithm G.2 with A \mathcal{A} A instantiated as Algorithm E.4 is ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -DP.
Proof User-level DP is defined with respect to the worst-case adjacency relation in which the entire dataset of one user is added or replaced. Since, the careful partition, reordering of datapoints, and the PadAndTruncate operation makes changes to the dataset separately for each user and not across users, it does not change the notion of adjacency for user-level DP as input to A \mathcal{A} A . Hence, the user-level DP guarantee of A \mathcal{A} A applies and the resulting algorithm is ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) user-level DP.
Theorem 61 (Complete Utility Guarantee in Theorem 4 ). Fix 0 < α , f < 1 0 < \alpha, f < 1 0 < α , f < 1 , 0 < ε ≤ 1 0 < \varepsilon\le1 0 < ε ≤ 1 . Uniformly over P ∈ C ( S , π min , γ p s ) P \in\mathcal{C}(S,\pi_{\min},\gamma_{\mathrm{ps}}) P ∈ C ( S , π m i n , γ ps ) and arbitrary initial distributions, if
T ≳ C γ p s π min log ( N S π min f ) , T \gtrsim\frac{C}{\gamma_{\mathrm{ps}}\pi_{\min}}\log\left(\frac{N\sqrt{S}}{\sqrt{\pi_{\min}f}}\right), T ≳ γ ps π m i n C log ( π m i n f N S ) , then the output of Algorithm G.2 with A \mathcal{A} A instantiated as Algorithm E.4, P ^ \widehat{P} P , satisfies P ( ρ ( P ^ , P ) ≤ α ) ≥ 1 − f \mathbb{P}\left(\rho(\widehat{P},P)\le\alpha\right)\ge1-f P ( ρ ( P , P ) ≤ α ) ≥ 1 − f for
N ≳ S + log ( S / f ) π min T α 2 + S 3 / 2 ε α π min T log 3 / 2 ( S π min T α ε δ f ) + 1 ε log ( 1 δ ) log ( 1 δ f ) . N \gtrsim\frac{S+\log(S/f)}{\pi_{\min}T\alpha^2}+\frac{S^{3/2}}{\varepsilon\alpha\sqrt{\pi_{\min}T}}\log^{3/2}\left(\frac{S\pi_{\min}T}{\alpha\varepsilon\delta f}\right)+\frac{1}{\varepsilon}\sqrt{\log\left(\frac{1}{\delta}\right)\log\left(\frac{1}{\delta f}\right)}. N ≳ π m i n T α 2 S + log ( S / f ) + ε α π m i n T S 3/2 log 3/2 ( α ε δ f S π m i n T ) + ε 1 log ( δ 1 ) log ( δ f 1 ) .
Proof. By the Markov property of the chain, for each j ∈ [ S ] j\in[S] j ∈ [ S ] the set S j i S_j^i S j i contains i.i.d. samples from P j , : P_{j,:} P j , : . Under the event E \mathcal{E} E , we would have access to ≥ 1 2 π min ( T − 1 ) \ge\frac{1}{2}\pi_{\min}(T-1) ≥ 2 1 π m i n ( T − 1 ) i.i.d. samples per user; hence, the PadAndTruncate algorithm would return ≥ 1 3 π min ( T − 1 ) \ge\frac{1}{3}\pi_{\min}(T-1) ≥ 3 1 π m i n ( T − 1 ) i.i.d. samples from P j , : P_{j,:} P j , : for each j ∈ [ S ] j\in[S] j ∈ [ S ] . Conditional on E \mathcal{E} E , Step 4 makes X ~ ( i ) \widetilde{X}^{(i)} X ( i ) consist of m 0 ≥ 1 3 π min ( T − 1 ) m_0\ge\frac{1}{3}\pi_{\min}(T-1) m 0 ≥ 3 1 π m i n ( T − 1 ) i.i.d. samples from a d d d -dimensional k k k -ary distribution whose distribution matrix is the transition matrix of the Markov chain. Theorem 42 therefore implies that when
N ≳ S + log ( S / f ) π min T α 2 + S 3 / 2 ε α π min T log 3 / 2 ( S π min T α ε δ f ) + 1 ε log ( 1 δ ) log ( 1 δ f ) , N \gtrsim\frac{S+\log(S/f)}{\pi_{\min}T\alpha^2}+\frac{S^{3/2}}{\varepsilon\alpha\sqrt{\pi_{\min}T}}\log^{3/2}\left(\frac{S\pi_{\min}T}{\alpha\varepsilon\delta f}\right)+\frac{1}{\varepsilon}\sqrt{\log\left(\frac{1}{\delta}\right)\log\left(\frac{1}{\delta f}\right)}, N ≳ π m i n T α 2 S + log ( S / f ) + ε α π m i n T S 3/2 log 3/2 ( α ε δ f S π m i n T ) + ε 1 log ( δ 1 ) log ( δ f 1 ) ,
we have
P ( ∥ P ^ − P ∥ ∞ ≥ α | ⋂ i = 1 N ⋂ j = 1 S { ∣ S j i ∣ ≥ 1 2 π min ( T − 1 ) } ) ≤ f 2 . \mathbb{P}\left(\left\|\widehat{P}-P\right\|_{\infty}\ge\alpha\ \middle|\ \bigcap_{i=1}^{N}\bigcap_{j=1}^{S}\left\{|S_j^i|\ge\frac{1}{2}\pi_{\min}(T-1)\right\}\right)\le\frac{f}{2}. P ( P − P ∞ ≥ α i = 1 ⋂ N j = 1 ⋂ S { ∣ S j i ∣ ≥ 2 1 π m i n ( T − 1 ) } ) ≤ 2 f .
Using P ( A ) = P ( A ∣ E ) P ( E ) + P ( A ∣ E ‾ ) P ( E ‾ ) \mathbb{P}(A)=\mathbb{P}(A\mid\mathcal{E})\mathbb{P}(\mathcal{E})+\mathbb{P}(A\mid\overline{\mathcal{E}})\mathbb{P}(\overline{\mathcal{E}}) P ( A ) = P ( A ∣ E ) P ( E ) + P ( A ∣ E ) P ( E ) , we obtain the following upper bound:
P ( ∥ P ^ − P ∥ ∞ ≥ α ) ≤ f 2 + P ( E ‾ ) . \mathbb{P}\left(\left\|\widehat{P}-P\right\|_{\infty}\ge\alpha\right)\le\frac{f}{2}+\mathbb{P}(\overline{\mathcal{E}}). P ( P − P ∞ ≥ α ) ≤ 2 f + P ( E ) .
Given that T ≥ C γ p s π min log ( N S π min f ) T\ge\frac{C}{\gamma_{\mathrm{ps}}\pi_{\min}}\log\left(\frac{N\sqrt{S}}{\sqrt{\pi_{\min}f}}\right) T ≥ γ ps π m i n C log ( π m i n f N S ) , Lemma 59 implies that
P ( ∥ P ^ − P ∥ ∞ ≥ α ) ≤ f . \mathbb{P}\left(\left\|\widehat{P}-P\right\|_{\infty}\ge\alpha\right)\le f. P ( P − P ∞ ≥ α ) ≤ f .
This concludes the proof. ■
Pure DP Upper Bounds
Theorem 62. Algorithm G.2 with A \mathcal{A} A instantiated as Algorithm E.5 is ε \varepsilon ε -DP.
Proof. User-level DP is defined with respect to the worst-case adjacency relation in which the entire dataset of one user is added or replaced. Since, the careful partition, reordering of datapoints, and the PadAndTruncate operation makes changes to the dataset separately for each user and not across users, it does not change the notion of adjacency for user-level DP with respect to input of A \mathcal{A} A . Hence, the ε \varepsilon ε user-level DP guarantee of A \mathcal{A} A holds on the modified dataset.
Theorem 63. Fix 0 < α , f < 1 0 < \alpha, f < 1 0 < α , f < 1 , 0 < ε ≤ 1 0 < \varepsilon\le1 0 < ε ≤ 1 . Uniformly over P ∈ C ( S , π min , γ p s ) P \in\mathcal{C}(S, \pi_{\min}, \gamma_{\mathrm{ps}}) P ∈ C ( S , π m i n , γ ps ) and arbitrary initial distributions, if
T ≥ C γ p s π min log ( N S π min f ) , T \ge\frac{C}{\gamma_{\mathrm{ps}}\pi_{\min}}\log\left(\frac{N\sqrt{S}}{\sqrt{\pi_{\min}f}}\right), T ≥ γ ps π m i n C log ( π m i n f N S ) , then the output of Algorithm G.2 with A \mathcal{A} A instantiated as Algorithm E.5, P ^ \widehat{P} P , satisfies P ( ρ ( P ^ , P ) ≤ α ) ≥ 1 − f \mathbb{P}\left(\rho(\widehat{P},P)\le\alpha\right)\ge1-f P ( ρ ( P , P ) ≤ α ) ≥ 1 − f for
N = Θ ~ ( S 2 ε + S 2 α ε π min T + S α 2 π min T ) . N=\widetilde{\Theta}\left(\frac{S^2}{\varepsilon}+\frac{S^2}{\alpha\varepsilon\sqrt{\pi_{\min}T}}+\frac{S}{\alpha^2\pi_{\min}T}\right). N = Θ ( ε S 2 + α ε π m i n T S 2 + α 2 π m i n T S ) . Proof. By the Markov property of the chain, for each j ∈ [ S ] j\in[S] j ∈ [ S ] the set S j i S_j^i S j i contains i.i.d. samples from P j , : P_{j,:} P j , : . Under the event E \mathcal{E} E , we would have access to ≥ 1 2 π min ( T − 1 ) \ge\frac{1}{2}\pi_{\min}(T-1) ≥ 2 1 π m i n ( T − 1 ) i.i.d. samples per user; hence, the PadAndTruncate algorithm would return ≥ 1 3 π min ( T − 1 ) \ge\frac{1}{3}\pi_{\min}(T-1) ≥ 3 1 π m i n ( T − 1 ) i.i.d. samples from P j , : P_{j,:} P j , : for each j ∈ [ S ] j\in[S] j ∈ [ S ] . Conditional on E \mathcal{E} E , Step 4 makes X ~ ( i ) \widetilde{X}^{(i)} X ( i ) consist of m 0 ≥ 1 3 π min ( T − 1 ) m_0\ge\frac{1}{3}\pi_{\min}(T-1) m 0 ≥ 3 1 π m i n ( T − 1 ) i.i.d. samples from a d d d -dimensional k k k -ary distribution whose distribution matrix is the transition matrix of the Markov chain. Theorem 52, therefore implies that, when
N = O ~ ( S 2 ε + S 2 α ε π min T + S α 2 π min T ) , N=\widetilde{O}\left(\frac{S^2}{\varepsilon}+\frac{S^2}{\alpha\varepsilon\sqrt{\pi_{\min}T}}+\frac{S}{\alpha^2\pi_{\min}T}\right), N = O ( ε S 2 + α ε π m i n T S 2 + α 2 π m i n T S ) , we have
P ( ∥ P ^ − P ∥ ∞ ≥ α | ⋂ i = 1 N ⋂ j = 1 S { ∣ S j i ∣ ≥ 1 2 π min ( T − 1 ) } ) ≤ f 2 . \mathbb{P}\left(\left\|\widehat{P}-P\right\|_{\infty}\ge\alpha\ \middle|\ \bigcap_{i=1}^{N}\bigcap_{j=1}^{S}\left\{\lvert S_j^i\rvert\ge\frac{1}{2}\pi_{\min}(T-1)\right\}\right)\le\frac{f}{2}. P ( P − P ∞ ≥ α i = 1 ⋂ N j = 1 ⋂ S { ∣ S j i ∣ ≥ 2 1 π m i n ( T − 1 ) } ) ≤ 2 f . Using P ( A ) = P ( A ∣ E ) P ( E ) + P ( A ∣ E ‾ ) P ( E ‾ ) \mathbb{P}(A)=\mathbb{P}(A\mid\mathcal{E})\mathbb{P}(\mathcal{E})+\mathbb{P}(A\mid\overline{\mathcal{E}})\mathbb{P}(\overline{\mathcal{E}}) P ( A ) = P ( A ∣ E ) P ( E ) + P ( A ∣ E ) P ( E ) , we obtain the following upper bound:
P ( ∥ P ^ − P ∥ ∞ ≥ α ) ≤ f 2 + P ( E ‾ ) . \mathbb{P}\left(\left\|\widehat{P}-P\right\|_{\infty}\ge\alpha\right)\le\frac{f}{2}+\mathbb{P}(\overline{\mathcal{E}}). P ( P − P ∞ ≥ α ) ≤ 2 f + P ( E ) . Given that T ≥ C γ p s π min log ( N S π min f ) T\ge\frac{C}{\gamma_{\mathrm{ps}}\pi_{\min}}\log\left(\frac{N\sqrt{S}}{\sqrt{\pi_{\min}f}}\right) T ≥ γ ps π m i n C log ( π m i n f N S ) , Lemma 59 implies that
P ( ∥ P ^ − P ∥ ∞ ≥ α ) ≤ 2 f . \mathbb{P}\left(\left\|\widehat{P}-P\right\|_{\infty}\ge\alpha\right)\le2f. P ( P − P ∞ ≥ α ) ≤ 2 f . This concludes the proof.
Sample Complexity Lower Bounds
Theorem 64. Let S ≥ 2 S\ge2 S ≥ 2 , N , T ≥ 1 N,T\ge1 N , T ≥ 1 , 0 ≤ δ < 1 0\le\delta<1 0 ≤ δ < 1 and 0 < π min ≤ 1 3 S 0<\pi_{\min}\le\frac{1}{3S} 0 < π m i n ≤ 3 S 1 . For every ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -user-level DP algorithm M \mathcal{M} M that receives N N N independent length-T T T trajectories X = ( X 1 : T ( 1 ) , ⋯ , X 1 : T ( N ) ) \mathbf{X}=(X_{1:T}^{(1)},\cdots,X_{1:T}^{(N)}) X = ( X 1 : T ( 1 ) , ⋯ , X 1 : T ( N ) ) from a 2 S 2S 2 S -state ergodic Markov chain M M M with min x π ( x ) = π min \min_x\pi(x)=\pi_{\min} min x π ( x ) = π m i n , and satisfies
P [ ∥ M ( X ) − M ∥ ∞ ≥ α ] ≤ 1 4 , \mathbb{P}\left[\left\|\mathcal{M}(\mathbf{X})-M\right\|_{\infty}\ge\alpha\right]\le\frac{1}{4}, P [ ∥ M ( X ) − M ∥ ∞ ≥ α ] ≤ 4 1 , there exists a corresponding ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -DP algorithm A \mathcal{A} A such that, for every Q = ( q 1 , ⋯ , q S ) ⊤ ∈ P S , S Q=(q_1,\cdots,q_S)^\top\in\mathcal{P}_{S,S} Q = ( q 1 , ⋯ , q S ) ⊤ ∈ P S , S , when given a dataset of N N N users, each with m : = ⌈ 8 π min T ⌉ ≥ C 0 log ( N S ) m:=\lceil8\pi_{\min}T\rceil\ge C_0\log(NS) m := ⌈ 8 π m i n T ⌉ ≥ C 0 log ( N S ) i.i.d. samples from ⨂ i = 1 S q i \bigotimes_{i=1}^{S}q_i ⨂ i = 1 S q i , Y Y Y , it satisfies
P [ ∥ A ( Y ) − Q ∥ ∞ ≥ α ] ≤ 1 3 . \mathbb{P}\left[\left\|\mathcal{A}(Y)-Q\right\|_{\infty}\ge\alpha\right]\le\frac{1}{3}. P [ ∥ A ( Y ) − Q ∥ ∞ ≥ α ] ≤ 3 1 . Proof. Proceeding similarly to the proof of Lemma D.3, we construct a family of Markov chains which embeds the unknown distribution matrix Q Q Q in a block of its transition matrix.
Construction of the Markov chain. Set η : = S π min 1 − S π min \eta:= \frac{S\pi_{\min}}{1-S\pi_{\min}} η := 1 − S π m i n S π m i n and let U : = 1 S 11 T U := \frac{1}{S}\mathbf{1}\mathbf{1}^{\mathsf{T}} U := S 1 1 1 T denote the S × S S \times S S × S uniform stochastic matrix. For any Q ∈ Q Q \in\mathcal{Q} Q ∈ Q , define
P π min , Q = ( 0 ( 1 − η ) Q + η U η U ( 1 − η ) I S ) . P_{\pi_{\min},Q} =
\begin{pmatrix}
0 & (1-\eta)Q+\eta U \\
\eta U & (1-\eta)I_S
\end{pmatrix}. P π m i n , Q = ( 0 η U ( 1 − η ) Q + η U ( 1 − η ) I S ) .
Define A = { a 1 , … , a S } \mathcal{A} = \{a_1,\ldots,a_S\} A = { a 1 , … , a S } and B = { b 1 , … , b S } \mathcal{B} = \{b_1,\ldots,b_S\} B = { b 1 , … , b S } , where the first S S S states are mapped to A \mathcal{A} A and the remaining states are mapped to B \mathcal{B} B . Equivalently, the transitions are as follows:
From a i a_i a i , move to b j b_j b j with probability ( 1 − η ) Q i j + η S (1-\eta)Q_{ij}+\frac{\eta}{S} ( 1 − η ) Q ij + S η ;
From b j b_j b j , move to a uniformly random state in A \mathcal{A} A with total probability η \eta η ;
With probability 1 − η 1-\eta 1 − η , remain at b j b_j b j .
Since π min < 1 / ( 2 S ) \pi_{\min}<1/(2S) π m i n < 1/ ( 2 S ) , we have 0 < η < 1 0<\eta<1 0 < η < 1 .
Stationary distribution and ergodicity. Let π \pi π be the stationary distribution of P π min , Q P_{\pi_{\min},Q} P π m i n , Q . For j ∈ [ S ] j\in[S] j ∈ [ S ] , let c j : = ∑ i = 1 S Q i j c_j:=\sum_{i=1}^{S}Q_{ij} c j := ∑ i = 1 S Q ij be the j j j -th column sum of Q Q Q . We show that π ( a i ) = π min \pi(a_i)=\pi_{\min} π ( a i ) = π m i n for every i ∈ [ S ] i\in[S] i ∈ [ S ] , and π ( b j ) = π min + 1 − 2 S π min S c j \pi(b_j)=\pi_{\min}+\frac{1-2S\pi_{\min}}{S}c_j π ( b j ) = π m i n + S 1 − 2 S π m i n c j for j ∈ [ S ] j\in[S] j ∈ [ S ] . Since the matrix Q Q Q is row-stochastic, ∑ j c j = ∑ j ∑ i Q i , j = S \sum_j c_j=\sum_j\sum_iQ_{i,j}=S ∑ j c j = ∑ j ∑ i Q i , j = S . Hence,
∑ i = 1 S π ( a i ) + ∑ j = 1 S π ( b j ) = S π min + S π min + 1 − 2 S π min = 1. \sum_{i=1}^{S}\pi(a_i)+\sum_{j=1}^{S}\pi(b_j)=S\pi_{\min}+S\pi_{\min}+1-2S\pi_{\min}=1. i = 1 ∑ S π ( a i ) + j = 1 ∑ S π ( b j ) = S π m i n + S π m i n + 1 − 2 S π m i n = 1.
For every i ∈ [ S ] i\in[S] i ∈ [ S ] ,
π ( a i ) = ∑ j = 1 S π ( b j ) P π min , Q ( b j , a i ) = η S ∑ j = 1 S π ( b j ) = η ( 1 − S π min ) S = π min . \pi(a_i)=\sum_{j=1}^{S}\pi(b_j)P_{\pi_{\min},Q}(b_j,a_i)=\frac{\eta}{S}\sum_{j=1}^{S}\pi(b_j)=\frac{\eta(1-S\pi_{\min})}{S}=\pi_{\min}. π ( a i ) = j = 1 ∑ S π ( b j ) P π m i n , Q ( b j , a i ) = S η j = 1 ∑ S π ( b j ) = S η ( 1 − S π m i n ) = π m i n .
For every j ∈ [ S ] j\in[S] j ∈ [ S ] ,
π ( b j ) = ∑ i = 1 S π ( a i ) P π min , Q ( a i , b j ) + π ( b j ) P π min , Q ( b j , b j ) = ∑ i = 1 S π min ( ( 1 − η ) Q i , j + η S ) + ∑ k = 1 S π ( b k ) P π min , Q ( b k , b j ) = π min ( ( 1 − η ) c j + η ) + ( 1 − η ) ( π min + 1 − 2 S π min S c j ) = π min + π min ( 1 − η ) c j + ( 1 − η ) ( 1 − 2 S π min S ) c j = π min + ( 1 − η ) c j ( 1 − S π min S ) = π ( b j ) . \begin{aligned}
\pi(b_j)&=\sum_{i=1}^{S}\pi(a_i)P_{\pi_{\min},Q}(a_i,b_j)+\pi(b_j)P_{\pi_{\min},Q}(b_j,b_j)\\
&=\sum_{i=1}^{S}\pi_{\min}\left((1-\eta)Q_{i,j}+\frac{\eta}{S}\right)+\sum_{k=1}^{S}\pi(b_k)P_{\pi_{\min},Q}(b_k,b_j)\\
&=\pi_{\min}\left((1-\eta)c_j+\eta\right)+(1-\eta)\left(\pi_{\min}+\frac{1-2S\pi_{\min}}{S}c_j\right)\\
&=\pi_{\min}+\pi_{\min}(1-\eta)c_j+(1-\eta)\left(\frac{1-2S\pi_{\min}}{S}\right)c_j\\
&=\pi_{\min}+(1-\eta)c_j\left(\frac{1-S\pi_{\min}}{S}\right)\\
&=\pi(b_j).
\end{aligned} π ( b j ) = i = 1 ∑ S π ( a i ) P π m i n , Q ( a i , b j ) + π ( b j ) P π m i n , Q ( b j , b j ) = i = 1 ∑ S π m i n ( ( 1 − η ) Q i , j + S η ) + k = 1 ∑ S π ( b k ) P π m i n , Q ( b k , b j ) = π m i n ( ( 1 − η ) c j + η ) + ( 1 − η ) ( π m i n + S 1 − 2 S π m i n c j ) = π m i n + π m i n ( 1 − η ) c j + ( 1 − η ) ( S 1 − 2 S π m i n ) c j = π m i n + ( 1 − η ) c j ( S 1 − S π m i n ) = π ( b j ) .
The last equality follows from the fact that η : = S π min 1 − S π min \eta:=\frac{S\pi_{\min}}{1-S\pi_{\min}} η := 1 − S π m i n S π m i n . Thus, π \pi π is stationary. Since 1 − 2 S π min > 0 1-2S\pi_{\min}>0 1 − 2 S π m i n > 0 and c j ≥ 0 c_j\ge0 c j ≥ 0 , π ( b j ) ≥ π min \pi(b_j)\ge\pi_{\min} π ( b j ) ≥ π m i n . Therefore, min x ∈ A ∪ B π ( x ) = π min \min_{x\in\mathcal{A}\cup\mathcal{B}}\pi(x)=\pi_{\min} min x ∈ A ∪ B π ( x ) = π m i n . Furthermore, ( 1 − η ) Q i j + η S > 0 (1-\eta)Q_{ij}+\frac{\eta}{S}>0 ( 1 − η ) Q ij + S η > 0 for every i , j i,j i , j . Hence every state in A \mathcal{A} A can reach every state in B \mathcal{B} B , and every state in B \mathcal{B} B can reach every state in A \mathcal{A} A . The chain is therefore irreducible. Since P π min , Q ( b j , b j ) = 1 − η > 0 P_{\pi_{\min},Q}(b_j,b_j)=1-\eta>0 P π m i n , Q ( b j , b j ) = 1 − η > 0 , the chain is also aperiodic. Hence, P π min , Q P_{\pi_{\min},Q} P π m i n , Q is ergodic.
Reduction to estimating product-distribution samples. Suppose that each source user u u u receives Y 1 ( u ) , … , Y m ( u ) ∼ i . i . d . D Q Y_1^{(u)},\ldots,Y_m^{(u)} \mathrel{\overset{\mathrm{i.i.d.}}{\sim}} D_Q Y 1 ( u ) , … , Y m ( u ) ∼ i.i.d. D Q , where Y r ( u ) = ( Y r , 1 ( u ) , … , Y r , S ( u ) ) Y_r^{(u)} = \left(Y_{r,1}^{(u)},\ldots,Y_{r,S}^{(u)}\right) Y r ( u ) = ( Y r , 1 ( u ) , … , Y r , S ( u ) ) . Thus, for every i ∈ [ S ] i \in[S] i ∈ [ S ] , Y 1 , i ( u ) , … , Y m , i ( u ) ∼ i . i . d . q i Y_{1,i}^{(u)},\ldots,Y_{m,i}^{(u)} \mathrel{\overset{\mathrm{i.i.d.}}{\sim}} q_i Y 1 , i ( u ) , … , Y m , i ( u ) ∼ i.i.d. q i . We construct one length-T T T trajectory for each source user. Note that any transition from A A A to B B B requires a sample from D Q D_Q D Q . Consider the following two-stage algorithm for defining M \mathcal{M} M based on A \mathcal{A} A .
Stage 1 Begins: For all i ∈ [ S ] i \in[S] i ∈ [ S ] and u ∈ [ N ] u \in[N] u ∈ [ N ] , let c i ( u ) = 0 c_i^{(u)} = 0 c i ( u ) = 0 .
For each u ∈ [ N ] u \in[N] u ∈ [ N ] , generate L 0 ( u ) , … , L T ( u ) ∈ { B , A 1 , … , A S } L_0^{(u)},\ldots,L_T^{(u)} \in\{B,A_1,\ldots,A_S\} L 0 ( u ) , … , L T ( u ) ∈ { B , A 1 , … , A S } as follows:
(a) Set L 0 ( u ) = B L_0^{(u)} = B L 0 ( u ) = B .
(b) For t = 0 , … , T − 1 t = 0,\ldots,T-1 t = 0 , … , T − 1 :
i. If L t ( u ) = A i L_t^{(u)} = A_i L t ( u ) = A i , set L t + 1 ( u ) = B L_{t+1}^{(u)} = B L t + 1 ( u ) = B deterministically and set c i ( u ) ← c i ( u ) + 1 c_i^{(u)} \leftarrow c_i^{(u)} + 1 c i ( u ) ← c i ( u ) + 1 .
ii. If L t ( u ) = B L_t^{(u)} = B L t ( u ) = B , set
L t + 1 ( u ) = { B with probability 1 − η , A i with probability η / S , i ∈ [ S ] . L_{t+1}^{(u)} =
\begin{cases}
B & \text{with probability } 1-\eta,\\
A_i & \text{with probability } \eta/S,\quad i \in[S].
\end{cases} L t + 1 ( u ) = { B A i with probability 1 − η , with probability η / S , i ∈ [ S ] .
(c) If c i ( u ) > m c_i^{(u)} > m c i ( u ) > m , return U U U .
Stage 2 Begins: For each u u u , generate the labeled trajectory X 0 ( u ) , … , X T ( u ) ∈ A ∪ B X_0^{(u)},\ldots,X_T^{(u)} \in\mathcal{A} \cup\mathcal{B} X 0 ( u ) , … , X T ( u ) ∈ A ∪ B as follows.
(a) Initially sample J 0 ( u ) ∼ Unif ( [ S ] ) J_0^{(u)} \sim\operatorname{Unif}([S]) J 0 ( u ) ∼ Unif ([ S ]) and set X 0 ( u ) = b J 0 ( u ) X_0^{(u)} = b_{J_0^{(u)}} X 0 ( u ) = b J 0 ( u ) .
(b) Set r i ( u ) = 1 r_i^{(u)} = 1 r i ( u ) = 1 for every i ∈ [ S ] i \in[S] i ∈ [ S ] .
(c) For t = 0 , … , T − 1 t = 0,\ldots,T-1 t = 0 , … , T − 1 :
i. If L t ( u ) = A i L_t^{(u)} = A_i L t ( u ) = A i , then X t ( u ) = a i X_t^{(u)} = a_i X t ( u ) = a i . Let Z = Y r i ( u ) , i ( u ) Z = Y_{r_i^{(u)},i}^{(u)} Z = Y r i ( u ) , i ( u ) be the next unused sample from q i q_i q i . Independently, set
X t + 1 ( u ) = { b Z with probability 1 − η , b J , J ∼ Unif ( [ S ] ) with probability η . X_{t+1}^{(u)} =
\begin{cases}
b_Z & \text{with probability } 1-\eta,\\
b_J,\quad J \sim\operatorname{Unif}([S]) & \text{with probability } \eta.
\end{cases} X t + 1 ( u ) = { b Z b J , J ∼ Unif ([ S ]) with probability 1 − η , with probability η .
ii. If L t ( u ) = B L_t^{(u)} = B L t ( u ) = B and L t + 1 ( u ) = B L_{t+1}^{(u)} = B L t + 1 ( u ) = B , then X t ( u ) = b j X_t^{(u)} = b_j X t ( u ) = b j for some j j j , and we set X t + 1 ( u ) = b j X_{t+1}^{(u)} = b_j X t + 1 ( u ) = b j .
iii. If L t ( u ) = B L_t^{(u)} = B L t ( u ) = B and L t + 1 ( u ) = A i L_{t+1}^{(u)} = A_i L t + 1 ( u ) = A i , set X t + 1 ( u ) = a i X_{t+1}^{(u)} = a_i X t + 1 ( u ) = a i .
Estimating Q Q Q from simulated samples: Run P ^ = M ( X 0 ( 1 ) , … , X T ( 1 ) , … , X 0 ( N ) , … , X T ( N ) ) \widehat{P} = \mathcal{M}\left(X_0^{(1)},\ldots,X_T^{(1)},\ldots,X_0^{(N)},\ldots,X_T^{(N)}\right) P = M ( X 0 ( 1 ) , … , X T ( 1 ) , … , X 0 ( N ) , … , X T ( N ) ) .
Let R ^ \widehat{R} R denote the A \mathcal{A} A -to-B \mathcal{B} B block of P ^ \widehat{P} P (the block corresponding to the first S S S rows and last S S S columns) and define
Z = R ^ − η U 1 − η . Z = \frac{\widehat{R}-\eta U}{1-\eta}. Z = 1 − η R − η U .
For every i ∈ [ S ] i \in[S] i ∈ [ S ] , set Q ^ i , ⋅ ∈ arg min q ∈ Δ ( S ) ∥ q − Z i , ⋅ ∥ 1 \widehat{Q}_{i,\cdot} \in\arg\min_{q\in\Delta(S)} \lVert q-Z_{i,\cdot}\rVert_1 Q i , ⋅ ∈ arg min q ∈ Δ ( S ) ∥ q − Z i , ⋅ ∥ 1 and return Q ^ \widehat{Q} Q .
For every u ∈ [ N ] u \in[N] u ∈ [ N ] and i ∈ [ S ] i \in[S] i ∈ [ S ] , let V u , i : = ∑ t = 0 T − 1 1 { L t ( u ) = A i } V_{u,i}:=\sum_{t=0}^{T-1}\mathbf{1}\{L_t^{(u)}=A_i\} V u , i := ∑ t = 0 T − 1 1 { L t ( u ) = A i } and consider the event
E : = { V u , i ≤ m for every u ∈ [ N ] and i ∈ [ S ] } . \mathcal{E}:=\{V_{u,i}\le m\text{ for every }u\in[N]\text{ and }i\in[S]\}. E := { V u , i ≤ m for every u ∈ [ N ] and i ∈ [ S ]} .
Note that the event E \mathcal{E} E depends only on the data-independent Stage 1 (before step 3) of the reduction and is therefore independent of all the samples Y \mathbf{Y} Y . Since the event E \mathcal{E} E implies that all the A \mathcal{A} A to B \mathcal{B} B transitions are at most m m m , the event E \mathcal{E} E guarantees that the required sample Y r u , i , i ( u ) Y_{r_{u,i,i}}^{(u)} Y r u , i , i ( u ) always exists.
Conditional on X t ( u ) = a i X_t^{(u)}=a_i X t ( u ) = a i ,
P [ X t + 1 ( u ) = b j ∣ X t ( u ) = a i ] = ( 1 − η ) Q i j + η S . \mathbb{P}\left[X_{t+1}^{(u)}=b_j\mid X_t^{(u)}=a_i\right]=(1-\eta)Q_{ij}+\frac{\eta}{S}. P [ X t + 1 ( u ) = b j ∣ X t ( u ) = a i ] = ( 1 − η ) Q ij + S η .
Conditional on X t ( u ) = b j X_t^{(u)}=b_j X t ( u ) = b j ,
X t + 1 ( u ) = { b j with probability 1 − η , a i with probability η / S , i ∈ [ S ] . X_{t+1}^{(u)}=
\begin{cases}
b_j & \text{with probability }1-\eta,\\
a_i & \text{with probability }\eta/S,\quad i\in[S].
\end{cases} X t + 1 ( u ) = { b j a i with probability 1 − η , with probability η / S , i ∈ [ S ] .
Thus, conditioned on E \mathcal{E} E , each simulated trajectory has exactly the law of a length-T T T trajectory from P π min , Q P_{\pi_{\min},Q} P π m i n , Q with initial distribution μ = Unif ( B ) \mu=\operatorname{Unif}(\mathcal{B}) μ = Unif ( B ) . Since the source users and all simulation randomness are independent, the N N N trajectories are independent.
Upper Bound on the Probability of E ‾ \overline{\mathcal{E}} E . Fix a user u ∈ [ N ] u\in[N] u ∈ [ N ] . We emphasize that the variables 1 { L t ( u ) = A i } \mathbf{1}\{L_t^{(u)}=A_i\} 1 { L t ( u ) = A i } are not independent across the physical time index t t t , since every visit to an A A A -state is followed deterministically by a transition back to the B B B -state. Since the first stage starts in a B B B -state, consider a sequence of independent random variables
C 1 ( u ) , C 2 ( u ) , … ∈ { 0 , 1 , … , S } C_1^{(u)},C_2^{(u)},\ldots\in\{0,1,\ldots,S\} C 1 ( u ) , C 2 ( u ) , … ∈ { 0 , 1 , … , S }
where P [ C r ( u ) = 0 ] = 1 − η \mathbb{P}[C_r^{(u)}=0]=1-\eta P [ C r ( u ) = 0 ] = 1 − η and P [ C r ( u ) = j ] = η S \mathbb{P}[C_r^{(u)}=j]=\frac{\eta}{S} P [ C r ( u ) = j ] = S η for j ∈ [ S ] j\in[S] j ∈ [ S ] .
At the r r r -th time for which L t ( u ) = B L_t^{(u)}=B L t ( u ) = B , the construction uses C r ( u ) C_r^{(u)} C r ( u ) to determine L t + 1 ( u ) L_{t+1}^{(u)} L t + 1 ( u ) : if C r ( u ) = 0 C_r^{(u)}=0 C r ( u ) = 0 , L t + 1 ( u ) L_{t+1}^{(u)} L t + 1 ( u ) is in a B B B state, whereas if C r ( u ) = j C_r^{(u)}=j C r ( u ) = j , it moves to L t + 1 ( u ) = A j L_{t+1}^{(u)}=A_j L t + 1 ( u ) = A j and returns deterministically to the B B B -state at the following step. For the fixed row i i i , the variables 1 { C r ( u ) = i } \mathbf{1}\{C_r^{(u)}=i\} 1 { C r ( u ) = i } are therefore independent Bernoulli random variables with parameter p : = η S = π min 1 − S π min p:=\frac{\eta}{S}=\frac{\pi_{\min}}{1-S\pi_{\min}} p := S η = 1 − S π m i n π m i n . Let G ℓ ( u , i ) G_\ell^{(u,i)} G ℓ ( u , i ) be the number of B B B -state departure opportunities between the ( ℓ − 1 ) (\ell-1) ( ℓ − 1 ) -st and the ℓ \ell ℓ -th visits to A i A_i A i . Then G 1 ( u , i ) , … , G m + 1 ( u , i ) ∼ i . i . d . Geom ( p ) G_1^{(u,i)},\ldots,G_{m+1}^{(u,i)}\overset{\mathrm{i.i.d.}}{\sim}\operatorname{Geom}(p) G 1 ( u , i ) , … , G m + 1 ( u , i ) ∼ i.i.d. Geom ( p ) , and
J u , i : = ∑ ℓ = 1 m + 1 G ℓ ( u , i ) J_{u,i}:=\sum_{\ell=1}^{m+1}G_\ell^{(u,i)} J u , i := ℓ = 1 ∑ m + 1 G ℓ ( u , i )
is the number of transitions from a B B B -state to A i A_i A i required to visit A i A_i A i exactly m + 1 m+1 m + 1 times.
Recall that V u , i = ∑ t = 0 T − 1 1 { L t ( u ) = A i } V_{u,i}=\sum_{t=0}^{T-1}\mathbf{1}\{L_t^{(u)}=A_i\} V u , i = ∑ t = 0 T − 1 1 { L t ( u ) = A i } is the number of samples from the i i i -th row distribution required by the u u u -th simulated trajectory. Let K u ( T ) K_u(T) K u ( T ) denote the number of B B B -state departure opportunities occurring during the first T T T transitions. Since at most one such opportunity occurs per physical transition, K u ( T ) ≤ T K_u(T) \le T K u ( T ) ≤ T . Moreover, if V u , i > m V_{u,i} > m V u , i > m , then the skeleton visits A i A_i A i at least m + 1 m+1 m + 1 times within the first T T T transitions. Consequently,
{ V u , i > m } ⊆ { J u , i ≤ K u ( T ) } ⊆ { J u , i ≤ T } . \{V_{u,i} > m\} \subseteq\{J_{u,i} \le K_u(T)\} \subseteq\{J_{u,i} \le T\}. { V u , i > m } ⊆ { J u , i ≤ K u ( T )} ⊆ { J u , i ≤ T } .
Since π min < 1 / ( 2 S ) \pi_{\min} < 1/(2S) π m i n < 1/ ( 2 S ) , p = π min 1 − S π min ≤ 2 π min p = \frac{\pi_{\min}}{1-S\pi_{\min}} \le2\pi_{\min} p = 1 − S π m i n π m i n ≤ 2 π m i n . With the choice m = ⌈ 8 π min T ⌉ m = \lceil8\pi_{\min}T\rceil m = ⌈ 8 π m i n T ⌉ , we have p T ≤ 2 π min T ≤ m 4 pT \le2\pi_{\min}T \le\frac{m}{4} pT ≤ 2 π m i n T ≤ 4 m and hence T ≤ m 4 p ≤ m + 1 2 p T \le\frac{m}{4p} \le\frac{m+1}{2p} T ≤ 4 p m ≤ 2 p m + 1 . Applying Lemma 16 with m + 1 m+1 m + 1 geometric random variables and lower-tail parameter 1 / 2 1/2 1/2 , we obtain
P [ V u , i > m ] ≤ P [ J u , i ≤ T ] ≤ P [ J u , i ≤ m + 1 2 p ] ≤ exp ( − c m + 1 4 ) ≤ exp ( − c 0 m ) , \mathbb{P}[V_{u,i} > m] \le\mathbb{P}[J_{u,i} \le T] \le\mathbb{P}\left[J_{u,i} \le\frac{m+1}{2p}\right] \le\exp\left(-c\frac{m+1}{4}\right) \le\exp(-c_0m), P [ V u , i > m ] ≤ P [ J u , i ≤ T ] ≤ P [ J u , i ≤ 2 p m + 1 ] ≤ exp ( − c 4 m + 1 ) ≤ exp ( − c 0 m ) ,
where c 0 > 0 c_0 > 0 c 0 > 0 is a universal constant. Taking a union bound over all N N N users and all S S S rows gives
P [ E ] = P [ V u , i > m for some u ∈ [ N ] , i ∈ [ S ] ] ≤ N S exp ( − c 0 m ) . \mathbb{P}[\mathcal{E}] = \mathbb{P}[V_{u,i} > m\text{ for some }u \in[N],\,i \in[S]] \le NS\exp(-c_0m). P [ E ] = P [ V u , i > m for some u ∈ [ N ] , i ∈ [ S ]] ≤ N S exp ( − c 0 m ) .
Privacy guarantee. Consider two neighboring source databases Y = ( Y ( 1 ) , … , Y ( u ∗ ) , … , Y ( N ) ) \mathbf{Y} = \left(Y^{(1)},\ldots,Y^{(u^*)},\ldots,Y^{(N)}\right) Y = ( Y ( 1 ) , … , Y ( u ∗ ) , … , Y ( N ) ) and Y ′ = ( Y ( 1 ) , … , Y ′ ( u ∗ ) , … , Y ( N ) ) \mathbf{Y}' = \left(Y^{(1)},\ldots,Y'^{(u^*)},\ldots,Y^{(N)}\right) Y ′ = ( Y ( 1 ) , … , Y ′ ( u ∗ ) , … , Y ( N ) ) , which differ only in the samples of a single source user u ∗ u^* u ∗ .
The event E \mathcal{E} E and the layer skeletons are independent of the source data. Conditioned on any fixed collection of skeletons satisfying E \mathcal{E} E , changing source user u ∗ u^* u ∗ can change only the trajectory X ( u ∗ ) X^{(u^*)} X ( u ∗ ) . All other trajectories remain unchanged. Thus, the two trajectory databases supplied to M \mathcal{M} M differ in at most one entire trajectory and are neighboring under user-level adjacency. Consequently, by the user-level privacy guarantee of M \mathcal{M} M and post-processing, for every measurable set S \mathcal{S} S ,
P [ R ( Y ) ∈ S ∣ E ] ≤ e ε P [ R ( Y ′ ) ∈ S ∣ E ] + δ . \mathbb{P}[\mathcal{R}(\mathbf{Y}) \in\mathcal{S}\mid\mathcal{E}] \le e^\varepsilon\mathbb{P}[\mathcal{R}(\mathbf{Y}') \in\mathcal{S}\mid\mathcal{E}] + \delta. P [ R ( Y ) ∈ S ∣ E ] ≤ e ε P [ R ( Y ′ ) ∈ S ∣ E ] + δ .
Since E \mathcal{E} E is data-independent and the estimator returns the fixed matrix U U U on E ‾ \overline{\mathcal{E}} E ,
P [ R ( Y ) ∈ S ] = P [ R ( Y ) ∈ S ∣ E ] P [ E ] + 1 { U ∈ S } P [ E ‾ ] ≤ e ε P [ R ( Y ′ ) ∈ S ∣ E ] P [ E ] + δ + e ε 1 { U ∈ S } P [ E ‾ ] ≤ e ε P [ R ( Y ′ ) ∈ S ] + δ . \begin{aligned}
\mathbb{P}[\mathcal{R}(\mathbf{Y}) \in\mathcal{S}]
&= \mathbb{P}[\mathcal{R}(\mathbf{Y}) \in\mathcal{S}\mid\mathcal{E}]\mathbb{P}[\mathcal{E}] + \mathbf{1}_{\{U\in\mathcal{S}\}}\mathbb{P}[\overline{\mathcal{E}}]\\
&\le e^\varepsilon\mathbb{P}[\mathcal{R}(\mathbf{Y}') \in\mathcal{S}\mid\mathcal{E}]\mathbb{P}[\mathcal{E}] + \delta+ e^\varepsilon\mathbf{1}_{\{U\in\mathcal{S}\}}\mathbb{P}[\overline{\mathcal{E}}]\\
&\le e^\varepsilon\mathbb{P}[\mathcal{R}(\mathbf{Y}') \in\mathcal{S}] + \delta.
\end{aligned} P [ R ( Y ) ∈ S ] = P [ R ( Y ) ∈ S ∣ E ] P [ E ] + 1 { U ∈ S } P [ E ] ≤ e ε P [ R ( Y ′ ) ∈ S ∣ E ] P [ E ] + δ + e ε 1 { U ∈ S } P [ E ] ≤ e ε P [ R ( Y ′ ) ∈ S ] + δ .
Hence, R \mathcal{R} R is ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -user-level differentially private. Note that this argument holds even if δ = 0 \delta= 0 δ = 0 .
Utility Guarantee. Since q ^ i \widehat{q}_i q i is an ℓ 1 \ell_1 ℓ 1 projection and q i ∈ Δ ( S ) q_i \in\Delta(S) q i ∈ Δ ( S ) ,
∥ q ^ i − q i ∥ 1 ≤ ∥ q ^ i − Z i , ⋅ ∥ 1 + ∥ Z i , ⋅ − q i ∥ 1 ≤ 2 ∥ Z i , ⋅ − q i ∥ 1 . \|\widehat{q}_i-q_i\|_1 \le\|\widehat{q}_i-Z_{i,\cdot}\|_1+\|Z_{i,\cdot}-q_i\|_1 \le2\|Z_{i,\cdot}-q_i\|_1. ∥ q i − q i ∥ 1 ≤ ∥ q i − Z i , ⋅ ∥ 1 + ∥ Z i , ⋅ − q i ∥ 1 ≤ 2∥ Z i , ⋅ − q i ∥ 1 .
Therefore,
∥ Q ^ − Q ∥ ∞ ≤ 2 ∥ Z − Q ∥ ∞ = 2 1 − η ∥ R ^ − ( ( 1 − η ) Q + η U ) ∥ ∞ ≤ 2 1 − η ∥ P ^ − P π min , Q ∥ ∞ . \|\widehat{Q}-Q\|_\infty\le2\|Z-Q\|_\infty= \frac{2}{1-\eta}\left\|\widehat{R}-\left((1-\eta)Q+\eta U\right)\right\|_\infty\le\frac{2}{1-\eta}\|\widehat{P}-P_{\pi_{\min},Q}\|_\infty. ∥ Q − Q ∥ ∞ ≤ 2∥ Z − Q ∥ ∞ = 1 − η 2 R − ( ( 1 − η ) Q + η U ) ∞ ≤ 1 − η 2 ∥ P − P π m i n , Q ∥ ∞ .
It follows that, for every α > 0 \alpha> 0 α > 0 ,
P [ ∥ R ( Y ) − Q ∥ ∞ ≥ α ] ≤ P [ ∥ M ( X ) − P π min , Q ∥ ∞ ≥ 1 − η 2 α | E ] P [ E ] + P [ E ‾ ] ≤ P [ ∥ M ( X ) − P π min , Q ∥ ∞ ≥ 1 − η 2 α ] + N S exp ( − c 0 m ) . \begin{aligned}
\mathbb{P}[\|\mathcal{R}(\mathbf{Y})-Q\|_\infty\ge\alpha] \le\mathbb{P}\left[\|\mathcal{M}(\mathbf{X})-P_{\pi_{\min},Q}\|_\infty\ge\frac{1-\eta}{2}\alpha\;\middle|\;\mathcal{E}\right]\mathbb{P}[\mathcal{E}] + \mathbb{P}[\overline{\mathcal{E}}] \\
&\le\mathbb{P}\left[\|\mathcal{M}(\mathbf{X})-P_{\pi_{\min},Q}\|_\infty\ge\frac{1-\eta}{2}\alpha\right] + NS\exp(-c_0m).
\end{aligned} P [ ∥ R ( Y ) − Q ∥ ∞ ≥ α ] ≤ P [ ∥ M ( X ) − P π m i n , Q ∥ ∞ ≥ 2 1 − η α E ] P [ E ] + P [ E ] ≤ P [ ∥ M ( X ) − P π m i n , Q ∥ ∞ ≥ 2 1 − η α ] + N S exp ( − c 0 m ) .
Here, in the final probability, X \mathbf{X} X consists of N N N independent genuine trajectories from P π min , Q P_{\pi_{\min},Q} P π m i n , Q . If π min ≤ 1 / ( 3 S ) \pi_{\min} \le1/(3S) π m i n ≤ 1/ ( 3 S ) , then η = S π min 1 − S π min ≤ 1 2 \eta= \frac{S\pi_{\min}}{1-S\pi_{\min}} \le\frac{1}{2} η = 1 − S π m i n S π m i n ≤ 2 1 which implies 1 − η ≥ 1 / 2 1-\eta\ge1/2 1 − η ≥ 1/2 which further implies that
P [ ∥ R ( Y ) − Q ∥ ∞ ≥ α ] ≤ P [ ∥ M ( X ) − P π min , Q ∥ ∞ ≥ α 4 ] + N S exp ( − c 0 m ) . \mathbb{P}\left[\lVert\mathcal{R}(\mathbf{Y})-Q\rVert_{\infty}\ge\alpha\right]\le\mathbb{P}\left[\lVert\mathcal{M}(\mathbf{X})-P_{\pi_{\min},Q}\rVert_{\infty}\ge\frac{\alpha}{4}\right]+NS\exp(-c_0m). P [ ∥ R ( Y ) − Q ∥ ∞ ≥ α ] ≤ P [ ∥ M ( X ) − P π m i n , Q ∥ ∞ ≥ 4 α ] + N S exp ( − c 0 m ) .
If m ≥ C 0 log ( N S ) m\ge C_0\log(NS) m ≥ C 0 log ( N S ) for a sufficiently large C 0 C_0 C 0 , then N S exp ( − c 0 m ) ≤ 1 12 NS\exp(-c_0m)\le\frac{1}{12} N S exp ( − c 0 m ) ≤ 12 1 . The accuracy guarantee of M \mathcal{M} M on ergodic Markov chains proves the claim.
Theorem 65 (Complete version of Theorem 5) Let 0 < α ≤ 1 384 2 0<\alpha\le\frac{1}{384\sqrt{2}} 0 < α ≤ 384 2 1 , 0 < ε < 1 0<\varepsilon<1 0 < ε < 1 and δ ≤ min { C δ ε S , ε 2 } \delta\le\min\left\{\frac{C_\delta\varepsilon}{S},\varepsilon^2\right\} δ ≤ min { S C δ ε , ε 2 } for some universal constant C δ C_\delta C δ . Suppose that there exists an ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -DP learner M \mathcal{M} M that takes as input N N N independent length T T T trajectories X \mathbf{X} X sampled from a Markov chain with transition matrix P P P with min x π ( x ) = π min \min_x\pi(x)=\pi_{\min} min x π ( x ) = π m i n . If
P [ ∥ M ( X ) − P ∥ ∞ ≤ α ] ≥ 3 4 , (25) \mathbb{P}\left[\lVert\mathcal{M}(\mathbf{X})-P\rVert_{\infty}\le\alpha\right]\ge\frac{3}{4}, \tag*{(25)} P [ ∥ M ( X ) − P ∥ ∞ ≤ α ] ≥ 4 3 , (25) then for T ≳ log ( N S ) π min T\gtrsim\frac{\log(NS)}{\pi_{\min}} T ≳ π m i n l o g ( N S ) ,
N ≳ 1 ε min { S 2 , log ( 1 δ ) } + S 3 / 2 α ε π min T log C ℓ ( ( α ε ) − 1 e d k ) + S π min T α 2 , N\gtrsim\frac{1}{\varepsilon}\min\left\{S^2,\log\left(\frac{1}{\delta}\right)\right\}+\frac{S^{3/2}}{\alpha\varepsilon\sqrt{\pi_{\min}T}\log^{C_\ell}((\alpha\varepsilon)^{-1}edk)}+\frac{S}{\pi_{\min}T\alpha^2}, N ≳ ε 1 min { S 2 , log ( δ 1 ) } + α ε π m i n T log C ℓ (( α ε ) − 1 e d k ) S 3/2 + π m i n T α 2 S , users are necessary, where C ℓ C_\ell C ℓ is a universal constant.
Proof Since there exists an ( ε , δ ) (\varepsilon,\delta) ( ε , δ ) -DP learner M \mathcal{M} M that takes N N N independent length T T T trajectories X \mathbf{X} X sampled from a Markov chain with transition matrix P P P with min x π ( x ) = π min \min_x\pi(x)=\pi_{\min} min x π ( x ) = π m i n as input and satisfies (25) . Then, by Theorem 64 , there exists an algorithm A \mathcal{A} A that, when given data from N N N users, each with m = ⌈ 8 π min T ⌉ m=\lceil8\pi_{\min}T\rceil m = ⌈ 8 π m i n T ⌉ samples each from the product distribution corresponding to Q ‾ \overline{Q} Q satisfies
P [ ∥ A ( Y ) − Q ‾ ∥ ∞ ≤ 4 α ] ≥ 2 3 . \mathbb{P}\left[\lVert\mathcal{A}(\mathbf{Y})-\overline{Q}\rVert_{\infty}\le4\alpha\right]\ge\frac{2}{3}. P [ ∥ A ( Y ) − Q ∥ ∞ ≤ 4 α ] ≥ 3 2 .
Since 4 α ≤ 1 96 2 4\alpha\le\frac{1}{96\sqrt{2}} 4 α ≤ 96 2 1 , applying Theorem 43 and substituting m = Θ ( π min T ) m=\Theta(\pi_{\min}T) m = Θ ( π m i n T ) proves the claim.
Theorem 66 Suppose that there exists an ε \varepsilon ε -DP learner that takes as input N N N independent length T T T trajectories X \mathbf{X} X sampled from a Markov chain with transition matrix P P P with min x π ( x ) = π min \min_x\pi(x)=\pi_{\min} min x π ( x ) = π m i n and pseudo-spectral gap γ p s \gamma_{\mathrm{ps}} γ ps . If
P [ ∥ M ( X ) − P ∥ ∞ ≤ α ] ≥ 3 4 , \mathbb{P}\left[\lVert\mathcal{M}(\mathbf{X})-P\rVert_{\infty}\le\alpha\right]\ge\frac{3}{4}, P [ ∥ M ( X ) − P ∥ ∞ ≤ α ] ≥ 4 3 , then for T ≳ log ( N S ) π min T\gtrsim\frac{\log(NS)}{\pi_{\min}} T ≳ π m i n l o g ( N S ) ,
N ≳ S 2 ε + S 3 / 2 ε α π min T + S π min T α 2 . N\gtrsim\frac{S^2}{\varepsilon}+\frac{S^{3/2}}{\varepsilon\alpha\sqrt{\pi_{\min}T}}+\frac{S}{\pi_{\min}T\alpha^2}. N ≳ ε S 2 + ε α π m i n T S 3/2 + π m i n T α 2 S .
Proof The proof follows in the same manner as Theorem 65 . For the final step, apply Theorem 54 with Θ ( π min T ) \Theta(\pi_{\min}T) Θ ( π m i n T ) samples per-user, proving this claim.