Gaussian Affinity for Max-Margin Class Imbalanced Learning
Munawar Hayat, Salman H. Khan, Syed Waqas Zamir, Jianbing Shen, Ling Shao
Abstract
Real-world object classes appear in imbalanced ratios. This poses a significant challenge for classifiers which get biased towards frequent classes. We hypothesize that improving the generalization capability of a classifier should improve learning on imbalanced datasets. Here, we introduce the first hybrid loss function that jointly performs classification and clustering in a single formulation. Our approach is based on an 'affinity measure' in Euclidean space that leads to the following benefits: (1) direct enforcement of maximum margin constraints on classification boundaries, (2) a tractable way to ensure uniformly spaced and equidistant cluster centers, (3) flexibility to learn multiple class prototypes to support diversity and discriminability in feature space. Our extensive experiments demonstrate the significant performance improvements on multiple imbalanced datasets belonging to visual classification and verification tasks. The proposed loss can easily be plugged in any deep architecture as a differentiable block and demonstrates robustness against different levels of data imbalance and corrupted labels.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers15
- Balanced Meta-Softmax for Long-Tailed Visual RecognitionJiawei Ren, Cunjun Yu, Shunan Sheng, Xiao Ma et al.NeurIPS 2020 · 861 citations
- FedTGP: Trainable Global Prototypes with Adaptive-Margin-Enhanced Contrastive Learning for Data and Model Heterogeneity in Federated LearningJianqing Zhang, Yang Liu, Yang Hua, Jian CaoAAAI 2024 · 142 citations
- Orthogonal Projection LossKanchana Ranasinghe, Muzammal Naseer, Munawar Hayat, Salman H. Khan et al.ICCV 2021 · 97 citations
- Towards Calibrated Model for Long-Tailed Visual Recognition from Prior PerspectiveZhengzhuo Xu, Zenghao Chai, Chun YuanNeurIPS 2021 · 77 citations
- On Exposing the Challenging Long Tail in Future Prediction of Traffic ActorsOsama Makansi, Özgün Çiçek, Yassine Marrakchi, Thomas BroxICCV 2021 · 70 citations
Builds on1
Related papers
- Learning Towards The Largest MarginsXiong Zhou, Xianming Liu, Deming Zhai, Junjun Jiang et al.ICLR 2022 · 13 citations
- A Unified Loss for Handling Inter-Class and Intra-Class Imbalance in Medical Image SegmentationFeilong Xu, Feiyang Yang, Xiongfei Li, Xiaoli ZhangAAAI 2025 · 6 citations
- Beyond Max-Margin: Class Margin Equilibrium for Few-Shot Object DetectionBohao Li, Boyu Yang, Chang Liu, Feng Liu et al.CVPR 2021
- Dist Loss: Enhancing Regression in Few-Shot Region through Distribution Distance ConstraintGuangkun Nie, Gongzheng Tang, Shenda HongICLR 2025
- Prototype-Anchored Learning for Learning with Imperfect AnnotationsXiong Zhou, Xianming Liu, Deming Zhai, Junjun Jiang et al.ICML 2022 · 8 citations
