Danilo Jimenez Rezende 2026-11-05
Danilo Jimenez Rezende coauthored the 2014 stochastic-backpropagation work with Shakir Mohamed and Daan Wierstra, developing trainable generative and approximate-inference models.[ref]
Stochastic Backpropagation and Approximate Inference in Deep Generative Models by Danilo Jimenez Rezende and others. Primary full byline; §§2–4
With Shakir Mohamed, he subsequently developed normalizing flows for richer approximations in variational inference.[ref]Variational Inference with Normalizing Flows by Danilo Jimenez Rezende and Shakir Mohamed. Primary PDF full byline; §3, change-of-variables construction
An original one-dimensional transformation illustrates the density accounting. Let have standard normal distribution and take . Sampling is straightforward, but its density must also account for the stretching of length:At , this is . The factor comes from the absolute derivative of the inverse affine map. Omitting it would give a density integrating to instead of .
The example is only an affine Gaussian transformation; it does not claim that every nonlinear transformation preserves a Gaussian family. A normalizing flow composes suitable invertible transformations while tracking the corresponding density changes. This connects an efficient sampling procedure to the density evaluation needed in a variational objective, rather than treating the generated samples alone as a complete inference method.
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.
Evidence lower bound Created 2026-09-24 Updated 2026-11-05
For likelihood , prior density , evidence , and approximation density , the evidence lower bound isWhenever the terms are well-defined, substituting into the Kullback-Leibler divergence gives . Nonnegativity of the divergence proves the lower bound; equality holds when almost everywhere. Variational inference maximizes this objective over a tractable family, trading an exact posterior for an optimization problem.
Guide program 2026-10-25
A guide program is a probabilistic program whose generated probability distribution approximates a model's posterior distribution. Its adjustable parameters are fitted by variational inference. The guide must assign probability only where the target allows it when minimizing , but a tractable guide can still miss important target regions.
Kullback-Leibler divergence Created 2026-09-24 Updated 2026-10-14
The Kullback-Leibler divergence, also called relative entropy, compares two probability distributions in a specified order. In , observations follow and the comparison probability distribution is : the first argument supplies the averaging weights. For probability mass functions on a finite alphabet,Here is a random variable with probability distribution . For probability density functions relative to the same measure , replace the sum by . These formulas use natural logarithms unless stated otherwise. The expected value is under , even though appears in the denominator. [ref]
Take and on two outcomes. Direct calculation givesThe second outcome contributes negatively to the first sum: assigning it more probability than does makes its individual contribution negative. Nevertheless, relative entropy nonnegativity guarantees a nonnegative total. Reversing the arguments changes both the likelihood ratio and the averaging probabilities; taking an absolute value inside the logarithm would define a different quantity.
The units depend on the logarithm: natural logarithms give nats, whereas base-two logarithms give bits. Divide a value in nats by to obtain bits; the forward example is approximately bits. Changing the base rescales every Kullback-Leibler divergence by the same positive factor. Since the two calculated directions differ, Kullback-Leibler divergence is asymmetric and cannot be a metric. It also need not satisfy the triangle inequality. [ref]
https://web.stanford.edu/~kedart/ee376a_winter1617/Lecture_3.pdf. Tse, relative entropy, 2017, Section 3.3
The operational meaning is an expected penalty for using the wrong probability distribution. A prediction incurs log-loss when outcome occurs, the negative of the logarithmic scoring rule. Under , its expected value is the cross-entropy . Predicting with itself incurs information entropy , soThus Kullback-Leibler divergence is exactly excess expected log-loss, whenever these separate quantities are finite. [ref]
https://web.stanford.edu/class/ee276/files/previous_notes/lecture_2.pdf. Weissman, information measures, 2024, property 3
For lossless source coding, ideal codeword lengths similarly give excess expected length in bits per symbol. Actual prefix codes require integer codeword lengths; Shannon's source coding theorem explains how long blocks approach ideal per-symbol lengths. The interpretation concerns an average, not a fractional physical bit attached to every outcome. In our example, ideal coding with costs one bit per symbol, while bits; the difference is exactly the computed bits. [ref]
https://web.stanford.edu/~kedart/ee376a_winter1617/Lecture_3.pdf. Tse, information theory, 2017, Section 3.4
Zeros require explicit conventions. An outcome with contributes zero, including when ; the convention agrees with the relevant limit. If but , the Kullback-Leibler divergence is infinite: the predictor has declared impossible an outcome that can occur. On a finite alphabet, the probability support of must therefore be contained in the probability support of for a finite answer. For example, and give , but . For general probability measures, failure of absolute continuity of measures likewise gives infinity. Even does not guarantee a finite integral. [ref]
https://arxiv.org/pdf/1206.2459. van Erven and Harremoës, Rényi Divergence and Kullback-Leibler Divergence, 2014, Section II
To see how confidently wrong predictions are punished, hold the true Bernoulli distribution parameter at and vary the predicted parameter . Its binary relative entropy isIt vanishes at , equals approximately nats at , and equals nats at . Both endpoints give infinity because both outcomes remain possible under . Predicting almost no successes is especially costly because successes actually occur three quarters of the time. The reversed binary relative entropy stays finite at the endpoints: its averaging probability distribution concentrates on just one outcome, and assigns positive probability to both.
For model selection, minimizing expected log-loss ranks candidate statistical models by , since is common to them. The true probability distribution is usually unknown, so one estimates predictive performance using fresh observations or cross-validation. Fitting and assessing on the same data can reward overfitting; a small fitted Kullback-Leibler divergence alone does not establish useful prediction.
In variational inference, a tractable trial probability distribution commonly minimizes against a target posterior distribution . Maximizing the evidence lower bound accomplishes this without evaluating the target's normalization constant. The averaging now follows : placing trial probability where the posterior distribution assigns almost none is strongly penalized. The chosen direction and trial family therefore matter. [ref]
https://www.cs.columbia.edu/~blei/papers/BleiKucukelbirMcAuliffe2017.pdf. Blei, Kucukelbir and McAuliffe, Variational Inference: A Review for Statisticians, 2017, Section 2.2
These comparisons do not by themselves establish causal inference. Two statistical models can reproduce the same observed probability distribution while predicting different responses to an intervention. Choosing the smaller Kullback-Leibler divergence therefore needs additional assumptions or experimental evidence before supporting a causal claim. [ref]
https://ftp.cs.ucla.edu/pub/stat_ser/r350.pdf. Pearl, Causal inference in statistics: An overview, 2009, Section 2
The original reference is S. Kullback and R. A. Leibler's 1951 paper [ref]
https://doi.org/10.1214/aoms/1177729694. On Information and Sufficiency
, published in The Annals of Mathematical Statistics 22(1), pages 79–86. Its title connects this comparison with sufficient statistics: the historical setting was statistical information, before today's widespread applications in prediction and variational inference. Max Welling 2026-11-05
Max Welling coauthored Auto-Encoding Variational Bayes by Diederik P. Kingma and Max Welling with Durk Kingma. Their work combines a learned approximate posterior with a differentiable transformation of parameter-independent noise, permitting variational inference to use a reparameterization gradient. The original preprint was submitted in December 2013; its historical byline uses Diederik P. Kingma.[ref]
Auto-Encoding Variational Bayes by Diederik P. Kingma and Max Welling. Primary byline, §§2.3–2.4 and §3
An original scalar calculation illustrates the computational mechanism. Let , where has a standard normal distribution and . For the chosen objective ,Holding one noise draw fixed while differentiating its squared transformed value instead gives the stochastic estimates and . At chosen , and , these are both , while the exact expectation gradients are and . Averaging over the noise, rather than treating one draw as the expectation, recovers the exact gradients in this example.
This small calculation isolates the differentiable sampling step. A variational autoencoder also specifies a probabilistic model and an evidence lower bound; a differentiable random transformation alone does not supply those components. The contribution is joint work, not a claim that one coauthor alone originated every part of the method.
Normalizing flow 2026-11-05
A normalizing flow constructs a probability distribution by passing a simple reference random variable through invertible differentiable transformations. The change of variables formula supplies its probability density function: if and is a diffeomorphism between equal-dimensional spaces, thenThe Jacobian determinant accounts for local expansion or contraction of volume. Composing several transformations gives a flexible distribution while retaining a computable density, useful for a richer approximate posterior distribution in variational inference.[ref]
Variational Inference with Normalizing Flows by Danilo Jimenez Rezende and Shakir Mohamed. §3, equations5–7, invertible transformations and composition
For an original nonlinear example, let have the standard normal distribution with density , and set . Since and tends to opposite infinities at the two ends of the real line, every output has exactly one preimage. Its probability density function satisfiesAt , the output is and . The factor reflects how strongly the transformation stretches nearby inputs. Integrating after the substitution cancels this factor against , leaving total probability one.
For , the chain rule givesGenerating transformed samples alone does not evaluate their probability density function; evaluating the determinant factors is essential. The single-preimage formula also requires invertibility: the map folds two real inputs together, so it cannot be substituted into this formula unchanged.
The printed minimization of the evidence lower bound has no solution. To distinguish that literal result from the usual variational inference optimum, put . The preceding Kullback-Leibler divergence satisfiesIts unique global minimum occurs at . Since , this is the unique global maximum of the evidence lower bound:The optimal common variance is the harmonic mean of the two posterior variances. However, as either or . ThereforeThe source PDF confirms the minimization wording; replacing it by maximization would give the finite value above, consistently with part (i).
Variational inference replaces exact Bayesian inference by an optimization problem over a tractable family . A guide program samples from this approximating family. Optimizing an evidence lower bound is equivalent to minimizing . Its appeal is that a fitted approximation can be cheap to sample and may scale well when an exact posterior distribution is inaccessible. A restricted family, such as mean-field variational inference, can miss dependence or entire modes; a local optimum can add further error. More optimization cannot remove approximation error caused by an inadequate family.
Monte Carlo method inference instead estimates posterior expectations using simulated values or weighted values. Examples include rejection sampling, importance sampling and Markov chain Monte Carlo. Under their respective support and convergence assumptions, increasing computation can yield consistent estimates without choosing a finite-dimensional posterior family. Their uncertainty includes simulation error; an inefficient proposal or slow mixing time can make that error large. Markov chain Monte Carlo additionally requires convergence and dependence diagnostics.
The central trade-off is optimization within an approximate family versus simulation under a target probability distribution. It is not an absolute distinction between deterministic and random computation: variational inference often uses Monte Carlo method estimates of its gradient, while Monte Carlo method inference may use fitted proposals. Neither method automatically guarantees accurate uncertainty estimates or superiority at a fixed computational budget.
Relative entropy and coordinate dependence 2026-10-14
Apply the same invertible differentiable transformation to two probability distributions with densities and . Both transformed densities acquire the same Jacobian determinant factor. Write their transformed densities as and . Their ratio is unchanged, and the integration measure transforms with the numerator density. Consequently their relative entropy is unchanged:The densities describe two alternative laws in the same coordinate, with a nonzero Jacobian determinant on their common domain, and the expression is assumed well defined. This explains why comparing two laws can survive a change of measurement units even though either law's differential entropy changes. Mutual information, formulated as relative entropy from a product of marginals, has the same invariance under invertible changes to either observed coordinate.
Differential entropy is also the entropy term in the evidence lower bound for continuous variational inference. Its coordinate dependence must be combined consistently with that of the model density; changing units does not justify changing only one term of the objective.
Variational approximation gap 2026-11-05
The variational approximation gap is the part of the evidence lower bound deficit that remains even after optimizing separately for an observation within a specified variational family. With the generative model fixed and finite , defineThe equality uses the usual evidence lower bound identity for variational inference. A supremum allows for a best value that is not attained. The amortization gap separately measures failure of the shared inference rule to reach this value.[ref]
Inference Suboptimality in Variational Autoencoders by Chris Cremer and others. Table1; §3.1, equation8, decomposition for the ordinary variational-autoencoder bound
An original example shows what independence can cost. Stipulate a centred two-dimensional multivariate normal distribution as the posterior distribution, with covariance matrixRestrict the variational family to centred independent normal distributions, with . This is a simple mean-field variational inference restriction. Writing , the Kullback-Leibler divergence between normal distributions becomesEach variance contributes a term , minimized at . ConsequentlyFor , the best independent variances are both , and the unavoidable deficit is about nat. Matching both marginal variances to one instead would give about nat. The reverse Kullback-Leibler divergence therefore chooses narrower independent marginals here, while still failing to represent the correlation.
Enlarging the family to include the full covariance matrix permits and reduces this example's gap to zero. More generally, inclusion cannot increase the optimum approximation gap at a fixed model. Merely training the same shared rule longer cannot remove a strictly positive family restriction. Numerical improvements are not proofs that the infimum has been reached.
Variational inference 2026-10-06
Variational inference approximates a posterior distribution by minimizing a Kullback-Leibler divergence over a chosen family of probability distributions. For an unnormalized posterior density and a trial probability density function , minimizing is equivalent to minimizing .



