Alphabeta Math
DefinitionDefinition: AI-adaptedProof: AI-generatedPipeline-generatedjudge pass (gpt-6-luna)
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

Binary restricted Boltzmann machine, exact likelihood gradient, and finite contrastive divergence

Definition

Assume AC. Let m,n≥1, visible states v∈{0,1}m, hidden states h∈{0,1}n, biases a∈Rm and b∈Rn, and weights W∈Rm×n; a finite bipartite graph is specified by requiring Wij=0 at every absent visible-hidden edge. Define E(v,h)=−aTv−bTh−vTWh, Z=∑v,hexp⁡(−E(v,h)), and p(v,h)=Z−1exp⁡(−E(v,h)); Z is finite and positive. Set p(v)=∑hp(v,h), and let V,H be the coordinate variables under p. For a finite mass function q, write Eq[g]=∑xq(x)g(x). With σ(t)=(1+exp⁡(−t))−1, and Bernoulli⁡(u;r) the mass on {0,1} with probability r at 1, the layer conditionals factorize as p(h∣v)=∏j=1nBernoulli⁡ ⁣(hj;σ ⁣(bj+(WTv)j)),p(v∣h)=∏i=1mBernoulli⁡ ⁣(vi;σ ⁣(ai+(Wh)i)), so each layer is conditionally independent given the other. For one observed v, the exact gradients are ∂log⁡p(v)∂Wij=viEp(h∣v)[hj]−Ep[ViHj],∂log⁡p(v)∂ai=vi−Ep[Vi],∂log⁡p(v)∂bj=Ep(h∣v)[hj]−Ep[Hj]. These are ambient derivatives in all parameters, evaluated at the specified W; when a graph fixes absent-edge weights to zero, retain only allowed-edge derivatives as free parameters. Define K(v,v′)=∑hp(h∣v)p(v′∣h), a row-stochastic transition matrix. Starting from q0v=δv, let qkv=q0vKk for a finite integer k≥1. For one observed v, define the finite contrastive-divergence components by g^Wij(k)(v)=viEp(h∣v)[hj]−∑v′qkv(v′)vi′Ep(h∣v′)[hj],g^ai(k)(v)=vi−∑v′qkv(v′)vi′,g^bj(k)(v)=Ep(h∣v)[hj]−∑v′qkv(v′)Ep(h∣v′)[hj]. They replace the exact negative-phase expectations under p(v′) by expectations under the finite k-step law qkv and conditional hidden law p(h∣v′). This finite-chain statistic is an approximation; no equality to the exact likelihood gradient or chain-convergence claim is asserted.

Bipartite architecture diagram

In this instance the left vertices are visible units, the right vertices are hidden units, and each drawn line is an allowed visible-hidden interaction; its weight may be zero for a particular parameter choice. Omitted pairs have weight fixed to zero. The diagram only records the bipartite interaction pattern. The conditional laws and proofs below follow from the displayed finite-state energy formula.

V1V2H1H2

Facts & Assumptions

Given: The finite binary state spaces, parameters and energy in the Definition, with AC for the library's conditional-independence convention.

[F1]

A random element is a measurable map on a probability space, so the visible and hidden coordinate maps are random elements of finite spaces. Random elements and real random variables.

[F2]

Conditional independence given a sigma-algebra means factorization of conditional expectations for every pair of bounded measurable real functions. Conditional independence given a sigma-algebra.

[F3]

Expectation of an integrable random variable is its Lebesgue integral; on a finite probability space it is the finite weighted sum used in the Definition. Expectation of a nonnegative or integrable random variable.

[A1]

AC is the explicit hypothesis of the conditional-independence convention, and here means that every family of nonempty sets has a choice function. Conditional independence given a sigma-algebra The Axiom of Choice.

Verification

technique · direct
1.1givenconstructalgebra

The state space {0,1}m×{0,1}n has 2m+n elements. Every term exp⁡(−E(v,h)) is finite and positive, so their finite sum Z is finite and positive; therefore p is a probability mass function.

2.1givenstep 1.1algebra

For fixed v, put cj=bj+(WTv)j. Then exp⁡(−E(v,h))=exp⁡(aTv)∏jexp⁡(hjcj), and summing over binary h gives exp⁡(aTv)∏j(1+exp⁡(cj)). Thus p(h∣v) is the product of Bernoulli masses with success probabilities exp⁡(cj)/(1+exp⁡(cj))=σ(cj).

2.2givenstep 1.1algebra

For fixed h, put di=ai+(Wh)i. Then exp⁡(−E(v,h))=exp⁡(bTh)∏iexp⁡(vidi), and summing over binary v gives exp⁡(bTh)∏i(1+exp⁡(di)). Hence p(v∣h) is the product of Bernoulli masses with success probabilities exp⁡(di)/(1+exp⁡(di))=σ(di).

2.3F3step 1.1algebra

For fixed observed v, p(v)=Z−1exp⁡(aTv)∑hexp⁡(bTh+vTWh). Differentiating these finite sums gives ∂Wijlog⁡p(v)=viEp(h∣v)[hj]−∂Wijlog⁡Z; the same calculation gives ∂ailog⁡p(v)=vi−∂ailog⁡Z and ∂bjlog⁡p(v)=Ep(h∣v)[hj]−∂bjlog⁡Z.

3.1F1F2A1step 2.1step 2.2

The product conditional mass functions in steps 2.1–2.2 make the conditional expectations of any bounded measurable functions of disjoint coordinates factor into the product of their conditional expectations. By [F1]–[F2], each layer is therefore conditionally independent given the other in the stated sigma-algebra sense. This use of the conditional-expectation convention is the only proof point needing [A1].

3.2F3step 2.3algebra

Differentiating the finite partition sum yields ∂Wijlog⁡Z=∑v′,h′vi′hj′p(v′,h′)=Ep[ViHj], ∂ailog⁡Z=Ep[Vi], and ∂bjlog⁡Z=Ep[Hj]. Substitution in step 2.3 gives the exact gradients in the Definition.

4.1step 2.1step 2.2step 3.2algebra∎

For each visible state v, ∑v′K(v,v′)=∑hp(h∣v)∑v′p(v′∣h)=∑hp(h∣v)=1. Thus K is a stochastic matrix and each qkv is a well-defined finite probability distribution. Replacing the exact negative-phase marginal p(v′) in the gradient formulas by qkv(v′) gives the finite contrastive-divergence statistic defined in the Statement.

Depends on

Used by

Dependency tree · two levels

12 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources