Recently, flat minima are proven to be effective for improving generalization and sharpness-aware minimization (SAM) achieves state-of-the-art performance. Yet the current definition of flatness discussed in SAM and its follow-ups are limited to the zeroth-order flatness (i.e., the worst-case loss within a perturbation radius). We show that the zeroth-order flatness can be insufficient to discriminate minima with low generalization error from those with high generalization error both when there is a single minimum or multiple minima within the given perturbation radius. Thus we present first-order flatness, a stronger measure of flatness focusing on the maximal gradient norm within a perturbation radius which bounds both the maximal eigenvalue of Hessian at local minima and the regularization function of SAM. We also present a novel training procedure named Gradient norm Aware Minimization (GAM) to seek minima with uniformly small curvature across all directions. Experimental results show that GAM improves the generalization of models trained with current optimizers such as SGD and AdamW on various datasets and networks. Furthermore, we show that GAM can help SAM find flatter minima and achieve better generalization.
Bilateral Sharpness-Aware Minimization for Flatter Minima
Faculty of Information Technology, Beijing University of Technology(北京工业大学信息技术学院);School of Artificial Intelligence, BeiHang University(北京航空航天大学人工智能学院);University of Chinese Academy of Sciences(中国科学院大学);Chinese Academy of Sciences (CAS)(中国科学院);Institute of Computing Technology, CAS(中国科学院计算技术研究所)
Sharpness-Aware Minimization Can Hallucinate Minimizers
Department of Electrical and Computer Engineering, Seoul National University(电子与计算机工程系,首尔国立大学);Department of Mathematics, University of California, Los Angeles(数学系,加州大学洛杉矶分校)
Leveraging Extragradient for Effective Sharpness-Aware Minimization in Deep Learning
SGIT AI Lab, State Grid Corporation of China(国网SGIT人工智能实验室);School of Management, Xi’an Jiaotong University(西安交通大学管理学院);School of Software, Xi’an Jiaotong University(西安交通大学软件学院)
Membership Privacy Risks of Sharpness Aware Minimization
Department of Computer Science(计算机科学系);Purdue University(普渡大学);Delft University of Technology(代尔夫特理工大学);Department of Industrial and Systems Engineering(工业与系统工程系);University of Southern California(南加州大学)
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(首尔国立大学,韩国)
Understanding Flatness in Generative Models: Its Role and Benefits
Graduate School of Artificial Intelligence, Ulsan National Institute of Science and Technology(人工智能研究生院,全南国立科学与技术研究所);Department of Electrical Engineering, Ulsan National Institute of Science and Technology(电气工程系,全南国立科学与技术研究所)
Distributed stochastic proximal algorithm with random reshuffling for non-smooth finite-sum optimization
Beijing Institute of Technology(北京理工大学);Beijing Institute of Technology Chongqing Innovation Center(北京理工大学重庆创新中心);Tongji University(同济大学);Nanyang Technological University(南洋理工大学)
FedNSAM:Consistency of Local and Global Flatness for Federated Learning
College of Intelligence;Computing, Tianjin University Tianjin China;College of Management;Economics, Tianjin University Tianjin China;Medical College, Tianjin University\ Cheng Laboratory Tianjin China;School of Artificial Intelligence, Xidian University Xian China;Computing, Tianjin University;Economics, Tianjin University;Medical College, Tianjin University\ Cheng Laboratory;School of Artificial Intelligence, Xidian University
Locally Estimated Global Perturbations are Better than Local Perturbations for Federated Sharpness-aware Minimization
Cooperative Medianet Innovation Center(合作中位数创新中心);Shanghai Jiao Tong University(上海交通大学);Shanghai AI Laboratory(上海人工智能实验室);RIKEN AIP(理化学研究所人工智能项目);The University of Tokyo(东京大学)
Probable Domain Generalization via Quantile Risk Minimization
Max Planck Institute for Intelligent Systems(马克斯·普朗克智能系统研究所);University of Edinburgh(爱丁堡大学);University of Cambridge(剑桥大学);University of Pennsylvania(宾夕法尼亚大学)
VASSO: Variance Suppression for Sharpness-Aware Minimization
Department of Computer Science at ETH Zürich(苏黎世联邦理工学院计算机科学系);Department of Electrical and Computer Engineering, University of Minnesota(明尼苏达大学电气与计算机工程系)
FedSCAM (Federated Sharpness-Aware Minimization with Clustered Aggregation and Modulation): Scam-resistant SAM for Robust Federated Optimization in Heterogeneous Environments
Department of Computer Science, Lahore University of Management Sciences, Lahore, Pakistan(计算机科学系,拉合尔管理科学大学,拉合尔,巴基斯坦)
Sparse Layer Sharpness-Aware Minimization for Efficient Fine-Tuning
School of Cyber Science and Technology, Sun Yat-sen University, Shenzhen Campus(网络安全科学与技术学院,中山大学深圳校区);School of Computing, National University of Singapore(计算学院,新加坡国立大学);Baidu Inc(百度公司);Guangdong Laboratory of Artificial Intelligence and Digital Economy (SZ)(广东人工智能与数字经济实验室(深圳))
Bi-LoRA: Efficient Sharpness-Aware Minimization for Fine-Tuning Large-Scale Models
Institute of Image Processing and Pattern Recognition, School of Automation and Intelligent Sensing, Shanghai Jiao Tong University(图像处理与模式识别研究所,自动化与智能感知学院,上海交通大学);MoE Key Laboratory of System Control and Information Processing (Shanghai)(系统控制与信息处理MOE重点实验室(上海))
DP-FedPGN: Finding Global Flat Minima for Differentially Private Federated Learning via Penalizing Gradient Norm
School of Computer Science and Technology, College of Intelligence and Computing, Tianjin University(计算机科学与技术学院,智能与计算学院,天津大学);Medical College, Tianjin University(医学学院,天津大学);School of Artificial Intelligence, Xidian University(人工智能学院,西安电子科技大学)