Amortized inference learns one shared rule that maps observations to approximate posterior distributions, spreading the work of fitting that rule across many inputs. Instead of separately optimizing variational parameters for every observation , a recognition network returns the parameters of . The shared parameters are learned across data; evaluating the rule for a new input is then a different operation from fitting it.[ref]
A scalar Gaussian model gives an exact example. Let and . Completing the square gives
The shared rule , with , and fixed variance , represents the exact posterior for every real . Evaluating replaces a separate optimization for each observation in this stipulated model. It does not imply that every nonlinear latent-variable model has an exact rule this simple.
Sharing can introduce an additional restriction even when the chosen distribution family is adequate. For observations and , the exact posterior means are and . The Gaussian family can represent each exactly when is fitted separately. If the shared rule is constrained to output one constant mean for both inputs, its best equal-weight choice is . Each case then has
This original example isolates an amortization gap: the loss from restricting how observation-specific variational parameters are produced, rather than an inability of the per-observation Gaussian family to express the target. The shared mapping's capacity and its training therefore matter alongside the family of probability distributions.
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 is
Thus a restrictive recognition network or incomplete training can leave an amortization gap even when the variational family can represent the exact posterior distribution.[ref]
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 gives
The 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.

Articles by others on the same topic (0)

There are currently no matching articles.