ABSTRACT. We prove that every strictly positive probability distribution on {−1,1}n is represented exactly by a sigmoid belief network with finite parameters. This answers a question of Sutskever and Hinton. The proof upgrades their probability-sharing approximation to exact representation using Brouwer's fixed-point theorem.
Main results. A sigmoid belief network consists of binary random vectors
Vk∈{−1,1}dk,k=0,…,N.
The network is generated from VN to V0: the top layer VN is sampled first, and the remaining layers are generated successively downwards. The visible layer is V0; its law is the probability distribution represented by the network.
Let
σ(t)=1+e−t1
be the logistic function. The coordinates of VN are independent, with
P(VN(j)=1)=σ(bN(j))for some bN∈RdN.
For k=0,…,N−1, set:
Uk=WkVk+1+bk,
where
Wk∈Rdk×dk+1,bk∈Rdk.
Conditional on Vk+1, the coordinates of Vk are independent, with
P(Vk(j)=1∣Vk+1)=σ(Uk(j)),
where Vk(j) and Uk(j) denote the jth coordinates.
Sutskever and Hinton [6] proved that deep and narrow sigmoid belief networks are universal approximators. More precisely, every probability distribution on {−1,1}n can be approximated arbitrarily well by a sigmoid belief network of maximal layer width n+1 and depth
3(2n−1)+1.
Their construction gives arbitrary approximation, but not exact representation with finite parameters. Sutskever and Hinton asked whether every strictly positive distribution can be represented exactly. We answer this question affirmatively.
Theorem 1.1. Every probability distribution π on {−1,1}n such that
π(x)>0,x∈{−1,1}n,
is exactly representable by a sigmoid belief network with finite parameters. The network may be chosen with maximal layer width n+1 and depth 3(2n−1)+1.
Strict positivity is necessary. For finite weights and biases, the top layer has full support and all transition probabilities are strictly positive; hence, every configuration of V0 has positive probability.
Our proof is topological and uses Brouwer's fixed point theorem. It shows that suitable finite network parameters exist, but does not provide an algorithm for finding them. It would be interesting to find a constructive proof.
In § 2, we recall the sharing construction of Sutskever and Hinton, rederive their approximation theorem, and study the limiting behavior of the resulting networks. In § 3, we use this analysis to prove Theorem 1.1.
Sigmoid belief networks go back to Neal [5]. Their representational properties were studied by Le Roux and Bengio [1], who raised the question of universality under restrictions on the width. Sutskever and Hinton [6] answered this question affirmatively. Subsequent work sharpened these approximation results; see [2–4]. These results concern arbitrary approximation rather than exact representation. To the best of our knowledge, the question of exact representation remained open.
Sharing. We recall the sharing construction of Sutskever and Hinton [6], written in our {−1,1} notation.
Enumerate:
{−1,1}n={x0,…,xM},M=2n−1.
Consider two vectors x0,xi and p∈[0,1]. A sharing from x0 to xi with parameter p transfers a fraction p of the mass at x0 to xi. It transforms a distribution μ into
μ′(x0)=(1−p)μ(x0),μ′(xi)=μ(xi)+pμ(x0),
and leaves all other probabilities unchanged.
Sharings generate every distribution on {−1,1}n. Start with a distribution concentrated at the single point x0. For i=1,…,M, share from x0 to xi with parameter pi. Suppose that the desired masses
π1,…,πi−1
have already been placed at x1,…,xi−1. The mass remaining at x0 is
π0+πi+⋯+πM.
Hence,
pi=π0+πi+⋯+πMπi
places precisely the mass πi at xi. Proceeding for i=1,…,M, we obtain π.
In our application, πi>0 for all i. Hence, pi∈(0,1), and the above formula recovers each pi from π. Thus, the construction gives a one-to-one map between the parameter vectors
(p1,…,pM)∈(0,1)M
and the strictly positive probability distributions on {x0,…,xM}.
We now recall how to approximate one sharing by a sigmoid belief network. Fix i∈{1,…,M} and p∈(0,1). The network has four layers
Input,H1,H2,Output,
of dimensions n,n+1,n+1,n, respectively. Write
X∈{−1,1}n,H1=(Z1,A),H2=(Z2,B),Y∈{−1,1}n,
where Z1,Z2∈{−1,1}n and A,B∈{−1,1}. Fix w>0, and set:
εw:=σ(−w)=1+ew1⩽e−w.
Step 1: copy the input. For j=1,…,n, set:
UZ1(j)=wX(j).
Then:
P(Z1(j)=X(j)∣X)=σ(w)=1−εw,
and therefore:
P(Z1=X∣X)⩽nεw.
Step 2: detect x0. Set:
UA=w(⟨x0,X⟩−n+1).
If X=x0, then UA=w, so:
P(A=−1∣X=x0)=εw.
If X=x0, then:
⟨x0,X⟩⩽n−2,
and hence UA⩽−w. Thus:
P(A=1∣X=x0)⩽εw.
Step 3: pass the input forward. For j=1,…,n, set:
UZ2(j)=wZ1(j).
Then:
P(Z2=Z1∣Z1)⩽nεw.
Step 4: decide whether to share. Set:
UB=2w+σ−1(p)A+2σ−1(p)−w.
If A=1, then:
UB=σ−1(p),P(B=1∣A=1)=p.
If A=−1, then:
UB=−w,P(B=1∣A=−1)=εw.
Step 5: produce the output. For j=1,…,n, set:
UY(j)=wZ2(j)+wxi(j)(B+1).
If B=−1, then:
UY(j)=wZ2(j),
and hence:
P(Y=Z2∣Z2,B=−1)⩽nεw.
If B=1, then:
xi(j)UY(j)=wxi(j)Z2(j)+2w⩾w,
and therefore:
P(Y=xi∣Z2,B=1)⩽nεw.
Sharing is successful if:
(i) Z1=X;
(ii) A correctly detects whether X=x0;
(iii) Z2=Z1;
(iv) if A=−1, then B=−1;
(v) Y=Z2 if B=−1, and Y=xi if B=1.
If A=1, no condition is imposed on B; in this case,
P(B=1∣A=1)=p
is precisely the condition for the sharing.
If successful, the network performs the sharing exactly. By the union bound:
P(sharingfails∣X)⩽(3n+2)εw⩽(3n+2)e−w.
Thus, as w→∞, the network converges uniformly in p∈(0,1) and X∈{−1,1}n to the sharing
X⟼⎩⎨⎧X,xi,x0,X=x0,X=x0 with probability p,X=x0 with probability 1−p.
We now compose the sharings. Let
p=(p1,…,pM)∈(0,1)M.
Start with the distribution concentrated at x0. For i=1,…,M, share from x0 to xi with parameter pi. Denote the resulting distribution by Φ(p). Thus, Φ is a one-to-one map from (0,1)M onto the strictly positive probability distributions on {x0,…,xM}.
Replace each sharing by the sigmoid belief network above. The output layer of one sharing is the input layer of the next. Hence, starting with the initial layer, each sharing adds three more layers. Thus, M sharings is a network of depth
3M+1=3(2n−1)+1.
Initialize the network. By definition, a sigmoid belief network with finite parameters cannot have its top layer concentrated at a single vector; therefore, choose
bN(j)=wx0(j),j=1,…,n.
Then:
P(VN(j)=x0(j))=σ(w),
and hence:
P(VN=x0)⩽nεw.
Let Φw(p) be the resulting distribution of V0. Initialization fails with probability at most nεw, and each of the M sharings fails with probability at most (3n+2)εw. Hence, the entire network can be coupled with the ideal sequence of sharings so that:
P(thetwooutputsdiffer)⩽[n+M(3n+2)]εw.
Consequently:
∥Φw(p)−Φ(p)∥TV⩽[n+M(3n+2)]e−w.
In particular:
p∈(0,1)Msup∥Φw(p)−Φ(p)∥TV⟶0asw→∞.
The uniformity in p will be essential in passing from approximation to exact representation.
Proof of Theorem 1.1. Let
Δ∘={(π0,…,πM):πi>0,i=0∑Mπi=1}
be the interior of the probability simplex. From §2, the successive sharings define a continuous map
Φ:(0,1)M⟶Δ∘.
Its inverse is given by
Φ−1(π)i=π0+πi+⋯+πMπi,i=1,…,M.
Thus, Φ is a homeomorphism.
For w>0, let
Φw:(0,1)M⟶Δ∘
be the map which assigns to p=(p1,…,pM) the distribution of the sigmoid belief network constructed in §2. The map Φw is continuous, and
p∈(0,1)Msup∥Φw(p)−Φ(p)∥TV⟶0asw→∞.
Fix the target distribution π∈Δ∘, and set:
p∗:=Φ−1(π)∈(0,1)M.
Choose δ>0 so small that the closed cube
D:={p∈RM:∥p−p∗∥∞⩽δ}
is contained in (0,1)M. Since D is compact, Φ(D)⊂Δ∘ is compact. Choose a compact neighborhood S⊂Δ∘ of Φ(D). Since Φw→Φ uniformly on D,
Φw(D)⊂Sforalllargeenoughw.
Since Φ−1 is uniformly continuous on S,
p∈DsupΦ−1(Φw(p))−p∞⟶0.
Choose w so large that
Φ−1(Φw(p))−p∞<δforallp∈D.
Define:
T:D⟶RM,T(p):=p∗+p−Φ−1(Φw(p)).
Then:
∥T(p)−p∗∥∞=p−Φ−1(Φw(p))∞<δ.
Hence, T(D)⊂D. Moreover, T is continuous. By Brouwer's fixed point theorem, T has a fixed point p∈D:
p=p∗+p−Φ−1(Φw(p)).
Hence:
Φ−1(Φw(p))=p∗=Φ−1(π).
Consequently, Φw(p)=π, and the proof follows.
References
[1] N. Le Roux and Y. Bengio. Representational power of restricted Boltzmann machines and deep belief networks. Neural Computation, 20(6):1631–1649, 2008.
[2] N. Le Roux and Y. Bengio. Deep belief networks are compact universal approximators. Neural Computation, 22(8):2192–2207, 2010.
[3] T. Merkh and G. Montúfar. Stochastic feedforward neural networks: Universal approximation. In Mathematical Aspects of Deep Learning, pages 267–313. Cambridge University Press, 2022.
[4] G. Montúfar and N. Ay. Refinements of universal approximation results for deep belief networks and restricted Boltzmann machines. Neural Computation, 23(5):1306–1319, 2011.
[5] R. Neal. Connectionist learning of belief networks. Artificial Intelligence, 56(1):71–113, 1992.
[6] I. Sutskever and G. Hinton. Deep, narrow sigmoid belief networks are universal approximators. Neural Computation, 20(11):2629–2636, 2008.
MATHEMATICAL SCIENCES INSTITUTE, AUSTRALIAN NATIONAL UNIVERSITY, CANBERRA, AUSTRALIA