TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Sharpness-Aware Minimization for Efficiently Improving Gen...

Sharpness-Aware Minimization for Efficiently Improving Generalization

Pierre Foret, Ariel Kleiner, Hossein Mobahi, Behnam Neyshabur

2020-10-03ICLR 2021 1Image ClassificationLearning with noisy labelsFine-Grained Image Classification
PaperPDFCodeCodeCodeCodeCodeCodeCodeCode(official)CodeCodeCodeCodeCodeCodeCodeCodeCodeCode

Abstract

In today's heavily overparameterized models, the value of the training loss provides few guarantees on model generalization ability. Indeed, optimizing only the training loss value, as is commonly done, can easily lead to suboptimal model quality. Motivated by prior work connecting the geometry of the loss landscape and generalization, we introduce a novel, effective procedure for instead simultaneously minimizing loss value and loss sharpness. In particular, our procedure, Sharpness-Aware Minimization (SAM), seeks parameters that lie in neighborhoods having uniformly low loss; this formulation results in a min-max optimization problem on which gradient descent can be performed efficiently. We present empirical results showing that SAM improves model generalization across a variety of benchmark datasets (e.g., CIFAR-10, CIFAR-100, ImageNet, finetuning tasks) and models, yielding novel state-of-the-art performance for several. Additionally, we find that SAM natively provides robustness to label noise on par with that provided by state-of-the-art procedures that specifically target learning with noisy labels. We open source our code at \url{https://github.com/google-research/sam}.

Results

TaskDatasetMetricValueModel
Image ClassificationCIFAR-100Percentage correct96.08EffNet-L2 (SAM)
Image ClassificationCIFAR-100Percentage correct89.7PyramidNet (SAM)
Image ClassificationCIFAR-100Percentage correct42.64CNN39
Image ClassificationCIFAR-100Percentage correct36.07CNN36
Image ClassificationOxford-IIIT PetsAccuracy97.1EffNet-L2 (SAM)
Image ClassificationFGVC AircraftTop-1 Error Rate4.82EffNet-L2 (SAM)
Image ClassificationFood-101Accuracy96.18EffNet-L2 (SAM)
Fine-Grained Image ClassificationOxford-IIIT PetsAccuracy97.1EffNet-L2 (SAM)
Fine-Grained Image ClassificationFGVC AircraftTop-1 Error Rate4.82EffNet-L2 (SAM)
Fine-Grained Image ClassificationFood-101Accuracy96.18EffNet-L2 (SAM)

Related Papers

Automatic Classification and Segmentation of Tunnel Cracks Based on Deep Learning and Visual Explanations2025-07-18Adversarial attacks to image classification systems using evolutionary algorithms2025-07-17Efficient Adaptation of Pre-trained Vision Transformer underpinned by Approximately Orthogonal Fine-Tuning Strategy2025-07-17Federated Learning for Commercial Image Sources2025-07-17MUPAX: Multidimensional Problem Agnostic eXplainable AI2025-07-17CLID-MU: Cross-Layer Information Divergence Based Meta Update Strategy for Learning with Noisy Labels2025-07-16Hashed Watermark as a Filter: Defeating Forging and Overwriting Attacks in Weight-based Neural Network Watermarking2025-07-15Transferring Styles for Reduced Texture Bias and Improved Robustness in Semantic Segmentation Networks2025-07-14