Efficient Sharpness-Aware Minimization for Molecular Graph Transformer Models
Not on the map. Why?
Abstract (arXiv)
Sharpness-aware minimization (SAM) has received increasing attention in computer vision since it can effectively eliminate the sharp local minima from the training trajectory and mitigate generalization degradation. However, SAM requires two sequential gradient computations during the optimization of each step: one to obtain the perturbation gradient and the other to obtain the updating gradient. Compared with the base optimizer (e.g., Adam), SAM doubles the time overhead due to the additional perturbation gradient. By dissecting the theory of SAM and observing the training gradient of the molecular graph transformer, we propose a new algorithm named GraphSAM, which reduces the training cost of SAM and improves the generalization performance of graph transformer models. There are two key factors that contribute to this result: (i) textitgradient approximation: we use the updating gradient of the previous step to approximate the perturbation gradient at the intermediate steps smoothly (increases efficiency); (ii) textitloss landscape approximation: we theoretically prove that the loss landscape of GraphSAM is limited to a small range centered on the expected loss of SAM (guarantees generalization performance). The extensive experiments on six datasets with different tasks demonstrate the superiority of GraphSAM, especially in optimizing the model update process. The code is in:https://github.com/YL-wang/GraphSAM/tree/graphsam
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 38 of its 67 references that are in the map. First posted on arXiv 19 Jun 2024.
Builds on
38 of 67 references.
References · 38
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2017Neural Message Passing for Quantum Chemistrycited by 3,460
- 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,404
- 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,194
- 2017Visualizing the Loss Landscape of Neural Netscited by 1,126
- 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
- 2017MoleculeNet: A Benchmark for Molecular Machine Learningcited by 1,037
- 2019Strategies for Pre-training Graph Neural Networkscited by 964
- 2019Fantastic Generalization Measures and Where to Find Themcited by 507
- 2017Sharp Minima Can Generalize For Deep Netscited by 462
26 more
- 2020ChemBERTa: Large-Scale Self-Supervised Pretraining for Molecular Property Predictioncited by 332
- 2020GPT-GNN: Generative Pre-Training of Graph Neural Networkscited by 302
- 2021ASAM: Adaptive Sharpness-Aware Minimization for Scale-Invariant Learning of Deep Neural Networkscited by 293
- 2017Three Factors Influencing Minima in SGDcited by 270
- 2021When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentationscited by 259
- 2016Molecular Graph Convolutions: Moving Beyond Fingerprintscited by 238
- 2022Towards Understanding Sharpness-Aware Minimizationcited by 145
- 2021Efficient Sharpness-aware Minimization for Improved Training of Neural Networkscited by 137
- 2022Towards Efficient and Scalable Sharpness-Aware Minimizationcited by 129
- 2021Label Noise SGD Provably Prefers Flat Global Minimizerscited by 121
- 2020Towards Deeper Graph Neural Networks with Differentiable Group Normalizationcited by 113
- 2021Sharpness-Aware Minimization Improves Language Model Generalizationcited by 108
- 2021Dirichlet Energy Constrained Learning for Deep Graph Neural Networkscited by 97
- 2022Sharpness-Aware Training for Freecited by 95
- 2019SMILES Transformer: Pre-trained Molecular Fingerprint for Low Data Drug Discoverycited by 89
- 2019Auto-GNN: Neural Architecture Search of Graph Neural Networkscited by 73
- 2020On the Loss Landscape of Adversarial Training: Identifying Challenges and How to Overcome Themcited by 59
- 2023An Adaptive Policy to Employ Sharpness-Aware Minimizationcited by 43
- 2023Enhancing Sharpness-Aware Optimization Through Variance Suppressioncited by 37
- 2021Scaled ReLU Matters for Training Vision Transformerscited by 29
- 2018SmoothOut: Smoothing Out Sharp Minima to Improve Generalization in Deep Learningcited by 25
- 2021Learning Attributed Graph Representations with Communicative Message Passing Transformercited by 20
- 2021Orthogonal Graph Neural Networkscited by 19
- 2021CAP: Co-Adversarial Perturbation on Weights and Features for Improving Generalization of Graph Neural Networkscited by 15
- 2022Randomized Sharpness-Aware Training for Boosting Computational Efficiency in Deep Learningcited by 14
- 2021Adaptive Label Smoothing To Regularize Large-Scale Graph Trainingcited by 12
Built on by
Citing papers per year: 2024: 3; 2025: 3; 2026: 1.
7 papers.
- 2024Unifying Unsupervised Graph-Level Anomaly Detection and Out-of-Distribution Detection: A Benchmarkcited by 18
- 2025Graph-structured Small Molecule Drug Discovery Through Deep Learning: Progress, Challenges, and Opportunitiescited by 5
- 2025Mamba-Based Graph Convolutional Networks: Tackling Over-smoothing with Selective State Spacecited by 4
- 2024COSCO: A Sharpness-Aware Training Framework for Few-shot Multivariate Time Series Classificationcited by 2
- 2025Unveiling m-Sharpness Through the Structure of Stochastic Gradient Noisecited by 2
- 2024Convergence of Sharpness-Aware Minimization Algorithms using Increasing Batch Size and Decaying Learning Ratecited by 1
- 2026A Generalisation Signal Need Not Be a Model-Selection Signalcited by 0
- 2026A Generalisation Signal Need Not Be a Model-Selection Signal30 Sep 2026
- 2025Unveiling m-Sharpness Through the Structure of Stochastic Gradient Noise22 Sep 2025
- 2025Graph-structured Small Molecule Drug Discovery Through Deep Learning: Progress, Challenges, and Opportunities13 Feb 2025
- 2025Mamba-Based Graph Convolutional Networks: Tackling Over-smoothing with Selective State Space26 Jan 2025
- 2024Convergence of Sharpness-Aware Minimization Algorithms using Increasing Batch Size and Decaying Learning Rate16 Sep 2024
- 2024COSCO: A Sharpness-Aware Training Framework for Few-shot Multivariate Time Series Classification15 Sep 2024
- 2024Unifying Unsupervised Graph-Level Anomaly Detection and Out-of-Distribution Detection: A Benchmark21 Jun 2024