Thermodynamic Variational Objectives (TVO)
- Thermodynamic Variational Objectives (TVO) are variational inference bounds derived from thermodynamic integration that unify classical objectives such as ELBO and IW-ELBO.
- TVO constructs a continuous path between an approximate distribution and the target model, enabling tighter lower bounds on log evidence through integration of expectations over intermediary distributions.
- Extensions using weighted Hölder means improve numerical stability and reduce variance, leading to more effective deep generative modeling and inference in complex probabilistic tasks.
Thermodynamic Variational Objectives (TVO) are a class of variational inference (VI) bounds derived from thermodynamic integration, providing a unified and principled framework for tightening and generalizing classical evidence lower bounds (ELBO) in probabilistic modeling. TVOs operate by integrating a path—often the geometric mean—between an approximate variational distribution and the target joint model, yielding a spectrum of variational objectives that subsume ELBO, importance-weighted bounds, Rényi variational inference, and Markov Chain Monte Carlo VI as special cases. Recent developments have extended TVO theory using weighted Hölder means, yielding new exact bounds with superior numerical properties for practical variational inference.
1. Thermodynamic Integration and the Derivation of TVO
Thermodynamic integration formalizes bounds on the partition function difference between two distributions via an integral over a path that continuously interpolates between them. Given two unnormalized densities and , with normalizers and , define
for . Thermodynamic integration yields
where, in the context of VI, , , and , yielding
0
Approximating this integral with a left Riemann sum gives the TVO lower bound: 1 where 2 (Chen et al., 2021, Masrani et al., 2019).
This construction ensures 3, where tightness increases with partition count 4.
2. Exponential Family and Unified Variational Bounds
The path 5 is a one-dimensional exponential family in 6, with sufficient statistic 7. The family takes the form
8
with log-partition function 9. This structure allows direct analysis via Bregman divergences and Taylor remainder theory: 0 linking TVO tightness to the geometry of the exponential family path. The TVO formalism unifies several variational objectives:
- ELBO: single left Riemann evaluation at 1.
- Importance-Weighted ELBO (IW-ELBO): arises in the 2 limit of TVO sums.
- Rényi Variational Inference (RVI): equivalent to partial, rescaled thermodynamic integrals.
- MCMC-VI/Auxiliary-variable VI: recovers the TVO sum from discretizations of 3 (Chen et al., 2021, Brekelmans et al., 2020, Brekelmans et al., 2020).
3. Numerical Estimation: Schedules, Estimators, and Gradient Methods
Accurate and efficient estimation of TVO depends on:
- Partitioning (“Schedule”): Placing 4 where 5 (the integrand) changes most rapidly minimizes Riemann bias. Grid search, moment parameter spacing (equal 6 increments), or adaptive schedules via Gaussian process bandit optimization are prevailing approaches, allowing finer grids where curvature or variance is high (Nguyen et al., 2020, Brekelmans et al., 2020).
- Monte Carlo Estimation: Importance sampling under 7 with 8 samples and normalized weights 9 is standard. Reusing base samples across all 0 exploits common random numbers for variance reduction.
- Gradient Estimation: The covariance-gradient estimator
1
requires no reparameterization and is applicable to both continuous and discrete latent spaces. For the latent parameter 2, a doubly-reparameterized estimator further reduces variance, leading to stable training even for large 3 (Masrani et al., 2019, Brekelmans et al., 2020).
4. Geometric Pathologies and the Hölder Bounds Solution
Empirically, the standard geometric path TVO integrand 4 exhibits sharp curvature, particularly for 5 and 6, resulting in high estimator variance and inefficiency. This motivates generalizing the integration path:
- Weighted Hölder Mean Path: Define
7
with 8 yielding the geometric mean (TVO) and 9 the arithmetic mean.
- Hölder Path and Bounds: The path 0 yields local evidence
1
which is monotonic for 2 or 3. For suitable 4, 5 can be made nearly flat, minimizing Riemann sum bias.
- Hölder Bounds (HBO): The objective
6
is exactly 7 for any 8. Discretization with near-flat 9 enables tight, low-variance approximations—sometimes with a single partition (Chen et al., 2021).
5. Practical Algorithms and Empirical Findings
Estimators and Tuning: The importance-weighted estimator for HBO samples 0, computes 1, builds unnormalized weights 2, and normalizes to estimate 3. Optimal 4 is found via grid or binary search to flatten 5 as much as possible (Chen et al., 2021).
Empirical Results:
- On both synthetic and real-world datasets, HBO bounds (with optimal 6) approach 7 in dramatically fewer partitions than TVO.
- Monte Carlo variance and effective sample size (ESS) are significantly improved (especially for low 8).
- In complex posterior inference and generative modeling (e.g., MNIST, Omniglot), HBO yields model and inference network learning superior to TVO, IW-ELBO, and ELBO. For instance, on MNIST, test lower bound (in nats) improves monotonically from ELBO (−94.0) 9 IW-ELBO (−88.3) 0 HBO (−87.8) (Chen et al., 2021).
6. Theoretical Properties and Generalizations
Tightness and Generality: For geometric TVO, 1 is non-decreasing, ensuring 2. For the Hölder path, monotonicity holds for 3 or 4, and the HBO is exact for all 5 (Chen et al., 2021).
Exponential Family and Duality: The geometric path 6 is an exponential family in 7, unifying TVO, rate-distortion, and information bottleneck objectives. The TVO bound gap is a sum of KL divergences between the chain of intermediate exponential family distributions (Brekelmans et al., 2020).
Connection to Hypothesis Testing: The minimizer of the linear combination 8 among densities 9 is the exponential family member 0. Large deviations arguments identify the same family as optimal for Neyman–Pearson testing, and the Chernoff information is characterized at the 1 matching KL divergences from either endpoint (Brekelmans et al., 2020).
7. Applications and Extensions
TVO and its generalizations have been successfully deployed in:
- Deep Generative Modeling: Discrete and continuous latent variable models, such as VAEs and Sigmoid Belief Networks, with state-of-the-art performance.
- Rate-Distortion and Information Bottleneck: Rate-distortion curves and IB objectives admit an identical path sampling and integration interpretation (Brekelmans et al., 2020).
- Optimization of Schedules: Automatic partition point selection via Gaussian process bandits or moment-parameter adaptive methods yields tighter bounds and improved learning efficiency (Nguyen et al., 2020, Brekelmans et al., 2020, Chen et al., 2021).
Further generalizations exploit the exponential family structure to construct new variational objectives, variational representations, and connections to classical inference and learning problems.
References:
- (Chen et al., 2021) Variational Inference with Holder Bounds
- (Masrani et al., 2019) The Thermodynamic Variational Objective
- (Nguyen et al., 2020) Gaussian Process Bandit Optimization of the Thermodynamic Variational Objective
- (Brekelmans et al., 2020) All in the Exponential Family: Bregman Duality in Thermodynamic Variational Inference
- (Brekelmans et al., 2020) Likelihood Ratio Exponential Families