mlsanityData to 14 Oct 2026

ImbSAM: A Closer Look at Sharpness-Aware Minimization in Class-Imbalanced Recognition

arXiv 2308.07815 ↗First posted 15 Aug 2023cs.CVcited by 31

Not on the map. Why?

Abstract (arXiv)

Class imbalance is a common challenge in real-world recognition tasks, where the majority of classes have few samples, also known as tail classes. We address this challenge with the perspective of generalization and empirically find that the promising Sharpness-Aware Minimization (SAM) fails to address generalization issues under the class-imbalanced setting. Through investigating this specific type of task, we identify that its generalization bottleneck primarily lies in the severe overfitting for tail classes with limited training data. To overcome this bottleneck, we leverage class priors to restrict the generalization scope of the class-agnostic SAM and propose a class-aware smoothness optimization algorithm named Imbalanced-SAM (ImbSAM). With the guidance of class priors, our ImbSAM specifically improves generalization targeting tail classes. We also verify the efficacy of ImbSAM on two prototypical applications of class-imbalanced recognition: long-tailed classification and semi-supervised anomaly detection, where our ImbSAM demonstrates remarkable performance improvements for tail classes and anomaly. Our code implementation is available at https://github.com/cool-xuan/Imbalanced_SAM.

Key facts. Cited by 31 papers in the map (data through 14 Oct 2026). Builds on 50 of its 71 references that are in the map. First posted on arXiv 15 Aug 2023.

Builds on

50 of 71 references.

References · 50

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  3. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
  4. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  5. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  6. 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,639
  7. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 7,005
  8. 2016Layer Normalizationcited by 5,669
  9. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
  10. 2014Fully Convolutional Networks for Semantic Segmentationcited by 4,859
  11. 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
  12. 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,546
38 more
  1. 2019FCOS: Fully Convolutional One-Stage Object Detectioncited by 1,577
  2. 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,417
  3. 2018Moment Matching for Multi-Source Domain Adaptationcited by 1,331
  4. 2019Class-Balanced Loss Based on Effective Number of Samplescited by 1,245
  5. 2019Learning Imbalanced Datasets with Label-Distribution-Aware Margin Losscited by 989
  6. 2019Decoupling Representation and Classifier for Long-Tailed Recognitioncited by 809
  7. 2017Focal Loss for Dense Object Detectioncited by 752
  8. 2019Large-Scale Long-Tailed Recognition in an Open Worldcited by 705
  9. 2017Exploring Generalization in Deep Learningcited by 600
  10. 2021DRAEM -- A discriminatively trained reconstruction embedding for surface anomaly detectioncited by 514
  11. 2017A systematic study of the class imbalance problem in convolutional neural networkscited by 513
  12. 2019Fantastic Generalization Measures and Where to Find Themcited by 513
  13. 2018GANomaly: Semi-Supervised Anomaly Detection via Adversarial Trainingcited by 409
  14. 2019BBN: Bilateral-Branch Network with Cumulative Learning for Long-Tailed Visual Recognitioncited by 403
  15. 2021ASAM: Adaptive Sharpness-Aware Minimization for Scale-Invariant Learning of Deep Neural Networkscited by 293
  16. 2019PyHessian: Neural Networks Through the Lens of the Hessiancited by 292
  17. 2019Deep Semi-Supervised Anomaly Detectioncited by 291
  18. 2020Long-tailed Recognition by Routing Diverse Distribution-Aware Expertscited by 271
  19. 2020Long-Tailed Classification by Keeping the Good and Removing the Bad Momentum Causal Effectcited by 256
  20. 2022ADBench: Anomaly Detection Benchmarkcited by 232
  21. 2021Parametric Contrastive Learningcited by 217
  22. 2020Rethinking the Value of Labels for Improving Class-Imbalanced Learningcited by 216
  23. 2021Distribution Alignment: A Unified Framework for Long-tail Visual Recognitioncited by 198
  24. 2019Deep Anomaly Detection with Deviation Networkscited by 153
  25. 2022Long-Tailed Recognition via Weight Balancingcited by 107
  26. 2021ACE: Ally Complementary Experts for Solving Long-Tailed Recognition in One-Shotcited by 86
  27. 2022A Closer Look at Smoothness in Domain Adversarial Trainingcited by 85
  28. 2021Distributional Robustness Loss for Long-tail Learningcited by 84
  29. 2018Learning Representations of Ultrahigh-dimensional Data for Random Distance-based Outlier Detectioncited by 79
  30. 2021Self Supervision to Distillation for Long-Tailed Visual Recognitioncited by 73
  31. 2021Distilling Virtual Examples for Long-tailed Recognitioncited by 72
  32. 2021A Hierarchical Transformation-Discriminating Generative Model for Few Shot Anomaly Detectioncited by 60
  33. 2019Deep Weakly-supervised Anomaly Detectioncited by 59
  34. 2021Exploring Classification Equilibrium in Long-Tailed Object Detectioncited by 51
  35. 2019XGBOD: Improving Supervised Outlier Detection with Unsupervised Representation Learningcited by 42
  36. 2021Feature Encoding with AutoEncoders for Weakly-supervised Anomaly Detectioncited by 42
  37. 2018Open Category Detection with PAC Guaranteescited by 35
  38. 2022Escaping Saddle Points for Effective Generalization on Class-Imbalanced Datacited by 28

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 1; 2024: 10; 2025: 12; 2026: 8.

31 papers.

Sort:

By area:

  1. 2024Gradient Alignment for Cross-Domain Face Anti-Spoofingcited by 27
  2. 2023A Unified Perspective for Loss-Oriented Imbalanced Learning via Localizationcited by 24
  3. 2024Improving Visual Prompt Tuning by Gaussian Neighborhood Minimization for Long-Tailed Visual Recognitioncited by 15
  4. 2024DeiT-LT Distillation Strikes Back for Vision Transformer Training on Long-Tailed Datasetscited by 14
  5. 2025Focal-SAM: Focal Sharpness-Aware Minimization for Long-Tailed Classificationcited by 14
  6. 2025Long-tailed Recognition with Model Rebalancingcited by 10
  7. 2024Stabilizing Sharpness-aware Minimization Through A Simple Renormalization Strategycited by 8
  8. 2024Adaptive Parametric Activation: Unifying and Generalising Activation Functions Across Taskscited by 6
  9. 2025Generative Active Learning for Long-tail Trajectory Prediction via Controllable Diffusion Modelcited by 6
  10. 2024From Optimization to Generalization: Fair Federated Learning against Quality Shift via Inter-Client Sharpness Matchingcited by 5
  11. 2024Fractal Calibration for long-tailed object detectioncited by 5
  12. 2024Transformer-Based Approaches for Sensor-Based Human Activity Recognition: Opportunities and Challengescited by 4
19 more
  1. 2024SSE-SAM: Balancing Head and Tail Classes Gradually through Stage-Wise SAMcited by 3
  2. 2025Towards Understanding The Calibration Benefits of Sharpness-Aware Minimizationcited by 2
  3. 2025Modality-Aware SAM: Sharpness-Aware-Minimization Driven Gradient Modulation for Harmonized Multimodal Learningcited by 2
  4. 2025Does Prior Data Matter? Exploring Joint Training in the Context of Few-Shot Class-Incremental Learningcited by 1
  5. 2025FairSAM: Fair Classification on Corrupted Image Data Through Sharpness-Aware Minimizationcited by 1
  6. 2025Balanced Sharpness-Aware Minimization for Imbalanced Regressioncited by 1
  7. 2025Sharpness-aware Dynamic Anchor Selection for Generalized Category Discoverycited by 1
  8. 2026Easy to Learn, Yet Hard to Forget: Towards Robust Unlearning Under Biascited by 1
  9. 2026Reframing Long-Tailed Learning via Loss Landscape Geometrycited by 1
  10. 2026Wolkowicz-Styan Upper Bound on the Hessian Eigenspectrum for Cross-Entropy Loss in Nonlinear Smooth Neural Networkscited by 1
  11. 2026CARE: Class-Adaptive Expert Consensus for Reliable Learning with Long-Tailed Noisy Labelscited by 1
  12. 2024DiM: f-Divergence Minimization Guided Sharpness-Aware Optimization for Semi-supervised Medical Image Segmentationcited by 0
  13. 2025Deep Minimax Classifiers for Imbalanced Datasets with a Small Number of Minority Samplescited by 0
  14. 2025Fair Federated Medical Image Classification Against Quality Shift via Inter-Client Progressive State Matchingcited by 0
  15. 2025Adaptively Sampling-Reusing-Mixing Decomposed Gradients to Speed Up Sharpness Aware Minimizationcited by 0
  16. 2026Revisiting Sharpness-Aware Minimization: A More Faithful and Effective Implementationcited by 0
  17. 2026Sharpness-Aware Poisoning: Enhancing Transferability of Injective Attacks on Recommender Systemscited by 0
  18. 2026Closed-Form Steepest Descent Direction toward Flat Minima: Reducing Upper Bounds on the Loss Hessian Eigenspectrum in Neural Networkscited by 0
  19. 2026From Perturbation Correction to Geometry-Aware Sampling: Sharpness-Guided Equilibrium Sampling for Balanced Flat Minima in Long-Tailed Learningcited by 0