TL;DR
Weight-space permutation symmetries in neural networks create vast numbers of functionally identical posterior modes, causing standard unimodal Variational Inference (VI) to interpolate between modes and severely underfit. This paper introduces an architecture-agnostic symmetrization technique that constructs permutation-invariant variational posteriors and optimizes them efficiently via a simplified, contrastive mutual information estimator without computing an intractable sum over permutations.
What Problem Does This Paper Address?
Bayesian Neural Networks (BNNs) aim to estimate a probability distribution over model weights given data. In practice, practitioners usually employ unimodal Gaussian variational distributions (e.g., Mean-Field VI) under the assumption that reverse Kullback–Leibler (KL) divergence behaves in a strictly "mode-seeking" manner—collapsing neatly onto a single good mode.
However, multi-layer perceptrons (MLPs) possess extensive permutation symmetries: permuting neurons within hidden layers yields functionally identical networks. An MLP with hidden widths $d_1, \dots, d_{L-1}$ has up to $\prod_{l=1}^{L-1} d_l!$ equivalent modes in its posterior. When equivalent modes are close together, reverse KL optimization fails to pick a single mode; instead, it becomes mean-seeking and interpolates between equivalent modes. This interpolation forces the model to place high probability mass on intermediate weight configurations that fit the data poorly, contributing directly to the well-known underfitting problem in variational BNNs.
Methods
The authors introduce $G$-symmetrization of the variational posterior:
-
Symmetrized Distribution ($q_\theta^G$): Rather than restricting network architectures, they define the approximate posterior by averaging any base distribution $q_\theta(\omega)$ over the group orbit of permutation group $G$: $$q_\theta^G(\omega) = \frac{1}{|G|} \sum_{g \in G} q_\theta(g^{-1} \cdot \omega)$$ Because the likelihood is permutation-invariant, sampling weights from $q_\theta^G$ induces the exact same functional distribution as sampling from $q_\theta$. Crucially, however, the Evidence Lower Bound (ELBO) changes during training.
-
Decomposing the Symmetrized ELBO ($\mathcal{L}_{\mathrm{VI}}^G$): The authors prove: $$\mathcal{L}_{\mathrm{VI}}^G(\theta) = \mathcal{L}_{\mathrm{VI}}(\theta) + I(g; \omega) = \mathcal{L}_{\mathrm{VI}}(\theta) + H(q_\theta^G(\omega)) - H(q_\theta(\omega))$$ The expected log-likelihood remains identical, meaning the correction enters strictly as a mutual information regularization term $I(g; \omega) \ge 0$.
-
Linear-Time Entropy / MI Estimator: Evaluating the mixture entropy $H(q_\theta^G)$ over all $|G|$ components is intractable. The authors adapt the InfoNCE mutual information lower bound. By exploiting the algebraic group structure (invariance under random group multiplication and inversion), they reduce the standard InfoNCE sample complexity from $\mathcal{O}(K^2)$ down to $\mathcal{O}(K)$ for $K$ sampled permutations: $$\hat{H}^K(\theta) = - \frac{1}{S} \sum_{i=1}^S \log \left( \frac{1}{K} \left( q_\theta(\omega_i) + \sum_{j=1}^{K-1} q_\theta(g_j^{-1} \cdot \omega_i) \right) \right)$$ This provides a tractable, differentiable objective via the reparameterization trick.
Datasets
- 1D Synthetic Bimodal Target: A 1D/multivariate Gaussian mixture target $p_\alpha(x) = \frac{1}{2}(\mathcal{N}(0, \sigma^2 I) + \mathcal{N}(\alpha u, \sigma^2 I))$ used to systematically study mode interpolation vs. mode-seeking thresholds as a function of separation $\alpha$ and variance $\sigma$.
- Tractable 2-Parameter Synthetic BNN: A 2-neuron, single-hidden-layer ReLU network fitting $f_\alpha(x) = \alpha|x|$ on 100 uniform random points in $[-10, 10]$, where the true 2D posterior can be explicitly computed.
- MNIST: Standard handwritten digit classification benchmark (60,000 train / 10,000 test images), evaluated on single-hidden-layer MLPs across varying hidden dimensions.
Key Insights and Ideas
-
Mode Proximity Grows with Width: The authors prove (Theorem 3.1) that for a single hidden layer MLP of width $d_h$, the relative Euclidean distance to the nearest equivalent weight configuration scales as: $$\frac{\|\omega - g \cdot \omega\|_2}{\|\omega\|_2} = \mathcal{O}\left(\frac{d_i + d_o}{\log(d_h)}\right)$$ As width increases, equivalent modes become relatively closer, drastically exacerbating interpolation failures.
-
Reverse KL Fails Under Proximity: Mode-seeking behavior breaks down whenever mode separation falls below a threshold $\alpha^* \approx 5\sigma$. Below this threshold, reverse KL deliberately interpolates between modes and inflates variance, directly disproving the common assumption that reverse KL always isolates single modes.
- Invariance via Objective, Not Architecture: Instead of using complex equivariant neural architectures or constrained parameter spaces, optimizing $\mathcal{L}_{\mathrm{VI}}^G$ allows practitioners to use standard Gaussian posteriors and sample from $q_\theta$ at test time, while the modified KL penalty drives the parameters toward valid, non-interpolating modes.
Key Results
- Tractable BNN:
- Standard Mean-Field VI (MFVI) yields a posterior centered between the two true modes (at the origin), resulting in high test MSE (e.g., $0.18 \pm 0.19$ for $\alpha=0.2$).
- Symmetric Gaussian Mixture VI (SGM, $K=2$) successfully places mass directly over the true modes, improving test MSE to $0.12 \pm 0.16$ and increasing normalized ELBO from $-0.031$ to $-0.019$ ($\alpha=0.2$).
- MNIST Classification:
- As hidden width increases, the accuracy advantage of symmetrized VI over MFVI widens:
- Width 5: MFVI achieves $88.379\% \pm 0.023\%$ vs. SGM ($K=5$) at $88.423\% \pm 0.027\%$.
- Width 30: MFVI achieves $95.432\% \pm 0.023\%$ vs. SGM ($K=20$) at $95.552\% \pm 0.023\%$.
- Across all hidden widths ($5, 10, 20, 30$), symmetrized VI consistently outperforms standard mean-field VI.
Limitations and Future Work
- Estimator Variance at Scale: The variance of the entropy estimator $\hat{H}^K(\theta)$ increases with model size. While increasing sample size $K$ stabilizes training, it adds computational overhead.
- Variance Reduction: Future work aims to incorporate importance sampling over group permutations (e.g., favoring permutations whose centroids $g \cdot \mu$ lie close to $\mu$, where mode collisions most strongly impact entropy).
- Other Symmetries: The work focuses primarily on permutation symmetries in MLPs. The authors highlight extending this symmetrized variational framework to scaling symmetries, data-dependent invariances, and quotient-space inference ($W/G$).
Summary updated