Abstract
Traditional MCMC theory focuses on global convergence, a goal often unattainable in the degenerate loss landscapes of deep learning. This paper proposes a shift toward evaluating how well samplers explore the local neighborhood of a single minimum. By introducing a scalable benchmark using Deep Linear Networks (DLNs) and Singular Learning Theory, the authors demonstrate that adaptive samplers like RMSProp-preconditioned SGLD are superior for capturing complex posterior geometries.
Introduction: The Gap Between Theory and Practice
Sampling from neural network posterior distributions is a cornerstone of Bayesian deep learning, yet it remains theoretically elusive. Most convergence proofs assume "smoothness" properties that deep learning models lack. In practice, researchers successfully use Stochastic Gradient MCMC (SGMCMC) to extract local information, despite theory suggesting these samplers might fail.
The core issue is degeneracy: vast, flat regions in the parameter space where different settings yield identical outputs. This paper argues for a new yardstick: local posterior sampling. Instead of asking if a sampler can find every minimum, we should measure if it correctly "sees" the local geometry of the minimum it has already found.
Methodology: Singular Learning Theory and DLNs
To quantify local sampling performance, the authors utilize the Local Learning Coefficient (LLC) from Singular Learning Theory (SLT). The LLC measures "volume scaling"—the amount of parameter space available around a minimum that doesn't significantly increase loss.
The benchmark employs Deep Linear Networks (DLNs). While these models are deep, their linear nature allows for the analytical calculation of the "ground truth" LLC. By comparing a sampler's estimated LLC against this analytical value, researchers can objectively measure sampling fidelity. The evaluation spans synthetic regression tasks with models ranging from 100K to 100M parameters, as well as a 4-layer attention-only transformer.
Key Insights: Preconditioning and Robustness
The study reveals that standard SGLD often fails to navigate the "stretched" geometry of degenerate landscapes. In contrast, adaptive samplers—specifically RMSPropSGLD and AdamSGLD—act as a local compass, adjusting to the terrain and providing robust estimates across a wide range of hyperparameters.
Interestingly, RMSPropSGLD exhibits a "failure as a feature" property: when misconfigured, it produces NaNs, providing a clear signal of error. Basic SGLD might instead produce plausible but incorrect values, which is more dangerous for downstream inference.
Results and Scalability
- RMSPropSGLD Superiority: It consistently outperformed other samplers in representing local geometry across all scales up to 100M parameters.
- Stability: Adaptive samplers maintained accurate LLC estimates over a broader range of step sizes compared to basic SGLD or SGHMC.
- Order Preservation: These samplers were significantly better at correctly identifying which minima are "flatter" than others, a critical task for model selection and interpretation.
Conclusion and Future Directions
This work provides a scalable path for interpreting large-scale AI models by focusing on local geometry. While DLNs lack the non-linearities of standard networks (like ReLUs), they capture the essential degeneracy of deep learning. Future research is needed to bridge the remaining theoretical gap: explaining why SGMCMC samplers succeed in these non-smooth spaces and defining the "effective support" they visit in practice.
Summary updated