Flatness-Aware Stochastic Gradient Langevin Dynamics

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Bruno, Stefano, Hwang, Youngsik, An, Jaehyeon, Sabanis, Sotirios, Lim, Dong-Young
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866914606003257344
author Bruno, Stefano
Hwang, Youngsik
An, Jaehyeon
Sabanis, Sotirios
Lim, Dong-Young
author_facet Bruno, Stefano
Hwang, Youngsik
An, Jaehyeon
Sabanis, Sotirios
Lim, Dong-Young
contents Flatness of the loss landscape has been widely studied as an important perspective for understanding the behavior and generalization of deep learning algorithms. Motivated by this view, we propose Flatness-Aware Stochastic Gradient Langevin Dynamics (fSGLD), a first-order optimization method that biases learning its dynamics toward flat basins while retaining the computational and memory efficiency of SGD and SGLD. We provide a non-asymptotic theoretical analysis showing that fSGLD targets a flatness-biased Gibbs distribution under a theoretically prescribed coupling between the noise scale $σ$ and the inverse temperature $β$, together with explicit excess risk guarantees. We empirically evaluate fSGLD across standard optimizer benchmarks, Bayesian image classification, uncertainty quantification, and out-of-distribution detection, demonstrating consistently strong performance and reliable uncertainty estimates. Additional experiments confirm the effectiveness of the theoretically prescribed $β$-$σ$ coupling compared to decoupled choices.
format Preprint
id arxiv_https___arxiv_org_abs_2510_02174
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Flatness-Aware Stochastic Gradient Langevin Dynamics
Bruno, Stefano
Hwang, Youngsik
An, Jaehyeon
Sabanis, Sotirios
Lim, Dong-Young
Machine Learning
Optimization and Control
Probability
Flatness of the loss landscape has been widely studied as an important perspective for understanding the behavior and generalization of deep learning algorithms. Motivated by this view, we propose Flatness-Aware Stochastic Gradient Langevin Dynamics (fSGLD), a first-order optimization method that biases learning its dynamics toward flat basins while retaining the computational and memory efficiency of SGD and SGLD. We provide a non-asymptotic theoretical analysis showing that fSGLD targets a flatness-biased Gibbs distribution under a theoretically prescribed coupling between the noise scale $σ$ and the inverse temperature $β$, together with explicit excess risk guarantees. We empirically evaluate fSGLD across standard optimizer benchmarks, Bayesian image classification, uncertainty quantification, and out-of-distribution detection, demonstrating consistently strong performance and reliable uncertainty estimates. Additional experiments confirm the effectiveness of the theoretically prescribed $β$-$σ$ coupling compared to decoupled choices.
title Flatness-Aware Stochastic Gradient Langevin Dynamics
topic Machine Learning
Optimization and Control
Probability
url https://arxiv.org/abs/2510.02174