Skip to main content
QUICK REVIEW

[논문 리뷰] Can Microcanonical Langevin Dynamics Leverage Mini-Batch Gradient Noise?

Emanuel Sommer, Kangning Diao|arXiv (Cornell University)|2026. 02. 06.
Markov Chains and Monte Carlo MethodsMathematics인용 수 0
한 줄 요약

이 논문은 미니배치 그래디언트에 대한 확률적 미시캐롤리언 Langevin 다이나믹스(SMILE)를 분석하고, 비등방성으로 인한 편향을 식별하며, 그래디언트 노이즈 프리컨디셔닝과 에너지-분산 기반 튜닝을 제안하고, 확장 가능하고 적응적인 SMILE 변형으로 최첨단 베이지안 신경망 샘플링을 보여준다.

ABSTRACT

Scaling inference methods such as Markov chain Monte Carlo to high-dimensional models remains a central challenge in Bayesian deep learning. A promising recent proposal, microcanonical Langevin Monte Carlo, has shown state-of-the-art performance across a wide range of problems. However, its reliance on full-dataset gradients makes it prohibitively expensive for large-scale problems. This paper addresses a fundamental question: Can microcanonical dynamics effectively leverage mini-batch gradient noise? We provide the first systematic study of this problem, establishing a novel continuous-time theoretical analysis of stochastic-gradient microcanonical dynamics. We reveal two critical failure modes: a theoretically derived bias due to anisotropic gradient noise and numerical instabilities in complex high-dimensional posteriors. To tackle these issues, we propose a principled gradient noise preconditioning scheme shown to significantly reduce this bias and develop a novel, energy-variance-based adaptive tuner that automates step size selection and dynamically informs numerical guardrails. The resulting algorithm is a robust and scalable microcanonical Monte Carlo sampler that achieves state-of-the-art performance on challenging high-dimensional inference tasks like Bayesian neural networks. Combined with recent ensemble techniques, our work unlocks a new class of stochastic microcanonical Langevin ensemble (SMILE) samplers for large-scale Bayesian inference.

연구 동기 및 목표

  • 고차원 모델에서의 미니배치 그래디언트를 활용한 확장 가능한 베이지안 추론을 위한 동기를 부여한다.
  • MCLMC에서의 이방성 미니배치 그래디언트 노이즈로 인한 편향을 이론적으로 특성화한다.
  • 편향을 완화하고 견고한 샘플링을 가능하게 하는 그래디언트 노이즈 프리컨디셔닝을 제안한다.
  • 단계 크기와 수치적 안정성을 제어하기 위한 에너지-분산 기반 적응자 튜너를 개발한다.
  • 베이지안 신경망 및 대규모 아키텍처에서 SMILE 변형을 실험적으로 검증한다.

제안 방법

  • 확률적 미시캐롤리언 Langevin 다이나믹스(SMILE)를 도출하고 미니배치 노이즈하에서의 실패 모드를 식별한다.
  • 로컬 노이즈 공분산 L(θ)을 사용하여 그래디언트를 변환해 등방성 효과 노이즈를 달성하는 그래디언트 노이즈 프리컨디셔닝을 제안한다.
  • 대각 선형 이동평균 기반 프리컨디셔닝을 갖는 SMILE-naive의 프리컨디셔닝된 버전인 pSMILE-naive와 pSMILE를 도입한다.
  • 에너지 오차 ΔE를 감마 분포로 모델링하여 단계 크기를 적응시키고 수치적 가드레일을 설정하는 에너지-분산 기반 적응자 튜너를 개발한다.
  • 적응 제어를 가능하게 하는 지수이동평균으로의 온라인 감마 매개변수 추정(Algorithm 1)을 구현한다.
  • SGHMC 및 전체 배치 MILE과 비교하여 베이지안 신경망과 대형 아키텍처에서 평가한다.
Figure 1 : Differences between the Bayesian deep ensemble (BDE) performance of naive (orange) and tuned (blue) SMILE variants and a deep ensemble (DE) baseline for a ResNet-7 (428k parameters) on the CIFAR10 dataset. The x-axis is truncated at -0.01 for readability. For all samplers, we report the b
Figure 1 : Differences between the Bayesian deep ensemble (BDE) performance of naive (orange) and tuned (blue) SMILE variants and a deep ensemble (DE) baseline for a ResNet-7 (428k parameters) on the CIFAR10 dataset. The x-axis is truncated at -0.01 for readability. For all samplers, we report the b

실험 결과

연구 질문

  • RQ1미니배치 그래디언트 노이즈에 의해 미시캐롤리언 Langevin 다이나믹스가 목표 포스터리에 편향 없이 효과적으로 구동될 수 있는가?
  • RQ2이방성 미니배치 노이즈 아래에서 편향을 초래하는 메커니즘은 무엇이며 프리컨디셔닝이 올바른 정상 상태 동작을 회복시킬 수 있는가?
  • RQ3대규모 모델로 확장할 때 확률적 미시캐롤리언 다이나믹스를 얼마나 잘 적응적으로 제어하여 단계 크기와 수치적 안정성을 달성할 수 있는가?
  • RQ4프리컨디셔닝된 SMILE 방법이 고차원 BNN에서 최첨단 불확실성 정량화와 예측 성능을 달성하는가?
  • RQ5에폭별 샘플링과 프리컨디셔닝으로 전체 배치 MILE 성능에 맞추어 대규모 CI ensemble(MILE/MCMC ensembes)을 확장할 수 있는가?

주요 결과

  • 이방성 미니배치 그래디언트 노이즈는 연속 시간 MCLMC에서 노이즈 유도 드리브로 인해 체계적 편향을 유발한다.
  • 로컬 목표 공분산 L(θ)으로의 그래디언트 노이즈 프리컨디셔닝은 유효 노이즈를 등방화하여 편향을 줄인다.
  • pSMILE-naive는 이방성 노이즈 하에서 SMILE-naive보다 분석적 벤치마크에서 현저히 우수하다.
  • 에너지-분산 기반 튜닝은 큰 네트워크로의 확장을 안정화시키며 추가 노이즈 주입 없이도 견고한 적응적 단계 크기 제어를 가능하게 한다.
  • 에폭별 샘플링과 프리컨디셔닝으로 pSMILE는 베이지안 신경망에서 전체 배치 MILE 성능에 도달할 수 있다.
  • CIFAR-10 및 Imagenette에서의 대규모 실험은 pSMILE가 SGHMC 및 cSGLD와 비교하여 경쟁력 있는 또는 우수한 지표(LPPD, 정확도, F1 등)를 달성함을 보여준다.
Figure 2 : Robustness assessment: Perplexity improvement (smaller is better, std. dev. as shaded area) of MCMC sampling over the optimized warmstart across samplers and step sizes for the nanoGPT model with 10.8M parameters on modern-shakespeare .
Figure 2 : Robustness assessment: Perplexity improvement (smaller is better, std. dev. as shaded area) of MCMC sampling over the optimized warmstart across samplers and step sizes for the nanoGPT model with 10.8M parameters on modern-shakespeare .

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.