Undirected graphical models, such as Markov Random Fields and Boltzmann Machines, are powerful tools for modeling "collective phenomena"—systems where variables interact without a clear direction of causality, like atoms in a magnet or amino acids in a protein. However, these models are notoriously difficult to train because their likelihoods involve an intractable normalizing constant known as the partition function.
When researchers attempt to make these models sparse (meaning most variables do not interact directly), the problem escalates to "triple intractability." Practitioners must navigate:
- An exponential space of possible sparsity patterns.
- A continuous parameter space for each pattern.
- The intractable partition function for every single set of parameters.
While $L_1$ regularization (LASSO) serves as a standard pragmatic compromise, it fails to represent the "sparsity hypothesis" as accurately as Bayesian hierarchical priors. Unfortunately, full Bayesian inference typically requires slow, nested MCMC sampling that does not scale well to large problems. This paper introduces a scalable Bayesian framework to overcome these hurdles.
Methodological Innovations
The authors propose two primary innovations to make Bayesian sparsity scalable for undirected models:
1. Persistent Variational Inference (PVI)
Standard Variational Inference (VI) attempts to maximize the Evidence Lower Bound (ELBO). For undirected models, calculating the gradient of the ELBO involves the gradient of the log-partition function. PVI estimates this gradient by maintaining "persistent" Markov chains that evolve alongside the model parameters. By nesting these persistent MCMC chains within the VI loop, the authors create a "stochastic gradient" version of Bayesian inference that entirely avoids the need to calculate the partition function directly.
2. Fadeout and the "Funnel" Fix
Hierarchical sparse priors (like the Horseshoe or Laplacian) create a challenging "funnel" geometry in the parameter space. Standard "mean-field" VI fails here because it assumes parameters are independent, whereas in the funnel, a parameter's value is highly correlated with its variance.
To solve this, the authors introduce Fadeout, a noncentered reparameterization trick ($\theta = \tilde{\theta} \cdot \sigma$). Fadeout moves the problematic correlation from the prior to the likelihood. This coordinate shift allows a simple, factorized Gaussian distribution to accurately model the complex, sparse posterior.
Interestingly, Fadeout can be viewed as a Bayesian interpretation of Dropout, where the "noise" is lognormal and derived directly from the sparsity prior.
Datasets and Key Results
The authors evaluated their methods across three distinct domains:
- Synthetic Physics: Ising models, including a 4x4x4 cubic ferromagnet and a Sherrington-Kirkpatrick spin glass (using an Erdős-Rényi topology).
- Synthetic Biology: A 20-letter Potts spin glass (a generalized Ising model) with a topology inspired by the folding of biological polymers.
- Natural Biology: A dataset of 10,209 protein sequences from the SH3 domain family, used to predict 3D structural contacts from evolutionary sequence variation.
Superior Accuracy and Automatic Scaling
Unlike $L_1$ methods that require tedious cross-validation to find the right regularization strength, the Bayesian approach automatically infers the appropriate level of sparsity from the data.
In Ising model simulations, PVI with a Horseshoe prior (via Fadeout) consistently achieved lower Root Mean Square (RMS) error in reconstructing interaction strengths compared to standard methods like Pseudolikelihood (PL) and Minimum Probability Flow (MPF).
Furthermore, on the SH3 protein domain dataset, the Bayesian approach was significantly more accurate at identifying true 3D structural contacts than $L_1$ or $L_2$ regularized pseudolikelihood. The hierarchical Bayesian approach successfully identified "true" interactions with high confidence while being less prone to the over-shrinking effect commonly seen in Group $L_1$ methods.
Limitations and Future Work
While this framework represents a significant step forward, several challenges remain:
- Computational Overhead: Although much faster than traditional Bayesian MCMC, PVI is still more computationally expensive than simple point-estimation methods like Pseudolikelihood because it requires running Markov chains during training.
- Mean-Field Constraints: Fadeout relies on a mean-field (factorized) approximation in the noncentered space. The authors suggest that more expressive variational distributions, such as Normalizing Flows, could further improve the approximation.
- Evolutionary Noise: For real biological data, protein sequences are not independent due to shared ancestry. The authors had to use a heuristic to estimate "effective sample size." Handling this "phylogenetic noise" natively within the VI framework remains an open challenge for future research.
Summary updated