The sharpness-aware minimization (SAM) algorithm and its variants, including gap guided SAM (GSAM), have been successful at improving the generalization capability of deep neural network models by finding flat local minima of the empirical loss in training. Meanwhile, it has been shown theoretically and practically that increasing the batch size or decaying the learning rate avoids sharp local minima of the empirical loss. In this paper, we consider the GSAM algorithm with increasing batch sizes or decaying learning rates, such as cosine annealing or linear learning rate, and theoretically show its convergence. Moreover, we numerically compare SAM (GSAM) with and without an increasing batch size and conclude that using an increasing batch size { achieves a lower worst-case $\ell_\infty$ adaptive sharpness} than compared with using a constant batch size and learning rate.
The Normalization Method for Alleviating Pathological Sharpness in Wide Neural Networks
AIST(产业技术综合研究所);RIKEN CBS(理化学研究所脑科学中心)
规范化方法在提高深度学习性能方面发挥着重要作用,但其理论认识有限。为了从理论上阐明规范化的有效性,我们量化了由费舍尔信息矩阵(Fisher information matrix)确定的参数空间的几何形状,这也对应于在某些条件下损失景观的局部形状。我们分析了具有随机初始化的深度神经网络,当网络变得足够宽时,它会遭受病态的尖锐形状。我们发现,在最后一层的批量归一化有助于大幅降低这种病理锐度,如果宽度和样本数满足特定条件。相比之下,在许多设置中,中间隐藏层中的批量归一化难以减轻病理性锐度。我们还发现,层归一化也不能减轻病理性锐度。因此,我们可以得出结论,最后一层中的批量归一化显著有助于降低由噪声引起的锐度。
Adapt in the Wild: Test-Time Entropy Minimization with Sharpness and Feature Regularization
College of Computing and Data Science, Nanyang Technological University(新加坡南洋理工大学计算机与数据科学学院);School of Software Engineering, South China University of Technology(华南理工大学软件工程学院);ByteDance, China(中国字节跳动);Tencent AI Lab(腾讯AI实验室);School of Computing, National University of Singapore(新加坡国立大学计算机学院);School of Artificial Intelligence, Shanghai Jiao Tong University(上海交通大学人工智能学院)
Stability Analysis of Sharpness-Aware Minimization
Chung-Ang University, South Korea(Chung-Ang 大学,韩国);Korea Institute for Advanced Study, South Korea(韩国高级研究院);Ulsan National Institute of Science(乌山国家科学研究院);Nanyang Technological University (NTU), Singapore(南洋理工大学(NTU),新加坡);Seoul National University, South Korea(首尔国立大学,韩国)
University of Basel(巴塞尔大学);ETH Zürich(苏黎世联邦理工学院);University of Oslo(奥斯陆大学);Inria(法国国家信息与自动化研究所);Ecole Normale Supérieure PSL Research University(巴黎高等师范学院-PSL研究大学)
本文为 SAM 及其两种变体在全批量与小批量设置下建立 SDE 连续时间模型,解释其偏好平坦极小值的机制,并证明其在现实条件下会被鞍点吸引。
Directional Curvature from Armijo Backtracking: A Low-Cost Sharpness Probe and a Calibration-Free Learning-Rate Safeguard for Adam
Department of Artificial Intelligence and Data Science, Sri Ramakrishna Engineering College, Anna University(人工智能与数据科学系,斯里·拉玛克里希纳工程学院,安娜大学);Interdisciplinary Institute for Applied AI and Data Science Ruhr (AKIS), Department of Electrical Engineering and Computer Science, Bochum University of Applied Sciences(鲁尔应用人工智能与数据科学跨学科研究所(AKIS),电气工程与计算机科学系,波鸿应用科学大学)
Decentralized SGD and Average-direction SAM are Asymptotically Equivalent
College of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院);JD Explore Academy, JD.com, Inc.(京东探索研究院,京东集团);Artificial Intelligence and its Applications Institute, School of Informatics, University of Edinburgh(爱丁堡大学信息学院人工智能及其应用研究所);The University of Sydney(悉尼大学)
On the Relation Between the Sharpest Directions of DNN Loss and the SGD Step Length
Jagiellonian University(雅盖隆大学);Mila / University of Montreal(Mila / 蒙特利尔大学);Facebook AI Research(Facebook人工智能研究院);Ruhr University Bochum(波鸿鲁尔大学);University of Edinburgh(爱丁堡大学)
Adam symmetry theorem: characterization of the convergence of the stochastic Adam optimizer
School of Data Science, The Chinese University of Hong Kong, Shenzhen (CUHK-Shenzhen)(数据科学学院,香港中文大学(深圳));School of Data Science and School of Artificial Intelligence, The Chinese University of Hong Kong, Shenzhen (CUHK-Shenzhen)(数据科学学院和人工智能学院,香港中文大学(深圳))
Bilevel Learning via Strategically Inexact Stochastic Gradient Descent
EPSRC Centre for Doctoral Training in Statistical Applied Mathematics at Bath(巴斯大学统计应用数学博士培训中心);Australian Research Council(澳大利亚研究理事会);Indian Institute of Technology (IIT), Kharagpur(印度理工学院(Kharagpur分校));University of Melbourne(墨尔本大学);Department of Electronics & Electrical Communication Engineering(电子与电气通信工程系);School of Mathematics and Statistics(数学与统计学学院)