[Paper Review] Variational Tempering
This paper proposes variational tempering (VT) and local variational tempering (LVT), which treat temperature as a latent variable in variational inference to enable adaptive annealing schedules. By learning optimal temperature schedules from data, VT and LVT outperform traditional stochastic variational inference and manually tuned annealing, achieving higher predictive likelihoods on held-out data in topic models and mixture models without manual hyperparameter tuning.
Variational inference (VI) combined with data subsampling enables approximate posterior inference over large data sets, but suffers from poor local optima. We first formulate a deterministic annealing approach for the generic class of conditionally conjugate exponential family models. This approach uses a decreasing temperature parameter which deterministically deforms the objective during the course of the optimization. A well-known drawback to this annealing approach is the choice of the cooling schedule. We therefore introduce variational tempering, a variational algorithm that introduces a temperature latent variable to the model. In contrast to related work in the Markov chain Monte Carlo literature, this algorithm results in adaptive annealing schedules. Lastly, we develop local variational tempering, which assigns a latent temperature to each data point; this allows for dynamic annealing that varies across data. Compared to the traditional VI, all proposed approaches find improved predictive likelihoods on held-out data.
Motivation & Objective
- To address poor local optima in stochastic variational inference (SVI) on large datasets.
- To eliminate the need for manual tuning of temperature schedules in deterministic annealing by learning them from data.
- To develop a scalable, data-driven annealing method that improves posterior approximation in conditionally conjugate exponential family models.
- To introduce local variational tempering (LVT), where each data point has a distinct temperature, enabling dynamic annealing across data.
- To demonstrate that variational tempering achieves performance comparable or superior to the best hand-tuned annealing schedules.
Proposed method
- Introduces variational tempering (VT) by augmenting the model with a global latent temperature variable, allowing the algorithm to infer the optimal annealing schedule from data.
- Uses a mean-field variational inference framework with a temperature-dependent objective function, where the temperature is marginalized via variational inference.
- Applies the method to conditionally conjugate exponential family models, enabling scalable inference via stochastic variational inference (SVI).
- Develops local variational tempering (LVT), where each data point has its own temperature variable, allowing per-data-point dynamic annealing.
- Derives variational updates for the global and local temperature variables, integrating them into the standard SVI optimization loop.
- Employs black-box variational inference techniques to generalize the method to a broad class of models with minimal model-specific derivations.
Experimental results
Research questions
- RQ1Can treating temperature as a latent variable in variational inference lead to better posterior approximations than fixed or manually tuned annealing schedules?
- RQ2Does variational tempering automatically learn an annealing schedule that matches or exceeds the performance of the best hand-tuned linear schedule?
- RQ3Can local variational tempering, with per-data-point temperatures, improve inference quality by enabling dynamic annealing rates across data?
- RQ4How does variational tempering compare to standard stochastic variational inference in terms of predictive likelihood on held-out data?
- RQ5What is the impact of adaptive temperature learning on convergence and avoidance of poor local optima in non-convex variational objectives?
Key findings
- Variational tempering (VT) achieves predictive likelihoods on held-out data that are comparable to or better than the best manually tuned linear annealing schedules.
- On the Yale Faces dataset, VT automatically learns an annealing schedule that closely matches the performance of the optimal linear schedule, eliminating the need for hyperparameter search.
- On artificial factorial mixture model data, VT recovers cleaner and more accurate latent components (μk) than standard variational inference, which gets stuck in poor local optima.
- Local variational tempering (LVT) enables dynamic annealing across data points, allowing different regions of the data to be optimized at different rates.
- All proposed methods—annealed VI, VT, and LVT—achieve higher ELBOs and better predictive likelihoods than standard SVI on both topic models and mixture models.
- The expected temperature in VT adapts over iterations, with the schedule emerging naturally from the data, demonstrating effective automatic annealing.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.