pytorch_optimizer icon indicating copy to clipboard operation
pytorch_optimizer copied to clipboard

Improvement to SAM: SAM as an Optimal Relaxation of Bayes

Open redknightlois opened this issue 1 year ago • 1 comments

SAM as an Optimal Relaxation of Bayes

Sharpness-aware minimization (SAM) and related adversarial deep-learning methods can drastically improve generalization, but their underlying mechanisms are not yet fully understood. Here, we establish SAM as a relaxation of the Bayes objective where the expected negative-loss is replaced by the optimal convex lower bound, obtained by using the so-called Fenchel biconjugate. The connection enables a new Adam-like extension of SAM to automatically obtain reasonable uncertainty estimates, while sometimes also improving its accuracy. By connecting adversarial and Bayesian methods, our work opens a new path to robustness

Preprint: https://arxiv.org/abs/2210.01620

image

redknightlois avatar Oct 31 '23 12:10 redknightlois

thanks for the suggestion! I'll check it soon : )

kozistr avatar Nov 01 '23 10:11 kozistr