TL;DR
Stein Variational Gradient Descent (SVGD) frequently suffers from mode collapse on multimodal distributions, trapping particles in local modes near their initialization. The authors introduce Annealed SVGD (A-SVGD), a simple yet effective modification that tempers the target density over time to balance particle repulsion and attraction. This strategy dramatically enhances mode exploration and density estimation in multimodal landscapes without compromising SVGD's theoretical convergence guarantees.
What Problem Does This Paper Address?
Stein Variational Gradient Descent (SVGD) is a popular particle-based variational inference method that transports an initial set of particles toward a target distribution via deterministic updates. In theory, SVGD discretizes the gradient flow of the Kullback-Leibler (KL) divergence in the Wasserstein space.
In practice, when running SVGD with a finite set of particles, the algorithm suffers from severe mode collapse. Because updates are purely deterministic (unlike stochastic MCMC methods that inject random noise), particles tend to fall into whichever modes are closest to their initialization. Even worse, standard SVGD struggles to accurately represent the relative probability masses of different modes. Tuning kernel parameters such as the RBF bandwidth does not resolve this pathology.
Methods
In standard SVGD, the velocity field acting on particles naturally splits into two terms:
- A driving force: Pulls particles toward regions of high probability using the score function $\nabla \log p(x)$.
- A repulsive force: Pushes particles apart using kernel gradients $\nabla k(x, x')$ to prevent them from collapsing into a single point.
The authors propose Annealed SVGD (A-SVGD), weighting the driving force with a time-dependent annealing factor $\gamma(t) \in [0, 1]$:
$$\hat{\phi}^*(x) = \frac{1}{n} \sum_{j=1}^n \left[ \gamma(t) k(x_j^t, x) \nabla_{x_j^t} \log p(x_j^t) + \nabla_{x_j^t} k(x_j^t, x) \right]$$
This corresponds to rescaling the target distribution by a temperature parameter $T(t) = 1 / \gamma(t)$, i.e., $p(x)^{1/T(t)}$. By ensuring $\lim_{t \to \infty} \gamma(t) = 1$, the particles asymptotically target the true posterior, preserving SVGD's asymptotic properties.
The authors evaluate three annealing schedules:
- Linear: $\gamma(t)$ increases steadily (found to be sub-optimal due to sluggish transitions).
- Hyperbolic: $\gamma(t) = \tanh((1.3 \frac{t}{T})^p)$, forcing a sharp transition from an exploratory phase ($\gamma \approx 0$) to an exploitative phase ($\gamma \approx 1$).
- Cyclical: $\gamma(t) = \left( \frac{\text{mod}(t, T/C)}{T/C} \right)^p$ over $C$ cycles, alternating between pushing particles outwards to discover modes and allowing them to settle.
Datasets
The authors evaluate their method exclusively on synthetic multimodal benchmark targets:
- 1D Gaussian Mixture: A univariate mixture with 5 distinct modes.
- 2D Regular Gaussian Mixture: 16 isotropic Gaussians arranged uniformly on a $4 \times 4$ grid ($\sigma = 0.5$).
- 2D Irregular Gaussian Mixture: A 2D mixture with unevenly spaced components and unequal mixture weights.
Key Insights and Ideas
- Two-phase particle evolution: When $\gamma(t)$ is small, the repulsive force dominates, scattering particles across the support of the distribution (exploration). As $\gamma(t) \to 1$, the score-driven attraction takes over, pulling particles into the nearest modes (exploitation).
- Kernel bandwidth does not fix mode collapse: Systematically sweeping the RBF kernel bandwidth across several orders of magnitude ($h \in [10^{-3}, 10^2]$ and median heuristic) fails to rescue standard SVGD from local collapse.
- Steep and cyclical transitions outperform linear tempering: A gradual linear increase leaves particles stranded in an intermediate regime that is poor for both exploration and mode-fitting. A cyclical schedule systematically discovers all modes while preventing particles from drifting arbitrarily far away.
Key Results
- 1D Mixture (5 modes): Standard SVGD collapsed entirely into the single mode nearest the initial particle pool. A-SVGD populated all five modes.
- 2D Regular Grid (16 modes): Standard SVGD remained trapped in the 4 center modes adjacent to initialization. A-SVGD spread across and captured all 16 modes evenly.
- 2D Irregular Mixture: Standard SVGD again collapsed into modes closest to its initialization. A-SVGD not only populated every mode but also preserved the relative mixture proportions (density mass) across components.
- Convergence Quality: In Maximum Mean Discrepancy (MMD) tracking, cyclical A-SVGD converged to significantly lower discrepancy values ($\text{MMD} \approx 0.05$) compared to standard SVGD ($\text{MMD} > 0.15$).
Limitations and Future Work
- Toy Benchmark Scope: Experiments are strictly limited to low-dimensional synthetic Gaussian mixtures (1D and 2D). The paper does not evaluate high-dimensional posteriors (e.g., Bayesian neural networks).
- Curse of Dimensionality: In higher dimensions, kernel-based distances deteriorate, and it remains an open question whether annealing alone can mitigate SVGD's sample degeneracy in hundreds or thousands of dimensions.
- Schedule Hyperparameters: Cyclical annealing introduces extra hyperparameters (cycle count $C$, power parameter $p$, total steps $T$) that require tuning for a given target landscape.
Summary updated