Amortized inference 2026-11-05
Amortized inference learns one shared rule that maps observations to approximate posterior distributions, spreading the work of fitting that rule across many inputs. Instead of separately optimizing variational parameters for every observation , a recognition network returns the parameters of . The shared parameters are learned across data; evaluating the rule for a new input is then a different operation from fitting it.[ref]
Stochastic Backpropagation and Approximate Inference in Deep Generative Models by Danilo Jimenez Rezende and others. §4, recognition model and joint optimization
A scalar Gaussian model gives an exact example. Let and . Completing the square givesThe shared rule , with , and fixed variance , represents the exact posterior for every real . Evaluating replaces a separate optimization for each observation in this stipulated model. It does not imply that every nonlinear latent-variable model has an exact rule this simple.
Sharing can introduce an additional restriction even when the chosen distribution family is adequate. For observations and , the exact posterior means are and . The Gaussian family can represent each exactly when is fitted separately. If the shared rule is constrained to output one constant mean for both inputs, its best equal-weight choice is . Each case then hasThis original example isolates an amortization gap: the loss from restricting how observation-specific variational parameters are produced, rather than an inability of the per-observation Gaussian family to express the target. The shared mapping's capacity and its training therefore matter alongside the family of probability distributions.
Durk Kingma 2026-11-05
Durk Kingma is a computer scientist who publishes as Diederik P. Kingma. His personal profile describes research on machine learning and generative models, and records a 2017 doctorate at the University of Amsterdam.[ref]
Personal research homepage of Durk Kingma. Brief Bio: formal name, nickname and2017 doctorate
The institutional thesis front matter gives his full formal name as Diederik Pieter Kingma.[ref]Kingma and Max Welling coauthored Auto-Encoding Variational Bayes by Diederik P. Kingma and Max Welling. A variational autoencoder couples a latent-variable model with an approximating posterior distribution that can be optimized through variational inference. Their reparameterization gradients represent a simulated random variable as a differentiable transformation of parameter-independent noise, allowing derivatives through the transformation.[ref]
Auto-Encoding Variational Bayes by Diederik P. Kingma and Max Welling. §§2.3–2.4, equations4–5 and Gaussian construction
Kingma also coauthored the Adam paper with Jimmy Lei Ba.[ref]Adam: A Method for Stochastic Optimization by Diederik P. Kingma and Jimmy Lei Ba. Full byline and Algorithm1
An original scalar calculation makes the noise handling concrete. Use the Gaussian reparameterization , with having the standard normal distribution and . For , a one-draw reparameterization gradient with respect to isThe derivative holds the sampled fixed. This pathwise gradient is justified here by direct calculation; a general interchange of derivative and expected value requires differentiation under the integral sign conditions.
Noise coupling matters even for a central finite difference. If the evaluations at and share the same , the difference of the two squares gives exactly for every . This is a use of common random numbers. If instead the evaluations use independent standard normal distributions for their noise draws, the estimatorstill has expected value , but independence gives the variance of Gaussian-square finite-difference gradientsIndeed, a normal random variable of mean and variance has squared-value variance ; sum the two independent squared-value variances and divide by . Thus shrinking need not suppress simulation noise.
For chosen , and , both estimators have expected value 2, while their variances are 16 with shared noise and 2408 with independent noise. The example is a separate exact quadratic model; its purpose is to explain the role of keeping base noise fixed, not to reproduce a published variational-autoencoder benchmark.
Expectation-maximization algorithm Created 2026-10-03 Updated 2026-10-14
The expectation-maximization algorithm fits a latent-variable model by alternating a conditional expectation over the latent variables with a maximization over the statistical parameters. Its target is the observed-data likelihood function, although its updates use the simpler complete-data log-likelihood.[ref]
Maximum Likelihood from Incomplete Data via the EM Algorithm by Arthur Pentland Dempster and others. Section 2, printed p. 6, equation (2.17) and the general E-step/M-step definition
Write for the observations, for the latent variables, and for their joint probability density function or probability mass function. The observed-data log-likelihood iswhere the integral becomes a sum for discrete . Directly maximizing a logarithm of this sum can be awkward. The E-step instead computes a conditional distribution at the current statistical parameters ; the M-step uses it to construct a new fit. The attractive idea is to retain uncertainty about the hidden labels while recovering simple weighted means and other complete-data updates. The Known-variance Gaussian mixture EM example shows the mechanism without estimating a variance or mixture weight.
Arthur Pentland Dempster, Nan M. Laird, and Donald B. Rubin gave the general framework its name in their 1977 paper, which also discusses earlier special-case algorithms.[ref]
Maximum Likelihood from Incomplete Data via the EM Algorithm by Arthur Pentland Dempster and others. Section 1, printed pp. 1 and 3: naming of the two steps and earlier special cases
Past exam of the mathematics course of the University of Cambridge 2025 iii Paper 219 2 a Solution Created 2026-09-24 Updated 2026-10-03

