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 be a positive integer, let be finite and nonempty, and let be open. For each , assume the coordinate partial derivatives of and exist and are continuous on . Let be strictly positive and row-stochastic, so and . Use counting measure as the reference measure, set let be a fixed probability vector on , assume is invariant for , and fix an integer . Define , , and , where vectors are row vectors, and where for finite probability mass functions with , with the natural logarithm and zero-mass terms contributing zero. For each parameter coordinate , while The reconstruction-law derivative is Thus the population direction used by stop-gradient CD- is the first two terms of the displayed formula and omits the explicit derivative through the 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 with its full sigma-algebra, let be the th coordinate map, and define This is a probability measure. For every real , set Then is a version of .
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 .
For each state or state pair, the energy and transition entries have continuous coordinate partial derivatives on the open set ; every entry of is positive and each row sums to one.
Energy-based density and partition function: for an admissibly normalized energy model.
Contrastive divergence with k transitions: the reconstruction law obeys ; on a finite state space this is row-vector multiplication by .
Contrastive divergence with k transitions: the population stop-gradient direction is .
Finite probability vectors: a finite probability vector has nonnegative coordinates summing to one.
The derivative of at a point that is a limit point of , and differentiability on a set: the derivative at a real coordinate point is defined by the limit of its difference quotient.
Sums, scalar multiples, products and quotients: , , , and when : finite sums, scalar multiples, products, and quotients (where the denominator is nonzero) obey the stated derivative rules.
The chain rule, in one line from Carathéodory: if is differentiable at and is differentiable at , then is differentiable at with : the derivative of a composition of differentiable real functions is the product of the outer derivative at the image and the inner derivative.
The exponential function is smooth and : for every real .
The natural logarithm has derivative 1/x and equals the integral from 1 to x of 1/t: for , for the natural logarithm.
Measures on sigma-algebras: a measure vanishes on the empty set and is countably additive on pairwise disjoint sequences.
Probability measures and probability spaces: a measure with total mass one is a probability measure.
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.
The exponential is positive and satisfies : for every real .
Proof
Fix a coordinate and vary only in a small interval inside the open set . Since is finite and each energy is real, [F13] makes every positive; hence [F1] gives . The formula for 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 . The same chain and quotient rules give ; [F9] identifies the left side with . Because is fixed and sums to one by [F4], differentiating and summing this identity yields the displayed likelihood-gradient formula.
The recurrence in [F2] gives , hence and . For the product rule [F6] gives . If , then entrywise application of [F6] to yields , which is the same formula with by appending the term. Thus the stated product derivative holds for every . Differentiating by [F6] gives . Strict positivity of and nonzero mass of imply for every , so the following logarithms are finite.
Put . These weights are nonnegative. Summing successively over and using the row sums of reduces to . The set function 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.
By the quotient rule [F6], ; the chain and logarithm derivative rules [F7, F9] then give . Applying the product rule [F6] to each summand of therefore gives . Summing the finite terms, the contribution vanishes by step 1.2. Substitution from step 1.1 yields .
For , is row-stochastic and its entries are the length-zero path weights. If the entries of sum the products along all length- paths, then appends the final transition, so its entries sum the length- path weights; also . Thus . The function is finite-valued; for each Borel , , so is -measurable. Both and are integrable since is finite.
Since is fixed, the terms in have zero derivative; applying the same product and logarithm rules [F6, F9] and using the log-density formula from step 1.1 and gives . Subtracting step 2.1 cancels the model expectations and yields the stated formula. By [F3], the algorithm uses only its first two terms; the remaining sum is the derivative through . Comparing with step 1.1 also shows that the algorithm replaces the exact likelihood negative phase by .
Every event in has the form for some , since these preimages form a sigma-algebra and generate . For every such event, step 2.2 gives where terms with vanish. The integrability and measurability from step 2.2 and this event-integral identity satisfy [F12], so is the asserted conditional-expectation version.
Depends on
- Energy-based density and partition function
- Contrastive divergence with k transitions
- Finite probability vectors
- The derivative $f'(c) = \lim_{x \to c} \frac{f(x) - f(c)}{x - c}$ of $f : A \to \mathbb{R}$ at a point $c \in A$ that is a limit point of $A$, and differentiability on a set
- Sums, scalar multiples, products and quotients: $(f+g)'(c) = f'(c) + g'(c)$, $(\alpha f)'(c) = \alpha f'(c)$, $(fg)'(c) = f'(c)g(c) + f(c)g'(c)$, and $(f/g)'(c) = \bigl(f'(c)g(c) - f(c)g'(c)\bigr)/g(c)^{2}$ when $g(c) \ne 0$
- The chain rule, in one line from Carathéodory: if $g$ is differentiable at $c$ and $f$ is differentiable at $g(c)$, then $f \circ g$ is differentiable at $c$ with $(f \circ g)'(c) = f'(g(c))\,g'(c)$
- The exponential function is smooth and $(\exp)'=\exp$
- The natural logarithm has derivative 1/x and equals the integral from 1 to x of 1/t
- Measures on sigma-algebras
- Probability measures and probability spaces
- Conditional expectation given a sigma algebra
- The exponential is positive and satisfies $\exp(-x)=1/\exp(x)$
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
- Geoffrey Hinton, A Practical Guide to Training Restricted Boltzmann Machines, Version 1, Section 2 (standard reference, not scraped)
- Kevin P. Murphy, Probabilistic Machine Learning: Advanced Topics, Chapter 24, Section 24.2.2 (standard reference, not scraped)