Amortization gap 2026-11-05
The amortization gap measures how much evidence lower bound is lost by using the distribution returned by amortized inference instead of the best distribution available for that observation in the same variational family. Hold the generative parameters fixed. Write for the evidence lower bound and suppose the optimum is attained. For the shared rule ,The remaining variational approximation gap is , so the total loss isThus a restrictive recognition network or incomplete training can leave an amortization gap even when the variational family can represent the exact posterior distribution.[ref]
Inference Suboptimality in Variational Autoencoders by Chris Cremer and others. Table1, summary of gap terms; introductory definition of the optimal approximation within its family
For an original example, stipulate for equally weighted observations and . The variational family represents both posterior distributions exactly when fitted separately, so . Restrict the shared rule to : it can adjust the intercept but its slope is fixed at one. The Kullback-Leibler divergence between these unit-variance normal distributions is . Averaging the amortization gap over the two observations givesThe best shared intercept still loses nat on average. A current rule with loses one nat: half a nat can be removed by training this rule better, while the remaining half requires changing its fixed-slope restriction. This separates the variational family's expressive power from the shared mapping's capacity and current training state.
In a numerical comparison, a locally improved per-observation distribution need not be the global optimum . Its improvement supplies a lower bound on the true amortization gap; failing to find an improvement does not establish a zero gap. Comparisons must keep both and fixed.
Chris Cremer 2026-11-05
Chris Cremer coauthored the 2018 inference-suboptimality study with Xuechen Li and David Duvenaud. It compares shared inference with separately optimized distributions and considers richer approximations built using normalizing flows.[ref]
Inference Suboptimality in Variational Autoencoders by Chris Cremer and others. Title-page byline; §§3.1–3.2 and Figure2
For an original illustration of family enrichment, suppose the target posterior distribution is while the family is . Its optimum is , but the Kullback-Leibler divergence between normal distributions remainsnats. A shared inference rule cannot remove that deficit just by choosing a better mean. Allowing the invertible scale transformation , with having the standard normal distribution, includes the exact target and makes the variational approximation gap zero in this example.
The example isolates distribution-family expressiveness. It does not imply that adding a normalizing flow always finds the optimum, or that every improvement in a trained variational autoencoder comes from this source alone. The paper's conclusions and method are collaborative; no division of individual authors' roles is inferred from author order.
David Duvenaud 2026-11-05
David Duvenaud coauthored the 2018 study of inference suboptimality with Chris Cremer and Xuechen Li. Their analysis distinguishes distribution-family limitations from a shared inference rule's shortcomings.[ref]
Inference Suboptimality in Variational Autoencoders by Chris Cremer and others. Title-page byline; Table1 and §3.1
An original diagnostic example makes that distinction numerical. Fix the generative model and one observation. Suppose its exact log evidence is , the globally best evidence lower bound within a chosen family is , and a recognition network returns a distribution with bound . The variational approximation gap is nat; the amortization gap is nat. They sum to the total -nat inference deficit.
These stipulated exact values isolate the diagnostic, rather than reproducing experimental measurements. Improving only the shared rule could recover at most nat within that family. Comparing a different generative model would change the target posterior distribution and would no longer isolate the same gap. This is a contribution of the joint paper; its byline does not specify individual responsibility for each derivation.
Xuechen Li 2026-11-05
Xuechen Li coauthored Inference Suboptimality in Variational Autoencoders by Chris Cremer and others with Chris Cremer and David Duvenaud. Their numerical method refits variational parameters per observation and uses the Monte Carlo method with 100 samples to estimate the evidence lower bound during that optimization.[ref]
Inference Suboptimality in Variational Autoencoders by Chris Cremer and others. Title-page byline; §3.4, local optimization of the approximate distribution
An original sampling calculation explains why sample count matters. Suppose independent contributions to a bound estimate have standard deviation two nats. A sample mean from such contributions has standard error nats: at and at . Quadrupling the sample count halves this sampling error under the independence assumption. These are assumed variances, not measured performance figures from the paper.
Reducing this error helps compare trial distributions, but neither a stable noisy bound nor a numerical stopping rule certifies the globally best member of the family. The mathematical variational approximation gap and amortization gap use that optimum; a measured local improvement can underestimate the latter. This distinction connects the joint experimental method to uncertainty in the numerical diagnostic.