Fixed-Parameter Tractability of Private Synthetic Data Generation


Abstract

We study the problem of generating synthetic data under differential privacy. We establish fixed-parameter tractability (FPT) for this problem where the parameter is the treewidth of the query family’s incidence graph. Our algorithms attain optimal error rates across all regimes and are realized by two different approaches: the first is based on linear programming (LP) and the FPT of the separation problem for the LP dual; the second is based on a subsampled private multiplicative weights method, where we obtain FPT for sampling from Gibbs distributions. Both approaches are unified by a dynamic programming framework over a tree decomposition.

1 Introduction↩︎

Private synthetic data generation is a widely studied problem at the heart of private data analysis, with major practical implications [1][7]. The goal is to use privacy-preserving methods on a sensitive dataset to create a new version that retains key statistical properties of the original. The advantage of private synthetic data is the flexibility of sharing it without privacy concerns for downstream applications.

Let the data domain be \(\mathcal{D}=\{0,1\}^d\), and consider a family \(\mathcal{F}\) of counting queries (i.e., the queries are averages of functions \(f:\mathcal{D}\to \{0, 1\}\)). The goal of synthetic data generation is: given a dataset \(X \in \mathcal{D}^*\) where \(n = |X|\), produce a dataset \(X' \in \mathcal{D}^*\) such that \(f(X) \approx f(X')\) holds, where \(f(X) := \frac{1}{|X|} \sum_{x \in X} f(x)\). Ignoring computational constraints, the optimal error rates for generating synthetic data satifying differential privacy (DP) are known in several cases. We first consider the case of \((\varepsilon, \delta)\)-DP (i.e., approximate-DP). Here, the optimal error rates1 are \[\textstyle \Theta\Big(\min\Big\{ \frac{\sqrt{|\mathcal{D}|\ln|\mathcal{F}|}}{n\varepsilon}, \frac{\sqrt{|\mathcal{F}|\log(1/\delta)}}{n\varepsilon}, \Big(\frac{\sqrt{\ln|\mathcal{D}|}\ln|\mathcal{F}|\ln(1/\delta)}{n\varepsilon}\Big)^{1/2} \Big\}\Big).\footnote{Upper bounds in the first regime follow from \cite{Vadhan:2017}, for the second regime from \cite{GKM21,DK22}, and for the third regime from \cite{HardtR10}. Lower bounds can be found in \cite{Vadhan:2017}.}\] For \(\varepsilon\)-DP (i.e., pure-DP), the optimal error rates are still open [8], [9], and the best known upper bound is \[\textstyle O\Big(\min\Big\{ \frac{\sqrt{|\mathcal{D}|\ln|\mathcal{F}|}}{n\varepsilon}, \frac{|\mathcal{F}|}{n\varepsilon}, \Big(\frac{\ln|\mathcal{D}|\ln|\mathcal{F}|}{n\varepsilon}\Big)^{1/3} \Big\}\Big).\] For both cases, the first regime is best for small domain size \(|\mathcal{D}|\), the second one is best for small query family size \(|\mathcal{F}|\), and the third one is best when the number of datapoints \(n\) is small (known as the sparse setting). All known algorithms that attain these rates run in time exponential in \(d\).

Unfortunately, under computational constraints, it is known that producing accurate DP synthetic data even for modest and natural classes of queries (e.g., 2-way marginals) is hard, and the above mentioned “exponential in \(d\)” bounds are optimal under standard cryptographic assumptions [10]. Despite this fundamental roadblock, follow-up research has identified specific settings where DP synthetic data can be efficiently produced. A remarkable example is the US Census TopDown algorithm [11], [12], which produced DP synthetic data for hierarchical queries, specifically, where queries are monotone disjunctions over sets from a laminar family. Other works have explored methods based on Bayesian models [13], graphical models [14][16], duality [17], [18], and heuristics. It is desirable to obtain a unified approach that is capable of handling general query workloads, and provides a clear distinction between easy and hard instances. Quoting [15],

In general, it would be nice to have a mechanism that can automatically adapt to an analyst-provided workload, and generate synthetic data that provides high utility on the queries and tasks in that workload. Several workload-adaptive mechanisms exist, but they are generally restricted to settings where the full high-dimensional histogram can be explicitly materialized in vector form, and are thus unable to scale to high-dimensional domains.

1.1 Contributions↩︎

Our main contribution is to show that the optimal error rates for DP synthetic data generation over worst-case query workloads are achievable via fixed-parameter tractable (FPT) algorithms. Our techniques are simple, broadly applicable, and both unify and extend existing methods.

  • Structural parametrization. We identify the incidence graph treewidth of the query class as a key parameter for achieving FPT. This parameter does not necessarily grow with the query scope size and this allows us to recover, e.g., the polynomial tractability for hierarchical queries [11], [12]. The FPT results for our subsequent algorithms follow from a unified dynamic programming framework over a tree decomposition, detailed in 5.

  • Small family size. When \(|\mathcal{F}|\) is small, we propose an FPT DP synthetic data generator based on the dual of a natural linear program (LP) that minimizes query error over fractional histograms over \(\mathcal{D}\). We show that optimizing this dual is FPT via the ellipsoid method [19], as the separation problem is rendered FPT by our dynamic programming framework.

  • Sparse regime. When \(n\) is small, we adapt the standard private multiplicative weights update (PMWU) [4] method to implicitly handle the high-dimensional distributions used for the histograms. We prove that sampling from these distributions is sufficient to maintain accuracy (5). Moreover, in 6 we show that this sampling task is FPT, by computing the partition function (by the aforementioned dynamic program) and recursively sampling conditional probabilities from root to leaves.

1.2 Related Work↩︎

The literature on DP synthetic data generation is vast. We summarize here the work more closely related to ours. The noisy LP approach was one of the earliest proposals for DP synthetic data generation [2], [20]; this LP perspective played a key role in the development of PMWU [4], [21].

The hardness of generating synthetic data for all two-way marginals [10] has motivated alternative approaches that are either heuristic or constrain the family of distributions and/or queries, to achieve algorithmic efficiency. [21] observed that if features are partitioned and each query is supported on a distinct block, then the MWU distributions factorize, yielding a compact representation; this turns out to be a low treewidth query class.

Other approaches are based on restricting the histogram distribution to specific parametric families. The most common approach here involves probabilistic graphical models. For example, [13] construct a degree-\(k\) Bayesian network privately via the exponential mechanism, which results in running time exponential in \(k\), and lacks provable accuracy guarantees. Another class of algorithms leverage ideas from graphical models and maximum entropy estimators to design DP synthetic data without making parametric assumptions [14], [15], [22]. For marginal queries under square loss, their algorithms admit an FPT implementation, as they are based on belief propagation [23], [24]. Aside from the different notion of accuracy, their results are comparable to ours when \(|\mathcal{F}|\) is small and consists of marginal queries.

A general approach for efficiently generating private synthetic data in the statistical setting was proposed by [25]. They obtain (approximately) optimal rates for the small \(|\mathcal{F}|\) regime by solving a saddle-point problem on the histogram-query product space, similar to our approach. For computational efficiency, they assume access to a sampler with bounded Rényi condition number with respect to a target distribution, which is used to drastically reduce the histogram dimension. The results are then only applicable to the statistical setting, and under strong side information on the target distribution. For \(k\)-way marginal queries their algorithm is FPT in \(k\), a running time that is not attainable in general [10].

A well-established technique to attain DP for optimization, saddle-point problems (both of them relevant for DP synthetic data), and online learning, is based on combining MWU approaches with sampling from the resulting Gibbs distributions [17], [18], [26][28]. Crucially, in all of these works, privacy is achieved by the sampling itself, as it corresponds to an application of the exponential mechanism. Since these solutions become accurate only when collecting sufficiently many samples, there is a degradation of the privacy budget for larger samples (which can be effectively mitigated in some cases). In our approach, privacy is guaranteed by the exponential mechanism over queries, and therefore the sampling can be performed repeatedly without degrading privacy. Our choice of sample size is only limited by the required concentration for accurate estimates of the queries, as well as the need to keep a moderate size sample for efficiency purposes.

Within the sampling approaches outlined above, some works have explored the possibilities of dualizing the synthetic data LP, resorting on integer programming-based algorithms for the maximization subproblems. These problems are NP-hard in the worst-case but become FPT for suitable notions of treewidth [17], [18]. Unfortunately, the resulting error rates are polynomially suboptimal compared to those obtained by PMWU.

There is a vast FPT literature in optimization, sampling and decision problems in connection to various notions of treewidth [29][31]. The majority of works in this area either focus on specific graph problems, or on general constraint satisfaction problems, as well as more structural characterizations of FPT under bounded treewidth, such as [32]’s Theorem [32]. Our approaches for FPT in optimization and sampling follow standard techniques from this literature: however, to make the presentation self-contained, we describe the algorithm and running times in detail.

2 Preliminaries↩︎

Consider a data domain \(\mathcal{D}=\{0,1\}^d\). A dataset is a sequence \(X= (x_1, \ldots, x_n) \in \mathcal{D}^{\ast}\), and we denote its size (i.e., number of datapoints) by \(n = |X|\). A dataset \(X\) can be represented as a histogram, \(h^X\in \mathbb{R}_+^\mathcal{D}\), where \(h_x^X=\frac{1}{n}\sum_{i=1}^n [x=x_i]\). We define a fractional histogram as any element of the standard simplex \(\Delta_\mathcal{D}=\{h\in\mathbb{R}_+^\mathcal{D}: \, \sum_{x\in \mathcal{D}} h_x=1\}\).

2.0.0.1 Differential Privacy and Synthetic Data Generation.

A pair \(X, X' \in \mathcal{D}^{\ast}\) of datasets are neighbors (denoted by \(X \simeq X'\)) if they differ by at most one substitution of their datapoints. We say that an algorithm \({\cal A}:\mathcal{D}^{\ast}\to {\cal O}\) is \((\varepsilon,\delta)\)-DP if for every pair \(X\simeq X'\), and for every (measurable) \(E \subseteq {\cal O}\), \(\mathbb{P}[{\cal A}(X)\in E]\leq e^{\varepsilon} \cdot \mathbb{P}[{\cal A}(X')\in E]+\delta\). When \(\delta = 0\), we say that \({\cal A}\) is \(\varepsilon\)-DP (i.e., pure-DP). Properties and examples of DP algorithms are included in 8.1.

The synthetic data generation problem is to design a (pure- or) approximate-DP algorithm \({\cal A}: \mathcal{D}^{\ast}\to\mathcal{D}^{\ast}\) that, on an input dataset \(X\), outputs a synthetic dataset \(\hat{X} = {\cal A}(X)\). The error of the synthetic dataset is evaluated on a family \({\cal F}\) of Boolean queries as \(\|(f(X) - f(\hat{X}))_{f\in \mathcal{F}}\|_{\infty}=\max_{f\in \mathcal{F}} |f(X)-f(\hat{X}))|.\) We say that \(\mathcal{A}\) is \(\alpha\)-accurate if its expected error is at most \(\alpha\).

In our algorithm, it is often more convenient to compute a fractional histogram rather than a dataset. Nevertheless, it is simple to turn the former into the latter via sampling, using a direct application of the Hoeffding bound and a union bound. Formally, we have:

Lemma 1. Let \(h \in \Delta_{\mathcal{D}}\) be any fractional histogram, and let \(X =(x_1,\ldots,x_m)\stackrel{\mathrm{i.i.d.}}{\sim} h\). Then, \[\textstyle\mathbb{P}\Big[\forall f\in {\cal F}:\,\textstyle |f(X)-\langle f,h\rangle| \leq \sqrt{\frac{1}{m}\ln \frac{2|\mathcal{F}|}{\beta}}\Big] \geq 1 - \beta.\]

2.0.0.2 Boolean Queries and Scope.

Consider a class \(\mathcal{F}\) of Boolean queries comprised of functions \(f:\mathcal{D}\to\{0,1\}\). For such a function, we denote its average over the dataset \(X=(x_1,\ldots,x_n)\) as \(f(X):=\frac{1}{n}\sum_{i=1}^n f(x_i)\), and for a histogram \(h\in\Delta_{\mathcal{D}}\), we denote its expected value as \(\langle f,h\rangle=\sum_{x \in \mathcal{D}} f(x) \cdot h_x=\mathbb{E}_{x\sim h}[f(x)]\).

We consider Boolean functions \(f:\mathcal{D}\to\{0,1\}\) represented in the (reduced) ordered binary decision diagram (rOBDD) form2 [33]. For our examples of interest, this representation can be produced with \(O(d)\) bits; in particular, this encoding is efficient. We denote \(\mathrm{size}(f)\) as the size of the provided encoding, and for a set \(\mathcal{F}\) of Boolean functions, we denote \(\mathrm{size}(\mathcal{F})=\max\{\mathrm{size}(f):f\in \mathcal{F}\}\). For more details of rOBDD and examples, see 8.2.

Definition 1. Given \(f:\mathcal{D}\to\{0,1\}\), we define its scope as \(\mathrm{scope}{[}f]\triangleq\{i\in[d]:\, \exists x\in \mathcal{D}, f(x)\neq f(x^{\oplus i})\},\) where \(x^{\oplus i}\) is the vector \(x\) with its \(i\)th coordinate flipped.

The importance of this definition is that \(f\) is uniquely determined given a partial evaluation of the Boolean variables within its scope. Hence, we adopt a slight abuse of notation: for any index set \(S \subseteq [d]\) such that \(\mathrm{scope}{[}f]\subseteq S\) and any vector \(y \in \{0,1\}^S\), we use \(f(y)\) to denote the unique value of \(f(x)\) for any input \(x\) satisfying \(x|_{\mathrm{scope}{[}f]} = y|_{\mathrm{scope}{[}f]}\).

Given a function \(f\) in an rOBDD representation, one can compute its scope in \(O(\mathrm{size}(f))\) time. This follows from the next result whose proof is straightforward and hence omitted.

Lemma 2. For \(f:\mathcal{D}\to\{0,1\}\), \(\mathrm{scope}{[}f]=\{i\in [d]: ith variable appears in the rOBDD of f\}\).

2.0.0.3 Incidence Graph and Treewidth.

For a graph \(G=(V,E)\), let \(V(G)=V\) and \(E(G)=E\). We denote a bipartite graph by \(G = (U, V, E)\), where \(U\) and \(V\) are the two partitions of the vertices and \(E \subseteq U \times V\). For \(A\subseteq V(G)\), we define its boundary \(\partial(A)=\{v\in V(G) \smallsetminus A: \exists \{u,v\}\in E(G)\}\).

Definition 2 (Incidence Graph). Let \(\mathcal{F}\) be a family of functions \(f:\mathcal{D}\to\{0,1\}\). The incidence graph* of \(\mathcal{F}\) is the bipartite graph \(G(\mathcal{F})=([d], \mathcal{F}, \{\{i,f\} : i\in \mathrm{scope}{[}f]\})\).*

By 2, given \({\cal F}\) there exists an \(O(|\mathcal{F}|\cdot\mathrm{size}(\mathcal{F}))\) algorithm to compute its incidence graph.

Definition 3 (Treewidth). Let \(G = (V, E)\) be an undirected graph. A tree decomposition* of \(G\) is a pair \((T, \{X_t\}_{t \in V(T)})\), where \(T\) is a tree and each bag \(X_t \subseteq V(G)\) is such that (i) \(\cup_t X_t = V(G)\), (ii) for every \(\{u, v\} \in E(G)\), there is an \(X_t\) such that \(u, v \in X_t\), and (iii) for every \(u \in V(G)\), the set of nodes \(\{ t \in V(T) \mid u \in X_t \}\) is a connected subtree in \(T\). The width of the tree decomposition is \(\max_t |X_t|-1\). The treewidth of \(G\) is the minimum width tree decomposition of \(G\).*

For an incidence graph \(G(\mathcal{F})\) of a family \(\mathcal{F}\), let \(\operatorname{tw}(\mathcal{F})\) denote the treewidth of \(G(\mathcal{F})\). We defer some examples and applications of bounded treewidth graphs and function classes to 8.3.

3 Algorithm Based on Linear Programming↩︎

We begin by considering a synthetic data approach based on Linear Programming (LP). This approach yields FPT with optimal rates for the small family regime (i.e., when \(|\mathcal{F}|\) is small).

As input to our problem, we are given a set of noisy query estimates. In particular, we assume that there is a DP mechanism that outputs a noisy count vector \(\{\hat{f}(X): f\in \mathcal{F}\}\in \mathbb{R}^\mathcal{F}\) which is \(\alpha\)-accurate, i.e., \(\mathbb{E}\|(\hat{f}(X)-f(X))_{f\in \mathcal{F}}\|_{\infty}\leq \alpha\). For example, the Laplace mechanism with composition yields \(\alpha\lesssim \frac{|\mathcal{F}|}{n\varepsilon}\) (see 8.1), though improved bounds are known for certain families  [9], [34][36].

Our goal is to construct a synthetic dataset (i.e., a fractional histogram \(h\)) that is consistent with these noisy counts. We formulate this as the following primal LP 1 , where we wish to find a histogram \(h\) that minimizes the maximum deviation \(\alpha\) from the noisy counts: \[\label{eqn:LP95histogram}\min_{\alpha\geq 0,\, h\in\Delta_\mathcal{D}} \Big\{\alpha:\, \hat{f}(X)-\alpha \leq \sum_{x\in \mathcal{D}} f(x) \cdot h_x \leq \hat{f}(X)+\alpha\,\, (\forall f\in \mathcal{F}) \Big\}.\tag{1}\] The main challenge in solving 1 is the size of the histogram \(h\), which contains \(|\mathcal{D}| = 2^d\) variables. We can however leverage LP duality to arrive at a dual formulation 2 of this problem, in which there are \(2|\mathcal{F}|\) variables and \(2^{d}\) constraints. \[ \label{eqn:dual95LP95histogram} \max_{(y^+,y^-)\in\mathbb{R}_+^{2\mathcal{F}}}\Big\{\sum_{f\in \mathcal{F}}\hat{f}(X) \cdot (y_f^--y_f^+):\, \sum_{f\in \mathcal{F}} f(x) \cdot (y_f^--y_f^+)\leq 0\, (\forall x\in \mathcal{D}),\, \sum_{f\in \mathcal{F}}(y_f^-+y_f^+)\leq 1 \Big\}.\tag{2}\] We can solve the dual problem via the ellipsoid method. Namely, we will use the classical result that if we can check the feasibility of a solution (separation oracle) in polynomial time, then we can optimize in polynomial time [19]. In our case, the separation oracle reduces to checking if a candidate vector \((y^+,y^-)\) violates any constraint, i.e., if \[\label{eqn:dual95sep} \max_{x\in \{0,1\}^d} \sum_{f\in \mathcal{F}}f(x) \cdot (y_f^--y_f^{+}) \leq 0.\tag{3}\] In 5, we show that this problem is FPT in terms of the treewidth of \(\mathcal{F}\), and this yields:

Lemma 3. The dual LP 2 is solvable in time \(\mathop{\mathrm{poly}}(d,|\mathcal{F}|,2^{\operatorname{tw}(\mathcal{F})},\mathrm{size}(\mathcal{F}))\).

The FPT of this problem implies that privately generating synthetic data is also FPT.

Theorem 1. If there is an \((\varepsilon, \delta)\)-DP \(\alpha\)-accurate algorithm that runs in time \(T\) for answering queries from the family \(\mathcal{F}\), then there is an \((\varepsilon, \delta)\)-DP \(O(\alpha)\)-accurate algorithm for the synthetic data generation problem with running time \(T + O\left(\frac{\log(|\mathcal{F}|/\alpha)}{\alpha^2}\right) + \mathop{\mathrm{poly}}(d,|\mathcal{F}|,n,2^{\operatorname{tw}(\mathcal{F})},\mathrm{size}(\mathcal{F}))\).

Proof. First, we run the DP algorithm to obtain the noisy estimates \(( \hat{f}(X) )_{f\in \mathcal{F}}\). By the post-processing property of DP, any computation on these estimates remain \((\varepsilon, \delta)\)-DP. Next, we solve the dual LP 2 ; let \((y_f^+,y_f^-)_{f\in \mathcal{F}}\) be the optimal dual solution found by the algorithm from 3. By complementary slackness, we can find in time \(poly(|\mathcal{F}|)\) a primal optimal solution to 1 , call it \(\tilde{h}\), with support of size \(\leq 2|\mathcal{F}|\). Since the true histogram is a feasible solution to 1 with value \(\leq \alpha\), the optimal solution \(\tilde{h}\) also has value \(\leq \alpha\). To conclude, we create a dataset by drawing \(O\left(\frac{\log(|\mathcal{F}|/\alpha)}{\alpha^2}\right)\) samples from \(\tilde{h}\). By 1, this yields a dataset with expected error \(O(\alpha)\). ◻

Remark 2. In the particular case where \(\alpha \gtrsim |\mathcal{F}|/n\), the sampling argument at the end of the proof above can be substituted by a simple (closest integer) histogram rounding on \(n\cdot \hat{h}\), leading to an error rate \(O(\alpha)\). This is the case, e.g., for answering queries by the Laplace mechanism.

Remark 3. Another popular approach for solving LPs under separation oracles is to use (nonprivate) MWU methods [37], [38]. Given the structure of our dual LP, we can alternatively solve the dual using \(O(\frac{d}{\alpha^2})\) calls to the separation oracle 3 . Depending on the parameter regime, this can yield faster algorithms.

4 Algorithm Based on Multiplicative Weights Update↩︎

A second approach we propose is based on on the private multiplicative weights update (PMWU) framework  [4], [21]. This approach yields FPT with optimal error rates for DP synthetic data generation in the sparse dataset regime (i.e., when \(n\) is small).

Once again, the main obstacle for making PMWU efficient is the cost of maintaining and updating a list of \(2^{d}\) histogram variables. Our solution to this problem is surprisingly simple: maintain these distributions implicitly, and only subsample from them when needed. See 1 for a complete description. Note that IPMWU is same as the standard PMWU except that we sample \(X_t\) from the Gibbs distribution using our novel algorithm \(\mathrm{\small Sample}(z,\beta)\); see 6.

Figure 1: \mathrm{\small ImplicitPrivateMultiplicativeWeights}_{{\cal F}, \varepsilon,\delta}(X) (\mathrm{\small IPMWU}_{{\cal F}, \varepsilon,\delta})

The DP guarantee of IPMWU follows directly from the privacy guarantees of the exponential mechanism, Laplace mechanism, and the composition theorem (see 8.1):

Proposition 4. Algorithm \(\mathrm{\small IPMWU}_{{\cal F}, \varepsilon, \delta}\) satisfies \((\varepsilon,\delta)\)-DP.

4.1 Accuracy and Running Time of IPMWU (1)↩︎

The correctness of IPMWU is based on the fact that it mirrors the classical PMWU method, with the only difference being that the exponential mechanism is applied to a subsampled histogram at every step. We show that, as long as the margin for all queries is approximately preserved, IPMWU provides essentially the same accuracy guarantees as PMWU.

To generate the subsampled histogram, we use \(\mathrm{\small Sample}(z,\beta)\), described in 6. This subroutine generates i.i.d. samples from the Gibbs distribution \(\mathbb{P}[Y=x] \propto \exp(-\beta\sum_{f\in \mathcal{F}} z_f f(x))\).

Theorem 5. For appropriate values of \(\tau, m, \eta\) with \(m, \frac{1}{\tau} \leq \mathop{\mathrm{poly}}(d,|\mathcal{F}|,n)\), 1 is \(\alpha\)-accurate with respect to \(\mathcal{F}\) for \[\textstyle \alpha\lesssim \Big(\frac{d}{n\varepsilon} \ln\left(|\mathcal{F}|dn\varepsilon\right) \Big)^{1/3}for pure-DP, and\alpha\lesssim \Big(\frac{\sqrt{d\ln(1/\delta)}}{n\varepsilon} \ln\left(|\mathcal{F}|dn\varepsilon\right) \Big)^{1/2}for approximate-DP.\]

Proof. Let \(\zeta = \frac{1}{|\mathcal{F}| d n \varepsilon}\), \(C\) be a sufficiently large constant, \(\alpha = 2\tau\) where \[\begin{align} \tau = \begin{cases} C \cdot \Big(\frac{d}{n\varepsilon} \ln\left(|\mathcal{F}|dn\varepsilon\right) \Big)^{1/3} & \text{ if } \delta = 0 \\ C \cdot \Big(\frac{\sqrt{d\ln(1/\delta)}}{n\varepsilon} \ln\left(|\mathcal{F}|dn\varepsilon\right) \Big)^{1/2} & \text{ otherwise.} \end{cases} \end{align}\] It is simple to verify that, for sufficiently large \(C\), \(\tau > \frac{6}{n\varepsilon_{\mathrm{step}}}\ln\big( \frac{3T}{\zeta}\big)\). Finally, let \(m = \left\lceil \frac{1}{\tau^2} \cdot \ln \frac{6|\mathcal{F}|T}{\zeta} \right\rceil\).

Our analysis relies on bounding the probability of three “good” events. First, from 1 and a union bound (and our choice of \(m\)), the following holds with probability at least \(1 - \frac{\zeta}{3}\): \[\label{eqn:subsampling} \forall t\in[T], f\in \mathcal{F}: \textstyle |f(X_t)-\langle f,h_t\rangle| < \frac{\tau}{3}.\tag{4}\] Secondly, for the exponential mechanism, by 16 and a union bound (and \(\tau > \frac{6}{n\varepsilon_{\mathrm{step}}}\ln\big( \frac{3T}{\zeta}\big)\)) implies that, with probability at least \(1 - \frac{\zeta}{3}\), \[\label{eqn:exp95mech} \forall t\in[T], f\in (\mathcal{F}\cup-\mathcal{F}):\, f(X_t)-f(X) \leq \hat{f}_t(X_t)-\hat{f}_t(X) + \frac{\tau}{3}.\tag{5}\] Thirdly, for the noisy threshold queries, we use the concentration of the Laplace distribution. Let \(\xi_t\sim \mathop{\mathrm{Lap}}(1/\varepsilon_{\mathrm{step}})\) be the noise added at round \(t\). By a union bound, with probability at least \(1 - \frac{\zeta}{3}\), \[\label{eqn:conc95Lap} \forall t\in[T]: |\xi_t|\leq \frac{\tau}{3}.\tag{6}\] Hence, with probability at least \(1 - \zeta\), all three good events occur; for the rest of the proof, we assume this holds. We first study the case where one of the “if” conditions in 1 is met. If this happens at round \(t\in[T]\), by 5 and 6 , then for all \(f\in\mathcal{F}\), \(|f(X_t)-f(X)| < 5\tau/3\).

Next, we argue that the algorithm never returns FAIL. Suppose for the sake of contradiction that this occurs. Then, by 4 and 6 , all queries \((\hat{f}_t)_{t\in[T]}\) have margin \(\tau/3\) (with respect to the Gibbs distribution) at each iteration. Thus, by a standard analysis of MWU [39]3, after at most \(T - 1 = \Theta(d/\tau^2)\) iterations, the Gibbs distribution must be \((\tau/3)\)-accurate. As such, we must satisfy the “if” condition in the next iteration, a contradiction.

To conclude, the output is \((5\tau/3)\)-accurate with probability at least \(1 - \zeta\). Thus, the expected error of the algorithm is at most \((5\tau/3) + \zeta \leq \alpha\) as desired. ◻

To analyze the efficiency of 1, note that the exponential mechanism can be implemented in time \(O(n\cdot|\mathcal{F}|\cdot\mathrm{size}(\mathcal{F}))\), if \(\mathcal{F}\) is provided in rOBDD form; see 8.1. Therefore, the running time of 1 is dominated by that of the sampling procedure. In 5 and 6, we prove the existence of an FPT sampler, which yields the following:

Theorem 6. For appropriate values of \(\tau, m, \eta\), 1 is \((\varepsilon,\delta)\)-DP, \(\alpha\)-accurate for \(\alpha\) as in 5 and runs in time \(\mathop{\mathrm{poly}}(d,|\mathcal{F}|,n,2^{\operatorname{tw}(\mathcal{F})}, \mathrm{size}(\mathcal{F}))\).

5 Dynamic Programming Algorithms for Optimization and Inference↩︎

Following existing approaches, we will unify the algorithms for optimization and inference over the Boolean hypercube [24]. Given a class \({\cal F}\) of Boolean functions, we consider the problems of computing the following values: \[\max_{x\in \{0,1\}^d} \sum_{f\in {\cal F}} y_f \cdot f(x) \qquad and \qquad \sum_{x\in \{0,1\}^d} \prod_{f\in {\cal F}}\exp\Big(-\beta r_f \cdot f(x) \Big),\] where \((y_f)_{f\in {\cal F}}\) is a given real-valued vector, \((r_f)_{f \in \cal F}\) is an integer-valued vector, and \(\beta>0\) is a parameter. Notice the first one corresponds to evaluating the optimal value of an optimization problem over the Boolean hypercube, whereas the second one corresponds to the evaluation of the normalizing constant for a Gibbs distribution with potential \(-r_f\sum_{f\in {\cal F}}f(x)\) (known as the partition function). Both problems are intractable in general.

If we denote the maximum operator by \(\oplus\) and the sum by \(\otimes\) for the first problem, and the sum by \(\oplus\) and the product by \(\otimes\) for the second problem, we can express both problems commonly as \[\label{eqn:compute95opt95partition} \bigoplus_{x\in \{0,1\}^{d}} \bigotimes_{f\in {\cal F}} \psi(z_f \cdot f(x)),\tag{7}\] where \((z_f)_{f\in{\cal F}}\) is a real-valued vector, and \(\psi(x) = x\) for the optimization case, and \(\psi(x)=\exp(x)\) for the inference case. We conclude by noting that the algorithm we present is able to tackle these two problems under the same template, as both objectives enjoy a commutative semiring structure (see 8.4); we denote by \(\mathbf{0}\) the identity element for \(\oplus\) and \(\mathbf{1}\) the identity element for \(\otimes\).

The following subclass of tree decompositions is useful for the dynamic program.

Definition 4 (Nice tree decomposition). We say that a tree decomposition \((T,\{X_t\}_{t\in V(T)})\) is nice* if it is a rooted tree with root \(r\); \(X_r=\emptyset\) and \(X_\ell=\emptyset\) for every leaf \(\ell\) of \(T\); and every non-leaf node \(t\in V(T)\) is one of the following three types:*

  • **Introduce node:* a node \(t\) with exactly one child \(t'\) such that \(X_t=X_{t'}\cup\{v\}\) for some \(v\notin X_{t'}\); in this case, we say that \(v\) is introduced at \(t\).*

  • **Forget node:* a node \(t\) with exactly one child \(t'\) such that \(X_t=X_{t'}\smallsetminus\{v\}\) for some \(v\in X_{t'}\); in this case, we say \(v\) is forgotten at \(t\).*

  • **Join node:* a node \(t\) with exactly two children \(t_1,t_2\) such that \(X_t=X_{t_1}=X_{t_2}\).*

We note that the problem of computing a tree decomposition of width \(O(\operatorname{tw}({\cal F}))\) can be solved in time \(O(2^{\operatorname{tw}({\cal F})}(|{\cal F}|+d))\) [41]. Furthermore, given a tree decomposition, one can efficiently compute a nice tree decomposition with the same width [29]. Thus, we henceforth assume access to a nice tree decomposition of the instance, and describe our dynamic programming algorithm for problem 7 .

Let \((T,\{X_t\}_{t\in V(T)})\) be a nice tree decomposition of width \(w\) of the incidence graph \(G=G({\cal F})\). The algorithm proceeds from the leaves to the root, computing a function that we specify below. For \(t\in V(T)\), let \(T_t\) the subtree of \(T\) with root \(t\) and let \(X_t^{\downarrow}\triangleq\bigcup_{s\in V(T_t)} X_s\) be the union of all the bags in the subtree \(T_t\). We also define the bag restriction to features, \(I_t \triangleq X_t\cap [d]\), and \(I_t^{\downarrow}\triangleq X_t^{\downarrow}\cap [d]\), as well as the bag restriction to functions, \({\cal F}_t\triangleq X_t\cap {\cal F}\).

At each node \(t\) we have a state \(\sigma=(x,u) \in \{0, 1\}^{X_t}\), where \(x=(x_i:i\in I_t) \in \{0,1\}^{I_t} and u=(u_f:f\in {\cal F}_t) \in \{0, 1\}^{{\cal F}_t},\) and \(x_i\in \{0,1\}\) denotes the assignment of Boolean variable \(x_i\), whereas \(u_f\in \{0,1\}\) denotes a possible value for \(f\), based on the partial assignment \(x\).

One should think of a state \(\sigma\) as a restriction of \((y, f(y)) \in \{0, 1\}^{[d] \cup \mathcal{F}}\) on \(X_t\) for some \(y \in \mathcal{D}\). Notice that such a restriction will not span all of \(\{0, 1\}^{X_t}\); indeed some of the states \(\sigma\) are impossible to obtain from any restriction. This is captured by our definition of (in)consistency below:

Definition 5 (Residuals and Consistency). Let \(R_f(t,x)\triangleq \{f(y):\, \exists y\in \{0,1\}^d,\, y|_{I_t}=x\}\) be the set of residuals* of \(f\) at \((t,x)\). We say that a state \(\sigma = (x, u)\) at node \(t\) is consistent if for all \(f\in {\cal F}_t\), \(u_f\in R_f(t,x)\).*

We observe that, for any function in a bag, any variable in its scope that has not been evaluated below must be included in the current bag. In particular, the consistency condition can be verified for any function at a given bag (see 6 for the formal justification).

Corollary 1. The residuals can be evaluated with only downward information, i.e., \(R_f(t,x)= \{f(y): \exists y\in \{0,1\}^{I_t^{\downarrow}},\, y|_{I_t}=x\}.\)

In summary, the residuals can be recursively and deterministically computed when traversing the tree from the leaves to the root. Each such update takes time \(O(\mathrm{size}(f))\). Our recursion will aggregate these contributions throughout the tree in such a way that will prevent double counting. In order to achieve this, we maintain a table, denoted \(\mathop{\mathrm{\mathtt{val}}}\), and we will show inductively that it maintains a partial value leading to 7 over all partial feasible assignments, residuals and functions with unique values given the assignments.

Definition 6 (Forgotten Variables and Value Function). Let \((T,\{X_t\}_{t\in V(T)})\) be a tree decomposition of \(G({\cal F})\). For \(t\in V(T)\), let \(C_t\) be the set of its children. If \(s\in C_t\), let \(\mathrm{Forget}(s\to t) \triangleq X_s\smallsetminus X_t\), and let \(\mathrm{Forget}_t^{\downarrow} \triangleq X_{t}^{\downarrow}\smallsetminus X_t\). We define its value function \(\mathop{\mathrm{\mathtt{val}}}\) as follows: for \(t\in V(T)\) and a consistent assignment \(\sigma=(x,u)\), \[\label{eqn:potential95dynamic95program} \mathop{\mathrm{\mathtt{val}}}[t,\sigma] = \bigoplus_{y\in \{0,1\}^{I_t^{\downarrow}}:\, y|_{I_t}=x} \quad \bigotimes_{ f\in {\cal F}\cap \mathrm{ Forget}_t^{\downarrow}} \psi(z_f \cdot f(y)).\qquad{(1)}\] If \(\sigma\) is inconsistent, then \(\mathop{\mathrm{\mathtt{val}}}[t,\sigma]=\mathbf{0}\).

In particular, the value function at the (empty bag) root node evaluates 7 . We also define the total contribution of functions that are forgotten at the current step.

Definition 7 (Local Score). Let \(\sigma^s=(x^s,u^s)\) be an assignment at node \(s\) with parent node \(t\). We define the local score as follows: \[\mathop{\mathrm{Score}}(s\to t,\sigma^s) \triangleq \bigotimes \Big\{\psi(z_f \cdot u_f^s):\,\, f\in {\cal F}\cap \mathrm{Forget}(s\to t) \Big\}.\] If \({\cal F}\cap\mathrm{Forget}( s\to t)=\emptyset\), then \(\mathop{\mathrm{Score}}(s\to t,\sigma^s)=\mathbf{1}\).

With this definition, we state the dynamic programming equation satisfied by the value function.

Proposition 7. Let \((T,\{X_t\}_{t\in V(T)}\) be a tree decomposition of \(G\). If \(\sigma\) is consistent, then \[\label{eqn:dyn95prog95rec} \mathop{\mathrm{\mathtt{val}}}[t,\sigma] = \bigotimes_{s\in C_t} \bigoplus_{\sigma^s\in\{0,1\}^{X_s}: \sigma^s|_{X_s\cap X_t}=\sigma|_{X_s\cap X_t}}\mathop{\mathrm{Score}}(s\to t,\sigma^s)\otimes \mathop{\mathrm{\mathtt{val}}}[s,\sigma^s].\qquad{(2)}\] Moreover, the value function ?? is uniquely determined by recursion ?? , with value \(\mathbf{1}\) at the leaves.

The proof of this proposition is straightforward and thus omitted. [alg:dp95nice95td] contains a detailed description of the dynamic program. It is not hard to see that [alg:dp95nice95td] computes the desired values correctly, as stated below; we defer the full proof to 9.

Notation: \(\Cons(t,\sigma)\) iff \(\forall f\in\mathcal{F}_t,\;u_f\in R_f(t,x)\), where \(\sigma = (x, u)\).

Theorem 8. [alg:dp95nice95td] computes the value function ?? .

Finally, we analyze the running time of the dynamic program. Note that it depends on the number of different states at each node, which is \(2^{w+1}\) for a nice tree decomposition of width \(w\).

Theorem 9. The running time of [alg:dp95nice95td] is \(2^{w}\mathop{\mathrm{poly}}(|{\cal F}|,d,\mathrm{size}({\cal F}),w)\).

Proof. The algorithm performs \(|V(T)|= O(w\cdot |V(G)|)=O(w\cdot(d+|{\cal F|}))\) update steps [29]. Each update could correspond to an initialization, introduction, forget, or join step. Each step takes \(O(2^w\cdot w\cdot\mathrm{size}({\cal F}))\) time. ◻

6 Perfect Gibbs Sampling from the Partition Function↩︎

We now show how the partition function computed in the previous section provides a perfect Gibbs sampler, i.e., a random variable \(Y\) such that \[\label{eqn:Gibbs} \mathbb{P}[Y=x]=\frac{1}{Z(\beta)}\prod_{f\in {\cal F}}\exp(-\beta r_f \cdot f(x)) \quad(\forall x\in \{0,1\}^{d}),\tag{8}\] where \(Z(\beta)>0\) is the partition function. We leverage the fact that the dynamic program that computes the partition function can store in memory the local scores, \(\mathop{\mathrm{Score}}(t'\to t,\sigma)\), and the value function \(\mathop{\mathrm{\mathtt{val}}}[t,\sigma]\). Since at every node there are at most \(2^{w+1}\) states, the total storage cost of these quantities is \(O(|V(T)|\cdot 2^{w+1})=O(2^w \cdot w \cdot(d+|{\cal F}|))\).

While we are interested in sampling \(Y\in \{0,1\}^d\), our algorithm samples full (consistent) assignments \(\Sigma=(Y,U)\in\{0,1\}^{d}\times\{0,1\}^{{\cal F}}\). In this regard, it should be noted that for consistent full assignments, there is a bijection between the two (namely, \(Y \leftrightarrow (Y, f(U))\)), hence both samplers are equivalent up to marginalization. The following formula is key for sampling.

Lemma 4. Let \(t'\in C_t\), and \(\sigma\in\{0,1\}^{X_t}\), \(\sigma'\in\{0,1\}^{X_{t'}}\) that coincide over \(X_t\cap X_{t'}\). Then \[\mathbb{P}\big[\Sigma|_{X_{t'}}=\sigma'\, : \, \Sigma|_{X_t}=\sigma \big]= \frac{\mathop{\mathrm{Score}}(t'\to t,\sigma')\cdot \mathop{\mathrm{\mathtt{val}}}[t',\sigma']}{\sum_{\omega\in \{0,1\}^{X_{t'}}: \omega|_{X_t\cap X_{t'}}=\sigma|_{X_t\cap X_{t'}}} \mathop{\mathrm{Score}}(t'\to t,\omega)\cdot \mathop{\mathrm{\mathtt{val}}}[t',\omega]}.\]

With this formula, it is straightforward to implement the Gibbs sampler with a single pass over the tree decomposition (with previously computed table values for the partition function). Namely, starting from the root we sample the conditional probabilities of assignments at each child, based on 4. Performing this sampling over the tree leads to an assignment \(\Sigma=(Y,U)\in \{0,1\}^{d+|{\cal F}|}\) whose \(Y\) marginal probability is exactly given by the Gibbs distribution 8 . Each sampling step requires a discrete sampler over a set with at most \(w+1\) Boolean variables, and therefore has cardinality at most \(2^{w+1}\).

Notation: \(\Sample(\{P(\omega)\})\) samples \(\omega\) with \(\mathbb{P}[\omega]\propto P(\omega)\).

Initialize global assignment arrays \(Y[i]\gets \bot\) for \(i\in[d]\), and \(U[f]\gets \bot\) for \(f\in\mathcal{F}\) Let \(\sigma_r\gets \emptyset\)

Theorem 10. \(\mathrm{\small Sample}(z,\beta)\) (Algorithm [alg:perfect95gibbs95sampler]) is an exact Gibbs sampler from the distribution 8 , and runs in time \(2^w\mathop{\mathrm{poly}}(|{\cal F}|,d,\mathrm{size}(f),w)\).

Proof. Let \(U_t=X_t\cup X_{t'}\), hence \[\label{eqn:total95proba} \mathbb{P}[\Sigma|_{X_{t'}}=\sigma'\, : \, \Sigma|_{X_t}=\sigma] = \frac{\mathbb{P}[\Sigma|_{U_t}=\sigma\sqcup \sigma']}{\sum_{\omega\in \{0,1\}^{X_{t'}} : \omega|_{X_t\cap X_{t'}}=\sigma|_{X_t\cap X_{t'}}} \mathbb{P}[\Sigma|_{U_t}=\sigma\sqcup \omega] },\tag{9}\] where \(\sigma \sqcup \omega\in\{0,1\}^{U_t}\) denotes the merge of a pair of consistent assignments \(\sigma\in \{0,1\}^{X_t}\), \(\omega\in\{0,1\}^{X_{t'}}\) over variables \(U_t\) (in particular, such that \(\sigma|_{X_t\cap X_{t'}}=\omega|_{X_t\cap X_{t'}}\)). Next, \[\begin{align} &\mathbb{P}[\Sigma|_{U_t}=\sigma\sqcup \omega] = \frac{1}{Z(\beta)}\sum_{y: y|_{U_t}=\sigma\sqcup \omega} \prod_{f\in {\cal F}} \exp(-\beta r_f \cdot f(y)) \\ &= \frac{1}{Z(\beta)}\sum_{y: y|_{U_t}=\sigma\sqcup \omega} \mathop{\mathrm{Score}}(t'\to t,\omega)\cdot \prod_{f\in \mathrm{ Forget}_{t'}^{\downarrow}} \exp(-\beta r_f \cdot f(y)) \cdot \prod_{f\notin \mathrm{ Forget}_t^{\downarrow}}\exp(-\beta r_f \cdot f(y)). \end{align}\] We have split the products over \(f\in {\cal F}\) in three terms. The first one is the local score, that depends only on \(\omega\); the second one is over \(f\in \mathrm{Forget}_{t'}^{\downarrow}\), and by 6 we have that \(\mathrm{scope}{[}f]\subseteq I_{t'}^{\downarrow}\), and therefore it depends only on variables from \(V_t^{\downarrow}\); finally, the factors \(f\notin \mathrm{Forget}_{t'}^{\downarrow}\) are such that \(\mathrm{scope}{[}f]\cap I_{t'}^{\downarrow}=\emptyset\); the proof of this fact is entirely analogous to that of 6. In particular, factors \(f\notin \mathrm{Forget}_{t'}^{\downarrow}\) may depend only on variables outside \(V_{t}^{\downarrow}\) and \(\sigma\). In particular, if we let \(y=(y_1,y_2)\) where \(y_1\in\{0,1\}^{I_{t'}^{\downarrow}}\) and \(y_2\) are the rest of the variables, then letting \(C(\sigma)\triangleq \sum_{y_2}\prod_{f\notin \mathrm{ Forget}_{t'}^{\downarrow}} \exp(-\beta r_f \cdot f(y_2))\), we get \[\begin{align} \mathbb{P}[\Sigma|_{U_t}=\sigma\sqcup\omega] =\frac{C(\sigma)}{Z(\beta)} \cdot \mathop{\mathrm{Score}}(t'\to t,\omega)\cdot \Big(\sum_{y_1\in\{0,1\}^{I_{t'}^{\downarrow}}}\prod_{f\in \mathrm{ Forget}_{t'}^{\downarrow}}\exp(-\beta r_f \cdot f(y_1))\Big). \end{align}\] The first ratio in the expression above is independent of \(\omega\), and therefore can be cancelled out in the quotient 9 . Finally, the summation over \(y_1\) corresponds to the value function ?? , hence \[\mathbb{P}\big[\Sigma|_{X_{t'}}=\sigma'\, : \, \Sigma|_{X_t}=\sigma \big] = \frac{\mathop{\mathrm{Score}}(t'\to t,\sigma') \cdot \mathop{\mathrm{\mathtt{val}}}[t',\sigma']}{\sum_{\omega}\mathop{\mathrm{Score}}(t'\to t,\omega) \cdot \mathop{\mathrm{\mathtt{val}}}[t',\omega] }. \qedhere\] ◻

7 Some Applications↩︎

To illustrate the scope of our results, we now discuss a few specific use cases of query families with bounded treewidth.

7.1 Hierarchical Queries↩︎

Hierarchical queries are an important example in private query answering and private synthetic data generation [11], [12], [42], [43]. Indeed, the class of hierarchical queries has treewidth bounded by the depth of its tree representation.

Recall that \({\cal F}\subseteq\{0,1\}^{\{0,1\}^d}\) is a class of hierarchical queries if each \(f\in {\cal F}\) is a monotone disjunction over a set \(S_f\subseteq [d]\), \(f(x)=\bigvee_{i\in S_f} x_i\), and the set system \({\cal S}\triangleq \{S_f:\, f\in{\cal F}\}\) is laminar. Note as well that for such functions, \(\mathrm{scope}{[}f]=S_f\); hence, the incidence graph of the family \({\cal F}\) coincides with the incidence graph of \({\cal S}\).4 Further, we recall that every laminar family has a tree representation, where the root represents the whole set \([d]\), each internal node represents a element of \({\cal S}\) (excluding \([d],\emptyset\)), and edges of this tree are given by minimal inclusions among the represented sets. Note, in particular, that the depth of this tree is given by the longest inclusion chain among sets from the laminar family.

For laminar families, it is folklore that their incidence graph treewidth is bounded by the depth of its tree representation; we provide a proof for completeness.

Proposition 11. If \({\cal S}\subseteq 2^{d}\) is a laminar family, then its incidence graph treewidth is at most the depth of its tree representation. This upper bound is tight in the worst case.

Proof. Let \(T\) be the tree representation of \({\cal S}\). The tree representation of \({\cal F}\), that we will call \(T'\), is built by extending \(T\) with leaves \(t_i\) for each element \(i\in S\), and attaching it to the node \(t_S\) corresponding to the minimal set \(S\in {\cal S}\cup\{[d]\}\) that contains it. Next we describe the bags at each node \(t\in V(T')\). First, let \({\cal C}_S\triangleq \{R\in {\cal S}: S\subseteq R\}\) be the chain of sets containing \(S\). For each nonleaf node \(t_S\), we let \(X_{t_S}={\cal C}_S\). For the leaves \(t_i\) with \(i\in [d]\), we let \(X_{t_i}=\{i\}\cup {\cal C}_{\{i\}}\).

Note that the constructed bags have maximum size given by the depth of \(T'\), which is one more than the depth of \(T\). We prove now that the above is a valid tree decomposition of \({\cal S}\). Indeed, each \(i\in [d]\) is contained in the bag of \(t_i\). Next, each \(S\in{\cal S}\) is contained in the bag of the node \(t_S\) associated to \(S\). Next, for each edge \(\{i,S\}\) (i.e., \(i\in S\)), there exists a bag that contains both elements (the bag of the \(t_i\) leaf). Finally, the set of nodes containing any \(i\in [d]\) or \(S\in {\cal S}\) is connected, by the laminar property.

The tightness of this bound is provided by the following instance. Consider \(d=2w\), and the set system \({\cal S} \triangleq \{\{1,\ldots, w,\ldots,w+\ell\}: \ell\in[w]\}\). Notice that the incidence graph of this set system \(G({\cal S})\) contains \(K_{w,w}\) as a subgraph; note that \(\operatorname{tw}(K_{w,w})=w\), and by monotonicity of the treewidth under inclusion, \(\operatorname{tw}(G({\cal S}))\geq w\). On the other hand, the longest inclusion chain has length exactly \(w\), hence the previous argument shows that the treewidth of this instance is exactly \(w\). ◻

We note as well that for any laminar family on a ground set of cardinality \(d\), \(|\mathcal{F}|\leq 2d-1\), so in our complexity bounds we can replace \(|\mathcal{F}|\) by \(O(d)\).

Theorem 12. Let \(\mathcal{D}=\{0,1\}^{d}\) and consider a class \({\cal F}\) of hierarchical queries, each of which can be represented by a tree of depth \(h\). Then there exists an \((\varepsilon,\delta)\)-DP algorithm that runs in time \(\mathrm{poly}(n,d,2^h)\) that generates synthetic data with expected accuracy \[\alpha\lesssim \frac{h\ln|{\cal F}|}{n\varepsilon}when \delta=0, \quadand\alpha \lesssim \frac{\sqrt{h\ln|\mathcal{F}|\ln(1/\delta)}}{n\varepsilon}when \delta>0.\]

Proof. First, we consider the pure-DP case. By the hierarchical structure, the \(\ell_1\)-sensitivity of \((f(X))_{f\in {\cal F}}\) is bounded by \(2h/n\). By 15, applying i.i.d. noise \(Lap(\frac{2h}{n\varepsilon})\) to all counts leads to estimates \((\hat{f}(X))_{f\in {\cal F}}\) that are \(\varepsilon\)-DP and with expected \(\ell_{\infty}\)-error \(O\big(\frac{h\ln|{\cal F}|}{n\varepsilon}\big)\). Hence, by 1, there exists an \(\varepsilon\)-DP synthetic data generator that runs in time \(O(poly(n,|\mathcal{F}|,d,2^h)\) with expected error \(\alpha \lesssim\frac{h\ln|{\cal F}|}{n\varepsilon}\).

Second, we address the approximate-DP case. The \(\ell_2\)-sensitivity of \((f(X))_{f\in {\cal F}}\) is bounded by \(\Delta=\sqrt{2h}/n\). Hence adding i.i.d. Gaussian noise with standard deviation \(\sigma=2\sqrt{2h}\ln(2/\delta)/[n\varepsilon]\) is \((\varepsilon,\delta)\)-DP and attains expected worst-case error \(O(\sqrt{\sigma\ln|\mathcal{F}|})=O(\frac{\sqrt{h\ln|\mathcal{F}|\ln(1/\delta)}}{n\varepsilon})\). Hence, by 5, there exists a DP synthetic data generator with expected error \(O(\frac{\sqrt{h\ln|\mathcal{F}|\ln(1/\delta)}}{n\varepsilon})\).

Finally, note that both algorithms run in time \(poly(n,d,2^h)\). ◻

7.2 Partitioned Marginal Queries↩︎

We next provide an example, corresponding to a class of marginal queries, which shows the benefits of IPMWU for sparse regimes.

Let \(\mathcal{D}=\{0,1\}^d\), and partition the features into \(b=d/k\) blocks, each of them of size \(k\) (w.l.o.g., \(k\) divides \(d\)); call the blocks \(B_1,\ldots,B_b\). For each block \(\ell\in[b]\), select the \(2^k\) different elements \(a\in\{0,1\}^{B_{\ell}}\), and consider the queries \(f_a(x)= \mathbf{1}(x|_{B_{\ell}}=a)\). Note that \(|\mathcal{F}|=2^k\cdot b=\frac{2^k}{k}d\), and that \(\operatorname{tw}(\mathcal{F})=k\) (this is because the incidence graph is given by disjoint copies of the complete \(K_{k,2^k}\) graph, whose treewidth is \(k\)). Finally, since each of these functions is a monotone disjunction on a set prescribed by \(k\)-way marginals, we have \(\mathrm{size}(\mathcal{F})=O(k)=O(d)\).

Our algorithms applied to this family run in time \(poly(d,|\mathcal{F}|,n,\operatorname{tw}(\mathcal{F}),\mathrm{size}(\mathcal{F}))=poly(d,n,2^k)\). 1 with Laplace mechanism yields an error rate \[\alpha_{\mathrm{dense}}\lesssim \frac{\sqrt{2^kd\ln(1/\delta)}}{\sqrt{k}n\varepsilon},\] whereas 6 yields an error rate \[\alpha_{\mathrm{sparse}} \lesssim \Big( \frac{\sqrt{d\ln(1/\delta)}[k+\ln(d^2/k)]}{n\varepsilon} \Big)^{1/2}.\] Hence, if \(\frac{2^k}{k[k+\ln(d^2/k)]}\gtrsim \frac{n\varepsilon}{\sqrt{d\ln(1/\delta)}}\), IPMWU attains superior rates compared to the dense case.

7.3 Tree-Structured Markov Random Fields↩︎

Let \(T=(I,E)\) be a tree and consider queries given by one-way marginals plus two-way marginals along the tree. \[\begin{align} f_i(x)&=x_i & \forall i\in I \tag{10} \\ f_{e,\ell}(x)&= \ell_1(x_i)\cdot \ell_2(x_j) &\forall e=\{i,j\}\in E, \, \ell_1(x),\ell_2(x)\in\{x,1-x\}. \tag{11} \end{align}\] Approximation of queries for this family are useful for simple probabilistic graphical models, such as Chow–Liu trees [44].

Proposition 13. The family described in 10 , 11 has constant treewidth.

Proof. Let \(T\) be the tree corresponding to the decomposition. For describing the bags, consider a post-order transversal of \(T\). Starting from the leaves, if the child-parent pairs are \((s,t)\) and if we denote \(e=\{t,s\}\), the we let \(X_s=\{s,t\}\cup\{f_{e,\ell} \mid \ell_1(x),\ell_2(x)\in\{x,1-x\}\}\). Each variable, function, and edge is covered, and the set of bags containing each of them is connected, by construction. Finally, the treewidth is constant since each bag has constant size. ◻

7.4 Geometric and Spatial Families↩︎

These families arise when variables represent physical locations. They exhibit treewidth proportional to the size of the boundary of the domain.

Consider the lattice \(\mathcal{D}=\{0,1\}^{[I_1]\times\dots\times[I_d]}\) and the queries indexed by a grid, namely, let \(E=\{\{(i_1,\ldots,i_d),(i_1',\ldots,i_d')\} \mid (i_1'=i_1+1) \veebar \cdots \veebar (i_d'=i_d+1) \}\), and \[f_{e,\ell}(x)=\ell_1(x_u)\cdot \ell_2(x_v),\quad (\forall e=\{u,v\}\in E)(\forall \ell_1(x),\ell_2(x)\in\{x,1-x,1\}).\]

Proposition 14. Suppose \(I_1\leq \dots\leq I_d\). Then the family of lattice queries has treewidth \(O(\prod_{k=1}^{d-1}I_k)\).

Proof. The proof follows from an inductive formula on the treewidth of a cartesian product of graphs [45]. ◻

There are two simple generalizations one can consider. First, in two dimensions, it is known more generally that planar graphs have treewidth bounded linearly in terms of their diameter [46][48]. This bound can also be used in our setting, if queries exhibit a planar structure. Second, in arbitrary dimensions, we can consider query families beyond those given by graphs, e.g., by considering counts over balls of a given radius. Clearly, this is a generalization of grid queries, for which it is known that the treewidth scales as \(O(n^{1-1/d})\) [49]. Such generalization can be potentially useful for near-neighbor search queries.

Acknowledgements↩︎

Part of C. Guzmán’s work was done as a visiting researcher at Google. C. Guzmán’s research was partially supported by ANID FONDECYT 1251029 grant, and National Center for Artificial Intelligence CENIA FB210017, Basal ANID. We would like to thank Jingcheng Liu, Victor Verdugo and José Verschae for valuable discussions about this work, as well as the useful feedback from anonymous reviewers.

8 Additional Background↩︎

8.1 Differential Privacy↩︎

We start with the well known Laplace mechanisn, which achieves pure-DP.

Proposition 15 (Laplace mechanism). For any function \(f:\mathcal{D}\mapsto\mathbb{R}\) such that for any \(X\simeq X'\) satisfies \(|f(X)-f(X')|\leq \Delta\), the mechanism that returns \(\hat{f}(X) = f(X)+\mathrm{Lap}\big(\frac{\Delta}{\varepsilon}\big),\)5 satisfies \(\varepsilon\)-DP. Furthermore, this mechanism enjoys the following error bounds: \[\begin{align} \mathbb{P}[|\hat{f}(X)-f(X)|>\tau] &= \exp(-\varepsilon\tau/\Delta) \qquad(\forall \tau>0), \\ \mathbb{E}[|\hat{f}(X)-f(X)|] &\leq \frac{\Delta}{\varepsilon}. \end{align}\] For high dimensions, where \(F:\mathcal{D}\mapsto\mathbb{R}^k\), considering the \(\ell_1\)-sensitivity, \(\Delta=\sup_{X\simeq X'}\|F(X)-F(X')\|_1\), the mechanism that adds Laplace noise \(\hat{F}(X)=F(X)+\mathrm{Lap}\big(\frac{\Delta}{\varepsilon}\big)^k\), and satisfies \[\begin{align} \mathbb{P}[\|\hat{F}(X)-F(X)\|_{\infty}<\tau] &\leq |{\cal F}|\exp(-\varepsilon \tau/\Delta) \\ \mathbb{E}[\|\hat{F}(X)-F(X)\|_{\infty}] &\leq \frac{\Delta}{\varepsilon}(1+\ln k). \end{align}\]

For private optimization problems a standard algorithm is the exponential mechanism [50]. We consider the setting of an optimization problem where the objective is also a function of a sensitive dataset, where we denote the (maximization) objective by \(\mathop{\mathrm{score}}:{\cal Y}\times\mathcal{D}^{\ast}\mapsto\mathbb{R}\). The exponential mechanism selects a decision \(y\in {\cal Y}\) with probability \[\mathbb{P}[Y=y] = \frac{\exp\big(\frac{\varepsilon}{\Delta}\mathop{\mathrm{score}}(y,X)\big)}{\sum_{w\in {\cal Y}}\exp\big(\frac{\varepsilon}{\Delta}\mathop{\mathrm{score}}(w,X)\big)}.\] We also show an efficient implementation of this sampling based on Gumbel noise \(Z\sim Gumbel(b)\), i.e., with density function \(p_b(x)=\frac{1}{b} \exp\Big(-\frac{x}{b}-e^{-x/b}\Big)\) for \(x\in \mathbb{R}\) (for details see, e.g., [51]).

Figure 2: ExponentialMechanism(X,\mathop{\mathrm{score}}(y,X): y\in{\cal Y},\varepsilon) (ExpMech)

Proposition 16. [1] Let \(\mathop{\mathrm{score}}:{\cal Y}\times\mathcal{D}^{\ast}\mapsto\mathbb{R}\) be a function of a decision variable \(y\in {\cal Y}\) and a private input \(X\in \mathcal{D}^{\ast}\). If \[\Delta \triangleq \sup_{X\simeq X'} \max_{y\in {\cal Y}} |\mathop{\mathrm{score}}(y,X)-\mathop{\mathrm{score}}(y,X')|<+\infty,\] then 2 is \(\varepsilon\)-DP, and satisfies \[\mathbb{P}\Big[ \mathop{\mathrm{score}}(Y,X)\leq \max_{w\in {\cal Y}}\mathop{\mathrm{score}}(w,X)-\frac{2\Delta}{\varepsilon}\Big(\ln(|{\cal Y}|)+\tau\Big) \Big]\leq \exp(-\tau) \qquad(\forall \tau>0).\]

A useful property of DP is that it is preserved under postprocessing; namely, if \({\cal A}\) is \((\varepsilon,\delta)\)-DP, any (data independent) function \(F:{\cal O}\mapsto{\cal O}'\) is such that \(F\circ {\cal A}\) is \((\varepsilon,\delta)\)-DP. Another important property is its robustness under adaptive composition.

Proposition 17. The adaptive composition of \(k\) mechanisms, each satisfying \((\varepsilon,\delta)\)-DP, satisfies \((k\varepsilon,k\delta)\)-DP. Furthermore, for any \(0<\delta'\leq 1\) it also satisfies \((\varepsilon',k\delta+\delta')\)-DP, where \(\varepsilon'=\varepsilon\big[ \sqrt{2k\ln(1/\delta')}+k\frac{e^{\varepsilon}-1}{e^{\varepsilon}+1}\big]\).

8.2 Boolean Functions and Reduced Ordered Binary Decision Diagrams↩︎

Figure 3: Reduced Ordered Binary Decision Diagram (rOBDD) for the 3-variable Majority function f = (x_1 \land x_2) \lor (x_2 \land x_3) \lor (x_1 \land x_3), showing shared sub-graphs.

Let \(I=[d]\) be a finite set (we will refer to it as the ground set), and \({\cal F}\) a class of Boolean functions \(f:\{0,1\}^{I}\mapsto\{0,1\}\). We recall that any Boolean function can be represented as a (reduced) Ordered Binary Decision Diagram (OBDD) [33]. This representation is given by a graph, which in its unreduced form is a binary tree of depth \(|I|+1\), and a permutation \(\pi\) of \([|I|]\), where all nodes \(u\) at depth \(i+1\) are associated to the variable \(x_{\pi(i)}\), this node has two children where one of them denotes an assignment of \(x_{\pi(i)}=0\) (we call this the lower child, \(\mathrm{lo}(u)\)) and the other an assignment \(x_{\pi(i)}=1\) (the upper node, \(\mathrm{hi}(u)\)). Leaves have 0-1 labels, and if \(x\in\{0,1\}^{I}\), following the path indicated by its assignment, then its label is \(f(x)\). This tree representation can be substantially reduced by performing the following operations:

  • Remove duplicate terminals: Remove all but one terminal vertex with the same label, and keep only the edge of the remaining vertex.

  • Remove duplicate nonterminals: For nonterminal vertices \(u,v\) such that \(\mathrm{lo}(u)=\mathrm{lo}(v)\) and \(\mathrm{hi}(u)=\mathrm{hi}(v)\), merge these nodes and keep the corresponding edges.

  • Remove redundant tests: If a nonterminal vertex \(u\) has \(\mathrm{lo}(u)=\mathrm{hi}(u)\), remove this node and redirect all incoming edges to \(\mathrm{lo}(u)\).

See 3 for an example. It should be noted that, given an order of variables, the rOBDD is unique (up to isomorphism). This reduced representation is rather compact for many structured examples. Rather than picking a minimal representation which is hard to compute, we will consider the size of the representation given as part of the input, hence the complexity of our algorithms will be dependent on the size. We denote this size by \(\mathrm{size}(f)\), and \(\mathrm{size}({\cal F})=\max\{\mathrm{size}(f):f\in {\cal F}\}.\)

We note this representation is useful in our cases of interest:

  1. Monotone disjunctions. Here, each function \(f(x)=\bigvee_{i\in S}x_i\) for some set \(S\subseteq I\). The rOBDD of such function only requires depth \(|S|\): w.l.o.g. \(S=\{1,\ldots,k\}\) and for each \(l< k\), \(\mathrm{lo}(l)\) connects this node to \(l+1\) and \(\mathrm{hi}(l)\) directly connects to label 1 for any \(l\); for \(k=l\), \(\mathrm{lo}(l)\) connects to label 0, and \(\mathrm{hi}(l)\) to label 1. Note that \(\mathrm{size}(f)=O(k)=O(d)\).

  2. Marginal queries. Here, a function is of the form \(f(x)=\bigwedge_{i\in S} l_i(x_i)\), where \((l_i)_{i\in S}\) are either the identity function or its negation. The corresponding rOBDD has depth \(|S|\) and can be similarly constructed as in the previous example (the assignments of lo and hi depend on \((l_i)_{i\in S}\)). Note that \(\mathrm{size}(f)=O(|S|)=O(d)\).

  3. Range queries. If we consider the lexicographic order over 0-1 strings of length \(d\), we can consider range queries: if \(a\leq b\) are elements of \(\{0,1\}^d\), then we can define \(f_{a,b}(x)=\mathbf{1}(a\leq x\leq b)\). The rOBDD of such function requires depth \(d\), and by using pairwise comparisons one can show that \(\mathrm{size}(f)=O(d)\).

As mentioned earlier, the class of functions for which there exist compact rOBDD representations is broad. See [33] for further discussions.

8.3 Treewidth and Separators↩︎

Tree decompositions are useful as they provide a natural mechanism for dynamic programming algorithms. To illustrate this idea, recall that a separator of a connected graph is a set of vertices whose removal results in two connected components.

Lemma 5. (see, e.g., [29]) Let \(\{a,b\}\) be an edge of \(T\). The forest \(T \smallsetminus\{a,b\}\) consists of two connected components \(T^a\) and \(T^b\); let \(A=\bigcup_{t\in V(T^a)}X_t\) and \(B=\bigcup_{t\in V(T^b)}X_t\). Then \(\partial (A),\partial(B)\subseteq X_a\cap X_b.\) In particular, \((A,B)\) is a separation of \(G\) with separator \(X_a\cap X_b\).

Without loss of generality, the separators above have cardinality at most \(k\), where \(k\) is the width of the tree decomposition. For nice tree decompositions this bound may worsen to \(k+1\).

The following result justifies the efficient verifiability of the consistency condition for a given assignment, presented in 1.

Lemma 6. Let \(t\in T\), \(f\in X_t\) and \(i\in\mathrm{scope}{[}f]\). Let \(B=\bigcup_{s\in V(T\smallsetminus T_t)}X_s\). If \(i\in B\) then \(i\in X_t\).

Proof. First, \(\{i,f\}\in E(G({\cal F}))\). Let \(A=V_{t}^{\downarrow}\). Since \(i\in B\) and \(f\in A\), then \(\{i,f\}\) is an edge crossing the separation \((A,B)\), and therefore \(i\in \partial (A)\) and \(f\in \partial(B)\). By 5 applied to \(t\) and its parent node, \(\partial(A),\partial(B)\subseteq X_t\); in particular, \(i\in X_t\). ◻

8.4 Semirings↩︎

Let \(\mathbb{K}\) be a set endowed with operations \(\oplus\), \(\otimes\), and let \(\mathbf{0},\mathbf{1}\in \mathbb{K}\). We say that \((\mathbb{K},\oplus,\otimes,\mathbf{0},\mathbf{1})\) is a commutative semiring if: \((\mathbb{K},\oplus,\mathbf{0})\) is a commutative monoid; \((\mathbb{K},\otimes,\mathbf{1})\) is a commutative monoid; \(\otimes\) is distributive with respect to \(\oplus\) (i.e., \(a\otimes (b\oplus c)=(a\otimes b) \oplus (a\otimes c)\)); \(\mathbf{0}\otimes a=\mathbf{0}\) for all \(a\in \mathbf{K}\).

The following are examples of commutative semirings:

  1. Max-plus Algebra: \((\mathbb{R}\cup\{-\infty\},max,+,-\infty,0)\), where \(max(a,b)=\max\{a,b\}\).

  2. Sum-product Algebra: \(([0,+\infty),+,\cdot,0,1)\), where \(\cdot\) denotes multiplication.

9 Missing Details from 5↩︎

Proof of 8. To prove the result, we describe the algorithm and explain why it satisfies recursion ?? .

9.0.0.1 Initialization.

Recall that leaves have empty bags and thus we can initialize \(\mathop{\mathrm{\mathtt{val}}}[t,\emptyset]=\mathbf{1}\).

9.0.0.2 Node Updates.

We now consider the recursive step, for which we need a case analysis.

Let \(t'\) be the preceding child of our current node \(t\). Regardless of what type of element is added to the bag, note that no element is forgotten, and therefore we only need to pass on the value to the next node: if \(\sigma\) is consistent \[\mathop{\mathrm{\mathtt{val}}}[t,\sigma] = \mathop{\mathrm{\mathtt{val}}}[t',\sigma'],\] where \(\sigma'=\sigma|_{X_{t'}}\) is the state vector \(\sigma\) restricted to elements in \(X_{t'}\) (this is abbreviated in the pseudocode with the \(\sigma'\gets \Res(\sigma,X_{t'})\) operation); and if \(\sigma\) is not consistent, \(\mathop{\mathrm{\mathtt{val}}}[t,\sigma]=\mathbf{0}\).

Let \(t\in V(T)\) and \(t'\) be the preceding child of \(t\).

  • Forget feature: Let \(\mathrm{Forget}(t'\to t)=\{i\}\). Since \(i\) is not a function, we only need to pass on the values for the preceding states. If \(\sigma\) is consistent, \[\mathop{\mathrm{\mathtt{val}}}[t,\sigma] = \big( \mathop{\mathrm{\mathtt{val}}}[t',\sigma_0]\oplus \mathop{\mathrm{\mathtt{val}}}[t',\sigma_1] \big),\] where, for \(b\in \{0,1\}\), \(\sigma_b\) is the \(\sigma\) assignment extended by the additional assignment \(x_i=b\) (this is abbreviated in the code as \(\sigma_b\gets \Ext(\sigma, v=b)\)). If \(\sigma\) is not consistent, then \(\mathop{\mathrm{\mathtt{val}}}[t,\sigma]=\mathbf{0}\).

  • Forget function: On the other hand, if \(\mathrm{Forget}(t'\to t)=\{f\}\), and if \(\sigma\) is consistent \[\mathop{\mathrm{\mathtt{val}}}[t,\sigma] = \bigoplus_{b\in \{0,1\}}\Big( \mathop{\mathrm{Score}}(t'\to t,\sigma_b)\otimes \mathop{\mathrm{\mathtt{val}}}[t',\sigma_b]\Big),\] where \(\sigma_b\) is the extension of \(\sigma\) with the assignment \(u_f=b\). If \(\sigma\) is not consistent, \(\mathop{\mathrm{\mathtt{val}}}[t,\sigma]=\mathbf{0}\).

In this case, we have a node \(t\) with two children, \(t_1,t_2\) with \(X_t=X_{t_1}=X_{t_2}\). To update the value function, we note that aside from variables in \(X_t\), there are no common variables in \(t_1,t_2\) (this is due to the connectedness of the bags containing an element). In particular, the value decomposes as follows: \[\mathop{\mathrm{\mathtt{val}}}[t,\sigma] = \mathop{\mathrm{\mathtt{val}}}[t_1,\sigma]\otimes\mathop{\mathrm{\mathtt{val}}}[t_2,\sigma].\] Since each of these updates correspond to update ?? for the specific node updates, we have proved that our algorithm computes this recursion, which characterizes the value function ?? . ◻

References↩︎

[1]
C. Dwork and A. Roth. The algorithmic foundations of differential privacy. Found. Trends Theor. Comput. Sci., 9 (3-4): 211–407, 2014.
[2]
B. Barak, K. Chaudhuri, C. Dwork, S. Kale, F. McSherry, and K. Talwar. Privacy, accuracy, and consistency too: a holistic solution to contingency table release. In PODS, pages 273–282, 2007.
[3]
A. Blum, K. Ligett, and A. Roth. A learning theory approach to non-interactive database privacy. In STOC, pages 609–618, 2008.
[4]
M. Hardt and G. N. Rothblum. A multiplicative weights mechanism for privacy-preserving data analysis. In FOCS, pages 61–70, 2010.
[5]
J. M. Abowd. The U.S.Census Bureau adopts differential privacy. In KDD, page 2867, 2018.
[6]
G. Cormode, S. Maddock, E. Ullah, and S. Gade. Synthetic tabular data: Methods, attacks and defenses. In KDD, pages 5989–5998, 2025.
[7]
N. Ponomareva, Z. Xu, H. B. McMahan, P. Kairouz, L. Rosenblatt, V. Cohen-Addad, C. Guzmán, R. McKenna, G. Andrew, A. Bie, D. Yu, A. Kurakin, M. Zadimoghaddam, S. Vassilvitskii, and A. Terzis. How to DP-fy your data: A practical guide to generating synthetic data with differential privacy. arXiv, 2512.03238, 2025.
[8]
A. Nikolov and J. Ullman. Open problem - optimal query release for pure differential privacy. DifferentialPrivacy.org, 07 2021. https://differentialprivacy.org/open-problem-optimal-query-release/.
[9]
A. Nikolov. Private query release via the Johnson–Lindenstrauss transform. In SODA, pages 4982–5002, 2023.
[10]
J. Ullman and S. P. Vadhan. and the hardness of generating private synthetic data. In TCC, 2011.
[11]
J. Abowd, R. Ashmead, G. Simson, D. Kifer, P. Leclerc, A. Machanavajjhala, and W. Sexton. Census TopDown: Differentially private data, incremental schemas, and consistency with public knowledge. US Census Bureau, pages 1–21, 2019.
[12]
J. M. Abowd, R. Ashmead, R. Cumings-Menon, S. Garfinkel, M. Heineck, C. Heiss, R. Johns, D. Kifer, P. Leclerc, A. Machanavajjhala, B. Moran, W. Sexton, M. Spence, and P. Zhuravlev. The 2020 CensusDisclosureAvoidanceSystemTopDownAlgorithm. Harvard Data Science Review, Special Issue (2), 2022.
[13]
J. Zhang, G. Cormode, C. M. Procopiuc, D. Srivastava, and X. Xiao. : Private data release via Bayesian networks. TODS, 42 (4), 2017.
[14]
R. Mckenna, D. Sheldon, and G. Miklau. Graphical-model based estimation and inference for differential privacy. In ICML, pages 4435–4444, 2019.
[15]
R. McKenna, G. Miklau, and D. Sheldon. Winning the NIST contest: A scalable and general approach to differentially private synthetic data. J. Priv. Conf., 11 (3), 2021.
[16]
R. McKenna, B. Mullins, D. Sheldon, and G. Miklau. : an adaptive and iterative mechanism for differentially private synthetic data. In VLDB, pages 2599–2612, 2022.
[17]
M. Gaboardi, E. J. G. Arias, J. Hsu, A. Roth, and Z. S. Wu. Dual query: Practical private query release for high dimensional data. In ICML, pages 1170–1178, 2014.
[18]
G. Vietri, G. Tian, M. Bun, T. Steinke, and Z. S. Wu. New oracle-efficient algorithms for private synthetic data release. In ICML, pages 9765–9774, 2020.
[19]
M. Grötschel, L. Lovász, and A. Schrijver. The ellipsoid method and its consequences in combinatorial optimization. Combinatorica, 1 (2): 169–197, 1981.
[20]
C. Dwork, M. Naor, O. Reingold, G. N. Rothblum, and S. P. Vadhan. On the complexity of differentially private data release: efficient algorithms and hardness results. In STOC, pages 381–390, 2009.
[21]
M. Hardt, K. Ligett, and F. McSherry. A simple and practical algorithm for differentially private data release. In NIPS, pages 2348–2356, 2012.
[22]
K. Cai, X. Lei, J. Wei, and X. Xiao. Data synthesis via differentially private Markov random fields. Proc. VLDB Endow., 14 (11): 2190–2202, 2021.
[23]
D. Koller and N. Friedman. Probabilistic Graphical Models: Principles and Techniques. MIT Press, 2009.
[24]
K. P. Murphy. Machine Learning: A Probabilistic Perspective. MIT Press, 2012.
[25]
M. Boedihardjo, T. Strohmer, and R. Vershynin. Privacy of synthetic data: a statistical framework. TOIT, 69(1): 520–527, 2023.
[26]
J. Hsu, A. Roth, and J. Ullman. Differential privacy for the analyst via private equilibrium computation. In STOC, pages 341–350, 2013.
[27]
H. Asi, V. Feldman, T. Koren, and K. Talwar. Private online prediction from experts: Separations and faster rates. In COLT, pages 674–699, 2023.
[28]
T. González, C. Guzmán, and C. Paquette. Mirror descent algorithms with nearly dimension-independent rates for differentially-private stochastic saddle-point problems. SIAM J. Optim., 36 (1): 233–262, 2026.
[29]
M. Cygan, F. V. Fomin, L. Kowalik, D. Lokshtanov, D. Marx, M. Pilipczuk, M. Pilipczuk, and S. Saurabh. Parameterized Algorithms. Springer, 2015.
[30]
M. Samer and S. Szeider. Constraint satisfaction with bounded treewidth revisited. JCSS, 76 (2): 103–114, 2010.
[31]
I. Bezáková, E. W. Chambers, and K. Fox. Integrating and sampling cuts in bounded treewidth graphs. In AWM, pages 401–415, 2016.
[32]
B. Courcelle. The monadic second-order logic of graphs. I. Recognizable sets of finite graphs. Inf. Comp., 85 (1): 12–75, 1990.
[33]
R. E. Bryant. Symbolic Boolean manipulation with ordered binary-decision diagrams. ACM Comput. Surv., 24 (3): 293–318, 1992.
[34]
C. Li and G. Miklau. Optimal error of query sets under the differentially-private matrix mechanism. In EDBT/ICDT, pages 272–283, 2013.
[35]
A. Nikolov, K. Talwar, and L. Zhang. The geometry of differential privacy: the sparse and approximate cases. In STOC, pages 351–360, 2013.
[36]
C. J. Lebeda, A. Nikolov, and H. Tang. Weighted Fourier factorizations: Optimal Gaussian noise for differentially private marginal and product queries. In PODS, 2026.
[37]
S. A. Plotkin, D. B. Shmoys, and E. Tardos. Fast approximation algorithms for fractional packing and covering problems. Math. Oper. Res., 20 (2): 257–301, 1995.
[38]
S. Arora, E. Hazan, and S. Kale. The multiplicative weights update method: A meta-algorithm and applications. Theory of Computing, 8 (1): 121–164, 2012.
[39]
M. Mohri, A. Rostamizadeh, and A. Talwalkar. Foundations of Machine Learning. The MIT Press, 2nd edition, 2018.
[40]
B. Ghazi, C. Guzmán, P. Kamath, A. Knop, R. Kumar, P. Manurangsi, and S. Sachdeva. : Privately answering statistical queries with relative error. In COLT, pages 2460–2460, 2025.
[41]
T. Korhonen. A single-exponential time 2-approximation algorithm for treewidth. In FOCS, pages 184–192, 2021.
[42]
B. Ghazi, P. Kamath, R. Kumar, P. Manurangsi, and K. Wu. On differentially private counting on trees. In ICALP, pages 66:1–66:18, 2023.
[43]
M. Dawson, B. Ghazi, P. Kamath, K. Kumar, R. Kumar, B. Luan, P. Manurangsi, N. Mundru, H. Nair, A. Sealfon, et al. Optimizing hierarchical queries for the attribution reporting API. In AdKDD@ KDD, 2023.
[44]
C. Chow and C. Liu. Approximating discrete probability distributions with dependence trees. TOIT, 14 (3): 462–467, 1968.
[45]
S. Djelloul. Treewidth and logical definability of graph products. TCS, 410 (8): 696–710, 2009.
[46]
R. J. Lipton and R. E. Tarjan. A separator theorem for planar graphs. SIAM J. Appl. Math., 36 (2): 177–189, 1979.
[47]
B. S. Baker. Approximation algorithms for NP-complete problems on planar graphs. J. ACM, 41 (1): 153–180, 1994.
[48]
D. Eppstein. Diameter and treewidth in minor-closed graph families. Algorithmica, 27 (3): 275–291, 2000.
[49]
G. L. Miller, S.-H. Teng, W. Thurston, and S. A. Vavasis. Separators for sphere-packings and nearest neighbor graphs. J. ACM, 44 (1): 1–29, 1997.
[50]
F. McSherry and K. Talwar. Mechanism design via differential privacy. In FOCS, pages 94–103, 2007.
[51]
D. Durfee and R. M. Rogers. Practical differentially private top-\(k\) selection with pay-what-you-get composition. In NIPS, 2019.

  1. As is standard in literature, we assume that \(\varepsilon\leq 1\) and \(\delta = o\left(\frac{1}{n}\right)\) throughout. Furthermore, we consider the \(\ell_\infty\)-error; see 2 for a formal definition.↩︎

  2. A BDD is a representation of a Boolean function as a rooted directed acyclic graph in which (i) the terminal nodes correspond to the output values 0 and 1, (ii) the internal nodes correspond to the variables of the Boolean function, and (iii) each internal node has two outgoing edges, one taken if the variable is false and the other taken if the variable is true. An OBDD is a BDD in which the variables appear in the same order on all paths from the root to the terminal nodes. An OBDD is reduced if it contains neither redundant nodes nor isomorphic subgraphs.↩︎

  3. See also [40]; our MWU analysis is written in a similar manner to theirs.↩︎

  4. The incidence graph of a set system \({\cal S}\) over a ground set \([d]\) is a bipartite graph with bipartition given by elements and sets, and where the pair \(\{i,S\}\in E\) iff \(i\in S\).↩︎

  5. Recall the Laplace distribution \(Lap(b)\) has density function \(p(x)=\frac{1}{2b}\exp(-|x|/b)\).↩︎