Towards Robust Out-of-Distribution Generalization Bounds via Sharpness
School of Computing, National University of Singapore(新加坡国立大学计算机学院);Institute of Data Science, National University of Singapore(新加坡国立大学数据科学研究院);Department of Computer Science & Technology, Tsinghua University(清华大学计算机科学与技术系)
Generalizing to out-of-distribution (OOD) data or unseen domain, termed OOD generalization, still lacks appropriate theoretical guarantees. Canonical OOD bounds focus on different distance measurements between source and target domains but fail to consider the optimization property of the learned model. As empirically shown in recent work, the sharpness of learned minima influences OOD generalization. To bridge this gap between optimization and OOD generalization, we study the effect of sharpness on how a model tolerates data change in domain shift which is usually captured by "robustness" in generalization. In this paper, we give a rigorous connection between sharpness and robustness, which gives better OOD guarantees for robust algorithms. It also provides a theoretical backing for "flat minima leads to better OOD generalization". Overall, we propose a sharpness-based OOD generalization bound by taking robustness into consideration, resulting in a tighter bound than non-robust guarantees. Our findings are supported by the experiments on a ridge regression model, as well as the experiments on deep learning classification tasks.
Sharpness-diversity tradeoff: improving flat ensembles with SharpBalance
Nankai University(南开大学);Dartmouth College(达特茅斯学院);University of California San Diego(加州大学圣迭戈分校);University of California at Berkeley(加州大学伯克利分校);International Computer Science Institute(国际计算机科学研究所);Lawrence Berkeley National Laboratory(劳伦斯伯克利国家实验室)
BN-invariant sharpness regularizes the training model to better generalization
University of Chinese Academy of Sciences(中国科学院大学);Academy of Mathematics and Systems Science, Chinese Academy of Sciences(中国科学院数学与系统科学研究院);Microsoft Research(微软研究院)
PurSAMERE: Reliable Adversarial Purification via Sharpness-Aware Minimization of Expected Reconstruction Error
Department of Mathematics, RWTH-Aachen University(亚琛工业大学数学系);Institute for a sustainable Hydrogen Economy (IHE), Forschungszentrum Jülich, Germany(可持续氢能经济研究所(IHE)、茹里奇研究中心,德国);Scientific Computing Center and Institute for Applied and Numerical Mathematics, Karlsruhe Institute of Technology, Germany(科学计算中心和应用与数值数学研究所、卡尔斯鲁厄理工学院,德国);Department of Mathematics & Munich Center for Machine Learning, Ludwig Maximilian University of Munich, Germany(数学系及慕尼黑机器学习中心、慕尼黑路德维希-马克西米利安大学,德国);Computer, Electrical and Mathematical Sciences and Engineering, KAUST, Saudi Arabia(计算机、电气和数学科学与工程,卡塔尔大学,沙特阿拉伯)
VASSO: Variance Suppression for Sharpness-Aware Minimization
Department of Computer Science at ETH Zürich(苏黎世联邦理工学院计算机科学系);Department of Electrical and Computer Engineering, University of Minnesota(明尼苏达大学电气与计算机工程系)
Enhancing Generalization via Sharpness-Aware Trajectory Matching for Dataset Condensation
University of Oxford(牛津大学);Shanghai Jiao Tong University(上海交通大学);University of Nottingham(诺丁汉大学);Chinese Academy of Sciences(中国科学院);University of Edinburgh(爱丁堡大学)
Focal-SAM: Focal Sharpness-Aware Minimization for Long-Tailed Classification
Institute of Information Engineering, CAS(中国科学院信息工程研究所);University of Chinese Academy of Sciences(中国科学院大学);Institute of Computing Tech., CAS(中国科学院计算技术研究所);China Electronics Technology Group Corporation(中国电子科技集团公司);Sun Yat-sen University(中山大学)
Fix the Loss, Not the Radius: Rethinking the Adversarial Perturbation of Sharpness-Aware Minimization
CSMT, Wenzhou-Kean University(温州肯恩大学计算机科学与技术学院);International Frontier Interdisciplinary Research Institute, Wenzhou-Kean University(温州肯恩大学国际前沿交叉学科研究院)
Conflicting Biases at the Edge of Stability: Norm versus Sharpness Regularization
Munich Center for Machine Learning (MCML)(慕尼黑机器学习中心);Prusa Research(普拉萨研究公司);Institute for Robotics and Mechatronics, DLR-German Aerospace Center(德国航空航天中心机器人与机电研究所)
Efficient Sharpness-aware Minimization for Improved Training of Neural Networks
Centre for Frontier AI Research (CFAR), A*STAR(新加坡科技研究局前沿人工智能研究中心);National University of Singapore(新加坡国立大学);Institute of High Performance Computing (IHPC), A*STAR(新加坡科技研究局高性能计算研究所)
过度参数化的深度神经网络(DNN)通常可以实现惊人的性能,但可能会导致严重的泛化误差。最近,Foret et al.(2020)建立了损失景观的清晰度与泛化误差之间的关系,其中提出了SharpingAware Minimizer(SAM)来减轻泛化的退化。不幸的是,SAM的计算成本大约是基本优化器(如随机梯度下降(SGD))的两倍。因此,本文提出了高效的共享感知最小化器(ESAM),它提高了SAM的效率,而不牺牲其泛化性能。ESAM包括两种新颖有效的训练策略--随机权值扰动和锐度敏感数据选择。在前者中,通过在每次迭代中扰动随机选择的权重集来近似锐度度量;在后者中,仅使用对锐度敏感的明智选择的数据子集来优化SAM损失。我们提供了理论解释,为什么这些策略表现良好。我们还通过对CIFAR和ImageNet数据集的广泛实验表明,ESAM比SAM提高了效率,从需要100%的额外计算到相对于基本优化器的40%,同时保持甚至提高了测试准确度。