Thermodynamic Variational Inference (TVI) offers a tighter bound on the log-evidence than the standard Evidence Lower Bound (ELBO) by integrating along a path of intermediate distributions. However, its practical application has been hindered by the need for expensive grid searches for integration schedules and performance degradation with increased partition points. This work provides a theoretical foundation for the Thermodynamic Variational Objective (TVO) by identifying it as a one-dimensional exponential family. This connection allows for an adaptive "moment-spacing" schedule and a new gradient estimator that stabilizes training, effectively resolving the "high-K paradox."
The Geometry of TVO
Variational Inference (VI) is a cornerstone of modern probabilistic modeling, typically relying on the maximization of the Evidence Lower Bound (ELBO). While computationally efficient, the ELBO often provides a loose bound on the true log-likelihood, $\log p(\mathbf{x})$. The Thermodynamic Variational Objective (TVO) was introduced to bridge this gap by numerically integrating the expected log-joint probability over a geometric mixture path between the variational posterior and the true posterior.
By reframing this geometric mixture path as a one-dimensional exponential family, the authors reveal that the TVO is essentially a Riemann sum approximation of an integral. In this framework, the integration parameter $\beta$ acts as the natural parameter, and the integrand corresponds to the mean parameter (moment) of the distribution.
As illustrated in the figure above, the ELBO can be seen as a simple rectangular approximation (left), while the TVO uses multiple partitions to more accurately capture the area under the curve (middle), which represents the true log-evidence (right). The "gap" between the TVO and the true log-likelihood is shown to be a sum of Bregman divergences (specifically KL divergences) between adjacent distributions on the path.
Adaptive Moment-Spacing
A significant challenge in TVO is choosing the schedule of $\beta$ points. Traditional methods rely on linear or logarithmic spacing, often requiring an exhaustive grid search to find the optimal configuration. Leveraging the exponential family insight, the authors propose "moment-spacing," which places points equidistantly in the moment domain rather than the $\beta$ domain.
As shown in the figure above, this adaptive schedule successfully finds the peak log-likelihood without the need for a grid search. Because the schedule is defined in terms of moments, it automatically adjusts as the model's posterior distribution evolves during training. If the posterior is complex, the schedule puts more points where the "action" is.
Overcoming the High-K Paradox
Theoretically, increasing the number of partition points ($K$) should always lead to a tighter bound and better model performance. However, earlier implementations of TVO suffered from a "high-K paradox" where performance would actually drop as $K$ increased due to high-variance gradient estimates.
The authors address this by deriving a "doubly-reparameterized" gradient estimator. Similar to the DREG estimator used in Importance Weighted Autoencoders (IWAE), this new estimator significantly reduces variance. This allows the model to finally benefit from more refined integration paths, ensuring that test log-likelihood stays stable or improves as the number of partitions increases.
Conclusion
By grounding Thermodynamic Variational Inference in the theory of exponential families and Bregman duality, this work transforms a heuristic integration technique into a mathematically principled framework. The resulting moment-spacing schedule and variance-reduced gradients make TVO a robust and practical alternative to standard variational objectives, offering higher-quality inference and tighter bounds for complex generative models.
Summary updated