An Introduction to Variational Autoencoders
Paper · 2019 · Diederik P. Kingma and Max Welling
Summary
A generator can start with a hidden description of an object and use it to produce an image. Learning from images asks for the reverse calculation. Which hidden descriptions could account for the pixels, and how much probability should each receive? A generator may be easy to run forward even when answering those questions exactly is impractical. An Introduction to Variational Autoencoders explains how to learn the forward process and an approximate reverse process together. The reverse process, called the encoder, gives a distribution of possible hidden states for each observation. Its network is trained across observations, so it can estimate the distribution for another input directly. The paper calls this sharing of inference effort amortization.
The two directions meet in a quantity called the evidence lower bound, or ELBO. Evidence is the probability or density that the generator assigns to an observation after accounting for every possible hidden state. The ELBO sits below the logarithm of that quantity. The distance between them is exactly a Kullback–Leibler divergence, a measure of discrepancy from the encoder’s distribution to the generator’s posterior. The posterior describes which hidden states the generator regards as plausible once it has seen the observation. A better encoder can raise the bound even if the generator stays fixed. In joint training, the bound also gives the generator a signal about how to improve its account of the data.
To calculate training gradients, the authors show how to split a random latent sample into a fixed source of noise and a learnable transformation. For a Gaussian encoder, the network supplies the center and scale, and the algorithm uses them to shift and stretch a standard Gaussian draw. With the draw held fixed during differentiation, the training calculation can follow the effect of changing either network. Sampling small batches of observations makes the same calculation practical across a dataset. The paper extends this construction to hierarchies of hidden variables and to inverse autoregressive flow, which uses successive invertible transformations to create richer encoder distributions while keeping their densities affordable to evaluate.
The paper develops and connects these results in an extended introduction. A small visual experiment shows how a flow lets inferred distributions take shapes unavailable to an independent Gaussian encoder. Results from earlier studies show applications to image classification with scarce labels, sentence interpolation, molecular design, and image synthesis. The authors also identify reasons for failure. An encoder can settle into giving almost the same answer for every input, restricted inference can leave the bound loose, and a generator with insufficient flexibility can spread probability too broadly. The value of a learned latent space depends on which information the training procedure actually uses and which behaviors the application demonstrates.
Deep dive: An Introduction to Variational Autoencoders
Learn how variational autoencoders turn difficult inference about hidden variables into a trainable encoder and a probabilistic decoder. · about 84 minutes to read
The problem and its context
Prediction and generation ask different questions
Suppose the task is to recognize the class of an object from an image. A discriminative approach begins with the pixels and learns to predict the class. A generative approach can describe the relationship in the other direction. It can start with an object and account for how its properties give rise to a particular arrangement of pixels. Both directions can support classification. In the generative case, the classifier comes from asking how probable the observed image would be under the different possible explanations and combining those probabilities with prior expectations.
The authors place this distinction within machine learning because it changes what one must learn and what the result can be used for. A direct classifier can be designed around a particular prediction. A joint probability distribution can answer several conditional questions about the same variables. If some observations are missing, it can also describe uncertainty about them. Its extra scope brings extra commitments. One has to specify which variables belong in the account, how they are related, and how much unexplained variation to allow.
The paper compares this kind of work with explanatory practice in science. A proposed physical process gives rise to consequences that can be checked against observations. Known structure can enter the equations directly, and variation outside the scientific question can be assigned a probability distribution. The earthquake example illustrates the authors’ interest in mechanisms that apply across settings. A process that explains observations in one region might also apply in another if the same underlying relationships hold. Learning a suitable statistical distribution from observations is a separate problem from establishing that its hidden variables correspond to such a mechanism.
The authors give direct predictors a clear place in this picture. A generative account can impose stronger assumptions than a classifier trained on labeled examples. An inaccurate assumption may limit predictive accuracy even when more data become available. If the goal is a single discriminative task and there is ample annotation, fitting a direct predictor can avoid this source of error. The case for using generation becomes stronger when the input contains structure that the labels alone are too scarce to reveal.
For instance, a collection of images can contain ample evidence about visual regularities while offering relatively few class labels. Unlabeled images can contribute to learning a distribution over inputs. If that task shares parameters with a classifier, it can influence features used in prediction. The method still needs a connection between what helps describe the images and what helps distinguish their classes. The paper presents generation as an auxiliary learning task that can create that connection.
The same reasoning motivates unsupervised representation learning. An auxiliary task can force a system to preserve information beyond what a single set of labels demands. The paper mentions predicting what happens next as one way of asking a system to form abstractions that might serve several later tasks. In a variational autoencoder, the latent state is a possible place for such abstractions. It acquires a role through the observation distribution and the encoder’s objective, which together determine what information is useful enough to preserve. The paper situates this interest in its discussion of representation learning. Representation Learning: A Review and New Perspectives
Hiding a variable changes the learning calculation
It helps to begin with the case in which a dataset records every variable in a directed graph. Each variable has a probability distribution conditional on the variables pointing to it. If all those values are recorded, a learner can evaluate every factor and multiply them to find the joint probability. In logarithms, this becomes a sum. A neural network can determine the parameters of each factor, and the chain rule gives the derivatives required to change the network weights.
With independent observations, the contributions of different examples also add in log space. This makes it possible to use a randomly chosen batch to estimate the direction in which to update the weights. Each batch provides incomplete information, but the expected batch gradient is the gradient of the full average. What matters here is that a contribution for an individual example is already available. Batch sampling makes a known calculation cheaper to repeat.
An unrecorded variable removes that convenience. If the generator first draws a hidden state and then draws the visible data conditional on it, a specified pair of hidden and visible values still has a joint probability or density. The likelihood of the visible value requires accounting for all the possible hidden states. For a continuous latent space, there is an integral to do. Evaluating the neural conditionals at a particular latent point can be inexpensive even when the integral as a whole is beyond practical calculation.
A mixture illustrates both the attraction and the difficulty. With a discrete hidden state and a Gaussian observation distribution for each state, the marginal observation distribution is a mixture of Gaussian components. A continuous hidden state can instead index a continuum of components. The means and other quantities of those components can change with the state through a neural network. The resulting distribution over observations can express complicated dependencies, even if the observation distribution at any specified state is simple. Its flexibility comes from a construction whose integral generally has no convenient closed form.
The same integral determines the normalized posterior. Bayes’ rule takes the joint density at the observed and hidden values and divides it by the marginal observation density. The joint gives the relative plausibility of different hidden values. Normalization converts that information into a distribution over them. This is why the generation and inference problems become difficult together. The same quantity that must be integrated out to evaluate the observation is needed to normalize beliefs about its latent explanation.
A sample from the prior is sufficient when the aim is to make an entirely new observation. For an observation already in hand, the aim is to find latent values compatible with that particular case. Consider a generator that can produce many kinds of images. Most of the prior draws may be uninformative about a particular image, even if the generator itself is good. A reverse calculation should direct effort towards the regions of latent space that explain the image. The variational encoder is trained to do exactly that calculation approximately.
The traditions the authors bring together
Variational inference turns the posterior calculation into an optimization problem. One chooses a family of distributions whose properties can be evaluated, and adjusts a member of the family to approximate the posterior of interest. The paper places this approach within a longer tradition that includes variational treatments of algorithms for graphical inference. What changes in the VAE is where the adjustable variational quantities live and how the gradients for learning them are obtained.
In traditional variational expectation maximization as described by the authors, the inference step can maintain separate quantities for each datapoint. With the generative parameters fixed, it improves every local approximation. The subsequent learning step changes the generator against the objective determined by those approximations. This offers direct control over each case. It also means the inference work can recur for every case when the generator changes. A new observation requires its own local inference calculation.
The appendix gives another point of comparison in expectation maximization with Markov chain Monte Carlo. One can approximate a posterior by running a chain and gathering states intended to represent draws from it. Differentiating the log joint with respect to the latent state supplies the derivative of the log posterior with respect to that state, because the normalizing probability of the fixed observation is constant in the latent variable. That identity makes gradient-guided simulation possible even without exact normalization. An independent chain for each observation still entails repeated work.
A recognition network offers a distinct way to allocate that work. The paper traces this idea to the Helmholtz machine and its wake–sleep algorithm. The recognition network learns an approximate inverse that can be called on different observations. Wake–sleep already provides online learning and can handle discrete latent variables. The authors identify its drawback in the relationship between its two learning objectives. They do not combine into a single marginal-likelihood objective or a bound on it. The paper describes the computational complexity per example as the same as that of Auto-Encoding Variational Bayes, so the distinction is primarily about the objective each update serves.
The VAE keeps the reusable recognition calculation and derives the training rules from one variational criterion. Its encoder parameters are global across examples. Their purpose is to produce local distributions that still depend on each input. An encoder that sees different observations can return different centers, scales, or more complex shapes without allocating independent adjustable weights to each example. Repeating the inference calculation now means running a learned function, typically in a forward pass for the basic architecture. The expense that would have been paid repeatedly in separate searches is absorbed into training the shared network.
The paper expands the authors’ earlier presentation of this learning method. It also identifies independent, concurrent work that made the connection among stochastic variational inference, differentiable latent sampling, and autoencoding. The historical point is that the VAE assembled several ideas into a compatible computation. Directed graphs supplied a joint probability structure, a recognition network supplied transferable inference, and a stochastic gradient estimator made a shared objective usable with neural components. Auto-Encoding Variational Bayes · Stochastic Backpropagation and Approximate Inference in Deep Generative Models
Earlier work on stochastic variational inference also confronted noisy gradients. The authors describe the use of control variates, which reduce variability while retaining the same mean, and earlier applications of a related change of variables to exponential-family approximation. They discuss a similar gradient procedure whose estimate for the variance parameter lacks the unbiasedness property required for the ELBO gradient. These comparisons explain why the paper pays attention to the estimator itself. Once one has written an optimization criterion, the question of how to obtain an affordable gradient with manageable noise remains open.
Why the architecture looks like an autoencoder
The paper connects ordinary autoencoders with special probabilistic constructions that were already understood. In a linear Gaussian case, a hidden vector with a standard Gaussian prior maps linearly to the observation, with additional observation noise. When that noise becomes infinitesimal under the conditions discussed in the paper, the posterior over the hidden state concentrates at a single value. Principal component analysis arises as the maximum-likelihood solution of this special case. Earlier linear autoencoder results reach the principal components through an encode-and-reconstruct architecture.
This connection helps explain the name without reducing the VAE to its linear ancestor. With neural conditionals and a stochastic encoder, the calculation goes from an input to a distribution of hidden states and back to a distribution of observations. Reconstruction has a specific probability interpretation. The decoder gives a score to the actual input under each hidden sample it receives. Training also accounts for the latent prior and for the density the encoder assigns to the sample. These latter terms come from the evidence bound.
The authors note that reconstruction by itself gives a limited account of representation quality. A representation can retain information needed to reproduce an input without organizing that information in a way that helps a person or another prediction task. The paper mentions denoising, sparsity, and restrictions on sensitivity as earlier ways to shape representations in ordinary autoencoders. The VAE has a different source for its latent penalty. In its basic form, that penalty is determined by the discrepancy between the encoder distribution for a case and the chosen prior.
A distribution over representations also allows the system to retain uncertainty about an input. One picture can be compatible with many latent states, and an input’s posterior may be spread across them. A code that returns a single point offers one possible explanation. A Gaussian encoder can additionally describe variation around it, and an encoder transformed by a flow can represent more complicated variation. This probabilistic reading is what links an architecture that resembles an autoencoder to the inference problem that motivated it.
The authors also situate their approach alongside adversarial generation. In their account, adversarial training can yield visually convincing images while assigning too little coverage to parts of the data distribution. Likelihood-oriented learning tends to spread probability more broadly, which can produce dispersed samples. This difference motivates the hybrid designs mentioned in the paper. It also gives a reason to ask which property a reported result measures, since a compelling example image and a high observation likelihood answer distinct questions. Generative Adversarial Nets
The method, step by step
Start with the two directions of computation
The easiest way to follow the method is to consider what happens to one training observation. In the forward direction of the generator, a prior supplies a possible hidden state and a decoder specifies an observation distribution for that state. In the training calculation, the observation is already known. The encoder uses it to choose a distribution from which to draw a hidden state. The training objective checks how well the sampled state explains the observation and takes account of the probabilities used to obtain and generate it. Those quantities provide a signal to adjust both directions.
Training therefore uses two routes into latent space for different purposes. The prior supplies states when generation begins without an observation. The approximate posterior supplies states when an observation is available and the task is to learn from it or represent it. The objective relates these distributions, but the posterior is generally different for every input. If the encoder always returned the prior, it would give the same latent distribution regardless of the available evidence.
For the simplest construction, let the observation be a vector and put all its accompanying hidden quantities into another vector. The generator specifies their joint distribution as follows.
pθ(x, z) = pθ(z) pθ(x | z)
Here x denotes the visible observation, z the latent vector, θ the adjustable generative parameters, and pθ the distribution with those parameters. The comma in pθ(x, z) denotes a joint distribution and the vertical bar in pθ(x | z) means conditional on z. The factor pθ(z) is the prior. A prior may be fixed, even though the notation allows it to depend on θ. The product on the right is also the order of the random choices used for unconditional generation.
To evaluate an observation without a recorded latent state, the generator must aggregate the joint density across the continuous latent space.
pθ(x) = ∫ pθ(x, z) dz
On the left, pθ(x) is the marginal probability or density of x at parameter setting θ. The integral symbol and dz indicate integration across the latent variable z. The integrand is the joint density for the given x and each z. For a discrete latent quantity the corresponding operation is a sum. It is the continuous integral that the paper uses to motivate its principal estimator.
Bayes’ rule connects this marginal directly to the reverse calculation.
pθ(z | x) = pθ(x, z) / pθ(x)
The left side is the posterior over z once x is given. The numerator on the right is the generative joint and the denominator is the marginal just defined. The slash denotes division by a quantity constant in z for the observed x. A fixed latent point can therefore be scored by the joint without computing the posterior’s normalizing factor. Obtaining an exact posterior density generally still requires that factor.
The directed-graph construction generalizes this setup. At each node a network can receive the parent values and output parameters for the child’s conditional distribution. A categorical distribution needs probabilities for the available classes, for instance. The paper describes obtaining these through the softmax function, which turns a vector of scores into probabilities that sum to the total probability mass. For a Gaussian distribution, the network can supply a mean and quantities specifying covariance. The network performs the parameter calculation, and the chosen distribution gives the output its probability meaning.
The authors usually omit external conditioning inputs in the notation. The design also applies when a variable such as a class is given and the goal is to describe possible images conditional on it. The given class joins other inputs to the probability calculations. It has a different status from a weight in a neural network, which is changed by optimization, and from a latent state for an observation, for which inference supplies a distribution. Keeping these roles straight lets the same derivation cover different conditional tasks.
Give the decoder a probability law for the observations
The paper’s running example uses binary observations. Its prior is a standard spherical Gaussian.
p(z) = 𝒩(z; 0, I)
In this formula p is the fixed prior density evaluated at z and 𝒩 denotes the Gaussian density. After the separator in the Gaussian’s argument list, 0 is the zero vector for the mean and I is the identity covariance matrix. This construction gives the coordinates equal variance and independence under the prior. It also gives a simple source of latent states for unconditional generation.
The decoder evaluates a function of z to obtain a vector of Bernoulli probabilities. Each entry describes the chance that the corresponding binary observation coordinate is on. The authors describe a sigmoid in the output layer to ensure that each returned probability is in the proper range. Given a sampled z, the Bernoulli draws can be treated independently. The conditional log likelihood is then a sum.
log pθ(x | z) = ∑ⱼ₌₁ᴰ [xⱼ log pⱼ + (1 − xⱼ) log(1 − pⱼ)]
The log is the logarithm, D counts the observed coordinates, and the summation runs over their index j from 1 through D. The component xⱼ is the observed binary value and pⱼ is the decoder’s probability for the on value, determined by z and θ. The number 1 in the two complements produces the off indicator and off probability, respectively. In each bracket, the observed value selects which log probability contributes to the likelihood.
Imagine two observed coordinates whose on probabilities both rise in some region of the latent space. Given any particular z, their individual Bernoulli draws are independent. Over many z draws, both are more likely to be on together when the state visits that region. The shared input can therefore induce dependence among visible coordinates after integration over z. This is the reason the paper can start with independent conditional factors and still obtain a rich distribution in observed space.
The likelihood also determines how reconstruction is evaluated. The method can give a latent state credit for putting high probability on the true observation even if a random decoder draw at that state would produce a different outcome. Reconstruction enters training as a log probability for the observed values. The observation family controls which errors receive large penalties and which dependencies have to be explained through latent structure. A different observation family changes the meaning of the decoder outputs and of their reconstruction score.
Give the encoder a distribution for each input
The encoder supplies an approximation to the posterior. In its simplest Gaussian form, it returns a location and a positive scale for each latent coordinate. It can emit the scale through its logarithm, which allows the network to use an unconstrained real output. For each observation, the distribution is a product of univariate Gaussians.
qφ(z | x) = ∏ᵢ 𝒩(zᵢ; μᵢ, σᵢ²)
The density qφ is the encoder distribution, with weights and biases collected in φ. The observation is x and the latent vector is z. The product ∏ runs over latent coordinates indexed by i. In each Gaussian 𝒩, zᵢ is the value being scored, μᵢ is its mean, and σᵢ is its positive standard deviation, so σᵢ² is the variance. The encoder computes μᵢ and σᵢ from x using φ.
The conditional nature of the Gaussian matters. Independent coordinates within the encoder distribution for a particular input do not imply that the distributions for different inputs have identical centers or scales. Nor do they imply that a collection of samples obtained by encoding different inputs will show independent coordinates. The family restricts the uncertainty around each case. The network can still learn to arrange those cases in a complicated pattern across latent space.
Amortization concerns where the parameters are shared. With an independent variational optimization for each x, the means and scales themselves could be free parameters for that case. With a VAE, the encoder network predicts them. Its fit across data determines the quality of that prediction, and a change to its weights can change the distributions assigned to many cases. This makes inference economical to repeat. It also means that approximation quality depends on both the shape permitted for an individual posterior and the shared function’s ability to deliver that shape when given the input.
A more elaborate encoder can have its own directed graph. It can condition one latent group on the observation and on other groups already inferred. This gives more ways to specify dependencies than the factorized example. The central calculation stays the same as long as the encoder can draw a sample and evaluate the probability density it assigns to that sample. The paper returns repeatedly to these two requirements because both affect the cost of every training iteration.
Obtain an objective that the sampled quantities can estimate
The paper derives the evidence bound by starting from an identity for the log marginal. For a fixed observation and any latent state where the densities are defined, the ratio of the joint to the posterior equals the marginal. This ratio is constant in the latent state, so taking its logarithm and then averaging over encoder draws leaves it unchanged. Inserting the encoder density in both the numerator and denominator gives two terms. One contains quantities available at an encoder sample. The other contains the unknown posterior.
The term available for estimation is the ELBO.
ℒ(x; θ, φ) = 𝔼qφ(z | x)[log pθ(x, z) − log qφ(z | x)]
The symbol ℒ names the bound for observation x. The parameters θ and φ govern the generator and encoder, respectively. The expectation 𝔼 with qφ(z | x) as its averaging distribution means to average the bracketed expression over latent states z chosen by the encoder for that x. The first logarithm scores the observed and hidden values jointly under pθ. The second scores the same hidden value under qφ.
To see where the lower bound comes from, consider the other term created when the encoder density is inserted into the ratio.
log pθ(x) = ℒ(x; θ, φ) + Dₖₗ(qφ(z | x) ∥ pθ(z | x))
Here log pθ(x) is the log evidence for x, and ℒ is the bound just defined. The symbol Dₖₗ is the Kullback–Leibler divergence, with ∥ separating its ordered arguments. It averages the log ratio of the first distribution’s density to the second’s under the first distribution. The first argument is the encoder qφ and the second is the generator’s posterior pθ, both over z conditional on x. The divergence is non-negative and vanishes when the distributions agree. Thus the ELBO is a lower bound on log evidence, with an equality condition specified by the posterior match.
This equality condition gives the encoder a precise assignment. Hold θ fixed, so the evidence and true posterior are fixed. Raising the bound by changing φ then reduces the posterior discrepancy for the observations on which the objective improves. When the generator changes as well, the evidence and the posterior can both move. A higher bound in joint training can reflect an improved generator, a closer inference distribution, or some combination of the two. This follows from the accounting identity even when neither the exact evidence nor the exact divergence is available to measure directly.
The prior–decoder factorization gives a second expression for the objective.
ℒ(x; θ, φ) = 𝔼qφ(z | x)[log pθ(x | z)] − Dₖₗ(qφ(z | x) ∥ pθ(z))
The expectation 𝔼 averages the decoder’s conditional log likelihood pθ(x | z) over latent draws z from qφ at input x. The divergence Dₖₗ orders its arguments from that same encoder distribution to the prior pθ(z). The bound ℒ depends on the generator parameters θ and the recognition parameters φ. The minus sign makes the divergence to the prior a cost in the optimization.
The divergence in this expression and the divergence in the evidence identity have different second arguments. The prior cost can be calculated or estimated with the quantities specified by the architecture. It constrains how far an input’s latent distribution departs from the reference available at generation time. The gap to the evidence depends on the posterior and generally remains unknown. Putting the two formulas side by side explains how a computable cost can yield a criterion whose approximation error also has a precise interpretation.
The reconstruction and prior terms exert pressure on the same encoder. The conditional likelihood can benefit from a latent state that preserves details of x. The prior comparison favors latent states distributed in a way the prior can also support. A simple example of the tension occurs if making particular input cases easy to reconstruct requires their encoder distributions to concentrate in very narrow regions. That can improve conditional prediction while increasing the cost of explaining why the encoder uses those regions so selectively. The bound balances the terms using the same probability units.
Trace the two sources of random variation
The training objective can be summed over independently drawn observations or expressed as their average. A random minibatch estimates that dataset average. A latent draw for each selected observation estimates its expectation in the ELBO. These sources of variation do different jobs. Minibatch sampling limits the number of training cases evaluated at once. Latent sampling limits the number of hidden explanations evaluated for each case.
How a training update uses an observation
The steps in order.
The generative gradient is the simpler one to obtain in the basic, separately parameterized setup. The distribution of z at fixed x is controlled by φ, so a change in θ leaves the distribution used for averaging alone. It suffices to take the derivative of the log joint at encoder draws and average those derivatives.
∇θ ℒ(x; θ, φ) = 𝔼qφ(z | x)[∇θ log pθ(x, z)]
The operator ∇θ gives the vector of derivatives with respect to θ. The left side differentiates the bound ℒ for x. The right side averages the derivative of log pθ at the joint value of x and z using the encoder qφ to draw z. Both the sampling distribution and its log density are independent of θ under this setup, which is why only the joint term is differentiated on the right.
The analogous step for φ needs more care. The encoder parameters appear explicitly in the density evaluated at z and also determine where the sample z is likely to fall. If a calculation takes a sampled z, holds it fixed, and differentiates just the written dependence on φ in the log densities, it misses the effect of moving the sampling distribution. This effect is indispensable. Moving an encoder mean, for example, changes the regions of latent space in which the decoder is asked to score the observation.
The problem can be approached with a score-function estimator. For a quantity depending on the sample alone, it multiplies the evaluated quantity by the derivative of the encoder’s log probability at the sample. The identity starts from the derivative of the sampling density.
∇φ 𝔼qφ(z | x)[f(z)] = 𝔼qφ(z | x)[f(z) ∇φ log qφ(z | x)]
Here f is a scalar function of the latent value z with no explicit dependence on φ in this expression. The expectations 𝔼 use the encoder qφ at observation x. The gradient ∇φ acts on its parameters, and ∇φ log qφ is called the score. With additional explicit parameter dependence in an integrand, its ordinary derivative also has to be accounted for. The advantage of using the score is that the sampled z need not vary differentiably with φ, so the technique can be applied to discrete latent choices.
For continuous latent states, the paper favors using how the evaluated quantity changes as z moves. A derivative with respect to each latent coordinate carries information about the local shape of the joint log density. The score-function calculation for that joint term receives its scalar value at the sampled point. The reparameterized calculation can receive the vector of latent derivatives as well, using back-propagation. The paper uses this difference to explain why the reparameterized gradient can have lower variance, a practical issue because high variation makes the direction of individual updates less informative.
Move the parameter dependence into a differentiable map
The reparameterization trick expresses the encoder sample as a transformation of a random variable whose distribution is fixed. Write that map as follows.
z = g(ε, φ, x)
The symbol ε denotes a noise vector drawn from a chosen base distribution. The function g takes ε, the encoder parameters φ, and observation x and returns the latent vector z. For each fixed x and φ, the distribution of this output must be qφ(z | x). The map is differentiable in the parameters used for training. In the density constructions that follow, it is also invertible in its noise input with x and φ held fixed.
For the factorized Gaussian encoder, the transformation is especially direct.
z = μ + σ ⊙ ε
The vector μ holds the encoder means, σ holds its positive standard deviations, and ε is drawn from a zero-mean Gaussian with identity covariance. The operator ⊙ multiplies corresponding coordinates. The plus sign shifts every scaled draw by its mean. As a consequence, each component of z has the mean and variance specified by the encoder.
Consider an individual Gaussian draw. During differentiation the noise value can be held fixed. A change to the mean shifts the resulting z. A change to the scale moves z according to how large the corresponding noise value was and on which side of its center it fell. Following those changes through the decoder tells the learning algorithm how the reconstruction score would respond locally. Repeating the computation with fresh noise still explores the encoder distribution. Holding a draw fixed for a derivative is compatible with sampling a different draw at the next evaluation.
The change of variable places the expectation under the base distribution, where changing φ leaves the averaging law fixed.
𝔼qφ(z | x)[f(z)] = 𝔼p(ε)[f(g(ε, φ, x))]
The expectation on the left uses the encoder density qφ over z conditional on x. The expectation on the right uses p(ε), the fixed noise law. The function f is evaluated at the latent state, directly on the left and through the map g on the right. The equality holds because both arguments to f have the same distribution. On the right, the effect of φ on f’s argument appears in the differentiable calculation inside the expectation.
The stochastic quantity to differentiate for an individual observation then has a short expression.
ℒ̃(x; ε) = log pθ(x, g(ε, φ, x)) − log qφ(g(ε, φ, x) | x)
The tilde on ℒ̃ means this is a sampled value of the ELBO for x, obtained with noise ε. The generator pθ scores the joint pair consisting of x and the state returned by g. The encoder qφ scores the same state conditional on x. Its φ dependence enters through both the evaluated density and the location at which it is evaluated. The generative parameters θ enter through the joint score. The logarithm in each term turns its density or mass into a log score.
Under the differentiability assumptions in the paper, averaging the derivative of this calculation over ε recovers the derivative of the exact ELBO. Another average over minibatch selection recovers the gradient of the average dataset bound. An individual estimate can therefore be noisy and still have the right expectation. The statement concerns the gradient of the bound. Its relationship to the gradient of the marginal likelihood still depends on the posterior gap.
The paper calls the learning algorithm Auto-Encoding Variational Bayes and uses Stochastic Gradient Variational Bayes for the estimator in a more general variational setting. The appendix describes gradient-based updates with a learning rate or preconditioner. The authors say they usually used Adam and Adamax in experiments and discuss using a holdout collection for early stopping when its assigned probability begins to fall. They also mention TensorFlow as an example of software that can trace and differentiate the computation. These choices fit the training procedure because it supplies a scalar sampled objective and its derivatives. Adam: A Method for Stochastic Optimization
Track the change in density as well as the sample
The map from noise into latent space determines where samples go. The training objective also asks how probable each resulting location is. An invertible map conserves the probability carried by a small region while changing the volume occupied by that region. When the region expands, its probability density decreases. When it contracts, the density increases. The determinant of the derivative matrix supplies the local volume factor.
log qφ(z | x) = log p(ε) − log |det(∂z/∂ε)|
The left side is the encoder log density of the output z for input x, with parameters φ. The first term on the right is the base log density of the noise ε that generated z. The notation ∂z/∂ε represents the Jacobian matrix. Its row for an output coordinate contains that coordinate’s derivatives with respect to the noise coordinates. The determinant det gives the signed volume factor, and the absolute value bars discard orientation so the logarithm uses the size of the change. The subtraction implements division by that size in ordinary density units.
The Jacobian of Gaussian scaling has only diagonal entries. Each output depends on its own noise coordinate with derivative equal to its scale. A diagonal determinant is the product of those scales. Its logarithm is a sum.
log |det(∂z/∂ε)| = ∑ᵢ log σᵢ
The expression on the left is the log absolute determinant of the Gaussian map from ε to z. The index i in the sum ranges over latent coordinates. Each σᵢ is the positive standard deviation predicted for that coordinate. Together with the standard Gaussian base log density, the sum gives the encoder log density of the sample.
In the training calculation the base draw is already known. The encoder can score the transformed sample by accumulating the correction as it creates it. This matters for richer distributions because mapping arbitrary observed latent vectors back to their base draws can have a different computational cost from sampling and scoring the points produced during training. The method’s repeated operations favor transformations whose correction is cheap to compute along the sampled path.
Allow correlations without paying for a general determinant
A factorized Gaussian can give an observation broad uncertainty along each coordinate. It cannot describe a Gaussian posterior whose long axis lies at an angle to those coordinates. The paper extends the example by replacing coordinatewise scaling with a triangular matrix. The elements away from the diagonal allow a noise coordinate to affect more than one latent coordinate.
z = μ + Lε
The output z has mean vector μ. The noise vector ε still has identity covariance and zero mean. The symbol L is a triangular matrix with non-zero diagonal entries and Lε denotes ordinary matrix multiplication. For a lower triangular choice, an output coordinate can depend on its own noise coordinate and on earlier ones in the chosen order. This is enough to represent a full Gaussian covariance.
Σ = LLᵀ
The symbol Σ denotes the covariance of z at the fixed observation. The superscript ᵀ transposes L, exchanging its rows and columns. Multiplying L by its transpose gives the covariance because the starting noise has identity covariance. This is the Cholesky form used in the paper to parameterize a positive definite covariance.
The encoder can predict unconstrained values for the strictly lower triangular entries. A fixed mask discards entries on and above the diagonal from that output. The diagonal is built separately from positive scales. The resulting matrix is invertible and its determinant is still a product of its diagonal values. The network can learn correlations without having to differentiate a general determinant for every latent sample. With the authors’ choice of scale diagonal, the log correction is the same sum of log scales as in the factorized case.
This extension illustrates the distinction between a dependence structure and a density correction. Introducing off-diagonal dependence changes the joint shape of z, but the triangular structure keeps those entries out of the determinant calculation. A full Gaussian can follow an angled concentration of posterior mass. If the posterior instead follows a curved region or requires other departures from Gaussian shape, a linear triangular map still imposes a restriction. The paper’s subsequent transformations retain the easy determinant while introducing nonlinear dependence.
Use the encoder to estimate likelihood after training
A trained encoder can propose latent values for estimating the marginal likelihood. Each draw is weighted by the ratio of its generative joint density to its encoder density. If the proposal covers the latent states needed for the integral, averaging the weights integrates the joint over z. In effect, sampling can concentrate on plausible explanations for x, and the denominator corrects for how often the encoder proposes them.
log pθ(x) ≈ log [(1/L) ∑ₗ₌₁ᴸ pθ(x, z⁽ˡ⁾) / qφ(z⁽ˡ⁾ | x)]
Here L is the number of proposal draws, separate from the triangular matrix denoted by L in the Gaussian construction. The summation index l goes from 1 through L, and z⁽ˡ⁾ is the corresponding draw from the encoder qφ at x. The numerator pθ gives the joint density under the generator. The ratio is an importance weight. The factor 1/L forms the average, and the logarithm is applied to that average to approximate log pθ(x).
The place of the logarithm distinguishes likelihood estimation from the basic ELBO expectation. The likelihood calculation averages the weights and then takes the log. The ELBO averages the logs of the weights. At L = 1, the sampled expressions agree. With more draws, the logarithm of the average is a different random quantity. It approaches the log marginal in the limit under the sampling conditions in the paper. Unbiasedness of the weight average in probability units does not imply unbiasedness after applying the logarithm.
The authors discuss the use of this calculation as a training objective in importance-weighted autoencoders. The bound obtained in expectation gets tighter as the number of samples rises. The paper also describes a reinterpretation in which the importance-weighted objective corresponds to an ELBO with a particular inference distribution. The practical concern is how successfully the encoder covers relevant regions of a high-dimensional posterior. If an important region receives few draws, a finite average can depend heavily on rare weights. The authors flag the poor scaling of importance weighting in such spaces, which helps motivate investing in the proposal distribution’s shape.
Read the ELBO as a fit in observed and latent space
The paper gives another derivation that starts with the empirical distribution of the observations. Draw an x from the dataset and then draw its z from the encoder. This defines a joint distribution on the two variables. The generator also defines a joint distribution, through prior draws and observation conditionals. Comparing the joints gives a way to understand the ELBO as a fitting criterion in a space that includes latent variables.
qD,φ(x, z) = qD(x) qφ(z | x)
The symbol qD(x) stands for the empirical observation distribution, with D denoting the dataset in this notation. The density or probability qφ(z | x) is the encoder with parameters φ. Their product defines qD,φ(x, z), the empirical-and-encoder joint obtained by first drawing the observation and then its latent state. The order here starts with data, since the dataset supplies the observed examples.
The comparison between joints separates into a comparison of marginals and a conditional term, using the chain rule for relative entropy.
Dₖₗ(qD,φ(x, z) ∥ pθ(x, z)) = Dₖₗ(qD(x) ∥ pθ(x)) + 𝔼qD(x)[Dₖₗ(qφ(z | x) ∥ pθ(z | x))]
Each Dₖₗ denotes the ordered divergence with its first and second arguments separated by ∥. The left side compares the data-and-encoder joint with the generative joint pθ. The first term on the right compares the empirical distribution qD of x with the generative marginal. The expectation 𝔼 over qD averages a second divergence, from the encoder qφ to the posterior pθ over z for each x. The generative and encoder parameters are θ and φ. The additive relation is the joint version of the difference between fitting observations and also fitting the latent explanations assigned to them.
In the paper’s likelihood interpretation, the fixed contribution of the data distribution to the divergence plays the role of a constant. The quantities that change as parameters are optimized are the modeled log scores and the posterior discrepancy. For continuous data represented literally by point masses, the cross-entropy or log-density objective is the direct way to read this comparison, since a point-mass empirical distribution and a continuous fitted density need not have a finite distributional KL. The training quantities remain averages of log densities evaluated on the observations.
The joint view explains why the encoder can affect the fitted generator. A generator can describe the observations with a posterior that the encoder family finds difficult to approximate. The joint objective then places pressure on the generator through both the observed distribution and that mismatch. A more expressive encoder can make a previously difficult generative choice easier to fit under the bound. A more expressive generator also changes which joint distributions are available. The identities specify the pressures on each side without promising that optimization will find the best members of either family.
The authors invoke the direction of the divergence to explain dispersed generation. Configurations assigned appreciable probability by the data-and-encoder joint are expensive to miss under the generator because the joint log score becomes very poor. Regions that receive little weight from the data-and-encoder joint contribute less directly to the average. When an exact fit is unavailable, spreading probability can be a way to cover configurations that the architecture cannot fit neatly. The authors identify increased flexibility in generation or inference as a way to counter this tendency.
Enlarge the encoder with an auxiliary variable
An encoder can gain flexibility by drawing an additional hidden quantity and then drawing the main latent state conditional on it. Even simple conditional families can produce an elaborate mixture when that initial draw varies. The paper describes introducing the extra variable on both sides of the joint probability calculation.
qφ(u, z | x) = qφ(u | x) qφ(z | u, x)
The new variable u is continuous and auxiliary to the main latent state z. The observation is x. The encoder parameters φ determine how u is drawn through qφ(u | x) and how the result informs the next draw through qφ(z | u, x). The product gives a conditional joint distribution over u and z. Integrating out u gives the effective encoder over z, whose shape can be more complicated than the conditional family used in the last factor.
The generator’s extra conditional can be arranged to leave its original joint over x and z as a marginal.
pθ(x, z, u) = pθ(u | x, z) pθ(x, z)
The left side is the augmented generative joint, with parameters θ. The existing pθ(x, z) accounts for x and z. The extra pθ(u | x, z) distributes probability over u at any such pair. It integrates to the total conditional mass, so removing u recovers the existing joint. The augmented objective can evaluate and differentiate the two joint densities at sampled values of all the variables without having to obtain the marginal encoder density by integration.
That computational convenience has a price in the bound. The divergence between augmented joints includes the divergence between their marginals over x and z and an additional average discrepancy between their conditionals over u. With the marginal joints fixed, that extra non-negative cost can only make the augmented bound looser. The opportunity for improvement comes from the richer marginal encoder over z. If it reduces the original discrepancy enough, the benefit can outweigh the added cost. The authors cite results using auxiliary variables and connect the construction with deeper hierarchies in which some latent quantities can play this role.
Compose invertible transformations into a flow
A normalizing flow offers another way to get a richer encoder. The starting density is explicitly known. The encoder transforms a draw from it through a succession of invertible maps. Each step can depend on the input observation, and each contributes a volume correction. The final transformed draw is the latent state whose density is required by the ELBO. The paper traces this approach to variational work on flows. Variational Inference with Normalizing Flows
εₜ = fₜ(εₜ₋₁, x)
The step index is t. The invertible map fₜ acts on the preceding vector εₜ₋₁ using observation x as context, and εₜ is its output. The initial input ε₀ comes from the base density, and the state after the final step is used as z. In a hierarchy, context can also contain latent variables already sampled in the inference computation.
Successive transformations multiply local volume factors, so the corrections add in logarithms.
log qφ(z | x) = log p(ε₀) − ∑ₜ₌₁ᵀ log |det(∂εₜ/∂εₜ₋₁)|
The encoder density at final state z is qφ(z | x), parameterized by φ. The base log density is log p(ε₀). The summation ranges from transformation 1 to transformation T, the chain length. Each ∂εₜ/∂εₜ₋₁ is the step’s Jacobian, det takes its determinant, and the absolute value bars give the magnitude needed for volume. The sum is subtracted from the base log density to account for the combined deformation.
The cost of using a flow depends on how each map communicates among coordinates and how its determinant is calculated. The paper describes a planar flow that adds a nonlinear update controlled by a single scalar projection of the current vector. This gives a structured transformation with a tractable density correction. Passing interaction through that scalar can require many successive steps to express dependencies in a large latent space. This motivates a construction in which a step can express more structured dependence while still having a simple determinant.
Use autoregression in the direction that favors sampling
An autoregressive Gaussian assigns an order to the coordinates of a vector. For each coordinate it specifies a mean and scale that depend only on earlier coordinates. If the whole vector is already known, a suitable masked or convolutional network can calculate many of those means and scales in parallel. If the vector has yet to be generated, each draw must wait until the values on which it depends are available. The direction in which the calculation runs therefore matters for its cost.
The paper considers inverting the ordinary sampling operation. With the complete vector available, each coordinate can be shifted and divided by the scale predicted from its predecessors.
εᵢ = (yᵢ − μᵢ(y₁:ᵢ₋₁)) / σᵢ(y₁:ᵢ₋₁)
The input vector is y, with current coordinate yᵢ and predecessors denoted by y₁:ᵢ₋₁, the range from coordinate 1 through the coordinate before i. The functions μᵢ and σᵢ give the predicted mean and positive scale for coordinate i using those predecessors. The output εᵢ is the recovered noise coordinate. Every required y entry is available before the calculation begins, and one recovered ε coordinate is unnecessary for computing another.
The restriction on dependencies also gives a triangular Jacobian. A transformed coordinate has zero derivative with respect to later inputs. Its own scale and mean depend on previous inputs, so the derivative with respect to its own input coordinate is just the inverse scale in the displayed form. The determinant follows by multiplying diagonal entries, even when the means and scales depend nonlinearly on earlier values.
The flow can use a related shift-and-multiply form, whose diagonal entries are scales instead of reciprocal scales. The name inverse autoregressive flow refers to this use of the direction that can transform an already available vector across its coordinates in parallel. Within a chain the steps themselves still run in sequence. The parallelism is across coordinates of each step, where ordinary forward autoregressive sampling would require a sequence of newly created inputs.
Build the inverse autoregressive flow
The initial encoder produces the location and scale of a diagonal Gaussian and an additional vector of context. A standard Gaussian draw is transformed to a sample from this initial encoder distribution. A succession of autoregressive networks then take the preceding state and the context and return coordinate-specific shifts and scales. Using a distinct network at each step allows different transformations along the chain.
zₜ = μₜ + σₜ ⊙ zₜ₋₁
The preceding state is zₜ₋₁, and zₜ is the result at step t. The vectors μₜ and σₜ are outputs computed from the preceding state and the encoder’s context, with each coordinate’s outputs restricted to earlier coordinates in the chosen ordering. The symbol ⊙ gives coordinatewise multiplication. With positive scale, each coordinate is invertible once the earlier input coordinates are known. The chain’s final z is the encoder’s latent draw. This notation uses z throughout the chain to distinguish its intermediate states from the initial base noise ε.
The initial Gaussian correction accounts for the scaling from noise into the first state. Every later step adds a sum of log scales to the accumulated log determinant. Subtracting these corrections from the standard Gaussian base log density gives the final encoder score. This is the computation needed during ELBO training. A flexible conditional distribution can thus be sampled and scored without dense determinant evaluation. The log correction stays simple because of the dependency constraint, even if the network computing the shifts and scales is deep.
The authors present a gated version arranged for numerical stability. The network predicts a proposal and an unconstrained gate input. Applying a sigmoid to the gate input produces a positive fraction that controls how much of the current state to retain.
zₜ = σₜ ⊙ zₜ₋₁ + (1 − σₜ) ⊙ mₜ
In this update zₜ₋₁ and zₜ are consecutive flow states. The vector mₜ contains the proposed coordinate values, and σₜ contains the sigmoid outputs from the autoregressive network at step t. The term 1 − σₜ uses the complement of each gate. The coordinatewise products ⊙ and their sum form a blend. Since a coordinate’s proposal and gate depend only on earlier coordinates of the input and on context, the diagonal derivative for its own input remains its gate value.
The paper discusses beginning with positive gate inputs so that the retained portion initially dominates. This gives a chain that starts with relatively small changes to the initial state. Another design choice is to reverse the coordinate order between steps. A coordinate that could influence others under the previous ordering can occupy a different position in the next one. Reversal is a permutation, so it leaves volume unchanged and adds no log-density cost.
The full-covariance Gaussian appears as a special case when the flow performs a single linear autoregressive transformation with the appropriate scales. This relationship helps locate the source of the improvement over the simple Gaussian. Triangular linear operations can introduce linear correlations, while conditional nonlinear shifts and scales can bend and reshape a distribution in ways a Gaussian cannot. The flow’s capacity depends on both the neural computations within a step and the number of steps the architecture uses.
Give successive latent groups their own roles
Multiple latent groups introduce another level of expressivity. Inference begins at the observed input and samples latent groups in an order that respects the encoder graph. Each group can depend on the input and on other hidden groups whose values have already been drawn. The paper describes expressing each sample through its own noise and transformation.
zᵢ = gᵢ(εᵢ, Pa(zᵢ), φ)
The index i identifies a latent group zᵢ in the encoder’s sampling order. Its base noise is εᵢ, and the symbol Pa denotes the values of the group’s parents, which can include x. The map gᵢ uses those parents and the encoder parameters φ to produce the group’s sample. After all groups have been sampled, the same joint log score minus encoder log score gives a stochastic estimate of the bound. Differentiation can follow the effects of early groups through later groups that depend on them.
The order of the encoder’s latent draws can follow the order used in the generator. This is possible even though the encoder starts with an observation and the generator ends in the observation space. The authors compare this design with bottom-up recognition, in which the latent groups are inferred in a direction opposite to the generator’s latent order. Aligning their latent orders can make it easier for inference to reuse the calculation that supplies a conditional prior in the generator.
The reason comes from Bayes’ rule. For a group with specified parents, its posterior combines a prior given those parents with the likelihood of the observed data given the group and those parents. One proposal described by the authors uses a Gaussian conditional prior and multiplies it by a learned quadratic contribution playing the role of an approximate likelihood.
qφ(zᵢ | Pa(zᵢ), x) = pθ(zᵢ | Pa(zᵢ)) ℓ̃(zᵢ; x, Pa(zᵢ)) / Z
The group is zᵢ, its generative parents are Pa(zᵢ), and x supplies observation information. The factor pθ is the conditional prior, with generative parameters θ. The learned quadratic pseudo-likelihood ℓ̃ adds evidence about the group in a form whose product with the Gaussian prior can be normalized. The constant Z normalizes the resulting density qφ, whose recognition parameters are denoted by φ. The construction lets changes in the conditional prior affect the encoder directly.
The authors also describe a less restrictive form of sharing. A part of the network used to compute the prior can be reused by the conditional encoder, and the encoder can then apply further operations suited to its own inference family, including a flow. The basic derivation with separate parameter sets explains the usual two-network case. In a shared hierarchy, the derivatives must also follow the dependencies introduced by the shared computation. The schematic of the graph indicates which samples and scores depend on each parameter.
Shape training when the latent state is scarcely used
Early in learning, the generator may have little ability to use a latent draw to reconstruct its associated input. The prior cost can then favor an encoder that resembles the prior for almost every input. Such samples carry little information about which input produced them, which in turn gives the decoder little input-specific signal through the latent route. The authors describe this as an equilibrium from which optimization can be slow to escape.
One response is to anneal the weight of the latent cost. The paper describes beginning at 0 and gradually increasing it to 1 over training epochs. At the beginning, the reconstruction term can establish a connection between the sample and the observation while the prior pressure is weak. Over time the objective moves to the ordinary weighting. This changes the trajectory followed by training and keeps the final objective grounded in the original relationship between evidence and the bound.
A different proposal, called free bits, works with latent groups. It charges a constant divergence cost for each group as long as its average divergence for the minibatch is below a threshold. Above the threshold it charges the measured divergence.
ℒ̃λ = 𝔼ₓ∼ℳ[𝔼q(z | x)[log p(x | z)]] − ∑ⱼ₌₁ᴷ max(λ, 𝔼ₓ∼ℳ[Dₖₗ(q(zⱼ | x) ∥ p(zⱼ))])
Here ℒ̃λ denotes the modified batch objective at threshold λ, expressed in nats. The expectation with x∼ℳ averages over the observations x in minibatch ℳ. Within the first expectation, 𝔼q(z | x) averages the decoder log likelihood log p(x | z) over the latent vector z drawn from q. The sum ranges over latent groups j from 1 through K, and zⱼ denotes one such group. The divergence Dₖₗ compares its conditional encoder distribution with its prior p(zⱼ). The function max chooses the larger of λ and that group’s minibatch-average divergence.
The order of operations determines what is free. The objective compares the threshold with the average divergence for a group, so individual examples can use different amounts. Within the region below the threshold there is no additional cost for increasing that average. If more informative samples help reconstruction, the change can improve the objective there. The construction creates an incentive for a group to use the available room, without enforcing a prescribed amount of information for every observation.
Decide where to place the remaining dependence
The paper distinguishes several architectural ways to describe a complicated observation distribution. A latent variable can carry dependence among observations that are drawn independently conditional on it. A visible autoregressive decoder can describe dependencies directly by conditioning each observed part on earlier ones. An invertible transformation applied to continuous observations can start with a simple density and obtain a richer likelihood through the same Jacobian accounting used in a flow.
These choices have different consequences for synthesis. A fully autoregressive decoder must produce observed components in order, even if it can evaluate many likelihood factors in parallel when their inputs are already known. A decoder whose visible coordinates are conditionally independent can draw those coordinates in parallel after its latent inputs are ready. A flow acting directly on the observations must preserve dimensionality along the invertible mapping, but its likelihood is tractable when the determinant is. The authors discuss designs such as NICE and Real NVP because their transformations allow relatively cheap computation in both directions.
The authors describe combinations that use the strengths of more than one construction. In a combined system, a latent state and an autoregressive decoder divide the work of accounting for structure. A flow can serve the encoder, the observation distribution, or another density in the generator. Its role determines which direction must be fast and which quantities must be explicitly scored. Across these choices, the basic VAE calculation still asks for a draw that explains the given observation and a tractable estimate of how much that draw contributes to the bound.
Experiments and results
A small comparison makes posterior shape visible
The paper’s direct visual experiment fits a VAE to a toy dataset of four datapoints. The prior is a spherical Gaussian. One setting uses factorized Gaussian inference, and the other uses inverse autoregressive flow. The figure shows the prior and the inferred distributions, using a different color for the cluster associated with each observation. A reader can follow how the distributions collectively use latent space and how their individual shapes differ.
The factorized encoder can move each cluster and change its spread along the coordinate axes. The flow can deform the clusters through conditional, nonlinear transformations. The authors judge the resulting IAF distributions more flexible and better fitted to the prior as a collection. The result illustrates an issue that would be difficult to see from a single training objective value. If the shape available to each input is too restrictive, fitting all the inputs into the same prior space becomes a geometric constraint even when the encoder can choose each cluster’s location.
The figure gives a comparison of inference families under the stated toy setup. The paper supplies no numerical fit score, no test split, and no reference exact posterior against which to measure approximation error for individual observations. The observed result concerns the flexibility and arrangement of the clusters. There is no stated likelihood difference to read off the drawing, and the fit seen across the clusters does not quantify the divergence from an exact posterior for any particular input.
The authors also discuss convolutional IAF experiments on CIFAR-10. They identify hierarchical latent structure and the use of convolutional autoregressive autoencoders for the flow networks, mentioning PixelCNN-related work. They describe masked autoregressive networks for nonconvolutional settings. These details explain which implementations were used as dimensionality grew. The exposition supplies no CIFAR-10 test likelihood, baseline score, or numerical effect of adding stochastic layers, so the dataset establishes the setting of the discussion without supplying a benchmark ranking.
Classification with limited annotation
The most explicit numerical comparison appears in the discussion of semisupervised image classification. A fully supervised learner receives class information only from the images that keep their labels. A VAE-based approach can also learn from the inputs whose labels are missing. Where the classification and generative computations share parameters, the unlabeled observations can affect the representation used for the class prediction. This application measures the usefulness of generation for a downstream task through classification performance.
For MNIST, the paper reports an average classification error under 1% from cited work with auxiliary latent variables, using 10 labeled training images per class. It describes the training condition as removing more than 99.8% of the labels. The retained images without labels matter to the interpretation. The setting measures classification with scarce annotation and access to unlabeled inputs. The paper gives no corresponding supervised MNIST error for that restriction and does not specify a split for the reported error in this discussion. It also mentions a separate demonstration using a single labeled example per class without supplying an accuracy figure for it.
The ImageNet example provides two directly comparable reported values. The cited study trains under a condition in which only 1% of the labeled images are used as labeled examples. The supervised baseline is GoogLeNet. The semisupervised VAE approach describes labels and images together and incorporates the unlabeled inputs in learning. The reported validation accuracy is around 5% top-1 for GoogLeNet and around 45% for the VAE-based approach on the same classification task. The paper uses the example to show how much the learning setup can matter when supervision is sharply reduced. ImageNet Large Scale Visual Recognition Challenge
ImageNet validation top-1 accuracy with 1% of image labels
The cited semi-supervised VAE approach achieves higher validation accuracy under scarce supervision.
The numbers
| System or setting | top-1 accuracy % |
|---|---|
| Supervised GoogLeNet, around | 5 |
| Semi-supervised VAE, around (this paper) | 45 |
The star marks the better setting in the cited result. Both plotted values are approximate, as the paper describes them. The comparison gives evidence for the complete semisupervised approach in this training regime. Its two systems also differ in how they make use of the observations, which is part of the intended intervention. The paper gives too little implementation detail here to attribute a specific share of the gain to the latent prior, the recognition network, or an individual term in the objective.
The purpose of the classification application differs from the purpose of the toy fit. The toy experiment inspects latent geometry directly. The classification studies evaluate predictions from procedures that can exploit additional inputs through a generative task. A low classification error establishes predictive performance under its reported label conditions, while the representation that led to it can still admit several probabilistic explanations. That is why the paper uses these results to motivate an application of the framework, with the accompanying method and data conditions doing much of the interpretive work.
What the reported efficiency figures measure
The paper cites an experimental comparison of reparameterized gradients with a score-function estimator enhanced to reduce variance. In that comparison the score-function procedure needed two orders of magnitude more samples to attain the same gradient variance. The reported quantity is sample requirement at matched variance. The introduction does not specify the benchmark data or supply elapsed times for that comparison. Its purpose is to connect a measured efficiency difference with the mathematical advantage of accessing derivatives through continuous latent states.
The synthesis discussion reports a separate 100x speed improvement in experiments attributed to the earlier IAF study. The relevant comparison is the computational structure of synthesis. Generating fully autoregressive observations requires a sequence of dependent operations across their components. A latent-variable construction can first generate the shared hidden state and then generate conditionally independent visible components together. That architecture offers parallel work during synthesis. The paper cites the speed figure without reproducing hardware, timing conditions, or a complete baseline description, leaving the value tied to those earlier experiments.
The paper also reports design choices associated with improved results in the flow setting. The authors describe initializing autoregressive gate inputs near +1 or +2 so that the flow makes small adjustments early in training. They report a benefit from reversing the coordinate order between transformations, where the reversal changes the direction of available dependencies and preserves the determinant correction. The account gives no likelihood values for these settings. The findings identify aspects of the architecture and initialization associated with better outcomes in the authors’ experience.
For free bits, the earlier study cited by the paper found favorable behavior with thresholds of 0.125, 0.25, 0.5, 1, and 2 nats for latent groups. The authors report an improvement in log likelihood on a benchmark without giving the corresponding scores. The values are settings of the objective and therefore cannot be plotted as likelihood results. They establish that the favorable behavior was reported across several choices of allowance. The paper gives neither a ranking among those choices nor matching results for an annealing schedule.
What the application figures establish
The authors’ examples of learned representations include an application to molecules. The cited work fits a VAE to hundreds of thousands of existing chemical structures. Its continuous representation allows a search governed by a property objective in latent space. The paper describes demonstrations involving drug-like molecules and organic light-emitting diodes. The figure illustrates the move from encoded examples to property-directed search, with no numerical comparison of design success or evaluation split in the introduction.
The application to text generation uses a continuous latent space for observations that are discrete sentences. The cited study demonstrates outputs along paths between encoded sentences and also uses its learned distribution to fill in missing words. In the example shown, the decoded intermediate sentences have grammatical form and exhibit local continuity in topic and structure. Those are qualitative properties of the displayed interpolation. The introduction contains no aggregate language metric or interpolation success rate. Generating Sentences from a Continuous Space
In astronomy, synthetic galaxy images provide examples with a known amount of shearing. Weak gravitational lensing produces the effects that the detection procedure is meant to measure, and the paper describes the need for calibration data with specified shearing when real data are limited. The application illustrates a practical use of synthetic observations grounded in the requirements of a measurement procedure. The authors do not report a numerical calibration gain in this account.
For image resynthesis, the paper shows an observation encoded into a latent space and decoded again after movement along a direction associated with smiling. The displayed images range across facial expressions. The quantity being manipulated is the encoded state, and the visible consequences are obtained by decoding it at different points along the direction. The illustration documents a visually recognizable change in the shown case. The paper gives no aggregate metric of expression control or of how much other image content changes.
These examples put the two computational directions to work in different ways. Sentence and face interpolation begin with observations and ask the encoder for locations from which the decoder can generate variations. The molecular example uses the latent space as the domain of a property search. Galaxy synthesis supplies observations under conditions useful for calibration. Their outcomes concern particular operations on a learned representation. The likelihood argument explains how the encoder and generator can be trained together, and the demonstrations show what those trained components can do in the reported settings.
What the ablations show
The paper gives no systematic ablation study, but it examines a direct comparison of posterior families, analyzes what changes when inference or training is modified, and reports design observations from earlier experiments.
What changes when the encoder can reshape a distribution
The toy experiment asks what an encoder can do with a fixed choice of prior family. Each input gives rise to its own conditional distribution in latent space. In the factorized Gaussian setting, the network can learn a different center and a different set of scales for every input. What it cannot assign to an individual input is a distribution that curves around another region or follows a direction at an angle to the coordinate axes. The restriction applies even if the network that calculates the center and scales is highly expressive. Its outputs still have to describe a product of Gaussians.
The flow changes the output family. One way to appreciate the difference is to imagine starting with a cluster elongated along an axis and then allowing its center in one coordinate to move by different amounts depending on the values of another coordinate. Points near different parts of the starting cluster can now move in different directions. This produces a change of shape that a single mean and a scale per coordinate cannot express. The flow can make such a change while continuing to evaluate the density of the transformed sample. In the toy figure the effect is visible in the shapes assigned to the different inputs.
The more convincing fit to the prior in that figure is a collective property. Imagine choosing an observed input at random and drawing a latent state from its encoder distribution. Repeating this procedure across inputs produces a mixture of the individual distributions. That mixture can approximate the prior even when the distributions associated with particular inputs occupy distinct regions. In a well-fitting joint distribution, this is quite natural. Averaging the true posterior over observations drawn from the generator would recover its prior. Individual posteriors can still differ appreciably, since conditioning on an observation changes which states are plausible.
This interpretation gives the comparison a second dimension beyond the shape of any individual cluster. The encoder needs enough flexibility to give inputs different distributions while arranging those distributions compatibly in a common space. A family can be flexible enough to move clusters apart and still have difficulty putting them together so that their mixture fits the prior. A family with deformations has additional options at the places where several clusters meet or where an individual cluster needs to follow the shape of available probability mass. The figure makes both the within-input flexibility and the arrangement across inputs visible.
A complication is that the encoder and generator are fitted together. Replacing the encoder family can change the generator learned during training, and the posterior the encoder is targeting can change with it. The figure therefore compares the outcomes of fitting with different encoder families. A separate comparison holding a trained generator fixed would ask how accurately each family approximates one specified posterior. Answering that question would also require a reference or a way of estimating the associated discrepancy. The toy figure shows the result of allowing richer inference during fitting, with the geometry itself as evidence.
There are also several possible ways to improve on a factorized Gaussian. A full-covariance Gaussian would allow an angled cluster whose shape still has the symmetry of a Gaussian. A nonlinear flow permits more general shapes. The displayed experiment jumps from the product family to the flow family, so its outcome cannot be divided into a contribution from allowing covariance and a further contribution from allowing nonlinear dependence. This matters because the mathematical discussion establishes both mechanisms, and a comparison that activates them together can reveal their combined effect without showing which was necessary for the observed fit.
What the experiment supplies is a concrete example of an architectural constraint propagating into the result. The restriction is imposed at the level of an input’s distribution. The effect appears across the collection of inputs, because their distributions are fitted within one latent space. That connection would be difficult to see by inspecting the encoder’s network layers or by reading a scalar objective alone. The authors chose a case in which the fit can be examined as geometry, giving the mathematical argument about expressivity a visible consequence.
What a fixed generator lets the analysis isolate
The paper’s identity for the evidence bound supplies a controlled comparison one can reason through without access to an exact likelihood calculation. Take the same observation and the same generator, and evaluate the objective with two different encoders. The true probability of the observation is the same in both evaluations. In expectation, whichever encoder attains the higher bound is closer to the same posterior in the direction of divergence the paper uses. This conclusion follows even if the value of the posterior gap itself is inaccessible. The fixed generator makes the difference between the bounds interpretable.
The word “expectation” is important for this argument. A sampled bound has noise from the particular state used to evaluate it. For instance, a draw from a less accurate encoder may occasionally land in a region that explains the observation very well relative to the encoder’s density there. Its sampled objective can then be high. A single comparison therefore depends on chance as well as on the respective expected values. To give the algebraic interpretation to a measured difference, the values being compared must represent the bounds with enough precision for that difference to be meaningful.
There are two layers of averaging to consider with a dataset. For each observation the objective averages over latent values. Averaging those objectives over observations gives an overall criterion. One inference change might help inputs whose posteriors are especially complicated and have little effect on the rest. Another might produce a small improvement across most inputs. The dataset average can make these patterns look similar. The mathematical comparison says what that average measures, and the toy visualization supplies an example of what can become visible when the per-input distributions are examined individually.
Averaging also prevents an overly strong claim about the shared encoder. Under a fixed generator, a better overall bound can mean that the encoder serves the training collection better on average while giving some individual cases poorer approximations. Amortization shares a limited set of adjustable quantities. A change in those quantities can shift the balance among cases. A family evaluated by separate optimization at each observation would have a different source of compromise, because its fitted local parameters would not have to serve the other observations.
The paper’s analysis of the joint distribution explains why the controlled conclusion changes when both sides are refitted. The generator is rewarded for making the data probable and bears the cost of how accurately the resulting posterior can be approximated. If two generative choices fit observations similarly, the one whose posterior the encoder can represent more closely can be preferable under the bound. Enriching the encoder can then change which generative choices are attractive during learning. Improvement can show up in the fitted decoder even though the deliberate architectural change was made on the inference side.
This gives a specific reading of comparisons between jointly trained systems. An increase in the bound after adding a flow can be evidence that the new combination works better according to the variational criterion. To interpret it as a gain in marginal likelihood, one needs a likelihood estimate. To interpret it as a gain in posterior accuracy for a particular generator, one needs a comparison at fixed generative parameters or a direct measure of the gap. Those are different questions an experiment can ask. The paper derives the relation among them without supplying a factorial evaluation that answers all of them.
What auxiliary variables have to earn back
The analysis of auxiliary variables isolates a subtle distinction between changing the objective and changing the range of distributions it can fit. An auxiliary input to the encoder gives the main latent variable access to a mixture. Even if each conditional distribution given the auxiliary draw is simple, the effective distribution after averaging those draws may have a complex shape. Its density could be difficult to compute directly, which motivates optimizing an enlarged joint objective that scores the auxiliary draw explicitly.
The algebra compares that enlarged objective with the objective that would be available if the effective encoder density could be evaluated directly. Imagine holding that effective distribution and the original generator fixed. The enlarged construction adds a discrepancy concerning the auxiliary variable conditional on the observation and the main latent state. It contributes a cost whenever the two auxiliary conditionals disagree. In the case of agreement the extra cost vanishes. This is a controlled comparison in the mathematics. It shows exactly where the extra term comes from without assuming anything about the success of an optimization run.
Consider what that conditional agreement asks for. The encoder generates an auxiliary value before producing the main latent state, so the auxiliary value influences where the state ends up. Given the final state and the observation, the earlier draw remains uncertain. The extra distribution on the generative side has to give a useful probability account of that uncertainty. Its task can be difficult even when it was easy to generate the auxiliary draw and then proceed forward to the main state. An easy sampling order and an easy conditional inference problem are separate properties.
The benefit comes from comparing different effective encoders. The enlarged procedure can reach distributions that a simple encoder could not form, bringing the main latent state closer to the desired posterior. If this gain is substantial enough, it pays for the extra conditional mismatch. In the studies the authors discuss, auxiliary constructions do sometimes yield improvements. The reasoning explains why the improvement can occur and why merely attaching another stochastic variable is insufficient to infer one. The additional variable needs to change a distribution that matters to the fit, and its own conditional probability still has to be handled well.
A parallel question arises in the paper’s discussion of hierarchical latent variables. Additional stochastic layers can serve as auxiliary structure for inference, and they can also give the generator new ways to organize dependencies. A comparison adding a layer may therefore change what can be generated, what can be inferred, and how the enlarged objective is optimized. The decomposition for an explicitly auxiliary variable clarifies the first of these distinctions by holding the original generative marginal fixed. In a jointly redesigned hierarchy, that fixed-marginal condition may no longer describe the intervention.
What the latent-cost interventions test
The authors’ account of a nearly unused latent space describes a feedback problem. Suppose the decoder gives broadly similar scores for a particular observation across the states the encoder currently proposes. Moving the encoder away from the prior then yields little improvement in the expected reconstruction score. Staying near the prior, by comparison, keeps the divergence cost small. With an encoder supplying much the same distribution for many cases, the decoder gets little evidence from the latent sample about the identity of the observation it is meant to explain. Both networks can reinforce this state of affairs.
Annealing changes the relative strength of those signals as training progresses. When the divergence has little weight, an improvement in reconstruction can reward observation-specific inference even if it initially produces a large departure from the prior. Later the prior cost grows and the system has to reconcile the learned pathway with generation from prior draws. The explanation for the intervention lies in the sequence in which the networks acquire their abilities. The objective used near the start gives the two sides a different opportunity to establish a relation than the final objective would give them from random initialization.
The paper draws on related observations in sentence generation and training deeper variational architectures. This context supports the idea that initial conditions can matter to latent use. It leaves questions about when to increase the weight and how training would behave under an equally long run with a different schedule. An intervention that gives learning more opportunity early in the run may alter the final result without changing the final weighting. Conversely, an improvement during the period with reduced weighting could disappear as the cost returns. The schedule is a hypothesis about how to reach a better state, and its success concerns the resulting trained system.
Free bits targets the same low-use regime through the shape of the batch objective. If a group’s average divergence lies below its allowance, the charged penalty is locally flat in that quantity. An encoder that improves reconstruction by making more use of the group can do so without paying a larger cost within that region. Once it crosses the allowance, additional divergence is again charged. The construction operates on the average for a group, so different observations can contribute very differently to the measured divergence that determines which regime the group occupies.
This clarifies why a gain from free bits can have several meanings. It can reflect the prevention of an early equilibrium, because a group has room to begin carrying input-specific information. It can also reflect a different balance among groups at the end of training, since the altered objective can still apply then. Annealing and free bits consequently intervene on different dimensions. Annealing specifies when the cost becomes strong. Free bits specifies where the cost begins to rise for a group. The paper offers examples of their use, with no matched comparison from which to choose between those mechanisms for a given dataset.
There is a measurement distinction within free bits itself. The charged amount can be at the allowance even when the encoder assigns the prior to every observation, because the charge is a floor. The actual divergence must be inspected to tell whether the allowance is being used. Even a large measured divergence only says that the conditional encoder differs from the prior on average. To see why this matters, imagine an encoder giving every input the same distribution, shifted away from the prior. This would create a cost without distinguishing the inputs. A reconstruction benefit is central to the argument about why the incentive should lead to useful information in practice.
The reported range of thresholds provides evidence that the cited improvement was observed with several settings. The range also has to be read in light of how the latent vector is grouped. An allowance is a property of the group whose cost is computed, and a different grouping changes which coordinates share it. Hence a threshold comparison alone would answer a question about the particular grouping and training regime in use. The introduction gives the mechanism and the earlier favorable finding without a detailed result for each group or setting.
What the flow choices change inside a step
There are two kinds of dependence in the inverse autoregressive construction. At a fixed step, the parameters used to transform a coordinate depend on the coordinates preceding it in the input ordering. Across steps, the output of one transformation becomes the input to another. This means the ordering can influence how readily different parts of the vector affect one another through the flow. If every step uses the same ordering, an early coordinate can influence late coordinates through successive transformations, with the first coordinate’s own shift and scale still relying on context alone.
Reversing the order between steps alters which information can reach which outputs. What counted as early for one transformation can count as late for the next. Dependence can then propagate in both directions across the chain, while each transformation individually preserves the triangular derivative structure needed for its density calculation. The permutation does no stretching, so the bookkeeping for density remains the same. This allows a change to dependencies with no additional term in the log determinant, a precise property independent of the empirical report that reversal helped.
A useful distinction here is between the absolute determinant and the set of functions the flow can express. The determinant contribution of a permutation is fixed, yet permuting the entries changes which values the following network can read to determine a given output. Thus two chains can have the same form of volume accounting while implementing different deformations. The authors’ report about ordering concerns that difference in computation. It gives no separate estimate of the magnitude of its benefit under different chain lengths or network capacities.
Gate initialization concerns a different part of the design. The paper’s gated step blends the incoming state with a proposal. Favoring retention at initialization makes a newly initialized chain less inclined to replace its input at each transformation. This leaves the initial Gaussian draw and its observation-dependent parameters with a substantial role at the start. Learning can then change the gates and proposals together. A shift in the gate’s initial value can influence optimization even if the same family of distributions remains reachable by the learned network.
Those observations point to two distinguishable explanations for why implementations with the same broad architecture can differ. Changing the ordering changes the available paths of dependence across a fixed chain. Changing the initial gates changes initial behavior and the route the optimizer takes through the parameter space. The paper reports favorable choices for both. It gives neither a common numerical outcome for those changes nor evidence that their effects are independent. Their explanatory value is in identifying which operation each change acts on.
What the gradient comparison establishes
The contrast between the pathwise estimator and a score-function estimator addresses the stochastic learning signal. In the continuous case, the authors point out that the pathwise estimator can transmit the derivative of the joint log density with respect to the sampled state. That derivative gives a separate direction of change for each latent coordinate. The score-function expression uses the value of the joint log density in weighting the derivative of the encoder log density. The latter describes how the encoder assigns probability. It gives a different kind of information from the derivative of how well the generator scores neighboring latent states.
The cited comparison holds variance as the target and asks how much sampling is required to reach it. This makes it relevant to the argument about the statistical quality of a gradient estimate. It leaves computational cost per sample, total training duration, and the final likelihood as separate outcomes. A more informative stochastic estimate can help the optimizer move in a useful direction, while the computational advantage of doing so depends on the work needed to obtain it. The paper’s discussion identifies the source of information available to each estimator, and the cited result illustrates its practical significance in the setting examined.
For the same reason, the gradient result is distinct from the toy comparison of inference families. Changing an estimator can leave the objective and the family of distributions intact while changing the noise in the update. Changing a family modifies the distributions among which the optimizer can choose. The two changes can both improve training and may be used together. An experiment replacing both would have to determine which gain came from the distribution the encoder could represent and which came from how reliably its parameters could be adjusted.
What shared ordering allows in a hierarchy
The hierarchical diagrams compare two ways of arranging inference computations. A reverse ordering can start with hidden states close to the data in the generative graph and then infer more remote ones. A shared ordering makes the parents that determine a generative conditional available when the encoder draws the corresponding latent group. Having those values available creates an opportunity to reuse the calculation of the prior for that group. The encoder can combine it with information from the observation.
The rationale comes from the role of the prior in the posterior. A conditional prior narrows the plausible values of a latent group given the parent groups. The observation further narrows or shifts that distribution. When prior parameters change during learning, an encoder that directly reuses that calculation already receives part of the resulting change. An independently parameterized encoder can learn to reflect the change, but it has to do so through its own updates. The proposed sharing therefore changes how quickly and directly the two parts can respond to one another.
The paper describes both a probability-level combination and a network-level combination. With a Gaussian conditional prior and a quadratic approximation to the contribution of the observation, the product can be normalized in tractable form. Reusing only part of the prior network is a looser design. It leaves more room for a recognition distribution whose final shape departs from that product, for example through another transformation. The two proposals illustrate different degrees of coupling even when the latent ordering is the same.
The cited gains involve the advantages of aligned ordering and sharing as implemented in particular architectures. The diagrams show why sharing is straightforward when the orders align. They leave open how much of the observed benefit depends on the order itself, the reuse of parameters, or changes in how inference reads the observation. These distinctions are especially consequential when a hierarchy also contains flows. The latent order can organize inference among groups, and the flow order can organize the dependencies among coordinates inside a group. Changing one has a different meaning from changing the other.
Limitations
Limits the authors state about inference
The authors present the paper as a selective introduction. The detailed arguments concern directed probabilistic constructions with differentiable neural components and emphasize a particular route through continuous latent variables. The applications and related lines of research vary in depth of treatment. Some have an explicit derivation, others an illustrated example, and others a short account of a reported finding. The extent to which a reader can reconstruct the calculation or judge the evidence differs accordingly.
One explicit constraint is that the inference distribution has to support both sampling and evaluation of its probability density. A family could produce useful samples through a readily executed procedure while leaving their probability difficult to evaluate. The variational objective would then have a missing quantity. A family could also offer an easy density expression with a sampling procedure that is expensive to repeat. The paper emphasizes both operations because they are required together for each input on each update. A choice that appears economical when scoring a single state can become costly once multiplied across repeated minibatches and latent draws.
The paper’s focus on parallelism sharpens this restriction for high-dimensional latent vectors. Ordinary autoregressive sampling involves sequential dependence, so the next state coordinate has to wait for the preceding coordinates to be produced. Inverting the relevant operation gives a direction that acts on an already available vector. The flow takes advantage of that direction within each transformation, and it still needs the transformations themselves to run in succession. Thus the form of parallelism the authors establish applies to the coordinates of a step, with chain depth continuing to matter for the total calculation.
The original Gaussian example also demonstrates why computational convenience can have an inference cost. A diagonal covariance makes the required operations straightforward. A true posterior need not organize its uncertainty along these axes. A full Gaussian can express a larger family of covariance structures, yet its contours remain Gaussian. The authors describe richer transformations because these convenient families can constrain the fit. Introducing a more elaborate family expands the possible approximations and also expands the computation required to produce them.
The paper identifies further costs in some alternatives. Planar transformations pass their nonlinear update through a narrow calculation, so capturing high-dimensional dependence may take a long chain. Hamiltonian variational inference uses posterior information to guide transformations and can approach the target through repeated steps. The authors describe it as computationally demanding, with an additional bound involving auxiliary variables that can itself impede the improvement. These examples give substance to the paper’s tradeoff between fidelity and tractability. More expressive or better guided updates still need to pay for the operations performed on each case.
Importance weighting comes with another explicit scaling limit. The posterior approximation can serve as a proposal for estimating likelihood, and the importance-weighted objective can tighten as the number of draws increases. The authors warn that importance weighting scales poorly with high latent dimensionality. The formal improvement and the amount of computation required to obtain it are separate matters. The usefulness of an affordable sample collection depends on whether the proposal produces plausible explanations in the regions that contribute substantially to the evidence.
Limits the authors state about the learning procedure
A recurring practical limit is the equilibrium in which the latent state conveys little about the observation. The authors report seeing this behavior and relate it to earlier findings. It can arise under the ordinary objective even when the architecture has enough capacity for an informative representation. The generative side needs a reason to use the sample and the encoder needs a reason to make the sample informative. Both reasons can be weak at the beginning of training. A well-defined objective and a differentiable computation are therefore compatible with a learned state that uses little of the architecture’s latent capacity.
The suggested interventions address the incentives in this situation. Annealing changes the strength of the latent cost over time. Free bits changes how the objective responds to small divergence values. The paper describes improvements associated with these approaches while giving no general guarantee about when they will succeed. Their effectiveness depends in part on the decoder being able to use the latent information it receives. If a group’s outputs supply little benefit to reconstruction, making that group cheaper to use may have little effect on the learned solution.
The main gradient construction has a domain restriction. It relies on a differentiable relation between continuous noise, the adjustable parameters, and the sampled latent state. When the hidden variable is discrete, a small change to a probability parameter leaves any particular sampled outcome discrete. The paper points to the score-function approach and to other work on estimators and relaxations for such problems. The basic location-and-scale derivation has its direct application to continuous hidden states. Discrete observed values can still be scored by a suitable decoder, as in the binary example. The restriction concerns where the learning calculation needs to differentiate through a draw.
The authors say they do not directly compare their method with the score-function techniques they discuss. Their argument for reparameterization makes use of gradients through continuous latent values, and the quantitative variance comparison comes from cited work. The strength of this argument lies in making the source of the signal clear. General claims about which estimator works better in any given system would also depend on the distribution, the variance reduction available, and the cost of evaluating the gradients. The paper supplies neither a comparison over those choices nor a recommendation covering every discrete and continuous case.
Another stated difficulty concerns the relation between sample appearance and distributional fit. When the available distributions cannot match the data-and-encoder joint well, the authors argue that the likelihood criterion can favor spreading probability across too broad a region. They suggest relieving the pressure with a more flexible encoder or generator. That suggestion is tied to the cause offered in the paper. If the trouble is that a restricted joint must cover configurations it cannot locate sharply, additional capacity can give the fit another option. The paper stops short of showing which increase in capacity will resolve blurriness for a particular dataset.
Consequences of the bound for interpreting training progress
A reader can infer a limit from the distinction between the stochastic estimator and its target. The authors’ unbiasedness argument links the average sampled gradient to the exact gradient of the variational objective. The target is the ELBO. If the posterior gap is substantial, the direction that improves that objective can differ from the direction that improves the exact marginal likelihood. Their difference depends on how the posterior gap changes as parameters move. Unbiased estimation and the tightness of the bound address separate parts of the procedure.
The expected direction is also distinct from the realized path through parameters. A sampled update combines random choice of data with random choice of latent states. A batch can contain cases for which a particular parameter change is especially helpful or especially harmful, and a latent draw can put the decoder in an unusual part of its state space. The formal result allows those individual updates to vary. It is the average that has the specified derivative. No bound on the effect of an unusual draw or a particular batch follows solely from that average identity.
Even the exact gradient of the bound would provide local information about a complicated objective. The paper’s discussion of a stable low-use solution exemplifies the distance between finding a direction of improvement and locating a desirable fit. A better gradient estimator can make the local direction clearer. It cannot, from its expectation property alone, establish that a path of local steps will reach the best solution permitted by the architecture. A sensible reading of the training algorithm takes its gradient result as a guarantee about the calculation used to update the weights.
Amortization introduces a further limit that follows from the setup. An encoder can fall short because the family it outputs lacks the right shape. It can also fall short because the shared function has failed to assign the best shape that its own output family would permit for a particular input. Imagine that the posterior of each observation could be well approximated by a Gaussian. A shared network still has to learn how to infer its means and scales from the observation. Adequacy of the Gaussian family establishes only that suitable values exist. It leaves open how well the recognition network will recover them on cases it encounters.
Replacing the output distribution with a richer flow directly addresses the first restriction. The second can persist. A more flexible output has additional parameters and dependence on context, and the encoder still has to learn to set those quantities for each observation. The toy illustration shows that a better arrangement can be obtained in a constructed case. From the setup alone, one cannot infer how much of the remaining gap on a large task is due to restrictions of the family, the shared prediction of its parameters, or optimization of the whole system. These mechanisms can call for different changes.
Finally, the bound is an average fit to the observations used in the objective. Better performance on that average need not be evenly distributed over the cases, even before the question of generalization. Inputs with different posterior geometry can present systematically different inference problems. A familiar type of observation may be easy for the recognition network to encode, while another may require an awkward distribution. The paper gives the mathematical language for describing that difference. It leaves case-by-case reliability to measurements suited to the setting.
What the likelihood interpretation leaves open
The generative distribution can assign high probability to observations for reasons that do not match how a reader would like to explain them. The binary example helps make this precise. The decoder is evaluated by the probabilities it assigns to the recorded coordinates. Its latent representation is rewarded for retaining distinctions that improve those probabilities enough to justify its cost. If a distinction important to a later application changes few of the scored coordinates or has little effect on the likelihood, training may give it little emphasis. The probabilistic meaning of reconstruction makes the criterion explicit. The choice of observation distribution and task determines the practical importance of its distinctions.
A decoder that has several mechanisms for explaining dependence can face a related ambiguity. An autoregressive part may account for a pattern directly from the previously available observation values. The latent state may also be capable of describing that pattern. A likelihood objective rewards the complete generative distribution for explaining the data, with inference costs affecting which allocation is attractive. It does not assign a particular concept to a particular part of the architecture. A change to decoder capacity can therefore change what the latent state learns even when the dimensions and prior of that state stay the same.
This has implications for the paper’s explanation of blurriness. The direction of the divergence gives a reason that a restricted fit may cover several plausible regions with a broad distribution. It does not determine how the excess spread looks in observed space for every decoder. A poor fit could affect some attributes more visibly than others. A latent distribution that is more accurate for each input might also improve the variational bound while leaving the rendering behavior of a fixed generator exactly as before. The mechanism discussed by the paper involves fitting the generator and inference together, where changes to the inferred states can influence which observation distribution is ultimately learned.
The distinction between density and generated examples is especially important for comparisons with adversarial learning. The paper motivates hybrid approaches by discussing broad coverage and subjective sample quality. These properties can call for different tests. A generated image can appear convincing to a reader who sees it in isolation. An evaluation of density asks how the generator distributes probability over observations including those it seldom displays. An application might instead ask whether the generator lets someone control a particular attribute. The examples address different properties and do not support a general ordering of methods across them.
There is a related limit to the use of a latent space as a scientific explanation. A prior with independent coordinates specifies a mathematical distribution over states available before an observation is supplied. It does not say which real-world process a coordinate represents. The decoder can produce the same kind of visible dependency through different arrangements of latent variables. From the perspective of a reader assessing the claim, identifying a mechanism would require evidence connecting those arrangements to the phenomenon beyond their ability to describe observations. The authors motivate such work by speaking of causal and interpretable factors. The results discussed in the introduction concern probabilistic fit and possible uses of learned representations.
What a demonstrated manipulation can establish
The face-editing illustration is evidence that movement in a learned latent direction can produce a recognizable change of expression in the shown example. Its strength is that the input and outputs can be examined together. A claim that the direction isolates expression would be stronger. It would require checking other visible characteristics while the expression changes, and checking how the same operation behaves across other inputs. The paper gives an example of the transformation, with no systematic measurements of invariance or consistency across the dataset.
Sentence interpolation has a similar scale of evidence, with an additional distinction between latent paths and decoded observations. A path can vary continuously in the hidden space even though decoded sentences change by discrete words and structures. Grammatical and topical continuity in the examples shows that a learned decoder can map such paths to plausible language. It leaves open which properties of an input are preserved as the path moves, how frequently intermediate outputs lose coherence, and whether neighboring latent points correspond to consistent differences in meaning. A particular application of interpolation would have to specify which of those outcomes it values.
The chemical-design example attaches a property criterion to latent search. This illustrates how a representation can be made useful for proposing candidates, alongside its role in encoding and decoding the structures seen during learning. A careful reader can distinguish finding a point that scores well under a property objective from establishing all the desired properties of the decoded candidate. The paper describes the search and its demonstration without giving a common design success metric or laying out a comparison against other ways of searching. The result supports the use of a continuous representation for that operation at the level reported.
The galaxy example has a different test of value. Artificial observations support calibration because the relevant amount of shearing can be specified. Success for calibration depends on whether the examples preserve the features to which the measurement procedure responds. A visually plausible galaxy is useful only insofar as it serves the purpose for which the artificial observations are drawn. The paper explains the motivation for synthesis and describes its use, leaving the strength of the resulting calibration to the evaluation of the cited study.
Across these examples, usefulness depends on the particular query made of the fitted system. Image editing asks what happens when encoded states are perturbed. Interpolation asks how a decoder behaves between encoded inputs. Property search scores a location by a separate criterion. Calibration requires samples with known conditions. The variational framework makes those operations possible to formulate, and their validity as empirical methods depends on evidence specific to each operation. A favorable fit score for the training observations would provide only part of that evidence.
What the empirical comparisons leave unresolved
The paper’s ImageNet comparison supports the use of a semisupervised approach in a setting with a severe label restriction. The extra images without labels are central to what the semisupervised procedure can use, so this is a comparison of learning strategies with different uses of the available inputs. From a reader’s perspective, the result cannot answer a narrower question such as how much of the gain would survive if both approaches had the same representation and differed only in their use of the variational objective. The setup described in the paper does not specify such a comparison. Its effect pertains to the full approaches as reported.
For MNIST, the numerical result is useful as a statement of the level of performance reached in a cited scarce-label condition. An assessment of robustness would need details about selection of the labeled cases and variation over selections or training runs. A comparison of methods at equivalent annotation would require another reported score under the same condition. Those details are absent from the introduction’s account. The figures support the proposition that the approach can make effective use of the available observations, with less information about how consistently it does so or how much each component contributes.
The CIFAR-10 discussion poses a different evidential problem. The paper names architectural ingredients and discusses associated implementation observations, so it tells the reader what was used and why. It gives no corresponding table of likelihood, timing, and controlled alternatives in this account. The reader cannot reconstruct a performance ranking from the architecture description or infer the magnitude of the improvement that one design choice would bring if removed from the complete system. The earlier experiment is part of the motivation for the design, while the introduction’s text principally explains the computation.
The synthesis speed result is likewise attached to a specific comparison cited by the authors. A reader can infer a structural reason for a speed advantage from the available parallelism. An elapsed-time claim is more dependent on the complete circumstances of measurement. Latent generation has costs of its own, and a decoder’s work per visible output can vary across designs. Hardware, the shape of the computation, and the cost of waiting for earlier outcomes would all matter to applying the reported comparison to another system. The introduction gives a structural argument and a cited measurement, with the general mechanism more transferable than the measured speed figure.
The toy comparison provides a closer view of a change to inference, with a correspondingly narrow range of outcomes. It is small enough that posterior shapes and relative placement can be closely examined. A large-scale result would have to show how inferential accuracy, likelihood, and cost evolve as the dimensions or complexity of the observations grow. A comparison of drawings supplies no estimate of that progression. Its value is in showing the geometry a more expressive encoder can use and suggesting why such flexibility can matter to a fit.
The strong closing assessment of VAEs in the paper concerns a combination of abilities, including amortized inference, synthesis, and support for different types of observations. A careful reader can trace the computational reasons the framework offers those abilities. The claim about its standing against alternatives is the authors’ assessment of the literature they discuss. To establish a more general empirical comparison would require common criteria for what counts as efficient inference, fast synthesis, and competitive likelihood, along with experiments measuring them under comparable conditions. The introduction assembles evidence about each property without applying such a protocol across the approaches it discusses.
Interpretive limits of more flexible inference
Making an encoder more expressive is attractive because the gap has a precise meaning. For fixed generative parameters, a family containing better approximations offers the possibility of a tighter bound. The word “containing” refers to what a family is capable of representing. It leaves open what the shared network actually delivers, and how much extra computation was used to get it. A longer flow can be worthwhile when the posterior requires its flexibility. If the original posterior was already well served by a simpler encoder, the extra transformations may have little gap left to close. The paper’s analysis describes this possibility without specifying how to make that judgment for a new application.
Evaluating density at a sample also gives less information than knowing the entire distribution. In flow training the latent trajectory is available, so the calculation can accumulate its density correction as it samples. A later use could begin with an arbitrary latent value and ask for its density under the encoder. The inverse machinery remains mathematically defined under the stated assumptions, but its computational direction can have different costs. The paper’s interest in transformations with cheap computation in both directions follows from the possibility that both tasks will matter. Tractability in the training path therefore needs to be read in the context of the operations the paper actually performs.
Distributional agreement also needs to be stated at the correct level. An example can have a close encoder posterior and still be poorly explained by the generator, if the generator assigns the observation little probability. A generator can assign good likelihood to a collection of observations while the chosen encoder leaves a sizable approximation gap. Matching the prior by the aggregate of encoded samples is a third property, compatible with a range of individual encoder distributions. The paper gives relations connecting these quantities and a toy figure illustrating one of them. Claims about any one property require evidence at that level.
These distinctions are important to the reader who wants to know what successful training has achieved. A favorable reconstruction score concerns the conditional decoder at the states supplied during training. Unconditional generation starts from the prior and tests how well those states have been made usable. A downstream task tests whether the learned representation preserves information relevant to its criterion. Each brings a different part of the probabilistic construction into view. The introduction provides a framework for understanding those tests, with its concrete demonstrations offering evidence for particular uses.
What came after
Calibrated evaluation of text
LLM-Rubric cites the introduction in a study of automated evaluation of natural-language text published in 2024. Its title identifies multidimensional assessment and calibration as the focus. This places the citation in a setting where the immediate output of interest is an evaluation of a text. The introduction, by comparison, treats written language as one kind of observation whose distribution can be learned and used to synthesize or complete sentences.
The distinction between those jobs is helpful in tracing the citation. A probability assigned to a sentence by a generator describes its fit under the learned observation distribution. A rubric introduces criteria for judging the sentence, and a calibrated evaluation has to give those judgments a meaning in its own assessment setting. The later paper’s subject places it on that evaluation side. The citation establishes the connection between the two works, with the particular role of variational inference or latent representations in the evaluator unspecified.
The multidimensional description also points to a difference in what is being organized. In the introduction, latent dimensions are coordinates used by the encoder and decoder. Their uses are learned through the probabilistic objective. Dimensions of a rubric belong to the evaluation task named by the later authors. They may need distinct interpretations for someone reading an assessment. There is no basis from the citation to identify those evaluation dimensions with coordinates of an encoder or to attribute the later paper’s calibration to the ELBO. The documented continuation concerns a citation from text evaluation to an introduction widely concerned with probabilistic descriptions and representations.
Classification and generation in Arabic music
The other listed citing work, Arabic Music Classification and Generation using Deep Learning, also appeared in 2024. Its title names both classification and synthesis as tasks in Arabic music. This gives the citation a direct connection in subject matter to the introduction’s distinction between predicting a target from an observation and learning how observations can be produced. The introduction treats those as tasks that can coexist and, in some settings, share a learned representation.
Applied to the topic named by the later paper, the distinction is between assigning categories to musical examples and generating examples in the domain. The title identifies both jobs, while their technical relation remains unspecified. The two could be studied together as applications of deep learning regardless of whether they share parameters or use a common probability distribution. The introduction supplies reasons why sharing could be interesting, particularly when a generative task can draw on examples unavailable to a supervised classification objective. The title and citation establish neither a scarce-label condition nor such sharing in the music study.
Generation also brings different questions from classification about how to understand the outputs. A classifier can be evaluated through its assignments to labeled observations. To judge generation, a study needs criteria for the produced examples. The introduction covers this distinction through applications whose outputs and purposes vary. The later citation places those broad questions in Arabic music. Which generative procedure was used, how musical data were represented, and whether the encoder and decoder followed the variational construction are unspecified in the citation information.
The two later papers document citations from different tasks, one evaluating language and the other classifying and generating music. Their titles identify where the introductory work appears in the later literature. Any stronger account of technical inheritance, such as adoption of an amortized encoder, a reparameterized estimator, or an inverse autoregressive flow, would require a description of how the citing studies use the method.
Cite
Cite as Diederik P. Kingma and Max Welling. 2019. An Introduction to Variational Autoencoders. Foundations and Trends® in Machine Learning.
@inproceedings{kingma2019introduction,
title = {{An Introduction to Variational Autoencoders}},
author = {Diederik P. Kingma and Max Welling},
booktitle = {Foundations and Trends® in Machine Learning},
year = {2019},
doi = {10.1561/2200000056},
eprint = {1906.02691},
archivePrefix = {arXiv},
url = {https://doi.org/10.1561/2200000056}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/kingma-2019-introduction-variational-autoencoders/
References
- Arindam Banerjee. 2007. An analysis of logistic models: Exponential family connections and online performance. Proceedings of the 2007 SIAM International Conference on Data Mining. OpenAlex ↗ · Scholar ↗
- Justin Bayer, Christian Osendorfer. 2014. Learning stochastic recurrent networks. NIPS 2014 Workshop on Advances in Variational Inference. OpenAlex ↗ · Scholar ↗
- Yoshua Bengio, Aaron Courville, Pascal Vincent. 2013. Representation Learning: A Review and New Perspectives. our card
- Yoshua Bengio, Eric Laufer, Guillaume Alain, Jason Yosinski. 2014. Deep generative stochastic networks trainable by backprop. International Conference on Machine Learning. OpenAlex ↗ · Scholar ↗
- Rianne\bibnamedelimb van\bibnamedelima den Berg, Leonard Hasenclever, Jakub\bibnamedelima M Tomczak, Max Welling. 2017. Sylvester Normalizing Flows for Variational Inference. Conference on Uncertainty in Artificial Intelligence. OpenAlex ↗ · Scholar ↗
- David\bibnamedelima M Blei, Michael\bibnamedelima I Jordan, John\bibnamedelima W Paisley. 2012. Variational Bayesian inference with stochastic search. International Conference on Machine Learning. OpenAlex ↗ · Scholar ↗
- Charles Blundell, Julien Cornebise, Koray Kavukcuoglu, Daan Wierstra. 2015. Weight Uncertainty in Neural Networks. International Conference on Machine Learning. our card
- J\"o Bornschein, Samira Shabanian, Asja Fischer, Yoshua Bengio. 2016. Bidirectional Helmholtz machines. Proceedings of the 33rd International Conference on International Conference on Machine Learning. OpenAlex ↗ · Scholar ↗
- Herv\'e Bourlard, Yves Kamp. 1988. Auto-association by multilayer perceptrons and singular value decomposition. Biological Cybernetics. OpenAlex ↗ · Scholar ↗
- Samuel\bibnamedelima R Bowman, Luke Vilnis, Oriol Vinyals, Andrew\bibnamedelima M Dai, Rafal Jozefowicz, Samy Bengio. 2015. Generating sentences from a continuous space. arXiv preprint arXiv:1511.06349. our card
- Andrew Brock, Theodore Lim, James\bibnamedelima Millar Ritchie, Nicholas\bibnamedelima J Weston. 2017. Neural photo editing with introspective adversarial networks. International Conference on Learning Representations. OpenAlex ↗ · Scholar ↗
- Yuri Burda, Roger Grosse, Ruslan Salakhutdinov. 2015. Importance weighted autoencoders. arXiv preprint arXiv:1509.00519. OpenAlex ↗ · Scholar ↗
- Ricky\bibnamedelima TQ Chen, Xuechen Li, Roger Grosse, David Duvenaud. 2018. Isolating sources of disentanglement in VAEs. Proceedings of the 32nd International Conference on Neural Information Processing Systems. OpenAlex ↗ · Scholar ↗
- Xi Chen, Diederik\bibnamedelima P Kingma, Tim Salimans, Yan Duan, Prafulla Dhariwal, John Schulman, Ilya Sutskever, Pieter Abbeel. 2017. Variational lossy autoencoder. International Conference on Learning Representations. OpenAlex ↗ · Scholar ↗
- Junyoung Chung, Kyle Kastner, Laurent Dinh, Kratarth Goel, Aaron\bibnamedelima C Courville, Yoshua Bengio. 2015. A recurrent latent variable model for sequential data. Advances in neural information processing systems. OpenAlex ↗ · Scholar ↗
- Chris Cremer, Quaid Morris, David Duvenaud. 2017. Re-interpreting importance weighted autoencoders. International Conference on Learning Representations. OpenAlex ↗ · Scholar ↗
- Peter Dayan, Geoffrey\bibnamedelima E Hinton, Radford\bibnamedelima M Neal, Richard\bibnamedelima S Zemel. 1995. The Helmholtz machine. Neural computation. OpenAlex ↗ · Scholar ↗
- Gustavo Deco, Wilfried Brauer. 1995. Higher order statistical decorrelation without information loss. Advances in Neural Information Processing Systems. OpenAlex ↗ · Scholar ↗
- Arthur\bibnamedelima P Dempster, Nan\bibnamedelima M Laird, Donald\bibnamedelima B Rubin. 1977. Maximum likelihood from incomplete data via the EM algorithm. Journal of the Royal Statistical Society. Series B (Methodological). OpenAlex ↗ · Scholar ↗
- Aditya Deshpande, Jiajun Lu, Mao-Chuang Yeh, Min Jin\bibnamedelima Chong, David Forsyth. 2017. Learning diverse image colorization. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. OpenAlex ↗ · Scholar ↗
- Laurent Dinh, David Krueger, Yoshua Bengio. 2014. NICE: Non-linear independent components estimation. arXiv preprint arXiv:1410.8516. OpenAlex ↗ · Scholar ↗
- Laurent Dinh, Jascha Sohl-Dickstein, Samy Bengio. 2016. Density estimation using Real NVP. arXiv preprint arXiv:1605.08803. OpenAlex ↗ · Scholar ↗
- Alexey Dosovitskiy, Jost Tobias\bibnamedelima Springenberg, Thomas Brox. 2015. Learning to generate chairs with convolutional neural networks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. our card
- Vincent Dumoulin, Ishmael Belghazi, Ben Poole, Alex Lamb, Martin Arjovsky, Olivier Mastropietro, Aaron Courville. 2017. Adversarially learned inference. International Conference on Learning Representations. OpenAlex ↗ · Scholar ↗
- Harrison Edwards, Amos Storkey. 2017. Towards a neural statistician. International Conference on Learning Representations. OpenAlex ↗ · Scholar ↗
- SM\bibnamedelima Ali Eslami, Nicolas Heess, Theophane Weber, Yuval Tassa, David Szepesvari, Geoffrey\bibnamedelima E Hinton. 2016. Attend, infer, repeat: Fast scene understanding with generative models. Advances In Neural Information Processing Systems. OpenAlex ↗ · Scholar ↗
- Kai Fan, Ziteng Wang, Jeff Beck, James Kwok, Katherine\bibnamedelima A Heller. 2015. Fast second order stochastic backpropagation for variational inference. Advances in Neural Information Processing Systems. OpenAlex ↗ · Scholar ↗
- Meire Fortunato, Charles Blundell, Oriol Vinyals. 2017. Bayesian recurrent neural networks. arXiv preprint arXiv:1704.02798. OpenAlex ↗ · Scholar ↗
- Marco Fraccaro, S\o S\o, Ulrich Paquet, Ole Winther. 2016. Sequential neural models with stochastic layers. Advances in Neural Information Processing Systems. OpenAlex ↗ · Scholar ↗
- Michael\bibnamedelima C Fu. 2006. Gradient estimation. Handbooks in Operations Research and Management Science. OpenAlex ↗ · Scholar ↗
- Yarin Gal, Zoubin Ghahramani. 2016. A theoretically grounded application of dropout in recurrent neural networks. Advances in neural information processing systems. our card
- Mathieu Germain, Karol Gregor, Iain Murray, Hugo Larochelle. 2015. Made: Masked autoencoder for distribution estimation. International Conference on Machine Learning. OpenAlex ↗ · Scholar ↗
- Samuel Gershman, Noah Goodman. 2014. Amortized inference in probabilistic reasoning.. CogSci. OpenAlex ↗ · Scholar ↗
- Paul Glasserman. 2013. Monte Carlo methods in financial engineering. OpenAlex ↗ · Scholar ↗
- Peter\bibnamedelima W Glynn. 1990. Likelihood ratio gradient estimation for stochastic systems. Communications of the ACM. OpenAlex ↗ · Scholar ↗
- Rafael G\'o, Jennifer\bibnamedelima N Wei, David Duvenaud, Jos\'e Hern\'a, Benjam\'\i S\'a, Dennis Sheberla, Jorge Aguilera-Iparraguirre, Timothy\bibnamedelima D Hirzel, Ryan\bibnamedelima P Adams, Al\'a Aspuru-Guzik. 2018. Automatic chemical design using a data-driven continuous representation of molecules. ACS central science. OpenAlex ↗ · Scholar ↗
- Ian Goodfellow, Yoshua Bengio, Aaron Courville. 2016. Deep learning. OpenAlex ↗ · Scholar ↗
- Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, Yoshua Bengio. 2014. Generative adversarial nets. Advances in Neural Information Processing Systems. OpenAlex ↗ · Scholar ↗
- Alex Graves. 2011. Practical variational inference for neural networks. Advances in Neural Information Processing Systems. OpenAlex ↗ · Scholar ↗
- Karol Gregor, Frederic Besse, Danilo\bibnamedelima Jimenez Rezende, Ivo Danihelka, Daan Wierstra. 2016. Towards conceptual compression. Advances In Neural Information Processing Systems. OpenAlex ↗ · Scholar ↗
- Karol Gregor, Ivo Danihelka, Alex Graves, Danilo Rezende, Daan Wierstra. 2015. DRAW: A Recurrent Neural Network For Image Generation. International Conference on Machine Learning. our card
- Karol Gregor, Ivo Danihelka, Andriy Mnih, Charles Blundell, Daan Wierstra. 2014. Deep AutoRegressive Networks. International Conference on Machine Learning. OpenAlex ↗ · Scholar ↗
- Aditya Grover, Manik Dhar, Stefano Ermon. 2018. Flow-GAN: Combining maximum likelihood and adversarial learning in generative models. AAAI Conference on Artificial Intelligence. OpenAlex ↗ · Scholar ↗
- Shixiang Gu, Sergey Levine, Ilya Sutskever, Andriy Mnih. 2015. MuProp: Unbiased backpropagation for stochastic neural networks. arXiv preprint arXiv:1511.05176. OpenAlex ↗ · Scholar ↗
- Ishaan Gulrajani, Kundan Kumar, Faruk Ahmed, Adrien\bibnamedelima Ali Taiga, Francesco Visin, David Vazquez, Aaron Courville. 2017. PixelVAE: A latent variable model for natural images. International Conference on Learning Representations. OpenAlex ↗ · Scholar ↗
- Kaiming He, Xiangyu Zhang, Shaoqing Ren, Jian Sun. 2015. Delving deep into rectifiers: Surpassing human-level performance on imagenet classification. Proceedings of the IEEE International Conference on Computer Vision. OpenAlex ↗ · Scholar ↗
- Kaiming He, Xiangyu Zhang, Shaoqing Ren, Jian Sun. 2016. Deep residual learning for image recognition. Proceedings of the IEEE conference on computer vision and pattern recognition. our card
- Nicolas Heess, Gregory Wayne, David Silver, Tim Lillicrap, Tom Erez, Yuval Tassa. 2015. Learning continuous control policies by stochastic value gradients. Advances in Neural Information Processing Systems. OpenAlex ↗ · Scholar ↗
- Jos\'e Hern\'a, Yingzhen Li, Mark Rowland, Daniel Hern\'a, Thang Bui, Richard\bibnamedelima Eric Turner. 2016. Black-box $\alpha$-divergence minimization. OpenAlex ↗ · Scholar ↗
- Irina Higgins, Loic Matthey, Arka Pal, Christopher Burgess, Xavier Glorot, Matthew Botvinick, Shakir Mohamed, Alexander Lerchner. 2017. beta-vae: Learning basic visual concepts with a constrained variational framework. International Conference on Learning Representations. OpenAlex ↗ · Scholar ↗
- Geoffrey\bibnamedelima E Hinton, Peter Dayan, Brendan\bibnamedelima J Frey, Radford\bibnamedelima M Neal. 1995. The "Wake-Sleep" algorithm for unsupervised neural networks. Science. OpenAlex ↗ · Scholar ↗
- Sepp Hochreiter, J\"u Schmidhuber. 1997. Long Short-Term Memory. Neural Computation. OpenAlex ↗ · Scholar ↗
- Matthew\bibnamedelima D Hoffman, David\bibnamedelima M Blei, Chong Wang, John Paisley. 2013. Stochastic variational inference. The Journal of Machine Learning Research. OpenAlex ↗ · Scholar ↗
- Matthew\bibnamedelima D Hoffman, Matthew\bibnamedelima J Johnson. 2016. Elbo surgery: yet another way to carve up the variational evidence lower bound. Workshop in Advances in Approximate Bayesian Inference, NIPS. OpenAlex ↗ · Scholar ↗
- Rein Houthooft, Xi Chen, Yan Duan, John Schulman, Filip De\bibnamedelima Turck, Pieter Abbeel. 2016. Vime: Variational information maximizing exploration. Advances in Neural Information Processing Systems. OpenAlex ↗ · Scholar ↗
- Chin-Cheng Hsu, Hsin-Te Hwang, Yi-Chiao Wu, Yu Tsao, Hsin-Min Wang. 2016. Voice conversion from non-parallel corpora using variational auto-encoder. Signal and Information Processing Association Annual Summit and Conference (APSIPA), 2016 Asia-Pacific. OpenAlex ↗ · Scholar ↗
- Chin-Cheng Hsu, Hsin-Te Hwang, Yi-Chiao Wu, Yu Tsao, Hsin-Min Wang. 2017. Voice conversion from unaligned corpora using variational autoencoding wasserstein generative adversarial networks. arXiv preprint arXiv:1704.00849. OpenAlex ↗ · Scholar ↗
- Zhiting Hu, Zichao Yang, Xiaodan Liang, Ruslan Salakhutdinov, Eric\bibnamedelima P Xing. 2017. Controllable text generation. arXiv preprint arXiv:1703.00955. OpenAlex ↗ · Scholar ↗
- Chin-Wei Huang, David Krueger, Alexandre Lacoste, Aaron Courville. 2018. Neural Autoregressive Flows. International Conference on Machine Learning. OpenAlex ↗ · Scholar ↗
- Eric Jang, Shixiang Gu, Ben Poole. 2017. Categorical Reparameterization with Gumbel-Softmax. International Conference on Learning Representations. our card
- Matthew Johnson, David\bibnamedelima K Duvenaud, Alex Wiltschko, Ryan\bibnamedelima P Adams, Sandeep\bibnamedelima R Datta. 2016. Composing graphical models with neural networks for structured representations and fast inference. Advances in Neural Information Processing Systems. OpenAlex ↗ · Scholar ↗
- Rafal Jozefowicz, Wojciech Zaremba, Ilya Sutskever. 2015. An empirical exploration of recurrent network architectures. International Conference on Machine Learning. OpenAlex ↗ · Scholar ↗
- Maximilian Karl, Maximilian Soelch, Justin Bayer, Patrick Smagt. 2017. Deep variational bayes filters: Unsupervised learning of state space models from raw data. International Conference on Learning Representations. OpenAlex ↗ · Scholar ↗
- Koray Kavukcuoglu, Marc'Aurelio Ranzato, Yann LeCun. 2008. Fast inference in sparse coding algorithms with applications to object recognition. OpenAlex ↗ · Scholar ↗
- Diederik\bibnamedelima P Kingma, Shakir Mohamed, Danilo\bibnamedelima Jimenez Rezende, Max Welling. 2014. Semi-supervised learning with deep generative models. Advances in Neural Information Processing Systems. OpenAlex ↗ · Scholar ↗
- Diederik\bibnamedelima P Kingma, Tim Salimans, Rafal Jozefowicz, Xi Chen, Ilya Sutskever, Max Welling. 2016. Improved variational inference with inverse autoregressive flow. Advances in Neural Information Processing Systems. OpenAlex ↗ · Scholar ↗
- Diederik\bibnamedelima P Kingma, Tim Salimans, Max Welling. 2015. Variational dropout and the local reparameterization trick. Advances in Neural Information Processing Systems. our card
- Diederik\bibnamedelima P Kingma, Max Welling. 2014. Auto-Encoding Variational Bayes. International Conference on Learning Representations. our card
- Diederik Kingma, Jimmy Ba. 2015. Adam: A Method for Stochastic Optimization. International Conference on Learning Representations. our card
- Thomas\bibnamedelima N Kipf, Max Welling. 2016. Variational graph auto-encoders. arXiv preprint arXiv:1611.07308. OpenAlex ↗ · Scholar ↗
- Jack\bibnamedelima PC Kleijnen, Reuven\bibnamedelima Y Rubinstein. 1996. Optimization and sensitivity analysis of computer simulation models by the score function method. European Journal of Operational Research. OpenAlex ↗ · Scholar ↗
- Daphne Koller, Nir Friedman. 2009. Probabilistic graphical models: Principles and techniques. OpenAlex ↗ · Scholar ↗
- Rahul\bibnamedelima G Krishnan, Uri Shalit, David Sontag. 2017. Structured Inference Networks for Nonlinear State Space Models.. AAAI. OpenAlex ↗ · Scholar ↗
- Alp Kucukelbir, Dustin Tran, Rajesh Ranganath, Andrew Gelman, David\bibnamedelima M Blei. 2017. Automatic differentiation variational inference. The Journal of Machine Learning Research. OpenAlex ↗ · Scholar ↗
- Tejas\bibnamedelima D Kulkarni, William\bibnamedelima F Whitney, Pushmeet Kohli, Josh Tenenbaum. 2015. Deep convolutional inverse graphics network. Advances in Neural Information Processing Systems. OpenAlex ↗ · Scholar ↗
- Matt\bibnamedelima J Kusner, Brooks Paige, Jos\'e Hern\'a. 2017. Grammar variational autoencoder. Proceedings of the 34th International Conference on Machine Learning-Volume 70. OpenAlex ↗ · Scholar ↗
- Anders\bibnamedelimb Boesen\bibnamedelima Lindbo Larsen, S\o S\o, Hugo Larochelle, Ole Winther. 2016. Autoencoding beyond pixels using a learned similarity metric. International Conference on Machine Learning. OpenAlex ↗ · Scholar ↗
- Miguel L\'a. 2014. Doubly stochastic variational Bayes for non-conjugate inference. OpenAlex ↗ · Scholar ↗
- Yann LeCun, Yoshua Bengio, Geoffrey Hinton. 2015. Deep Learning. Nature. OpenAlex ↗ · Scholar ↗
- Yann LeCun, L\'e Bottou, Yoshua Bengio, Patrick Haffner. 1998. Gradient-based learning applied to document recognition. Proceedings of the IEEE. OpenAlex ↗ · Scholar ↗
- Yingzhen Li, Richard\bibnamedelima E Turner. 2016. R\'enyi divergence variational inference. Advances in Neural Information Processing Systems. OpenAlex ↗ · Scholar ↗
- Yujia Li, Kevin Swersky, Richard\bibnamedelima S Zemel. 2015. Generative moment matching networks. International Conference on Machine Learning. OpenAlex ↗ · Scholar ↗
- Ralph Linsker. 1989. An Application of the Principle of Maximum Information Preservation to Linear Systems. OpenAlex ↗ · Scholar ↗
- Christos Louizos, Kevin Swersky, Yujia Li, Max Welling, Richard Zemel. 2015. The variational fair autoencoder. arXiv preprint arXiv:1511.00830. OpenAlex ↗ · Scholar ↗
- Christos Louizos, Karen Ullrich, Max Welling. 2017. Bayesian compression for deep learning. Advances in Neural Information Processing Systems. OpenAlex ↗ · Scholar ↗
- Christos Louizos, Max Welling. 2016. Structured and efficient variational deep learning with matrix gaussian posteriors. International Conference on Machine Learning. OpenAlex ↗ · Scholar ↗
- Christos Louizos, Max Welling. 2017. Multiplicative normalizing flows for variational Bayesian neural networks. International Conference on Machine Learning. our card
- Lars Maal\o, Casper\bibnamedelima Kaae S\o, S\o S\o, Ole Winther. 2016. Auxiliary deep generative models. International Conference on Machine Learning. OpenAlex ↗ · Scholar ↗
- Chris\bibnamedelima J Maddison, Andriy Mnih, Yee\bibnamedelima Whye Teh. 2017. The concrete distribution: A continuous relaxation of discrete random variables. International Conference on Learning Representations. our card
- Alireza Makhzani, Jonathon Shlens, Navdeep Jaitly, Ian Goodfellow, Brendan Frey. 2015. Adversarial autoencoders. arXiv preprint arXiv:1511.05644. OpenAlex ↗ · Scholar ↗
- Elman Mansimov, Emilio Parisotto, Jimmy\bibnamedelima Lei Ba, Ruslan Salakhutdinov. 2015. Generating images from captions with attention. arXiv preprint arXiv:1511.02793. OpenAlex ↗ · Scholar ↗
- Yishu Miao, Lei Yu, Phil Blunsom. 2016. Neural variational inference for text processing. International Conference on Machine Learning. OpenAlex ↗ · Scholar ↗
- Andriy Mnih, Karol Gregor. 2014. Neural variational inference and learning in belief networks. International Conference on Machine Learning. OpenAlex ↗ · Scholar ↗
- Andriy Mnih, Danilo Rezende. 2016. Variational Inference for Monte Carlo Objectives. International Conference on Machine Learning. OpenAlex ↗ · Scholar ↗
- Shakir Mohamed, Danilo\bibnamedelima Jimenez Rezende. 2015. Variational information maximisation for intrinsically motivated reinforcement learning. Advances in Neural Information Processing Systems. OpenAlex ↗ · Scholar ↗
- Dmitry Molchanov, Arsenii Ashukha, Dmitry Vetrov. 2017. Variational dropout sparsifies deep neural networks. International Conference on Machine Learning. our card
- Christian Naesseth, Francisco Ruiz, Scott Linderman, David Blei. 2017. Reparameterization gradients through acceptance-rejection sampling algorithms. Artificial Intelligence and Statistics. OpenAlex ↗ · Scholar ↗
- R Neal. 2011. MCMC Using Hamiltonian Dynamics. Handbook of Markov Chain Monte Carlo. OpenAlex ↗ · Scholar ↗
- Radford\bibnamedelima M Neal, Geoffrey\bibnamedelima E Hinton. 1998. A view of the EM algorithm that justifies incremental, sparse, and other variants. Learning in Graphical Models. OpenAlex ↗ · Scholar ↗
- John Paisley, David Blei, Michael Jordan. 2012. Variational Bayesian Inference with stochastic search. International Conference on Machine Learning. OpenAlex ↗ · Scholar ↗
- George Papamakarios, Iain Murray, Theo Pavlakou. 2017. Masked autoregressive flow for density estimation. Advances in Neural Information Processing Systems. our card
- Alexander Pritzel, Benigno Uria, Sriram Srinivasan, Adria\bibnamedelima Puigdomenech Badia, Oriol Vinyals, Demis Hassabis, Daan Wierstra, Charles Blundell. 2017. Neural episodic control. International Conference on Machine Learning. OpenAlex ↗ · Scholar ↗
- Yunchen Pu, Zhe Gan, Ricardo Henao, Xin Yuan, Chunyuan Li, Andrew Stevens, Lawrence Carin. 2016. Variational autoencoder for deep learning of images, labels and captions. Advances in Neural Information Processing Systems. OpenAlex ↗ · Scholar ↗
- Rajesh Ranganath, Sean Gerrish, David Blei. 2014. Black Box Variational Inference. International Conference on Artificial Intelligence and Statistics. OpenAlex ↗ · Scholar ↗
- Rajesh Ranganath, Dustin Tran, David Blei. 2016. Hierarchical variational models. International Conference on Machine Learning. OpenAlex ↗ · Scholar ↗
- Siamak Ravanbakhsh, Francois Lanusse, Rachel Mandelbaum, Jeff Schneider, Barnabas Poczos. 2017. Enabling dark energy science with deep generative models of galaxy images. AAAI Conference on Artificial Intelligence. OpenAlex ↗ · Scholar ↗
- Danilo\bibnamedelima J Rezende, Shakir Mohamed, Ivo Danihelka, Karol Gregor, Daan Wierstra. 2016. One-shot generalization in deep generative models. International Conference on International Conference on Machine Learning. OpenAlex ↗ · Scholar ↗
- Danilo\bibnamedelima J Rezende, Shakir Mohamed, Daan Wierstra. 2014. Stochastic backpropagation and approximate inference in deep generative models. International Conference on Machine Learning. our card
- Danilo\bibnamedelima Jimenez Rezende, SM\bibnamedelima Ali Eslami, Shakir Mohamed, Peter Battaglia, Max Jaderberg, Nicolas Heess. 2016. Unsupervised learning of 3d structure from images. Advances In Neural Information Processing Systems. OpenAlex ↗ · Scholar ↗
- Danilo Rezende, Shakir Mohamed. 2015. Variational inference with normalizing flows. International Conference on Machine Learning. our card
- Geoffrey Roeder, Yuhuai Wu, David\bibnamedelima K Duvenaud. 2017. Sticking the landing: Simple, lower-variance gradient estimators for variational inference. Advances in Neural Information Processing Systems. OpenAlex ↗ · Scholar ↗
- Mihaela Rosca, Balaji Lakshminarayanan, Shakir Mohamed. 2018. Distribution matching in variational inference. arXiv preprint arXiv:1802.06847. OpenAlex ↗ · Scholar ↗
- Sam Roweis. 1998. EM algorithms for PCA and SPCA. Advances in Neural Information Processing Systems. OpenAlex ↗ · Scholar ↗
- Francisco\bibnamedelima R Ruiz, Michalis\bibnamedelimb Titsias\bibnamedelima RC AUEB, David Blei. 2016. The generalized reparameterization gradient. Advances in Neural Information Processing Systems. OpenAlex ↗ · Scholar ↗
- David\bibnamedelima E Rumelhart, Geoffrey\bibnamedelima E Hinton, Ronald\bibnamedelima J Williams. 1988. Learning representations by back-propagating errors. Cognitive Modeling. OpenAlex ↗ · Scholar ↗
- Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein. 2015. Imagenet large scale visual recognition challenge. International Journal of Computer Vision. our card
- Ruslan Salakhutdinov, Hugo Larochelle. 2010. Efficient learning of deep Boltzmann machines. International Conference on Artificial Intelligence and Statistics. OpenAlex ↗ · Scholar ↗
- Tim Salimans. 2016. A structured variational auto-encoder for learning deep hierarchies of sparse features. arXiv preprint arXiv:1602.08734. OpenAlex ↗ · Scholar ↗
- Tim Salimans, Diederik\bibnamedelima P Kingma, Max Welling. 2015. Markov Chain Monte Carlo and Variational Inference: Bridging the Gap.. International Conference on Machine Learning. OpenAlex ↗ · Scholar ↗
- Tim Salimans, David\bibnamedelima A Knowles. 2013. Fixed-Form variational posterior approximation through stochastic linear regression. Bayesian Analysis. OpenAlex ↗ · Scholar ↗
- Stanislau Semeniuta, Aliaksei Severyn, Erhardt Barth. 2017. A hybrid convolutional variational autoencoder for text generation. arXiv preprint arXiv:1702.02390. OpenAlex ↗ · Scholar ↗
- Iulian\bibnamedelima Vlad Serban, Alessandro Sordoni, Ryan Lowe, Laurent Charlin, Joelle Pineau, Aaron Courville, Yoshua Bengio. 2017. A hierarchical latent variable encoder-decoder model for generating dialogues. Proceedings of the Thirty-First AAAI Conference on Artificial Intelligence. our card
- Jascha Sohl-Dickstein, Eric Weiss, Niru Maheswaranathan, Surya Ganguli. 2015. Deep unsupervised learning using nonequilibrium thermodynamics. International Conference on Machine Learning. our card
- Casper\bibnamedelima Kaae S\o, Tapani Raiko, Lars Maal\o, S\o S\o, Ole Winther. 2016. How to train deep variational autoencoders and probabilistic ladder networks. International Conference on Machine Learning. OpenAlex ↗ · Scholar ↗
- Casper\bibnamedelima Kaae S\o, Tapani Raiko, Lars Maal\o, S\o S\o, Ole Winther. 2016. Ladder variational autoencoders. Advances in Neural Information Processing Systems. OpenAlex ↗ · Scholar ↗
- Christian Szegedy, Wei Liu, Yangqing Jia, Pierre Sermanet, Scott Reed, Dragomir Anguelov, Dumitru Erhan, Vincent Vanhoucke, Andrew Rabinovich. 2015. Going deeper with convolutions. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. OpenAlex ↗ · Scholar ↗
- Jakub\bibnamedelima M Tomczak, Max Welling. . Improving variational auto-encoders using convex combination linear inverse autoregressive flow. Benelearn 2017: Proceedings of the Twenty-Sixth Benelux Conference on Machine Learning, Technische Universiteit Eindhoven, 9-10 June 2017. OpenAlex ↗ · Scholar ↗
- Jakub\bibnamedelima M Tomczak, Max Welling. 2016. Improving variational auto-encoders using householder flow. arXiv preprint arXiv:1611.09630. OpenAlex ↗ · Scholar ↗
- Dustin Tran, Matthew\bibnamedelima D Hoffman, Rif\bibnamedelima A Saurous, Eugene Brevdo, Kevin Murphy, David\bibnamedelima M Blei. 2017. Deep probabilistic programming. International Conference on Learning Representations. OpenAlex ↗ · Scholar ↗
- Dustin Tran, Rajesh Ranganath, David\bibnamedelima M Blei. 2015. The variational Gaussian process. arXiv preprint arXiv:1511.06499. OpenAlex ↗ · Scholar ↗
- Aaron Van\bibnamedelimb den\bibnamedelima Oord, Nal Kalchbrenner, Lasse Espeholt, Oriol Vinyals, Alex Graves. 2016. Conditional image generation with PixelCNN decoders. Advances in neural information processing systems. OpenAlex ↗ · Scholar ↗
- Aaron Van\bibnamedelima Oord, Nal Kalchbrenner, Koray Kavukcuoglu. 2016. Pixel Recurrent Neural Networks. International Conference on Machine Learning. OpenAlex ↗ · Scholar ↗
- Pascal Vincent, Hugo Larochelle, Isabelle Lajoie, Yoshua Bengio, Pierre-Antoine Manzagol. 2010. Stacked denoising autoencoders: Learning useful representations in a deep network with a local denoising criterion. Journal of Machine Learning Research. OpenAlex ↗ · Scholar ↗
- Martin\bibnamedelima J Wainwright, Michael\bibnamedelima I Jordan. 2008. Graphical models, exponential families, and variational inference. Foundations and Trends$\textregistered$ in Machine Learning. OpenAlex ↗ · Scholar ↗
- Manuel Watter, Jost Springenberg, Joschka Boedecker, Martin Riedmiller. 2015. Embed to control: A locally linear latent dynamics model for control from raw images. Advances in Neural Information Processing Systems. our card
- Tom White. 2016. Sampling Generative Networks: Notes on a Few Effective Techniques. arXiv preprint arXiv:1609.04468. OpenAlex ↗ · Scholar ↗
- Ronald\bibnamedelima J Williams. 1992. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine Learning. OpenAlex ↗ · Scholar ↗
- David Wingate, Theophane Weber. 2013. Automated variational inference in probabilistic programming. arXiv preprint arXiv:1301.1299. OpenAlex ↗ · Scholar ↗
- Weidi Xu, Haoze Sun, Chao Deng, Ying Tan. 2017. Variational autoencoder for semi-supervised text classification. AAAI. OpenAlex ↗ · Scholar ↗
- Xinchen Yan, Jimei Yang, Kihyuk Sohn, Honglak Lee. 2016. Attribute2image: Conditional image generation from visual attributes. European Conference on Computer Vision. OpenAlex ↗ · Scholar ↗
- Zichao Yang, Zhiting Hu, Ruslan Salakhutdinov, Taylor Berg-Kirkpatrick. 2017. Improved variational autoencoders for text modeling using dilated convolutions. International Conference on Machine Learning. OpenAlex ↗ · Scholar ↗
- Tiancheng Zhao, Ran Zhao, Maxine Eskenazi. 2017. Learning discourse-level diversity for neural dialog models using conditional variational autoencoders. Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). our card