Message Passing Stein Variational Gradient Descent

Jingwei Zhuo, Chang Liu, Jiaxin Shi, Jun Zhu, Ning Chen, Bo Zhang

Overview

Stein Variational Gradient Descent (SVGD) is a powerful tool for Bayesian inference, but it suffers from "particle degeneracy" in high dimensions, where particles collapse into single points rather than representing a full distribution. This paper introduces Message Passing SVGD (MP-SVGD), a novel approach that leverages the structure of graphical models to perform local updates. By doing so, it effectively "beats" the curse of dimensionality and maintains particle diversity in complex, high-dimensional spaces.

The Curse of Dimensionality in SVGD

Bayesian inference often requires approximating complex, high-dimensional distributions. SVGD has emerged as a popular "particle-based" method: it moves a set of particles toward the target distribution using a gradient-based update. Crucially, SVGD includes a "repulsive force" term that pushes particles away from each other, ensuring they spread out to represent the entire distribution rather than just crowding around the peaks (modes).

However, the authors observe a major flaw: as the number of dimensions ($D$) increases, SVGD particles tend to collapse. They theoretically demonstrate that the repulsive force is negatively correlated with dimensionality. In high-dimensional space, this force vanishes, the particles stop "feeling" each other, and they all rush toward the nearest mode. This leads to a massive underestimation of variance and a poor approximation of the target distribution.

Message Passing SVGD (MP-SVGD)

The authors propose MP-SVGD to solve this degeneracy by exploiting the conditional independence properties of Probabilistic Graphical Models (PGMs).

  1. KL Divergence Decomposition: Instead of minimizing the global Kullback-Leibler (KL) divergence all at once, the authors show that it can be decomposed into a set of local KL divergences.
  2. Local Updates: Instead of a global update using all dimensions, each node in the graphical model updates its particles based only on its Markov blanket (its immediate neighbors).
  3. Local Kernels: MP-SVGD uses kernels defined over these local neighborhoods. Because the neighborhood size is usually much smaller than the total dimensionality $D$, the repulsive force remains strong and effective.
  4. Message Passing: The algorithm proceeds iteratively. Each node receives "messages" (the current particle states) from its neighbors, updates its own particles, and passes them back.
Illustration of the message passing mechanism in MP-SVGD
  1. Kernel Variants: They introduce two versions: MP-SVGD-s (Single-Kernel, treating all neighbors equally) and MP-SVGD-m (Multi-Kernel, which further decomposes the kernel based on specific factors or edges in the graph).

Theoretical Insights

  • The Vanishing Repulsive Force: The paper provides a rigorous theoretical analysis showing that for common kernels like the RBF, the repulsive force upper bound decreases as $1/\sqrt{D}$ or even exponentially ($1/e^{D^\alpha}$). This is the "aha moment" explaining why standard SVGD fails in high dimensions.
  • Dimensionality Reduction via Structure: By restricting the kernel to the Markov blanket, the "effective dimension" for the repulsive force is reduced from the global $D$ to the local neighborhood size. This keeps the particles diverse.
  • Consistency: The authors prove that while MP-SVGD only ensures conditional consistency (similar to loopy belief propagation), this relaxation is a necessary and acceptable trade-off for handling high-dimensional complexity.

Experimental Setup and Results

The authors evaluated MP-SVGD on both synthetic and real-world tasks, including a synthetic Markov Random Field (MRF) designed to be difficult for standard inference, and image denoising tasks using the standard Lena image and the Berkeley Segmentation Dataset (BSD).

Key Results: * Particle Efficiency: In MRF experiments, MP-SVGD achieved significantly lower Mean Squared Error (MSE) than standard SVGD and even outperformed Expectation Particle Belief Propagation (EPBP). * Maintaining Variance: Qualitative plots show that while SVGD particles collapse into sharp, thin peaks, MP-SVGD particles accurately capture the broad, multimodal shapes of the target marginals.

Density plots showing SVGD collapsing into sharp peaks while MP-SVGD matches the ground truth
  • Image Denoising Performance: On the BSD dataset, MP-SVGD achieved a higher average PSNR (32.12) compared to standard SVGD (31.65) and the state-of-the-art Auxiliary Gibbs sampler (32.09), while using significantly fewer particles.
  • Force Stability: Experimental verification showed that the "Particle-Averaged Magnitude of Repulsive Force" (PAMRF) for MP-SVGD remained stable as dimensions increased, whereas it plummeted for standard SVGD.

Limitations and Future Directions

  • Dependency on PGM Structure: MP-SVGD requires the target distribution to be described as a graphical model with a known factorization. It cannot be applied to "black-box" distributions where the dependency structure is unknown.
  • Theoretical Dynamics: The authors note that while they've analyzed the bounds of the repulsive force, a complete formal analysis of the SVGD dynamics in high dimensions is still an open area for research.
  • Robust Kernels: The authors suggest that investigating "robust kernels" where the repulsive force does not decrease with dimensionality could be a promising alternative to the message-passing approach.

Summary updated

BibTeX
@inproceedings{zhuo2018message,
  author = {Jingwei Zhuo and Chang Liu and Jiaxin Shi and Jun Zhu and Ning Chen and Bo Zhang},
  title = {{Message Passing Stein Variational Gradient Descent}},
  booktitle = {International Conference on Machine Learning},
  year = {2018},
  url = {https://openreview.net/forum?id=jOH0xO3Smf_},
}
Figure