betaFeedback

WorksComputer Science

Statistical Guarantees for Probabilistic Circuit Parameter Learning

Abstract

Probabilistic circuits (PCs) are a powerful class of models that balance both expressivity and tractable inference. The expressive efficiency of PC classes has been studied extensively in the exact case and, although to a lesser degree, the approximate case. However, these results are mainly concerned with the theoretical ability of circuits to compactly represent functions. Statistical guarantees, such as sample complexity, for learning PCs has remained largely unexplored. In this paper, we first prove a lower bound, linear in the size of the PC, on the number of samples needed for any learning algorithm to guarantee bounded statistical distance (Hellinger, reverse Kullback-Leibler, or total variation) with high probability. Next, for learning the parameters of deterministic and decomposable PCs under known structure, we also show a matching upper bound on the number of samples in the case of the Hellinger distance and reverse KL divergence. Dropping determinism, we use a tournament-based approach to provide an upper bound, proving that decomposable PCs are PAC learnable. Lastly, removing the known-structure assumption, we provide an instance-specific statistical upper bound on the total variation distance using the empirical estimator.

Introduction

As generative models capable of compactly representing probability distributions, probabilistic circuits (PCs) serve as a unifying framework to study many families of tractable probabilistic models, as PCs imposing different structural constraints. Enforcing structural properties on PCs guarantees exact and efficient inference: precisely, polynomial (often linear) time with respect to the size of the circuit. Thus, understanding the expressive efficiency of PCs—the size needed to represent a target function—is essential. The expressive efficiency of PCs classes has been studied extensively in the case of exact representation, as well as, to a lesser degree, the approximate case ([17, 6, 12, 25, 30]). Nevertheless, these works do not address the more common setting for PCs nowadays in practice: learning from data. That is, how does the number of samples needed to learn a PC relate to their size?

We turn to probably approximately correct (PAC) learning theory to answer this question. PAC learning algorithms are analyzed with two central concerns: (1) time complexity and (2) sample complexity (Servedio [34]). Sample complexity characterizes the number of samples a learning algorithm requires to guarantee that the function it returns approximates the true function within a small error with high probability. Note that sample complexity alone does not consider the runtime of a given algorithm. A class is considered to be efficiently PAC learnable if there exists a learning algorithm that is polynomial in both time and sample complexity. Many existing works have studied sample complexity and PAC density estimation for probabilistic models such as Bayesian Networks (Darwiche (1997); Friedman and Yakhini [22]) and Gaussian mixture models (Ashtiani et al. [3]); however, the only work on sample complexity for PCs, to the best of our knowledge, is an upper bound for tree-shaped sum-product networks (Aden-Ali and Ashtiani [1]).

We present novel PAC-style bounds for more general classes of PCs over Boolean variables. First, we prove a lower bound on the sample complexity for any learning algorithm when the true distribution is a PC of size SS (Theorem 1, Section 3). This result applies to any family of models that subsumes, or compactly represents deterministic PCs with a known structure, such as sum-product networks (Poon and Domingos [32]), arithmetic circuits (Darwiche [17]), etc. Next, we show that the parameters of deterministic and decomposable PCs are efficiently PAC learnable by introducing an efficient parameter learning algorithm for PCs with a matching sample complexity upper bound, achieving a tight upper and lower bound of Θ(S+log⁡(1/δ)ϵ)\Theta\left(\frac{S+\log(1/\delta)}{\epsilon}\right) on the sample complexity for the KL divergence, and Θ(S+log⁡(1/δ)ϵ2)\Theta\left(\frac{S+\log(1/\delta)}{\epsilon^2}\right) for the Hellinger distance, under the realizability assumption that the true distribution is a PC with known structure (Theorem 2, Section 4). Our arguments also provide looser lower and upper bounds of Ω(S+log⁡(1/δ)ϵ)\Omega\left(\frac{S+\log(1/\delta)}{\epsilon}\right) and O(S+log⁡(1/δ)ϵ)O\left(\frac{S+\log(1/\delta)}{\epsilon}\right), respectively, for the total variation distance. To better complete our understanding of PC parameter learning, we use a tournament-based approach to provide a sample complexity upper bound of O(Slog⁡(S)+Slog⁡(1/δ)ϵ4+log⁡(1/δ)ϵ2)O\left(\frac{S\log(S)+S\log(1/\delta)}{\epsilon^4}+\frac{\log(1/\delta)}{\epsilon^2}\right) for learning decomposable PC parameters for the Hellinger and total variation distance (Theorem 5, Section 4). This bound proves that decomposable PCs are PAC learnable in the case of the Hellinger distance and total variation distance, though the algorithm is inherently inefficient. While the realizable setting allows us to prove tight bounds, the assumption does not generally hold when learning PCs from data. Thus, we also provide a high-probability upper bound on the total variation distance between the true data distribution and a learned circuit by using the empirical distribution as an intermediary (Theorem 7, § 4).

Preliminaries

Sample Complexity

For a given distance measure DD, we wish to characterize the number of samples from a distribution PP that is necessary and sufficient to learn PP within distance ϵ>0\epsilon> 0 with error probability δ∈(0,1]\delta\in(0,1]: i.e., to ensure Pr⁡[D(P^∥P)≤ϵ]≥1−δ\Pr[D(\hat{P}\|P) \le\epsilon] \ge1-\delta. There are two common settings considered in PAC learning: realizable and agnostic. In the realizable case, we assume that the true distribution PP and the distribution P^\hat{P} output by our learning algorithm are members of the same class C\mathcal{C}. In the agnostic case, it is not necessary that P∈CP \in\mathcal{C}, and the objective becomes Pr⁡[D(P^∥P)≤inf⁡P^∈CD(P^∥P)+ϵ]>1−δ\Pr[D(\hat{P}\|P) \le\inf_{\hat{P}\in\mathcal{C}}D(\hat{P}\|P)+\epsilon] > 1-\delta; see that the error also depends structurally on the choice of hypothesis class C\mathcal{C}. Informally, upper bounds on the sample complexity state that there exists an algorithm that, given at least MM samples from PP, outputs P^\hat{P} such that Pr⁡[D(P^∥P)≤ϵ]>1−δ\Pr[D(\hat{P}\|P) \le\epsilon] > 1-\delta; on the other hand, a lower bound states that any algorithm must have at least MM samples for the same guarantee. For the distance measure DD, we consider the total variation distance, reverse Kullback-Leibler (KL) divergence, and Hellinger distance, defined between discrete distributions as follows, respectively:

DTV(P^∥P)=12∑x∣P^(x)−P(x)∣,D_{\mathrm{TV}}(\hat{P}\|P)=\frac{1}{2}\sum_x\left|\hat{P}(x)-P(x)\right|,
DKL(P^∥P)=∑xP^(x)log⁡(P^(x)P(x)),D_{\mathrm{KL}}(\hat{P}\|P)=\sum_x\hat{P}(x)\log\left(\frac{\hat{P}(x)}{P(x)}\right),
DH(P^∥P)=1−∑xP^(x)P(x).D_{\mathrm{H}}(\hat{P}\|P)=\sqrt{1-\sum_x\sqrt{\hat{P}(x)P(x)}}.

We use the squared Hellinger for the majority of our proofs due to its simple formulation and tensorization, but the bounds trivially extend to the Hellinger distance. We also use the following relationships between these measures:

Lemma 1 (Divergence Inequalities (Canonne [8]).) The following hold: (1) DTV(P^∥P)≤12DKL(P^∥P)D_{\mathrm{TV}}(\hat{P}\|P) \le\sqrt{\frac{1}{2}D_{\mathrm{KL}}(\hat{P}\|P)}; (2) DH(P^∥P)2<DTV(P^∥P)D_{\mathrm{H}}(\hat{P}\|P)^2 < D_{\mathrm{TV}}(\hat{P}\|P); (3) DH(P^∥P)2<12DKL(P^∥P)D_{\mathrm{H}}(\hat{P}\|P)^2 < \frac{1}{2}D_{\mathrm{KL}}(\hat{P}\|P).

Probabilistic Circuits

Probabilistic circuits (PCs) (Choi, Vergari, and Van den Broeck [12]) provide a unifying framework for many tractable probabilistic models, such as arithmetic circuits (Darwiche [16]), sum-product networks (Poon and Domingos [32]), cutset networks (Rahman, Kothalkar, and Gogate [33]), probabilistic sentential decision diagrams (Kisa et al. [23]), and bounded-treewidth graphical models (Elidan and Gould [21]; Chow and Liu [13]).

Definition 1 (Probabilistic circuits). A probabilistic circuit (PC) C:=(G,θ)\mathcal{C}:=(\mathcal{G},\theta) represents a joint probability distribution P(X)P(\mathbf{X}) over random variables X\mathbf{X} through a directed acyclic graph (DAG) G\mathcal{G} parameterized by θ\theta. The DAG is composed of 3 types of nodes: leaf, product, and sum nodes. Every leaf node nn in G\mathcal{G} is an input function over a variable X∈XX \in\mathbf{X}, also called its scope ϕ(n)\phi(n). Every internal node nn receives inputs from its children ch⁡(n)\operatorname{ch}(n), and its scope is defined recursively as ϕ(n)=⋃c∈ch⁡(n)ϕ(c)\phi(n)=\bigcup_{c\in\operatorname{ch}(n)}\phi(c). Each node nn of a PC recursively defines a distribution as follows:

Pn(x):={l(x),if n is a leaf,∏c∈ch⁡(n)Pc(x),if n is a product,∑c∈ch⁡(n)θn,cPc(x),if n is a sum.P_n(\mathbf{x}) := \begin{cases} l(\mathbf{x}), & \text{if } n \text{ is a leaf},\\ \prod_{c\in\operatorname{ch}(n)}P_c(\mathbf{x}), & \text{if } n \text{ is a product},\\ \sum_{c\in\operatorname{ch}(n)}\theta_{n,c}P_c(\mathbf{x}), & \text{if } n \text{ is a sum}. \end{cases}

where θn,c∈[0,1]\theta_{n,c}\in[0,1] is the parameter associated with the edge connecting nodes n,cn,c in G\mathcal{G}, and ∑c∈ch⁡(n)θn,c=1\sum_{c\in\operatorname{ch}(n)}\theta_{n,c}=1. The distribution represented by the circuit is the output at its root node. In this paper, we assume that l(x)l(\mathbf{x}) is a Boolean indicator function: i.e., I[x=1]\mathbb{I}[x=1] or I[x=0]\mathbb{I}[x=0], and the size of a PC (denoted SS) refers to the number of parameters.

Probabilistic circuits guarantee tractable inference by composing sum and product gates under specific conditions such as smoothness, decomposability, and determinism (see Figure 1 for an example). As is common in the literature, we assume that PCs are smooth and decomposable, which enable tractable marginal and conditional inference as well as sampling.

Definition 2 (Smoothness and decomposability). A PC is smooth if the children of every sum node nn have identical scopes: ϕ(c)=ϕ(n), ∀c∈ch⁡(n)\phi(c)=\phi(n),\ \forall c\in\operatorname{ch}(n). It is decomposable if the children of every product node nn have disjoint scopes: ϕ(ci)∩ϕ(cj)=∅, ∀ci≠cj∈ch⁡(n)\phi(c_i)\cap\phi(c_j)=\emptyset,\ \forall c_i\ne c_j\in\operatorname{ch}(n).

Definition 3 (Determinism). A PC is deterministic if for every sum node and any fully-instantiated input, the output of at most one of its children is nonzero; i.e., the supports of its children are mutually disjoint.

Learning the parameters of a deterministic PC with the closed-form MLE algorithm can be viewed intuitively as learning many categorical distributions using the empirical (counting) estimator, where each categorical variable corresponds to a sum node in the circuit with as many categories as there are children. This can be formalized using the notion

A smooth, decomposable, and deterministic probabilistic circuit

Figure 1. A smooth, decomposable, and deterministic PC (weights shown only at the root for brevity).

of contexts [26, 11].

Definition 4 (Context). The context γn\gamma_n of every node nn in a PC, is defined in a top-down manner: for the base case, the context of the root node nrn_r is the support γnr=supp⁡(nr)\gamma_{n_r} = \operatorname{supp}(n_r). For all other nodes nn, its context is the intersection of its support and the union of its parents’ context:

γn=⋃m∈pa⁡(n)γm∩supp⁡(n).\gamma_n = \bigcup_{m \in\operatorname{pa}(n)} \gamma_m \cap\operatorname{supp}(n).

Given a sample x\mathbf{x}, the value of the categorical variable corresponding to a sum node nn is given only if x∈γn\mathbf{x} \in\gamma_n, with the specific value being the child index ii such that x∈γni\mathbf{x} \in\gamma_{n_i} as well; this can be evaluated for all sum nodes by propagating the sample through the circuit. We denote the probability of reaching a node nn as P(γn)P(\gamma_n).

Determinism provides further desirable properties. Namely, given a joint assignment x\mathbf{x}, a deterministic PC induces exactly one tree-shaped sub-circuit through which P(x)P(\mathbf{x}) is evaluated [10]. Then, computing the probability of x\mathbf{x} for a deterministic PC amounts to simply multiplying the parameters associated with the induced sub-tree for x\mathbf{x}. Formally, we denote this tree tree⁡(x)\operatorname{tree}(\mathbf{x}), and thus for a deterministic circuit we write

P(x)=∏e∈tree⁡(x)θe.P(\mathbf{x}) = \prod_{e \in\operatorname{tree}(\mathbf{x})} \theta_e.

This is especially of use when we define both circuits to have the same underlying graph, as a sample must follow identical paths through the circuit as the underlying structure and leaves are the same.

Lower Bounds for Learning PCs

This section investigates the following question: how many samples are necessary to ensure that we can learn a PC within a bounded distance to the true distribution with high probability? While this is a natural question in learning theory, this has not been answered explicitly for any hypothesis class of PCs. In particular, we consider the classes of deterministic PCs of fixed structure and prove that the required sample complexity is polynomial in circuit size SS, accuracy parameter 1/ϵ1/\epsilon, and confidence parameter 1/δ1/\delta.

Theorem 1 (Lower Bound). Let CS\mathcal{C}_S be a family of distributions represented by PCs with SS parameters. For 0<ϵ=O(min⁡nP(γn)S)0 < \epsilon= O\left(\sqrt{\frac{\min_n P(\gamma_n)}{S}}\right), δ∈(0,0.15]\delta\in(0, 0.15], any learning algorithm AA that takes in MM samples from P∈CSP \in\mathcal{C}_S and outputs P^\widehat{P} such that DH(P^∥P)≤ϵD_H(\widehat{P}\|P) \le\epsilon with probability >1−δ> 1-\delta requires

M≥max⁡(567S131072ϵ2,log⁡(2/δ)5ϵ2)=Ω(S+log⁡(1/δ)ϵ2),M \ge\max\left(\frac{567S}{131072\epsilon^2},\frac{\log(2/\delta)}{5\epsilon^2}\right)=\Omega\left(\frac{S+\log(1/\delta)}{\epsilon^2}\right),

DKL(P^∥P)≤ϵD_{\mathrm{KL}}(\widehat{P}\|P) \le\epsilon with prob.⁡1−δ\operatorname{prob.} 1-\delta requires

M≥max⁡(567S65536ϵ,2log⁡(2/δ)5ϵ)=Ω(S+log⁡(1/δ)ϵ),M \ge\max\left(\frac{567S}{65536\epsilon},\frac{2\log(2/\delta)}{5\epsilon}\right)=\Omega\left(\frac{S+\log(1/\delta)}{\epsilon}\right),

and DTV(P^∥P)≤ϵD_{\mathrm{TV}}(\widehat{P}\|P) \le\epsilon with prob.⁡1−δ\operatorname{prob.} 1-\delta requires,

M≥max⁡(567S131072ϵ,log⁡(2/δ)5ϵ2)=Ω(S+log⁡(1/δ)ϵ),M \ge\max\left(\frac{567S}{131072\epsilon},\frac{\log(2/\delta)}{5\epsilon^2}\right)=\Omega\left(\frac{S+\log(1/\delta)}{\epsilon}\right),

even if PP is in CG\mathcal{C}_{\mathcal{G}}, a family of deterministic PCs of a fixed structure G\mathcal{G} with SS parameters, and G\mathcal{G} is known to AA.

Notably, this result does not restrict the output of learner AA, and applies to any PC class that subsumes deterministic PCs of any fixed structure(s).

We first give a high-level proof sketch here before presenting the formal proof. The proof relies on standard lower-bound techniques for discrete distributions: Assouad’s Lemma and the hardness of estimating the bias of a coin with high probability. Assouad’s Lemma provides a guiding principle to constructing a family of distributions which requires many samples to learn. These distributions are constructed by making many different “choices”, by perturbing an initial distribution slightly with each choice; for instance, we will construct such family of PCs by perturbing the parameters, by a carefully chosen amount, around the uniform distribution (Proposition 1). This family will include a large set of distributions that are difficult to tell apart by any learning algorithm without using many samples. Moreover, suppose we have two distributions in this family that differ by only one perturbation; this perturbation can be mapped to the task of biasing a fair coin. As such, if an algorithm can learn the constructed family of distributions with high probability, then it also learns the bias of a coin with high probability, thereby inheriting its sample complexity.

Lemma 2 (Assouad’s Lemma [4, 8]). Let C\mathcal{C} be a family of probability distributions and AA be the set of learning algorithms that take MM samples and output a distribution P^\widehat{P}. Suppose there exists a family of {Pv}v∈{−1,1}r⊆C\{P_{\mathbf{v}}\}_{\mathbf{v}\in\{-1,1\}^r} \subseteq\mathcal{C} of 2r2^r distributions and constants α,β>0\alpha,\beta>0 such that ∀v,v′∈{−1,1}r\forall\mathbf{v},\mathbf{v}' \in\{-1,1\}^r:

  1. The distance between Pv,Pv′P_{\mathbf{v}},P_{\mathbf{v}'} is at least proportional to the Hamming distance HH: DH(Pv∥Pv′)2≥αH(v,v′)D_H(P_{\mathbf{v}}\|P_{\mathbf{v}'})^2 \ge\alpha H(\mathbf{v},\mathbf{v}');

  2. If H(v,v′)=1H(\mathbf{v},\mathbf{v}')=1, then DH(Pv∥Pv′)2≤βD_H(P_{\mathbf{v}}\|P_{\mathbf{v}'})^2 \le\beta.

Then, for all M≥1M \ge1,

inf⁡P^∈Asup⁡P∈CEs1,…,sM[DH(P^∥P)2]≥α8r(1−β)2M.\inf_{\widehat{P}\in A}\sup_{P\in\mathcal{C}}\mathbb{E}_{s_1,\ldots,s_M}\left[D_H(\widehat{P}\|P)^2\right]\ge\frac{\alpha}{8}r(1-\beta)^{2M}.

Proof sketch. The original statement (seen in Tsybakov 2008 ) is proven by observing that the average is smaller than the maximum and using Le Cam’s method [39]. Lemma 2 differs from [8] as we are using the squared Hellinger distance as our loss function. Thus, there is an additional factor of 1/21/2 to account for the fact that the squared Hellinger only satisfies the weak triangle inequality. For a detailed explanation connecting the version found in [36] to Lemma 2, see the Appendix. □

Informally, Assouad’s Lemma interprets the distributions in the constructed family as being determined by rr distinct choices (or bit flips), and states that any learning algorithm must learn many choices when the Hamming distance H(v,v′)H(\mathbf{v},\mathbf{v}') is large and simultaneously cannot easily distinguish two distributions if H(v,v′)=1H(\mathbf{v},\mathbf{v}')=1 [8]. Next, we describe our constructed family of PCs that satisfies the conditions in Assouad’s Lemma.

Proposition 1 (PC Family Construction). There exists a family of 2⌊S/2⌋2^{\lfloor S/2\rfloor} distributions in CG⊆CS\mathcal{C}_{\mathcal{G}} \subseteq\mathcal{C}_S for a deterministic PC structure G\mathcal{G} of size SS, such that if η≤min⁡nP(γn)16∣ch⁡(n)∣D2\eta\le\min_n \frac{P(\gamma_n)}{16|\operatorname{ch}(n)|D^2},

∀v,v′∈{−1,1}S/2,DH(Pv∥Pv′)2≥189256ηH(v,v′)and if H(v,v′)=1,DH(Pv∥Pv′)2≤43η.\forall v,v' \in\{-1,1\}^{S/2},\quad D_{\mathrm{H}}(P_v\Vert P_{v'})^2 \ge\frac{189}{256}\eta H(v,v')\quad\text{and if }H(v,v')=1,\quad D_{\mathrm{H}}(P_v\Vert P_{v'})^2 \le\frac{4}{3}\eta.

Proof sketch. W.l.o.g. suppose every sum node has an even number of children, and assign an index in [1,S/2][1,S/2] to each pair of edges of the same sum node. Then, define PvP_v for each v∈{−1,1}S/2v \in\{-1,1\}^{S/2} such that θn,c[vn,c]=1∣ch⁡(n)∣+vcτn\theta_{n,c}[v_{n,c}] = \frac{1}{\lvert\operatorname{ch}(n)\rvert} + v_c\tau_n where

τn=η∣ch⁡(n)∣P(γn)−η24P(γn)2.\tau_n=\sqrt{\frac{\eta}{\lvert\operatorname{ch}(n)\rvert P(\gamma_n)}-\frac{\eta^2}{4P(\gamma_n)^2}}.

Using the conditions on η\eta gives the desired result.

Intuitively, using Assouad’s Lemma on a smaller subset of larger family proves lower bounds on the larger family for two reasons: (1) Assouad’s Lemma holds for any learning algorithm, and (2) sample complexity considers all possible distributions, thus a lower bound on the worst subset is also a lower bound on the sample complexity of the larger family. We next obtain our lower bound from Assouad’s Lemma with this construction and using the hardness of learning the bias of a coin with high probability.

Proof of Theorem 1. We first apply Lemma 2 using the family of distributions constructed in Proposition 1 to obtain:

inf⁡A∈AMsup⁡P∈CSEs1,…,sM∼P[DH(P^∥P)2]≥inf⁡A∈AMsup⁡P∈CGEs1,…,sM∼P[DH(P^∥P)2]≥18S2(1−β)2M≥18189ηS256(1−43η)2M=189ηS4096(1−43η)2M.\begin{aligned} \inf_{A\in\mathcal{A}_M}\sup_{P\in\mathcal{C}_S}\mathbb{E}_{s_1,\ldots,s_M\sim P}\left[D_{\mathrm{H}}(\widehat{P}\Vert P)^2\right] \ge\inf_{A\in\mathcal{A}_M}\sup_{P\in\mathcal{C}_G}\mathbb{E}_{s_1,\ldots,s_M\sim P}\left[D_{\mathrm{H}}(\widehat{P}\Vert P)^2\right] \\ &\ge\frac{1}{8}\frac{S}{2}(1-\beta)^{2M}\ge\frac{1}{8}\frac{189\eta S}{256}\left(1-\frac{4}{3}\eta\right)^{2M} \\ &=\frac{189\eta S}{4096}\left(1-\frac{4}{3}\eta\right)^{2M}. \end{aligned}

To make 189ηS2048=2ϵ2\frac{189\eta S}{2048}=2\epsilon^2, set ϵ=O(min⁡nP(γn))\epsilon=O\left(\sqrt{\min_n P(\gamma_n)}\right), then

η=8192ϵ21089S\eta=\frac{8192\epsilon^2}{1089S}

which implies that

2ϵ2(1−32768ϵ2567S)2M.2\epsilon^2\left(1-\frac{32768\epsilon^2}{567S}\right)^{2M}.

Thus we must set

(1−32768ϵ2567S)2M<1/2\left(1-\frac{32768\epsilon^2}{567S}\right)^{2M}<1/2

to guarantee

2ϵ2(1−32768ϵ2567S)2M≤ϵ2.2\epsilon^2\left(1-\frac{32768\epsilon^2}{567S}\right)^{2M}\le\epsilon^2.

Using Bernoulli,

12>(1−43η)2M≥(1−83ηM).\frac{1}{2}>\left(1-\frac{4}{3}\eta\right)^{2M}\ge\left(1-\frac{8}{3}\eta M\right).

Therefore,

M≥316η=567S131072ϵ2.M\ge\frac{3}{16\eta}=\frac{567S}{131072\epsilon^2}.

Next we convert this expectation into a fixed probability statement. From our construction,

DH(P^v∥Pv)2≤43S2≤16384567ϵ2.D_{\mathrm{H}}(\widehat{P}_v\Vert P_v)^2\le\frac{4}{3}\frac{S}{2}\le\frac{16384}{567}\epsilon^2.

The reverse Markov inequality gives us:

Pr⁡[DH(P^v∥Pv)2≥ϵ22]≥ϵ2−ϵ2/216384567ϵ2−ϵ2/2=56732201.\Pr\left[D_{\mathrm{H}}(\widehat{P}_v\Vert P_v)^2\ge\frac{\epsilon^2}{2}\right]\ge\frac{\epsilon^2-\epsilon^2/2}{\frac{16384}{567}\epsilon^2-\epsilon^2/2}=\frac{567}{32201}.

By the weak triangle inequality, DH(P^∥Pv)2≥14DH(P^v∥Pv)2D_{\mathrm{H}}(\widehat{P}\Vert P_v)^2\ge\frac{1}{4}D_{\mathrm{H}}(\widehat{P}_v\Vert P_v)^2, which implies finally that if M≤567S131072ϵ2M\le\frac{567S}{131072\epsilon^2} then

sup⁡vPr⁡[DH(P^∥Pv)≥ϵ8]≥56732201.\sup_v\Pr\left[D_{\mathrm{H}}(\widehat{P}\Vert P_v)\ge\frac{\epsilon}{\sqrt{8}}\right]\ge\frac{567}{32201}.

This yields the M=Ω(Sϵ2)M=\Omega\left(\frac{S}{\epsilon^2}\right) term.

See that the above only applies to the fixed probability regime. To move to any δ\delta, see that using our construction any learning algorithm must both be able to learn the above distribution and be able to learn the bias of a coin (flip two edges for one sum node in our construction). Learning the bias of a coin is a well studied task, and is known to require at least

M=log⁡(2/δ)5ϵ2=Ω(log⁡(1/δ)ϵ2)M=\frac{\log(2/\delta)}{5\epsilon^2}=\Omega\left(\frac{\log(1/\delta)}{\epsilon^2}\right)

samples to learn within probability 1−δ1-\delta.1 Combining the two complexity results and taking the Hellinger distance as the distance measure, since DH(P^∥P)2≥ϵ2⟹DH(P^∥P)≥ϵD_{\mathrm{H}}(\widehat{P}\Vert P)^2\ge\epsilon^2\Longrightarrow D_{\mathrm{H}}(\widehat{P}\Vert P)\ge\epsilon, we have that ensuring DH(P^∥P)≤ϵD_{\mathrm{H}}(\widehat{P}\Vert P)\le\epsilon with probability >1−δ>1-\delta requires:

M≥max⁡(567S131072ϵ2,log⁡(2/δ)5ϵ2).M\ge\max\left(\frac{567S}{131072\epsilon^2},\frac{\log(2/\delta)}{5\epsilon^2}\right).

Similarly, using DH(P^∥P)2<12DKL(P^∥P)D_{\mathrm{H}}(\widehat{P}\Vert P)^2<\frac{1}{2}D_{\mathrm{KL}}(\widehat{P}\Vert P), ensuring DKL(P^∥P)≤ϵD_{\mathrm{KL}}(\widehat{P}\Vert P)\le\epsilon with probability 1−δ1-\delta requires:

M≥max⁡(567S65536ϵ,log⁡(2/δ)5ϵ).M\ge\max\left(\frac{567S}{65536\epsilon},\frac{\log(2/\delta)}{5\epsilon}\right).

and finally since DH(P^∥P)2≥ϵ⟹DTV(P^∥P)≥ϵD_{\mathrm{H}}(\widehat{P}\Vert P)^2\ge\epsilon\Longrightarrow D_{\mathrm{TV}}(\widehat{P}\Vert P)\ge\epsilon, ensuring DTV(P^∥P)≤ϵD_{\mathrm{TV}}(\widehat{P}\Vert P)\le\epsilon with probability 1−δ1-\delta requires:

M≥max⁡(567S131072ϵ2,log⁡(2/δ)5ϵ2).M\ge\max\left(\frac{567S}{131072\epsilon^2},\frac{\log(2/\delta)}{5\epsilon^2}\right).

Notice in the proof above that we must scale ϵ\epsilon with min⁡nP(γn)\sqrt{\min_n P(\gamma_n)}. Of course, for some structures such as shallow mixtures (i.e. single sum node) this is equivalent to requiring ϵ<1\epsilon<1; thus there exist structures where this statement is trivial. However, there may also exist structures where without setting ϵ\epsilon to be quite small, nodes deep in the circuit do not contribute enough to the sample complexity bound. This motivates further study into pruning circuit nodes, as discussed by Dang, Liu, and Van den Broeck [15]. In short, we have shown that a learning algorithm for any family of models that subsumes, or can compactly represent, deterministic PCs of fixed structure requires at least proportionally as many samples as the circuit size. For instance, this lower bound immediately applies to learning sum-product networks [32], arithmetic circuits [17], sum-of-squares circuits [28], InceptionPCs [38], probabilistic generating circuits [40], and more.

Tight Sample Complexity Bounds

We next show that this necessary number of samples is sufficient to learn the parameters of a given deterministic PC structure to guarantee KL divergence and Hellinger distance less than ϵ\epsilon with probability 1−δ1-\delta. This proves that the parameters of deterministic and decomposable PCs are efficiently PAC learnable. We also prove a polynomial upper bound on the sample complexity of learning non-deterministic circuits; hence proving that their parameters are also PAC learnable, although not using an efficient (polytime) algorithm.

Deterministic PCs

Theorem 2 (Upper Bound). Let CG\mathcal{C}_G be a family of distributions represented by deterministic PCs of a fixed structure GG of size SS. For ϵ>0\epsilon> 0 and δ∈(0,1]\delta\in(0,1], the closed-form estimator given MM samples from P∈CGP \in\mathcal{C}_G outputs P^\hat{P} such that DKL(P^∥P)≤ϵD_{\mathrm{KL}}(\hat{P}\mathbin\Vert P) \le\epsilon with probability >1−δ>1-\delta if:

M≥max⁡(15Sϵ,2log⁡(1/δ)ϵ)=O(S+log⁡(1/δ)ϵ).M \ge\max\left(\frac{15S}{\epsilon},\frac{2\log(1/\delta)}{\epsilon}\right)=O\left(\frac{S+\log(1/\delta)}{\epsilon}\right).

and DH(P^∥P)≤ϵD_{\mathrm{H}}(\hat{P}\mathbin\Vert P)\le\epsilon and DTV(P^∥P)≤ϵD_{\mathrm{TV}}(\hat{P}\mathbin\Vert P)\le\epsilon with probability >1−δ>1-\delta if:

M≥max⁡(15Sϵ2,2log⁡(1/δ)ϵ2)=O(S+log⁡(1/δ)ϵ2).M \ge\max\left(\frac{15S}{\epsilon^2},\frac{2\log(1/\delta)}{\epsilon^2}\right)=O\left(\frac{S+\log(1/\delta)}{\epsilon^2}\right).

With our intuition for learning a deterministic PCs parameters with the closed form MLE, it is tempting to assume that the sample complexity can be derived trivially by upper bounding the sample complexity of learning a discrete distribution for each sum node. However, unlike learning discrete distributions where every sample corresponds to some category, in deterministic PCs not every sample is routed through every sum node, and a given sample can be completely irrelevant to many sum nodes. That is, from the total number of samples used to learn the parameters of a PC, only a fraction would be relevant for learning the parameters of each sum node nn, directly related to the magnitude of P(γn)P(\gamma_n). Therefore, we must move past this naive approach.

The proof of Theorem 2 proceeds as follows: First, we prove a concentration inequality for the reverse KL divergence between deterministic PCs, using the fact the parameters of each sum node are learned using the empirical estimator. Then, we follow the argument from Canonne [7] in conjunction with our concentration inequality to yield the desired result. We highlight again that we use the reverse KL divergence, which is necessary as enforcing a learning guarantee less than ϵ\epsilon with the standard KL divergence requires learning arbitrarily small probabilities without approximating by zero [7]. The reverse KL divergence between deterministic PCs has the following property,

Lemma 3 (Deterministic reverse KLD Decomposition). Let P^\hat{P} and PP be two distributions over variables YY represented by deterministic PCs with the same structure. Then:

DKL(P^(Y)∥P(Y))=∑sum node nP^(γn)DKL(θ^n∥θn).D_{\mathrm{KL}}(\hat{P}(Y)\mathbin\Vert P(Y))=\sum_{\text{sum node }n}\hat{P}(\gamma_n)D_{\mathrm{KL}}(\hat{\theta}_n\mathbin\Vert\theta_n).

where P^(γn)\hat{P}(\gamma_n) is the probability of reaching sum node nn under the learned circuit, and DKL(θ^n∥θn)D_{\mathrm{KL}}(\hat{\theta}_n\mathbin\Vert\theta_n) is the reverse KL divergence of the categoricals associated with node nn.

Proof sketch. For the full proof see the Appendix. First, use the fact that as P^\hat{P} and PP are deterministic and thus evaluating a given yy creates a tree through the circuit. This allows us to turn log⁡(P^(y)P(y))\log\left(\frac{\hat{P}(y)}{P(y)}\right) into ∑e∈tree⁡(y)log⁡(θ^eθe)\sum_{e\in\operatorname{tree}(y)}\log\left(\frac{\hat{\theta}_e}{\theta_e}\right). Using indicator functions we can change this to be sums over the nodes and children. Using this in the definition of the reverse KL divergence yields the result. □

This result essentially follows from the fact that circuits with the same structure and leaves only differ in parameterization. Determinism simply ensures these differences can be taken locally at each sum node and combined by weighting with the probability of reaching a given sum node.

Theorem 3. For PP a deterministic PC and P^\hat{P} learned with MLE with the same underlying structure and SS parameters, and for all ϵ>SM\epsilon>\frac{S}{M},

Pr⁡[DKL(P^∥P)≥ϵ]≤e−ϵM(eϵMS)S.\Pr[D_{\mathrm{KL}}(\hat{P}\mathbin\Vert P)\ge\epsilon]\le e^{-\epsilon M}\left(\frac{e\epsilon M}{S}\right)^S.

Which relies on the following result from Agrawal [2],

Theorem 4 [2]. For PP a categorical distribution over kk categories and P^\hat{P} the empirical estimator with nn samples, it holds that for all 0≤t<n0\le t<n,

E[exp⁡(tDKL(P^∥P))]≤(11−t/n)k−1.\mathbb{E}[\exp(tD_{\mathrm{KL}}(\hat{P}\mathbin\Vert P))]\le\left(\frac{1}{1-t/n}\right)^{k-1}.

Given that we are using the closed form MLE, which is equivalent to the empirical estimator described by Agrawal [2], if each sum node receives mnm_n samples we can transfer the upper bound from E[exp⁡(tDKL(θ^n,c∥θn,c))]\mathbb{E}[\exp(tD_{\mathrm{KL}}(\hat{\theta}_{n,c}\mathbin\Vert\theta_{n,c}))]. However, in PCs, the number of samples to reach node nn is determined by a random variable, MnM_n. Notice that the number of samples to reach node nn also depends on the sum of the number of samples to reach the parents of nn (at the root this is MM), thus there exists a dependence between sum nodes. To circumvent this, we use the law of iterated expectation topologically down the circuit, and upper bound each sum node as we traverse downwards on the circuit using Theorem 4.

Proof of Theorem 3. Let M\mathcal{M} be the set of all random variables MnM_n. Using Lemma 3,

E[exp⁡(tDKL(P^∥P))]=E[exp⁡(t∑nP^(γn)DKL(P^n,c∥Pn,c))].\mathbb{E}[\exp(tD_{\mathrm{KL}}(\hat{P}\mathbin\Vert P))]=\mathbb{E}\left[\exp\left(t\sum_n\hat{P}(\gamma_n)D_{\mathrm{KL}}(\hat{P}_{n,c}\mathbin\Vert P_{n,c})\right)\right].

Now, we order all sum nodes topologically from parents to children, and define F<nF_{<n} to record the routing of samples preceding node nn. Thus for every node nn we know Mn=mnM_n=m_n and the choices among the children of nn are independent. See first that upon fixing MnM_n the closed-form MLE yields P^(γn)=mnM\hat{P}(\gamma_n)=\frac{m_n}{M}. At each sum node then we use Theorem 4 conditionally to get

E[exp⁡(tmnMDKL(θ^n∥θn))|F<n]≤(11−tM)∣ch⁡(n)∣−1.\mathbb{E}\left[\exp\left(\frac{tm_n}{M}D_{\mathrm{KL}}(\hat{\theta}_n\mathbin\Vert\theta_n)\right)\middle|F_{<n}\right]\le\left(\frac{1}{1-\frac{t}{M}}\right)^{|\operatorname{ch}(n)|-1}.

Now, using the law of iterated expectation topologically,

E[exp⁡(tDKL(P^∥P))]≤E[exp⁡(t∑b<nmbMDKL(θ^b∥θb))E[exp⁡(tmnMDKL(θ^n∥θn))|F<n]]≤(11−tM)∣ch⁡(n)∣−1E[exp⁡(t∑b<nmbMDKL(θ^b∥θb))].(1)\begin{aligned} \mathbb{E}[\exp(tD_{\mathrm{KL}}(\hat{P}\mathbin\Vert P))] \le\mathbb{E}\left[\exp\left(t\sum_{b<n}\frac{m_b}{M}D_{\mathrm{KL}}(\hat{\theta}_b\mathbin\Vert\theta_b)\right) \mathbb{E}\left[\exp\left(\frac{tm_n}{M}D_{\mathrm{KL}}(\hat{\theta}_n\mathbin\Vert\theta_n)\right)\middle|F_{<n}\right]\right] \\ &\le\left(\frac{1}{1-\frac{t}{M}}\right)^{|\operatorname{ch}(n)|-1}\mathbb{E}\left[\exp\left(t\sum_{b<n}\frac{m_b}{M}D_{\mathrm{KL}}(\hat{\theta}_b\mathbin\Vert\theta_b)\right)\right]. \tag*{(1)} \end{aligned}

Iterating over all nodes we get:

E[exp⁡(tDKL(P^∥P))]≤∏n(11−tM)∣ch⁡(n)∣−1≤(11−tM)S.\mathbb{E}\left[\exp\left(tD_{\mathrm{KL}}(\widehat{P}\mathbin{\|}P)\right)\right]\leq\prod_n\left(\frac{1}{1-\frac{t}{M}}\right)^{|\operatorname{ch}(n)|-1} \leq\left(\frac{1}{1-\frac{t}{M}}\right)^S.

Using a Chernoff bound, for 0≤t<M0\leq t<M we have

Pr⁡[DKL(P^∥P)≥ϵ]≤inf⁡t∈[0,M)e−tϵ(11−tM)S.\Pr\left[D_{\mathrm{KL}}(\widehat{P}\mathbin{\|}P)\geq\epsilon\right]\leq\inf_{t\in[0,M)}e^{-t\epsilon}\left(\frac{1}{1-\frac{t}{M}}\right)^S.

Choose tM=1−SϵM\frac{t}{M}=1-\frac{S}{\epsilon M}, then for all ϵ>SM\epsilon>\frac{S}{M},

Pr⁡[DKL(P^∥P)≥ϵ]≤e−ϵM(ϵeMS)S.\Pr\left[D_{\mathrm{KL}}(\widehat{P}\mathbin{\|}P)\geq\epsilon\right]\leq e^{-\epsilon M}\left(\frac{\epsilon eM}{S}\right)^S.

Proof of Theorem 2. Let P^\widehat{P} and PP be over X\mathcal{X} where PP and P^\widehat{P} have the exact same underlying graph. Then, using the change of exponent rules, we rewrite Theorem 3 as

Pr⁡[DKL(P^(X)∥P(X))≥ϵ]≤eSlog⁡(ϵeMS)e−ϵM=e−ϵM+Slog⁡(ϵeMS).\Pr\left[D_{\mathrm{KL}}(\widehat{P}(\mathbf{X})\mathbin{\|}P(\mathbf{X}))\geq\epsilon\right]\leq e^{S\log\left(\frac{\epsilon eM}{S}\right)}e^{-\epsilon M} =e^{-\epsilon M+S\log\left(\frac{\epsilon eM}{S}\right)}.

If M≥15SϵM\geq\frac{15S}{\epsilon} then Slog⁡(ϵeMS)<Mϵ2S\log\left(\frac{\epsilon eM}{S}\right)<\frac{M\epsilon}{2}. Thus, when M≥15SϵM\geq\frac{15S}{\epsilon},

Pr⁡[DKL(P^(X)∥P(X))≥ϵ]≤e−Mϵ2.\Pr\left[D_{\mathrm{KL}}(\widehat{P}(\mathbf{X})\mathbin{\|}P(\mathbf{X}))\geq\epsilon\right]\leq e^{-\frac{M\epsilon}{2}}.

Finally, setting e−Mϵ2≤δe^{-\frac{M\epsilon}{2}}\leq\delta we get that M≥2log⁡(1/δ)ϵM\geq\frac{2\log(1/\delta)}{\epsilon} implies that Pr⁡[DKL(P^(X)∥P(X))≥ϵ]<δ\Pr[D_{\mathrm{KL}}(\widehat{P}(\mathbf{X})\mathbin{\|}P(\mathbf{X}))\geq\epsilon]<\delta. Thus, combining these two terms results in a guarantee learning of DKL(P^∥P)≤ϵD_{\mathrm{KL}}(\widehat{P}\mathbin{\|}P)\leq\epsilon with probability 1−δ1-\delta using at least O(S+log⁡(1/δ)ϵ)O\left(\frac{S+\log(1/\delta)}{\epsilon}\right) samples. The extension to the KL divergence and squared Hellinger distance follows from Lemma 1, which results a learning guarantee for DTV(P^∥P)≤ϵD_{\mathrm{TV}}(\widehat{P}\mathbin{\|}P)\leq\epsilon and DH(P^∥P)<ϵD_{\mathrm{H}}(\widehat{P}\mathbin{\|}P)<\epsilon with probability 1−δ1-\delta using at least O(S+log⁡(1/δ)ϵ2)O\left(\frac{S+\log(1/\delta)}{\epsilon^2}\right) samples.

Non-deterministic PCs

We have shown a tight upper and lower bound on the number of samples needed for deterministic PCs of known structure. However, our lower bound holds for non-deterministic PCs as well. This leaves a clear question: what is the sample complexity of learning the parameters of non-deterministic PCs? Without determinism, we no longer have (1) closed-MLE nor (2) exactly one path through the circuit for any given sample, preventing us from naively applying our previous results; however, using the notion of a tournament,2 we can provide an upper bound for learning non-deterministic PCs.

Theorem 5 (Sample Complexity of Learning Non-deterministic PCs). Let CG\mathcal{C}_{\mathcal{G}} be a family of distributions represented by non-deterministic PCs of a fixed structure G\mathcal{G} of size SS. For ϵ>0\epsilon>0 and δ∈(0,1]\delta\in(0,1], there exists a learning algorithm such that given MM samples from P∈CGP\in\mathcal{C}_{\mathcal{G}} there exists P^\widehat{P} such that DH(P^∥P)≤ϵD_{\mathrm{H}}(\widehat{P}\mathbin{\|}P)\leq\epsilon (or DTV(P^∥P)≤ϵD_{\mathrm{TV}}(\widehat{P}\mathbin{\|}P)\leq\epsilon) with probability >1−δ>1-\delta if

M=O(Slog⁡(S)+Slog⁡(1/δ)ϵ4+log⁡(1/δ)ϵ2).M=O\left(\frac{S\log(S)+S\log(1/\delta)}{\epsilon^4}+\frac{\log(1/\delta)}{\epsilon^2}\right).

We first provide a sketch of our proof approach. Using by the latent variable interpretation [31] every non-deterministic sum node has a latent variable ZZ whose values are associated with each of its children. Then by making these latent variables explicit, which we call a “latent-completion”, we can instantiate a deterministic and decomposable PC P(X,Z)P(\mathbf{X},Z) whose marginal probability distribution matches that given by the corresponding decomposable PC P(X)P(\mathbf{X}). Now, take MM samples x1,…,xM\mathbf{x}_1,\ldots,\mathbf{x}_M from the true distribution P(X)P(\mathbf{X}). If we enumerate all possible latent variable assignments zz for each sample to form the set of all possible completions {(x1,z1),…,(xM,zM)}\{(\mathbf{x}_1,z_1),\ldots,(\mathbf{x}_M,z_M)\}, this set must include a dataset of MM samples from the true P(X,Z)P(\mathbf{X},Z). As such, for sample complexity of learning a circuit with the dataset from the true distribution, we can use the argument for deterministic PCs from Theorem 2. However, we do not know exactly which latent-completion dataset matches the true distribution. To overcome this, we use a tournament which is a common technique in learning theory when there exist many possible candidate distributions (Canonne et al. 2020; Daskalakis, Diakonikolas, and Servedio 2012). If there are at most tt candidate circuits, we run a pairwise tournament between all candidates, which requires O(t2)O(t^2) hypothesis tests; by choosing the candidate that wins the most rounds and taking a union bound, we are guaranteed to return a circuit whose distribution is O(ϵ)O(\epsilon) from the true distribution with high probability.

As our lower bound applies both the Hellinger distance and total variation distance, we use the tournament and test statistic described in [35] to yield an upper bound for both. Unfortunately, in the current literature there is no tournament selection approach for the reverse KL-divergence, thus we are unable to provide an upper bound for decomposable PCs learned with the reverse KL divergence currently. Given MM samples X⊗M\mathbf{X}^{\otimes M} from an unknown distribution PP and two candidates Q1,Q2Q_1,Q_2, suppose

H0:γDH(Q2∥P)≤DH(Q1∥P),H1:DH(Q2∥P)≥γDH(Q1∥P).\begin{aligned} H_0 &: \gamma D_{\mathrm{H}}(Q_2\mathbin{\|}P)\leq D_{\mathrm{H}}(Q_1\mathbin{\|}P),\\ H_1 &: D_{\mathrm{H}}(Q_2\mathbin{\|}P)\geq\gamma D_{\mathrm{H}}(Q_1\mathbin{\|}P). \end{aligned}

The test statistic for this hypothesis test is

T(Q1,Q2,X⊗M)=1M∑i=1MQ1(x(i))−Q2(x(i))Q1(x(i))+Q2(x(i)).T(Q_1,Q_2,\mathbf{X}^{\otimes M})=\frac{1}{M}\sum_{i=1}^{M}\frac{Q_1(\mathbf{x}^{(i)})-Q_2(\mathbf{x}^{(i)})}{Q_1(\mathbf{x}^{(i)})+Q_2(\mathbf{x}^{(i)})}.

where x(i)\mathbf{x}^{(i)} is the iith sample and Q1Q_1 wins if T(Q1,Q2,X⊗M)>0T(Q_1,Q_2,\mathbf{X}^{\otimes M})>0, Q2Q_2 wins if T(Q1,Q2,X⊗M)<0T(Q_1,Q_2,\mathbf{X}^{\otimes M})<0, and the winner is picked randomly if T(Q1,Q2,X⊗M)=0T(Q_1,Q_2,\mathbf{X}^{\otimes M})=0. This procedure is referred to as the Hellinger Test; given at least cγlog⁡(1/δ′)DH(Q1∥Q2)2=O(log⁡(1/δ′)DH(Q1∥Q2)2)\frac{c_\gamma\log(1/\delta')}{D_{\mathrm{H}}(Q_1\|Q_2)^2}=O\left(\frac{\log(1/\delta')}{D_{\mathrm{H}}(Q_1\|Q_2)^2}\right) samples for γ>22−1\gamma>\frac{\sqrt{2}}{\sqrt{2}-1} and a constant cγc_\gamma depending on γ\gamma the Hellinger test ensures the selection of Q2Q_2 under H0H_0 and Q1Q_1 under H1H_1 with probability at least 1−δ1-\delta [35].

Using the Hellinger Test, choosing the candidate that wins the most matches guarantees the chosen distribution to be closest to the true distribution within a constant factor.

Lemma 4. Let PP be the true distribution and TT a set of candidate distributions. Suppose that min⁡b∈TDH(P∥b)≤ϵγ2\min_{b\in T}D_{\mathrm{H}}(P\|b)\le\frac{\epsilon}{\gamma^2}. Run the Hellinger test between every pairwise set of candidates in TT using O(log⁡(1/δ′)ϵ2)O\left(\frac{\log(1/\delta')}{\epsilon^2}\right) samples, and let ff be the distribution that wins the most rounds of the Hellinger test. Then,

Pr⁡[DH(P∥f)≤ϵ]≥1−δ.\Pr[D_{\mathrm{H}}(P\|f)\le\epsilon]\ge1-\delta.

Proof. Suppose ff wins the most rounds and there exists b∈Tb\in T such that DH(P∥b)≤ϵ/γ2D_{\mathrm{H}}(P\|b)\le\epsilon/\gamma^2. Suppose for contradiction that DH(P∥f)>ϵ>γ2DH(P∥b)D_{\mathrm{H}}(P\|f)>\epsilon>\gamma^2D_{\mathrm{H}}(P\|b). Define the set A={j:γDH(P∥j)≤ϵ/γ}A=\{j:\gamma D_{\mathrm{H}}(P\|j)\le\epsilon/\gamma\}; then for all j∈Aj\in A, γDH(P∥j)≤DH(P∥f)\gamma D_{\mathrm{H}}(P\|j)\le D_{\mathrm{H}}(P\|f) and for all j∈Acj\in A^c, DH(P∥j)>γDH(P∥b)D_{\mathrm{H}}(P\|j)>\gamma D_{\mathrm{H}}(P\|b). By the triangle inequality then, for j∈Aj\in A, DH(f∥j)≥γDH(P∥j)−DH(P∥f)≥ϵ−ϵ/γD_{\mathrm{H}}(f\|j)\ge\gamma D_{\mathrm{H}}(P\|j)-D_{\mathrm{H}}(P\|f)\ge\epsilon-\epsilon/\gamma and for j∈Acj\in A^c, DH(b∥j)≥γDH(P∥j)−DH(P∥b)≥ϵ/γ−ϵ/γ2D_{\mathrm{H}}(b\|j)\ge\gamma D_{\mathrm{H}}(P\|j)-D_{\mathrm{H}}(P\|b)\ge\epsilon/\gamma-\epsilon/\gamma^2. Thus, as γ\gamma is a constant, a union bound ensures all comparisons are correct with probability 1−δ1-\delta with at least O(log⁡(∣T∣)+log⁡(1/δ)ϵ2)O\left(\frac{\log(|T|)+\log(1/\delta)}{\epsilon^2}\right) samples.

As we have confirmed our comparisons are correct, with probability 1−δ1-\delta, AA is a subset of all losses for ff. Following this Ac∖{f}A^c\setminus\{f\} contains the set of all wins for ff, and thus the number of wins for ff is at most ∣Ac∣−1|A^c|-1. But, Ac={j:DH(P∥j)>ϵ/γ}A^c=\{j:D_{\mathrm{H}}(P\|j)>\epsilon/\gamma\}, thus for every j∈Acj\in A^c candidate bb wins. As such the number of wins for bb is at least ∣Ac∣>∣Ac∣−1|A^c|>|A^c|-1 which is greater than the number of wins for ff. Therefore, ff cannot have the most wins which is a contradiction.

Thus, our selection criteria will yield a candidate with high probability that is within at most a constant factor of any other. We next determine the number of possible latent completions.

Lemma 5 (Candidate Count). Given MM independent samples from PP, there are at most SMS^M possible datasets (x,z)(\mathbf{x},\mathbf{z}) from P(X,Z)P(\mathbf{X},\mathbf{Z}) where the true distribution P(X)P(\mathbf{X}) is a PC with SS parameters.

Proof. Suppose we receive MM independent samples from PP, that that each sum node has csc_s children, and a sample can be routed down each child. Knowing this, there are at most csMc_s^M possibilities for any given sum node. Taking this across all sum nodes results in SMS^M possible latent completions (X=x,Z=z)(\mathbf{X}=\mathbf{x},\mathbf{Z}=\mathbf{z}).

While method of counting possible latent-completions likely leads to over-counting this is acceptable as we are considering an upper bound. Finally, we have the ingredients needed, and prove Theorem 5.

Proof of Theorem 5. Let PP be the true distribution represented by a decomposable PC and P^\hat{P} be a PC of the exact same structure with SS parameters. From Peharz et al. 2016 the introduction of latent variables allows us to represent P(X)P(\mathbf{X}) as P(X,Z)P(\mathbf{X},\mathbf{Z}), which is a deterministic augmentation over (X,Z)(\mathbf{X},\mathbf{Z}). Let η=ϵ16\eta=\frac{\epsilon}{16} and draw a set of MM samples from PP, called X⊗M\mathbf{X}^{\otimes M}, where

M=O(S+log⁡(1/δ)η2).M=O\left(\frac{S+\log(1/\delta)}{\eta^2}\right).

Now, if we are given both the samples X⊗M\mathbf{X}^{\otimes M} and the true latent completions Z\mathbf{Z} from PP then learning P^\hat{P} over (X,Z)(\mathbf{X},\mathbf{Z}) with the empirical estimator yields Pr⁡[DH(P^(X,Z)∥P(X,Z))≤η]≥1−δ\Pr[D_{\mathrm{H}}(\hat{P}(\mathbf{X},\mathbf{Z})\|P(\mathbf{X},\mathbf{Z}))\le\eta]\ge1-\delta by Theorem 2. The monotonicity of DH(⋅∥⋅)D_{\mathrm{H}}(\cdot\|\cdot) then proves Pr⁡[DH(P^(X)∥P(X))≤η]≥1−δ\Pr[D_{\mathrm{H}}(\hat{P}(\mathbf{X})\|P(\mathbf{X}))\le\eta]\ge1-\delta. But we do not know exactly which dataset has the correct choice of P(Z)P(\mathbf{Z}). Thus, we must enumerate all possible latent variable instantiations for a given dataset, call this larger set LL. See that (X,Z)∈L(\mathbf{X},\mathbf{Z})\in L such that (X,Z)∼P(X,Z)(\mathbf{X},\mathbf{Z})\sim P(\mathbf{X},\mathbf{Z}), and thus one of these datasets allows us to construct P^\hat{P} from the above.

Using Lemma 5, we know that ∣L∣≤SM|L|\le S^M and let γ=4>22−1\gamma=4>\frac{\sqrt{2}}{\sqrt{2}-1}. Conditionally on the number of samples already taken MM, we run the Hellinger tournament on LL. From above we know that LL contains a candidate within η\eta of PP, and by Lemma 4 using a union bound over all tests in the tournament returns some P^\hat{P} satisfying DH(P^∥P)≤ϵD_{\mathrm{H}}(\hat{P}\|P)\le\epsilon with probability 1−δ1-\delta given O(log⁡(SM)+log⁡(1/δ)ϵ2)=O(Mlog⁡(S)+log⁡(1/δ)ϵ2)O\left(\frac{\log(S^M)+\log(1/\delta)}{\epsilon^2}\right)=O\left(\frac{M\log(S)+\log(1/\delta)}{\epsilon^2}\right) samples. Substituting in our original number of samples MM gives us the desired result of

O(Slog⁡(S)+Slog⁡(1/δ)ϵ4+log⁡(1/δ)ϵ2).O\left(\frac{S\log(S)+S\log(1/\delta)}{\epsilon^4}+\frac{\log(1/\delta)}{\epsilon^2}\right).

The total variation distance follows from the same argument up to constant factors as DTV(P^∥P)≤2DH(P^∥P)D_{\mathrm{TV}}(\hat{P}\|P)\le\sqrt{2}D_{\mathrm{H}}(\hat{P}\|P).

This proves that non-deterministic PCs are PAC learnable for the Hellinger and total variation distance, though not with an efficient algorithm due to the exponential enumeration required by the tournament. Interestingly, this shows that while non-deterministic PCs can be exponentially more efficient than deterministic PCs, they require only a polynomially greater number of samples.

Relaxing Structural Assumptions

The upper bounds discussed above are derived using the restrictive assumption that the true distribution can be represented as a PC with a known structure. However, in practice when learning PCs from data this assumptions is unlikely to be true. As a step towards establishing sample complexity in the agnostic setting, we provide a computable bound on the distance between a learned PC and an unknown distribution PP, accessible only through a set of samples from it.

Let P~\tilde{P} be the empirical distribution induced by a dataset D\mathcal{D}. We define the half-norm as follows:

Definition 5 (Half-Norm). ∥P~∥1/2:=(∑iP~i)2\lVert\widetilde{P}\rVert_{1/2} := \left(\sum_i \sqrt{\widetilde{P}_i}\right)^2 where P~i=1m∑t∈[m]I(X=i)\widetilde{P}_i = \frac{1}{m}\sum_{t\in[m]}\mathbb{I}(\mathbf{X}=i) is the probability of the ithi^{\mathrm{th}} category.

Using the half-norm and the empirical distribution on a dataset DD, Cohen, Kontorovich, and Wolfer [14] proves an upper (and lower) bound which is optimal with high probability.

Theorem 6 (Cohen, Kontorovich, and Wolfer [14]). For all M∈NM \in\mathbb{N}, δ∈(0,1)\delta\in(0,1) and μ∈ΔN\mu\in\Delta_{\mathbb{N}},

DTV(P~∥P)≤1M∥P~∥1/21/2+3log⁡(2/δ)2MD_{\mathrm{TV}}(\widetilde{P}\|P) \le\frac{1}{\sqrt{M}}\lVert\widetilde{P}\rVert_{1/2}^{1/2} + 3\sqrt{\frac{\log(2/\delta)}{2M}}

holds with probability at least 1−δ1-\delta. Furthermore,

E[DTV(P~∥P)]≤E[1M∥P~∥1/21/2].\mathbb{E}[D_{\mathrm{TV}}(\widetilde{P}\|P)] \le\mathbb{E}\left[\frac{1}{\sqrt{M}}\lVert\widetilde{P}\rVert_{1/2}^{1/2}\right].

Using this result, we can easily provide a computable, high probability upper bound on the total variation distance between the true distribution and any learned PC.

Theorem 7. Let PP be the true distribution, P~\widetilde{P} be the empirical distribution, and P^\widehat{P} be our learned PC. Then, with probability 1−δ1-\delta,

DTV(P∥P^)≤1M∥P~∥1/21/2+3log⁡(2/δ)2M+DTV(P~∥P^).D_{\mathrm{TV}}(P\|\widehat{P}) \le\frac{1}{\sqrt{M}}\lVert\widetilde{P}\rVert_{1/2}^{1/2} + 3\sqrt{\frac{\log(2/\delta)}{2M}} + D_{\mathrm{TV}}(\widetilde{P}\|\widehat{P}).

This upper bound can be computed in O(∣D∣ ∣P^∣)O(|D|\,|\widehat{P}|) time, where ∣D∣|D|, ∣P^∣|\widehat{P}| are the sizes of the dataset and the PC respectively.

Proof. The result follows from a simple application of the triangle inequality and Theorem 6.

DTV(P∥P^)≤DTV(P∥P~)+DTV(P~∥P^)≤1M∥P~∥1/21/2+3log⁡(2/δ)2M+DTV(P~∥P^).\begin{aligned} D_{\mathrm{TV}}(P\|\widehat{P}) &\le D_{\mathrm{TV}}(P\|\widetilde{P}) + D_{\mathrm{TV}}(\widetilde{P}\|\widehat{P}) \\ &\le\frac{1}{\sqrt{M}}\lVert\widetilde{P}\rVert_{1/2}^{1/2} + 3\sqrt{\frac{\log(2/\delta)}{2M}} + D_{\mathrm{TV}}(\widetilde{P}\|\widehat{P}). \end{aligned}

The time complexity follows from the fact that the empirical distribution can be constructed in time O(∣D∣)O(|D|) and the TVD between the empirical distribution and the PC can be computed in time O(∣D∣ ∣P^∣)O(|D|\,|\widehat{P}|) using the simple computation between P~\widetilde{P} and P^\widehat{P} below,

DTV(P~∥P^)=∑x∈X⊗M∣P~(x)−P^(x)∣+∑x∉X⊗MP(x)=∑x∈X⊗M∣P~(x)−P^(x)∣+1−∑x∈X⊗MP(x).\begin{aligned} D_{\mathrm{TV}}(\widetilde{P}\|\widehat{P}) &= \sum_{x\in\mathcal{X}^{\otimes M}}|\widetilde{P}(x)-\widehat{P}(x)|+\sum_{x\notin\mathcal{X}^{\otimes M}}P(x)\\ &= \sum_{x\in\mathcal{X}^{\otimes M}}|\widetilde{P}(x)-\widehat{P}(x)|+1-\sum_{x\in\mathcal{X}^{\otimes M}}P(x). \end{aligned}

We empirically test our upper bound on the density estimation benchmark datasets [29, 5, 37, 24] with circuits learned via the HCLT structure in PyJuice (Liu, Ahmed, and Van den Broeck [27]). We compute bounds on both the train and test (see Table 1 and Table 2 in the Appendix) sets providing the error associated with each term. While our method may return trivial bounds, we observe that on several benchmark datasets of modest size we return non-trivial bounds. All learned PCs, datasets, and code is publicly available3.

DatasetVarsMMSSDTV(P∥P~)D_{\mathrm{TV}}(P\mathbin\Vert\tilde{P})DTV(P~∥P^)D_{\mathrm{TV}}(\tilde{P}\mathbin\Vert\hat{P})DTV(P∥P^)D_{\mathrm{TV}}(P\mathbin\Vert\hat{P})
accidents1111275816121.0324140.9999952.032409
ad15562461213320.8083360.8827351.691071
baudio1001500017481.0287060.9996502.028356
bbc10581670153321.0600311.0000002.060031
bnetflix1001500016521.0298941.0000002.029894
book500870071721.0214690.9886592.010128
c20ng91011293120521.0314961.0000002.031496
connect41261600017801.0290270.9929872.022014
cr528896532116121.0278420.9999782.027820
cwebkb8392803119001.0569621.0000002.056962
dna180160032681.0712621.0000002.071262
jester100900016361.0345630.9999522.034515
kdd6418009211080.0653940.1040250.169419
kosarek1903337525800.4259280.3696430.795570
moviereview10011600150201.0906921.0000002.090692
msnbc172913262360.0901540.3408140.430968
mushrooms112200016521.0821000.9966322.078732
nips50040082121.1835811.0000002.183581
nltcs16161812600.3041770.2375890.541767
ocr_letters1283215228200.9876930.9999931.987686
plants691741213240.5937970.8543771.448173
pumsb_star1631226223961.0219080.9990732.020980
rcv11504000019720.9596770.9996211.959298
tmovie500452478760.9600190.9449521.904971
tretail1352204119480.5737890.4921481.065937
voting13591214165720.8544371.0000001.854437

Table 1. Upper bounds for the train split with δ=0.1\delta= 0.1.

DatasetVarsMMSSDTV(P∥P~)D_{\mathrm{TV}}(P\mathbin\Vert\tilde{P})DTV(P~∥P^)D_{\mathrm{TV}}(\tilde{P}\mathbin\Vert\hat{P})DTV(P∥P^)D_{\mathrm{TV}}(P\mathbin\Vert\hat{P})
accidents111255116121.0726950.9999992.072694
ad1556491213321.0033930.8887621.892155
baudio100300017481.0668390.9999372.066776
bbc1058330153321.1967911.0000002.196791
bnetflix100300016521.0670341.0000002.067034
book500173971721.0824140.9966392.079053
c20ng9103764120521.0569031.0000002.056903
connect41264755717801.0168360.9795391.996376
cr528891540116121.0808210.9999962.080817
cwebkb839838119001.1186741.0000002.118674
dna180118632681.0913901.0000002.091390
jester100411616361.0538560.9999622.053818
kdd643495511080.0984160.0974840.195900
kosarek190667525800.5369550.4311980.968153
moviereview1001250150201.2322141.0000002.232214
msnbc17582652360.1692690.3553890.524658
mushrooms112562416521.0489590.9903772.039337
nips500124082121.1037951.0000002.103795
nltcs1632362600.4993380.3314350.830773
ocr_letters1281000028201.0138330.9999962.013829
plants69348213240.7553410.8812161.636557
pumsb_star163245223961.0722360.9997042.071941
rcv115015000019720.9125920.9993681.911960
tmovie50059178761.0922900.9608032.053093
tretail135440819480.7105200.5681601.278680
voting1359350165720.9689251.0000001.968925

Table 2. Upper bounds for the test split with δ=0.1\delta= 0.1.

Conclusion

We have proved a lower bound on the sample complexity of learning PCs: for example, any learning algorithm requires Ω(S+log⁡(1/δ)ϵ)\Omega\left(\frac{S+\log(1/\delta)}{\epsilon}\right) samples to ensure a KL divergence within ϵ\epsilon with probability at least 1−δ1-\delta, as well as similar results for Hellinger and total variation distance. This lower bound holds even for deterministic PCs with known structure, whose maximum-likelihood parameters can be estimated in closed form. Furthermore, we showed that the parameters of deterministic and decomposable PCs are efficiently PAC learnable with sample complexity upper bounds matching the aforementioned lower bounds. Using a tournament based approach, we are able to use this technique for non-deterministic PCs in the case of the Hellinger distance and total variation distance, proving an upper bound of O(Slog⁡(S)+Slog⁡(1/δ)ϵ4+log⁡(1/δ)ϵ2)O\left(\frac{S\log(S)+S\log(1/\delta)}{\epsilon^4}+\frac{\log(1/\delta)}{\epsilon^2}\right) for both distances. This proves that PCs of any graph are PAC learnable for discrete random variables.

There are still a number of future directions to explore. Notably, there remains a gap between the lower and upper bounds on the sample complexity of decomposable PC parameter learning, as well as efficient PAC learnability. Sample complexity upper and lower bounds for PCs of unknown structures is yet unknown to the best of our knowledge. Lastly, tight sample complexity bounds for PCs over continuous variables in the general case would be highly impactful, with a possible route via extending the results for tree-structured sum-product networks over Gaussian leaves (Aden-Ali and Ashtiani [1]) to DAG-structured PCs.

Derivation of Lemma 2 from Assouad’s Lemma

Here we provide a detailed derivation of how Lemma 2 can be derived from the statement of Assouad’s lemma seen in Tsybakov [36]. Furthermore, we show that Lemma 2 differs from that of Canonne [8] by a factor of 1/2 as the total variation distance satisfies the triangle inequality, while the squared Hellinger only satisfies the weak triangle inequality DH(P∥Q)2≤2(DH(P∥Z)2+DH(Z∥Q)2)D_{\mathrm{H}}(P\mathbin\Vert Q)^2 \le2(D_{\mathrm{H}}(P\mathbin\Vert Z)^2+D_{\mathrm{H}}(Z\mathbin\Vert Q)^2).

Lemma 6 (Assouad’s Lemma [36]). Let {0,1}r\{0,1\}^r be the set of all binary sequences of length rr. Let {Pv}v∈{0,1}r⊆C\{P_v\}_{v\in\{0,1\}^r}\subseteq\mathcal{C} be a set of 2r2^r probability measures, and let the corresponding expectations be denoted by Ev\mathbb{E}_v. Then,

inf⁡v^max⁡v∈{0,1}rEv[H(v,v^)]≥r2min⁡v,v′:H(v,v′)=1inf⁡ψ(Pv(ψ≠0)+Pv′(ψ≠1)).\inf_{\hat v}\max_{v\in\{0,1\}^r}\mathbb{E}_v[H(v,\hat v)] \ge\frac{r}{2}\min_{v,v':H(v,v')=1}\inf_{\psi}\left(P_v(\psi\ne0)+P_{v'}(\psi\ne1)\right).

where H(v,v′)H(v,v') is the Hamming distance between vv and v′v', inf⁡v^\inf_{\hat v} denotes the infimum over all estimators taking values in {0,1}r\{0,1\}^r, and where inf⁡ψ\inf_{\psi} denotes the infimum over all tests taking values in {0,1}\{0,1\}.

Tsybakov [36] makes the following observation in the continuous case: inf⁡ψ(Pv(ψ≠0)+Pv′(ψ≠1))=∫min⁡(dPv,dPv′)\inf_{\psi}(P_v(\psi\ne0)+P_{v'}(\psi\ne1))=\int\min(\mathrm{d}P_v,\mathrm{d}P_{v'}). Thus for the discrete case, this is equivalent to: inf⁡ψ(Pv(ψ≠0)+Pv′(ψ≠1))=∑xmin⁡(Pv(x),Pv′(x))\inf_{\psi}(P_v(\psi\ne0)+P_{v'}(\psi\ne1))=\sum_x\min(P_v(x),P_{v'}(x)). Using Le Cam’s inequalities, we have:

∑xmin⁡(Pv(x),Pv′(x))≥12(∑xPv(x)Pv′(x))2.\sum_x\min(P_v(x),P_{v'}(x))\ge\frac{1}{2}\left(\sum_x\sqrt{P_v(x)P_{v'}(x)}\right)^2.

Note that Lemma 2 uses v,v′∈{−1,1}rv,v'\in\{-1,1\}^r instead of v,v′∈{0,1}rv,v'\in\{0,1\}^r and adds the following conditions:

  1. For all v,v′∈{−1,1}rv,v'\in\{-1,1\}^r, the distance between Pv,Pv′P_v,P_{v'} is at least proportional to the Hamming distance:

DH(Pv∥Pv′)2≥αH(v,v′).D_{\mathrm{H}}(P_v\mathbin\Vert P_{v'})^2\ge\alpha H(v,v').
  1. For all v,v′∈{−1,1}rv,v'\in\{-1,1\}^r with H(v,v′)=1H(v,v')=1, the squared Hellinger distance of Pv,Pv′P_v,P_{v'} is small: DH(Pv∥Pv′)2≤βD_{\mathrm{H}}(P_v\mathbin\Vert P_{v'})^2\le\beta.

The squared Hellinger distance can be expressed as DH(Pv∥Pv′)2=1−∑xPv(x)Pv′(x)D_{\mathrm{H}}(P_v\mathbin\Vert P_{v'})^2=1-\sum_x\sqrt{P_v(x)P_{v'}(x)}. As such, if condition 2 is satisfied then we have that ∑xPv(x)Pv′(x)>(1−β)\sum_x\sqrt{P_v(x)P_{v'}(x)}>(1-\beta). If we take this over M≥1M\ge1 samples, we then have ∑xPv⊗M(x)Pv′⊗M(x)≥(1−β)M\sum_x\sqrt{P_v^{\otimes M}(x)P_{v'}^{\otimes M}(x)}\ge(1-\beta)^M. Next, using Condition 2,

inf⁡P^∈Amax⁡P∈{Pv}v∈{−1,1}rEv[H(v,v^)]≥r4(∑xPv⊗M(x)Pv′⊗M(x))2≥r4(1−β)2M.\inf_{\hat P\in\mathcal{A}}\max_{P\in\{P_v\}_{v\in\{-1,1\}^r}}\mathbb{E}_v[H(v,\hat v)] \ge\frac{r}{4}\left(\sum_x\sqrt{P_v^{\otimes M}(x)P_{v'}^{\otimes M}(x)}\right)^2 \ge\frac{r}{4}(1-\beta)^{2M}.

Finally, by Condition 1, and the fact that the squared Hellinger satisfies the weak triangle inequality DH(Pv∥Pv′)2≤2(DH(Pv∥P^)2+DH(P^∥Pv′)2)D_{\mathrm{H}}(P_v\mathbin\Vert P_{v'})^2\le2(D_{\mathrm{H}}(P_v\mathbin\Vert\hat P)^2+D_{\mathrm{H}}(\hat P\mathbin\Vert P_{v'})^2), we can say:

inf⁡P^∈Amax⁡P∈{Pv}v∈{−1,1}rEv[DH(P^∥P)2]≥αr8(1−β)2M.\inf_{\hat P\in\mathcal{A}}\max_{P\in\{P_v\}_{v\in\{-1,1\}^r}}\mathbb{E}_v[D_{\mathrm{H}}(\hat P\mathbin\Vert P)^2] \ge\frac{\alpha r}{8}(1-\beta)^{2M}.

Since {Pv}v∈{−1,1}r⊆C\{P_v\}_{v\in\{-1,1\}^r}\subseteq\mathcal{C}, this implies exactly the following statement of Lemma 2:

inf⁡P^max⁡P∈CEP[DH(P^∥P)2]≥αr8(1−β)2M.\inf_{\hat P}\max_{P\in\mathcal{C}}\mathbb{E}_P[D_{\mathrm{H}}(\hat P\mathbin\Vert P)^2]\ge\frac{\alpha r}{8}(1-\beta)^{2M}.

Proofs

Proof of Proposition 1

Let G\mathcal{G} be a deterministic PC structure of size SS. W.l.o.g. suppose every sum node has an even number of children, and assign an index in [1,S/2][1,S/2] to every pair of edges of the same sum node. We parameterize the PC to define PvP_v for each v={−1,1}S/2v=\{-1,1\}^{S/2}, where for every sum node nn, the parameters for half of its edges will be perturbed as θn,c[v]=1∣ch⁡(n)∣+vn,cτn\theta_{n,c}[v]=\frac{1}{|\operatorname{ch}(n)|}+v_{n,c}\tau_n, and the parameters for their counterparts θn,c[v]=1∣ch⁡(n)∣−vn,cτn\theta_{n,c}[v]=\frac{1}{|\operatorname{ch}(n)|}-v_{n,c}\tau_n. We set τn=η∣ch⁡(n)∣P(γn)=η24P(γn)2\tau_n=\sqrt{\frac{\eta}{|\operatorname{ch}(n)|P(\gamma_n)}}=\frac{\eta^2}{4P(\gamma_n)^2} and η≤min⁡P(γn)16∣ch⁡(n)∣D2\eta\le\min\frac{P(\gamma_n)}{16|\operatorname{ch}(n)|D^2} where DD is the maximum number of sum nodes in a tree shaped path. Recall that for a deterministic PC, evaluating on an instantiation xx is equivalent to taking the product of the parameters in the tree defined by xx, Pv(x)=∏(n,c)∈tree⁡(x)θn,c[v]P_v(x)=\prod_{(n,c)\in\operatorname{tree}(x)}\theta_{n,c}[v] and here we use P(γn)P(\gamma_n) as the probability of reaching node nn under the uniform circuit.

Note that for every edge (n,c)(n,c): if vn,c=vn,c′v_{n,c}=v'_{n,c} then θn,c[v]θn,c[v′]=(1∣ch⁡(n)∣±vn,cτn)2\theta_{n,c}[v]\theta_{n,c}[v']=(\frac{1}{|\operatorname{ch}(n)|}\pm v_{n,c}\tau_n)^2 where the sign ±\pm is determined by whether it is a perturbed or dependent edge; if vn,c≠vn,c′v_{n,c}\ne v'_{n,c} then θn,c[v]⋅θn,c[v′]=(1∣ch⁡(n)∣+τn)(1∣ch⁡(n)∣−τn)=1∣ch⁡(n)∣2−τn2\theta_{n,c}[v]\cdot\theta_{n,c}[v']=(\frac{1}{|\operatorname{ch}(n)|}+\tau_n)(\frac{1}{|\operatorname{ch}(n)|}-\tau_n)=\frac{1}{|\operatorname{ch}(n)|^2}-\tau_n^2. Then we have:

DH(Pv∥Pv′)2=1−∑xPv(x)Pv′(x)=1−∑x∏n,c(θn,c[v]θn,c[v′])I((n,c)∈tree⁡(x))=1−∑x[∏n,c:vn,c=vn,c′(1∣ch⁡(n)∣±vn,cτn)I((n,c)∈tree⁡(x))⋅∏n,c:vn,c≠vn,c′(1∣ch⁡(n)∣2−τn2)I((n,c)∈tree⁡(x))].(2)\begin{aligned} D_{\mathrm{H}}(P_v\mathbin\Vert P_{v'})^2 &=1-\sum_x\sqrt{P_v(x)P_{v'}(x)}\\ &=1-\sum_x\sqrt{\prod_{n,c}\left(\theta_{n,c}[v]\theta_{n,c}[v']\right)^{\mathbb{I}((n,c)\in\operatorname{tree}(x))}}\\ &=1-\sum_x\left[\prod_{n,c:v_{n,c}=v'_{n,c}}\left(\frac{1}{|\operatorname{ch}(n)|}\pm v_{n,c}\tau_n\right)^{\mathbb{I}((n,c)\in\operatorname{tree}(x))}\right.\\ &\qquad\left.\cdot\prod_{n,c:v_{n,c}\ne v'_{n,c}}\left(\frac{1}{|\operatorname{ch}(n)|^2}-\tau_n^2\right)^{\mathbb{I}((n,c)\in\operatorname{tree}(x))}\right]. \tag*{(2)} \end{aligned}

For given v,v′v,v', we can parameterize the same PC structure using the following:

ψn,c={1∣ch⁡(n)∣+vn,cτnif vn,c=vn,c′,1∣ch⁡(n)∣2−τn2if vn,c≠vn,c′.\psi_{n,c}= \begin{cases} \frac{1}{|\operatorname{ch}(n)|}+v_{n,c}\tau_n & \text{if }v_{n,c}=v'_{n,c},\\ \sqrt{\frac{1}{|\operatorname{ch}(n)|^2}-\tau_n^2} & \text{if }v_{n,c}\ne v'_{n,c}. \end{cases}

Next, we will normalize ψn,c\psi_{n,c} to define a valid probability distribution. To that end, we first compute the normalization constant for each nn as follows:

∑c∈ch⁡(n)ψn,c=12∑c:vn,c=vn,c′(1∣ch⁡(n)∣+τ+∣1∣ch⁡(n)∣−τ∣)+∑c:vn,c≠vn,c′1∣ch⁡(n)∣2−τn2=∑c:vn,c=vn,c′1∣ch⁡(n)∣+∑c:vn,c≠vn,c′1∣ch⁡(n)∣2−τn2=∑c:vn,c=vn,c′1∣ch⁡(n)∣+∑c:vn,c≠vn,c′(1∣ch⁡(n)∣−ρn)=1−∑c:vn,c≠vn,c′ρn=1−ρnHn(v,v′),(3)\begin{aligned} \sum_{c\in\operatorname{ch}(n)}\psi_{n,c} &=\frac{1}{2}\sum_{c:v_{n,c}=v'_{n,c}}\left(\frac{1}{|\operatorname{ch}(n)|}+\tau+\left|\frac{1}{|\operatorname{ch}(n)|}-\tau\right|\right)\\ &\quad+\sum_{c:v_{n,c}\ne v'_{n,c}}\sqrt{\frac{1}{|\operatorname{ch}(n)|^2}-\tau_n^2}\\ &=\sum_{c:v_{n,c}=v'_{n,c}}\frac{1}{|\operatorname{ch}(n)|}+\sum_{c:v_{n,c}\ne v'_{n,c}}\sqrt{\frac{1}{|\operatorname{ch}(n)|^2}-\tau_n^2}\\ &=\sum_{c:v_{n,c}=v'_{n,c}}\frac{1}{|\operatorname{ch}(n)|}+\sum_{c:v_{n,c}\ne v'_{n,c}}\left(\frac{1}{|\operatorname{ch}(n)|}-\rho_n\right)\\ &=1-\sum_{c:v_{n,c}\ne v'_{n,c}}\rho_n\\ &=1-\rho_n H_n(v,v'), \tag*{(3)} \end{aligned}

where ρn=2∣ch⁡(n)∣−21∣ch⁡(n)∣2−τn2=ηP(γn)\rho_n=\frac{2}{|\operatorname{ch}(n)|}-2\sqrt{\frac{1}{|\operatorname{ch}(n)|^2}-\tau_n^2}=\frac{\eta}{P(\gamma_n)} to derive (3), and HnH_n refers to the Hamming distance over only the indices corresponding to edges of nn. Then, for each sum node nn, we define a normalized distribution θ~n,c\tilde{\theta}_{n,c} as follows:

θ~n,c={1∣ch⁡(n)∣+vnτn1−ρnHn(v,v′),if vn,c=vn,c′,1∣ch⁡(n)∣2−τn21−ρnHn(v,v′),if vn,c≠vn,c′.\tilde{\theta}_{n,c}= \begin{cases} \dfrac{\frac{1}{|\operatorname{ch}(n)|}+v_n\tau_n}{1-\rho_nH_n(v,v')},&\text{if }v_{n,c}=v'_{n,c},\\[6pt] \dfrac{\sqrt{\frac{1}{|\operatorname{ch}(n)|^2}-\tau_n^2}}{1-\rho_nH_n(v,v')},&\text{if }v_{n,c}\ne v'_{n,c}. \end{cases}

Therefore, the squared Hellinger distance via (2) can be expressed as:

1−∑x∏(n,c)∈tree⁡(x)ψn,c=1−∑x∏(n,c)∈tree⁡(x)θ~n,c(1−ρnHn)=Et∼P~[1−∏n∈t(1−ρnHn)].(4)\begin{aligned} 1-\sum_x\prod_{(n,c)\in\operatorname{tree}(x)}\psi_{n,c} &=1-\sum_x\prod_{(n,c)\in\operatorname{tree}(x)}\tilde{\theta}_{n,c}(1-\rho_nH_n)\\ &=\mathbb{E}_{t\sim\tilde{P}}\left[1-\prod_{n\in t}(1-\rho_nH_n)\right]. \tag*{(4)} \end{aligned}

We lower- and upper-bound the above using the fact that we set ρnHn∈[0,1]\rho_nH_n\in[0,1] and Weierstrass’ inequality, respectively, as our choice of τn\tau_n ensures the necessary conditions to apply them—W=max⁡t∑n∈tρnHn≤D32D2=132DW=\max_t\sum_{n\in t}\rho_nH_n\le\frac{D}{32D^2}=\frac{1}{32D} and ρnHn≤1\rho_nH_n\le1:

1−e−WW∑n∈tρnHn≤1−∏n∈t(1−ρnHn)≤∑n∈tρnHn.\frac{1-e^{-W}}{W}\sum_{n\in t}\rho_nH_n\le1-\prod_{n\in t}(1-\rho_nH_n)\le\sum_{n\in t}\rho_nH_n.

As W<1W<1, we can improve this to the following:

(1−164D)∑n∈tρnHn≤1−∏n∈t(1−ρnHn)≤∑n∈tρnHn.\left(1-\frac{1}{64D}\right)\sum_{n\in t}\rho_nH_n\le1-\prod_{n\in t}(1-\rho_nH_n)\le\sum_{n\in t}\rho_nH_n.

Thus, we can bound the expectation in (4) from below using Et∼P~[(1−164D)∑n∈tρnHn]≥6364∑nρnHnEt∼P~[I(n∈t)]=6364∑nρnHnP~(γn)\mathbb{E}_{t\sim\tilde{P}}\left[\left(1-\frac{1}{64D}\right)\sum_{n\in t}\rho_nH_n\right]\ge\frac{63}{64}\sum_n\rho_nH_n\mathbb{E}_{t\sim\tilde{P}}[I(n\in t)]=\frac{63}{64}\sum_n\rho_nH_n\tilde{P}(\gamma_n) and similarly from above using Et∼P~[∑n∈tρnHn]=∑nρnHnP~(γn)\mathbb{E}_{t\sim\tilde{P}}\left[\sum_{n\in t}\rho_nH_n\right]=\sum_n\rho_nH_n\tilde{P}(\gamma_n).

Next, remember that θ~n,c=ψn,c∑c′ψn,c′\tilde{\theta}_{n,c}=\frac{\psi_{n,c}}{\sum_{c'}\psi_{n,c'}} and

1∣ch⁡(n)∣−τn≤ψn,c≤1∣ch⁡(n)∣+τn.\frac{1}{|\operatorname{ch}(n)|}-\tau_n\le\psi_{n,c}\le\frac{1}{|\operatorname{ch}(n)|}+\tau_n.

Since Hn≤∣ch⁡(n)∣2H_n\le\frac{|\operatorname{ch}(n)|}{2}, we have that

∑c′ψn,c′=1−ρnHn≥1−∣ch⁡(n)∣2ρn=1−∣ch⁡(n)∣2τn2.\sum_{c'}\psi_{n,c'}=1-\rho_nH_n\ge1-\frac{|\operatorname{ch}(n)|}{2}\rho_n=\sqrt{1-|\operatorname{ch}(n)|^2\tau_n^2}.

This allows us to say that:

1∣ch⁡(n)∣−τn≤θ~n,c≤1∣ch⁡(n)∣(1−∣ch⁡(n)∣τn).\frac{1}{|\operatorname{ch}(n)|}-\tau_n\le\tilde{\theta}_{n,c}\le\frac{1}{|\operatorname{ch}(n)|(1-|\operatorname{ch}(n)|\tau_n)}.

Now, by our choice of η\eta, we know that ρn≤116∣ch⁡(n)∣D2\rho_n\le\frac{1}{16|\operatorname{ch}(n)|D^2}, which implies τn≤1∣ch⁡(n)∣ρn≤14∣ch⁡(n)∣D\tau_n\le\sqrt{\frac{1}{|\operatorname{ch}(n)|}\rho_n}\le\frac{1}{4|\operatorname{ch}(n)|D} and τn∣ch⁡(n)∣≤14D\tau_n|\operatorname{ch}(n)|\le\frac{1}{4D}. Therefore,

1−14D≤θ~n,c1/∣ch⁡(n)∣≤(1−14D)−1.1-\frac{1}{4D}\le\frac{\tilde{\theta}_{n,c}}{1/|\operatorname{ch}(n)|}\le\left(1-\frac{1}{4D}\right)^{-1}.

Since DD is the maximum number of edges in a tree-shaped path through the circuit, we have that any root to node path contains at most DD factors, which yields,

(1−14D)DP(γn)≤P~(γn)≤(1−14D)−DP(γn).\left(1-\frac{1}{4D}\right)^D P(\gamma_n)\le\tilde{P}(\gamma_n)\le\left(1-\frac{1}{4D}\right)^{-D}P(\gamma_n).

Taking Bernoulli’s inequality gives us (1−14D)D≤1−D4D=34\left(1-\frac{1}{4D}\right)^D\le1-\frac{D}{4D}=\frac{3}{4} and thus

34P(γn)≤P~(γn)≤43P(γn).\frac{3}{4}P(\gamma_n)\le\tilde{P}(\gamma_n)\le\frac{4}{3}P(\gamma_n).

Furthermore, w=max⁡t∑n∈tρnHn≤D32D2=132Dw=\max_t\sum_{n\in t}\rho_nH_n\le\frac{D}{32D^2}=\frac{1}{32D} and since 1−w2≥1−164D≥63641-\frac{w}{2}\ge1-\frac{1}{64D}\ge\frac{63}{64} we can put this together to prove the constructed family meets the conditions of Lemma 2.

DH(Pv∥Pv′)2≥(1−w2)∑nρnHnPv(γn)≥636434∑n,cηP(γn)HnPv(γn)≥189256ηH(v,v′)\begin{aligned} D_H(P_v\|P_{v'})^2\ge\left(1-\frac{w}{2}\right)\sum_n\rho_nH_nP_v(\gamma_n) \\ &\ge\frac{63}{64}\frac{3}{4}\sum_{n,c}\frac{\eta}{P(\gamma_n)}H_nP_v(\gamma_n) \\ &\ge\frac{189}{256}\eta H(v,v') \end{aligned}

and

DH(Pv∥Pv′)≤∑nρnP~(γn)≤ηP(γ)P~(γn)≤43ηD_H(P_v\|P_{v'})\le\sum_n\rho_n\tilde{P}(\gamma_n)\le\frac{\eta}{P(\gamma)}\tilde{P}(\gamma_n)\le\frac{4}{3}\eta

Proof of Lemma 3

Suppose that P^\hat{P} and PP are deterministic and decomposable PCs with the same structure over variables YY. Then for all yy:

log⁡(P^(y)P(y))=log⁡(∏e∈tree⁡(y)θ^e∏e∈tree⁡(y)θe)=∑e∈tree⁡(y)log⁡(θ^eθe)=∑n,clog⁡(θ^n,cθn,c)I((n,c)∈tree⁡(y))\begin{aligned} \log\left(\frac{\hat{P}(y)}{P(y)}\right) = \log\left(\frac{\prod_{e \in\operatorname{tree}(y)} \hat{\theta}_e}{\prod_{e \in\operatorname{tree}(y)} \theta_e}\right) = \sum_{e \in\operatorname{tree}(y)} \log\left(\frac{\hat{\theta}_e}{\theta_e}\right) \\ &= \sum_{n,c} \log\left(\frac{\hat{\theta}_{n,c}}{\theta_{n,c}}\right) \mathbb{I}\left((n,c) \in\operatorname{tree}(y)\right) \end{aligned}

Next, use the definition of the reverse KL divergence:

DKL(P^∥P)=∑yP^(y)log⁡(P^(y)P(y))=∑yP^(y)∑n,clog⁡(θ^n,cθn,c)I((n,c)∈tree⁡(y))=∑n,clog⁡(θ^n,cθn,c)∑yP^(y)I((n,c)∈tree⁡(y))=∑n,clog⁡(θ^n,cθn,c)P^(I((n,c) is active))\begin{aligned} D_{\mathrm{KL}}(\hat{P}\mathbin\Vert P) = \sum_y \hat{P}(y) \log\left(\frac{\hat{P}(y)}{P(y)}\right) \\ &= \sum_y \hat{P}(y) \sum_{n,c} \log\left(\frac{\hat{\theta}_{n,c}}{\theta_{n,c}}\right) \mathbb{I}\left((n,c) \in\operatorname{tree}(y)\right) \\ &= \sum_{n,c} \log\left(\frac{\hat{\theta}_{n,c}}{\theta_{n,c}}\right) \sum_y \hat{P}(y) \mathbb{I}\left((n,c) \in\operatorname{tree}(y)\right) \\ &= \sum_{n,c} \log\left(\frac{\hat{\theta}_{n,c}}{\theta_{n,c}}\right) \hat{P}\left(\mathbb{I}\left((n,c)\text{ is active}\right)\right) \end{aligned}

Our event in this case can be seen as two parts: (1) the probability of the context of the node, and (2) the probability of the context of the child. Thus,

∑n,clog⁡(θ^n,cθn,c)P^(γn∧γc)=∑n,clog⁡(θ^n,cθn,c)P^(γn)P^(γc∣γn)=∑n,clog⁡(θ^n,cθn,c)P^(γn)θ^n,c=∑nP^(γn)DKL(P^c∥Pc).\begin{aligned} \sum_{n,c} \log\left(\frac{\hat{\theta}_{n,c}}{\theta_{n,c}}\right) \hat{P}(\gamma_n \wedge\gamma_c) = \sum_{n,c} \log\left(\frac{\hat{\theta}_{n,c}}{\theta_{n,c}}\right) \hat{P}(\gamma_n)\hat{P}(\gamma_c \mid\gamma_n) \\ &= \sum_{n,c} \log\left(\frac{\hat{\theta}_{n,c}}{\theta_{n,c}}\right) \hat{P}(\gamma_n)\hat{\theta}_{n,c} \\ &= \sum_n \hat{P}(\gamma_n)D_{\mathrm{KL}}(\hat{P}_c\mathbin\Vert P_c). \end{aligned}

Experimental Results

We compute our proposed bound for δ=0.1\delta= 0.1 on the train and test sets of density estimation benchmark datasets. Table 1 and Table 2 show that we are able to achieve a number of non-trivial results, and the bound improving as the number of samples grows larger.

References

  1. [1]Aden-Ali, I.; and Ashtiani, H. 2020. On the sample complexity of learning sum-product networks. In International Conference on Artificial Intelligence and Statistics, 4508–4518. PMLR.
  2. [2]Agrawal, R. 2020. Finite-sample concentration of the multinomial relative entropy. IEEE Transactions on Information Theory, 66(10): 6297–6302.DOI
  3. [3]Ashtiani, H.; Ben-David, S.; Harvey, N. J.; Liaw, C.; Mehrabian, A.; and Plan, Y. 2020. Near-optimal sample complexity bounds for robust learning of gaussian mixtures via compression schemes. Journal of the ACM, 67(6): 1–42.DOI
  4. [4]Assouad, P. 1983. Deux remarques sur l’estimation. Comptes rendus des séances de l’Académie des sciences. Série 1, Mathématique, 296(23): 1021–1024.
  5. [5]Bekker, J.; Davis, J.; Choi, A.; Darwiche, A.; and Van den Broeck, G. 2015. Tractable learning for complex probability queries. Advances in Neural Information Processing Systems, 28.
  6. [6]Bova, S.; Capelli, F.; Mengel, S.; and Slivovsky, F. 2016. Knowledge Compilation Meets Communication Complexity. In IJCAI, volume 16, 1008–1014.
  7. [7]Canonne, C. L. 2020a. A short note on learning discrete distributions. arXiv preprint arXiv:2002.11457.arxiv.org/abs/2002.11457
  8. [8]Canonne, C. L. 2020b. A survey on distribution testing: Your data is big. But is it blue? Theory of Computing, 1–100.
  9. [10]Choi, A.; and Darwiche, A. 2017. On relaxing determinism in arithmetic circuits. In International Conference on Machine Learning, 825–833. PMLR.arxiv.org/abs/1708.06846
  10. [11]Choi, Y.; Dang, M.; and Van den Broeck, G. 2021. Group Fairness by Probabilistic Modeling with Latent Fair Decisions. In Proceedings of the 35th AAAI Conference on Artificial Intelligence.
  11. [12]Choi, Y.; Vergari, A.; and Van den Broeck, G. 2020. Probabilistic circuits: A unifying framework for tractable probabilistic models. UCLA. URL: http://starai. cs. ucla. edu/papers/ProbCirc20. pdf, 6.
  12. [13]Chow, C.; and Liu, C. 1968. Approximating discrete probability distributions with dependence trees. IEEE Transactions on Information Theory, 14(3): 462–467.DOI
  13. [14]Cohen, D.; Kontorovich, A.; and Wolfer, G. 2020. Learning discrete distributions with infinite support. Advances in Neural Information Processing Systems, 33: 3942–3951.arxiv.org/abs/2004.12680
  14. [15]Dang, M.; Liu, A.; and Van den Broeck, G. 2022. Sparse probabilistic circuits via pruning and growing. Advances in Neural Information Processing Systems, 35: 28374–28385.arxiv.org/abs/2211.12551
  15. [16]Darwiche, A. 2002. A logical approach to factoring belief networks. KR, 2: 409–420.
  16. [17]Darwiche, A. 2003. A differential approach to inference in Bayesian networks. J. ACM, 50(3): 280–305.arxiv.org/abs/1301.3847
  17. [18]Dasgupta, S. 1997. The sample complexity of learning fixed-structure Bayesian networks. Machine Learning, 29(2): 165–180.DOI
  18. [20]Devroye, L.; and Lugosi, G. 2001. Combinatorial methods in density estimation, volume 1. Springer.DOI
  19. [21]Elidan, G.; and Gould, S. 2008. Learning bounded treewidth Bayesian networks. Advances in neural information processing systems, 21.
  20. [22]Friedman, N.; and Yakhini, Z. 1996. On the sample complexity of learning Bayesian networks. In Proceedings of the Twelfth international conference on Uncertainty in artificial intelligence, 274–282.
  21. [23]Kisa, D.; Van den Broeck, G.; Choi, A.; and Darwiche, A. 2014. Probabilistic Sentential Decision Diagrams. In KR.
  22. [24]Larochelle, H.; and Murray, I. 2011. The neural autoregressive distribution estimator. In Proceedings of the fourteenth international conference on artificial intelligence and statistics, 29–37. JMLR Workshop and Conference Proceedings.
  23. [25]Leland, J.; and Choi, Y. 2026. On the hardness of approximating distributions with tractable probabilistic models. Advances in Neural Information Processing Systems, 38: 42977–43000.arxiv.org/abs/2506.01281
  24. [26]Liang, Y.; Bekker, J.; and Van den Broeck, G. 2017. Learning the structure of probabilistic sentential decision diagrams. In Proceedings of the 33rd Conference on Uncertainty in Artificial Intelligence (UAI).
  25. [27]Liu, A.; Ahmed, K.; and Van den Broeck, G. 2024. Scaling Tractable Probabilistic Circuits: A Systems Perspective. In Proceedings of the 41th International Conference on Machine Learning (ICML).arxiv.org/abs/2406.00766
  26. [28]Loconte, L.; Mengel, S.; and Vergari, A. 2025. Sum of squares circuits. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 39, 19077–19085.
  27. [29]Lowd, D.; and Davis, J. 2010. Learning Markov network structure with decision trees. In 2010 IEEE International Conference on Data Mining, 334–343. IEEE.DOI
  28. [30]Martens, J.; and Medabalimi, V. 2014. On the expressive efficiency of sum product networks. arXiv:1411.7717.arxiv.org/abs/1411.7717
  29. [31]Peharz, R.; Gens, R.; Pernkopf, F.; and Domingos, P. 2016. On the latent variable interpretation in sum-product networks. IEEE transactions on pattern analysis and machine intelligence, 39(10): 2030–2044.arxiv.org/abs/1601.06180
  30. [32]Poon, H.; and Domingos, P. 2011. Sum-product networks: A new deep architecture. In 2011 IEEE International Conference on Computer Vision Workshops (ICCV Workshops), 689–690. IEEE.arxiv.org/abs/1202.3732
  31. [33]Rahman, T.; Kothalkar, P.; and Gogate, V. 2014. Cutset networks: A simple, tractable, and scalable approach for improving the accuracy of chow-liu trees. In Machine Learning and Knowledge Discovery in Databases: European Conference, ECML PKDD 2014, Nancy, France, September 15-19, 2014. Proceedings, Part II 14, 630–645. Springer.DOI
  32. [34]Servedio, R. A. 2025. The Probably Approximately Correct Learning Model in Computational Learning Theory. arXiv preprint arXiv:2511.08791.
  33. [35]Suresh, A. T. 2021. Robust hypothesis testing and distribution estimation in hellinger distance. In International Conference on Artificial Intelligence and Statistics, 2962–2970. PMLR.arxiv.org/abs/2011.01848
  34. [36]Tsybakov, A. B. 2008. Introduction to Nonparametric Estimation. Springer Publishing Company. ISBN 0387790519.
  35. [37]Van Haaren, J.; and Davis, J. 2012. Markov network structure learning: A randomized feature generation approach. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 26, 1148–1154.
  36. [38]Wang, B.; and Van den Broeck, G. 2025. On the relationship between monotone and squared probabilistic circuits. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 39, 21026–21034.arxiv.org/abs/2408.00876
  37. [39]Yu, B. 1997. Assouad, fano, and le cam. In Festschrift for Lucien Le Cam: research papers in probability and statistics, 423–435. Springer.DOI
  38. [40]Zhang, H.; Juba, B.; and Van den Broeck, G. 2021. Probabilistic generating circuits. In International Conference on Machine Learning, 12447–12457. PMLR.arxiv.org/abs/2102.09768

Paper details

vlnc:W_uyyvvmnk
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 6

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents