CVAug 15, 2023

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

arXiv:2308.07815v138 citationsh-index: 25Has Code
Originality Incremental advance
AI Analysis

This work addresses generalization issues in class-imbalanced recognition tasks, such as long-tailed classification and anomaly detection, which are common in real-world applications, by proposing an incremental improvement to SAM tailored for imbalanced data.

The paper tackles the failure of Sharpness-Aware Minimization (SAM) to generalize in class-imbalanced recognition by identifying severe overfitting for tail classes, and proposes ImbSAM, a class-aware smoothness optimization algorithm that leverages class priors to improve generalization for tail classes, achieving remarkable performance improvements in long-tailed classification and semi-supervised anomaly detection.

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.

Code Implementations2 repos
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes