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 …