[Paper Review] Annealing in variational inference mitigates mode collapse: A theoretical study on Gaussian mixtures
The paper analyzes annealing-based variational inference on bimodal Gaussian mixtures, deriving a sharp probability formula for mode collapse and showing how proper annealing prevents collapse, with extensions to RealNVP flows.
Mode collapse, the failure to capture one or more modes when targetting a multimodal distribution, is a central challenge in modern variational inference. In this work, we provide a mathematical analysis of annealing based strategies for mitigating mode collapse in a tractable setting: learning a Gaussian mixture, where mode collapse is known to arise. Leveraging a low dimensional summary statistics description, we precisely characterize the interplay between the initial temperature and the annealing rate, and derive a sharp formula for the probability of mode collapse. Our analysis shows that an appropriately chosen annealing scheme can robustly prevent mode collapse. Finally, we present numerical evidence that these theoretical tradeoffs qualitatively extend to neural network based models, RealNVP normalizing flows, providing guidance for designing annealing strategies mitigating mode collapse in practical variational inference pipelines.
Motivation & Objective
- Motivate and formalize the mode-collapse problem in variational inference for multimodal targets.
- Develop a tractable Gaussian-mixture VI setting to study annealing effects.
- Derive a low-dimensional dynamical system and a closed-form mode-collapse probability under annealing.
- Validate theoretical findings with experiments using RealNVP flows.
- Provide practical guidance for designing annealing schedules in VI pipelines.
Proposed method
- Model the target as a bimodal Gaussian mixture and constrain the variational family to a two-component Gaussian with trainable variances.
- Use annealed reverse KL objective and a spherical gradient flow on the means with temperature parameter beta(t).
- Apply a low-dimensional summary-statistics reduction (m1, m2, s) to derive a 3D dynamical system for the learning dynamics.
- Assume variances track the temperature as sigma1^2 = sigma2^2 = beta^{-1} (quasi-static approximation).
- Derive analytical expressions for f and g governing entropy and cross-entropy forces, and analyze high/low temperature regimes.
- Obtain a closed-form mode-collapse probability p(beta) and relate it to the annealing schedule.

Experimental results
Research questions
- RQ1Can annealing prevent mode collapse in variational inference for a bimodal Gaussian target?
- RQ2How do initial temperature and annealing rate interact to influence mode-collapse probability?
- RQ3Does the theoretical framework extend to more expressive variational families like RealNVP flows?
- RQ4What is the optimal annealing strategy to maximize avoidance of mode collapse under constraints?
Key findings
- An appropriately chosen annealing schedule can robustly prevent mode collapse in the Gaussian-mixture VI setting.
- There is a critical trade-off between initial temperature and annealing rate that determines success in recovering both target modes.
- A low-dimensional 3D dynamical system based on summary statistics accurately captures the gradient-flow dynamics and matches SGD trajectories.
- The mode-collapse probability p(beta) is given by a closed-form integral (Eq. 3.7) involving an integral I(beta) and parameters like R and epsilon, with good agreement to experiments (alpha ≈ 0.608 in the analysis).
- Experiments with RealNVP flows show qualitative agreement with the Gaussian-mixture theory, indicating practical relevance for annealing design in complex variational families.

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.