Alphabeta Math
TheoremStatement: 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.

The finite-state CD-k gradient includes the chain-distribution derivative

Statement

Let r be a positive integer, let X be finite and nonempty, and let Θ⊆Rr be open. For each x,y∈X, assume the coordinate partial derivatives of Eθ(x) and Kθ(x,y) exist and are continuous on Θ. Let Kθ be strictly positive and row-stochastic, so Kθ(x,y)>0 and ∑yKθ(x,y)=1. Use counting measure as the reference measure, set Zθ:=∑x∈Xe−Eθ(x),pθ(x):=e−Eθ(x)/Zθ, let q0 be a fixed probability vector on X, assume pθ is invariant for Kθ, and fix an integer k≥1. Define Kθ0=I, Kθs+1=KθsKθ, and qk,θ=q0Kθk, where vectors are row vectors, and L(θ):=−∑xq0(x)log⁡pθ(x),CD⁡k(θ):=DKL(q0∥pθ)−DKL(qk,θ∥pθ), where for finite probability mass functions a,b with b(x)>0, DKL(a∥b):=∑x:a(x)>0a(x)log⁡a(x)b(x) with log⁡ the natural logarithm and zero-mass terms contributing zero. For each parameter coordinate j, ∂jL(θ)=∑xq0(x)∂jEθ(x)−∑xpθ(x)∂jEθ(x), while ∂jCD⁡k(θ)=∑xq0(x)∂jEθ(x)−∑xqk,θ(x)∂jEθ(x)−∑x∂jqk,θ(x)log⁡qk,θ(x)pθ(x). The reconstruction-law derivative is ∂jqk,θ=∑s=0k−1q0Kθs(∂jKθ)Kθk−1−s. Thus the population direction used by stop-gradient CD-k is the first two terms of the displayed ∂jCD⁡k formula and omits the explicit derivative through the k transition kernels. It also replaces the model expectation in the exact negative log-likelihood gradient by the finite reconstruction law; no equality between these gradients is asserted.

For the finite-state path calculation, let Ω:=Xk+1 with its full sigma-algebra, let Xs be the sth coordinate map, and define Pθ(A):=∑(x0,…,xk)∈Aq0(x0)∏s=0k−1Kθ(xs,xs+1),A⊆Ω. This is a probability measure. For every real f:X→R, set gf(x):={∑yKθk(x,y)f(y),q0(x)>0,0,q0(x)=0. Then gf(X0) is a version of EPθ[f(Xk)∣σ(X0)].

Statement references

Geoffrey Hinton, Section 2 of the full technical report derives the likelihood and reconstruction updates and notes the omitted contrastive-divergence derivative.

Kevin P. Murphy, Chapter 24, Section 24.2.2 defines the finite-step difference-of-KL contrastive-divergence objective.

The measure definition used for finite path laws.

The probability-measure definition used for finite path laws.

The conditional-expectation definition supplies the event-integral criterion used for the path calculation.

Positivity of the exponential gives positive finite-state model weights.

Facts & Assumptions

Given: A finite nonempty state space, open parameter domain, finite energy model, fixed data probability vector, positive differentiable stochastic matrix with invariant model law, and integer k≥1.

[A1]

For each state or state pair, the energy and transition entries have continuous coordinate partial derivatives on the open set Θ; every entry of Kθ is positive and each row sums to one.

[F1]

Energy-based density and partition function: pθ(x)=e−Eθ(x)/Zθ for an admissibly normalized energy model.

[F2]

Contrastive divergence with k transitions: the reconstruction law obeys Qj+1,θ(A)=∫Kθ(x,A) Qj,θ(dx); on a finite state space this is row-vector multiplication by Kθ.

[F3]

Contrastive divergence with k transitions: the population stop-gradient direction is Eq0∇θEθ−Eqk,θ∇θEθ.

[F4]

Finite probability vectors: a finite probability vector has nonnegative coordinates summing to one.

[F8]

The exponential function is smooth and (exp⁡)′=exp⁡: exp⁡′(u)=exp⁡(u) for every real u.

[F9]

The natural logarithm has derivative 1/x and equals the integral from 1 to x of 1/t: for u>0, log⁡′(u)=1/u for the natural logarithm.

[F10]

Measures on sigma-algebras: a measure vanishes on the empty set and is countably additive on pairwise disjoint sequences.

[F11]

Probability measures and probability spaces: a measure with total mass one is a probability measure.

[F12]

Conditional expectation given a sigma algebra: a conditional-expectation version is integrable, measurable with respect to the conditioning sigma-algebra, and has the same integral as the conditioned variable on every event in that sigma-algebra.

Proof

1.1givenA1F1F4F5F6F7F8F9F13algebra

Fix a coordinate j and vary only θj in a small interval inside the open set Θ. Since X is finite and each energy is real, [F13] makes every e−Eθ(x) positive; hence [F1] gives 0<Zθ<∞. The formula for pθ then gives positive coordinates summing to one, so it is a probability vector by [F4]. By [F6], [F7] and [F8], differentiating the finite sum gives ∂jZθ=−∑xe−Eθ(x)∂jEθ(x). The same chain and quotient rules give ∂jpθ(x)/pθ(x)=−∂jEθ(x)−∂jZθ/Zθ=−∂jEθ(x)+∑ypθ(y)∂jEθ(y); [F9] identifies the left side with ∂jlog⁡pθ(x). Because q0 is fixed and sums to one by [F4], differentiating L=−∑xq0(x)log⁡pθ(x) and summing this identity yields the displayed likelihood-gradient formula.

1.2givenA1F2F4F5F6algebra

The recurrence in [F2] gives qj+1,θ=qj,θKθ, hence qk,θ=q0Kθk and ∑xqk,θ(x)=1. For k=1 the product rule [F6] gives ∂j(q0Kθ)=q0∂jKθ. If ∂j(q0Kθk)=∑s=0k−1q0Kθs(∂jKθ)Kθk−1−s, then entrywise application of [F6] to q0KθkKθ yields ∑s=0k−1q0Kθs(∂jKθ)Kθk−s+q0Kθk(∂jKθ), which is the same formula with k+1 by appending the s=k term. Thus the stated product derivative holds for every k. Differentiating ∑xqk,θ(x)=1 by [F6] gives ∑x∂jqk,θ(x)=0. Strict positivity of Kθ and nonzero mass of q0 imply qk,θ(x)>0 for every x, so the following logarithms are finite.

1.3A1F4F10F11algebraconstruct

Put w(x0,…,xk):=q0(x0)∏s=0k−1Kθ(xs,xs+1). These weights are nonnegative. Summing successively over xk,…,x1 and using the row sums of Kθ reduces ∑ω∈Ωw(ω) to ∑x0q0(x0)=1. The set function Pθ(A)=∑ω∈Aw(ω) vanishes on the empty set and is countably additive: a disjoint sequence of subsets of finite Ω has only finitely many nonempty terms. Thus [F10] makes it a measure, and [F11] makes it a probability measure.

2.1givenA1F5F6F7F9step 1.1step 1.2algebra

By the quotient rule [F6], ∂j(qk,θ(x)/pθ(x))=∂jqk,θ(x)/pθ(x)−qk,θ(x)∂jpθ(x)/pθ(x)2; the chain and logarithm derivative rules [F7, F9] then give ∂jlog⁡(qk,θ(x)/pθ(x))=∂jqk,θ(x)/qk,θ(x)−∂jlog⁡pθ(x). Applying the product rule [F6] to each summand of DKL(qk,θ∥pθ) therefore gives ∂jqk,θ(x)(log⁡(qk,θ(x)/pθ(x))+1)−qk,θ(x)∂jlog⁡pθ(x). Summing the finite terms, the +1 contribution vanishes by step 1.2. Substitution from step 1.1 yields ∂jDKL(qk,θ∥pθ)=∑x∂jqk,θ(x)log⁡(qk,θ(x)/pθ(x))+∑xqk,θ(x)∂jEθ(x)−∑xpθ(x)∂jEθ(x).

2.2A1F4step 1.3algebra

For s=0, Kθ0=I is row-stochastic and its entries are the length-zero path weights. If the entries of Kθs sum the products along all length-s paths, then Kθs+1(x,y)=∑zKθs(x,z)Kθ(z,y) appends the final transition, so its entries sum the length-(s+1) path weights; also ∑yKθs+1(x,y)=∑zKθs(x,z)∑yKθ(z,y)=1. Thus Pθ(X0=x,Xk=y)=q0(x)Kθk(x,y). The function gf is finite-valued; for each Borel C⊆R, {gf(X0)∈C}=X0−1({x:gf(x)∈C}), so gf(X0) is σ(X0)-measurable. Both f(Xk) and gf(X0) are integrable since Ω is finite.

3.1givenF3F4F5F6F9step 1.1step 2.1algebra

Since q0 is fixed, the terms q0(x)log⁡q0(x) in DKL(q0∥pθ) have zero derivative; applying the same product and logarithm rules [F6, F9] and using the log-density formula from step 1.1 and ∑xq0(x)=1 gives ∂jDKL(q0∥pθ)=∑xq0(x)∂jEθ(x)−∑xpθ(x)∂jEθ(x). Subtracting step 2.1 cancels the model expectations and yields the stated ∂jCD⁡k formula. By [F3], the algorithm uses only its first two terms; the remaining sum is the derivative through Kθk. Comparing with step 1.1 also shows that the algorithm replaces the exact likelihood negative phase pθ by qk,θ.

4.1F12step 2.2algebra∎

Every event in σ(X0) has the form {X0∈B} for some B⊆X, since these preimages form a sigma-algebra and generate σ(X0). For every such event, step 2.2 gives ∫1{X0∈B}f(Xk) dPθ=∑x∈Bq0(x)∑yKθk(x,y)f(y)=∫1{X0∈B}gf(X0) dPθ, where terms with q0(x)=0 vanish. The integrability and measurability from step 2.2 and this event-integral identity satisfy [F12], so gf(X0) is the asserted conditional-expectation version.

Depends on

Used by

Dependency tree · two levels

55 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