Constrained Optimization to Train Neural Networks on Critical and Under-Represented Classes
Sara Sangalli, Ertunc Erdil, Andreas M. Hötker, Olivio Donati, Ender Konukoglu
Abstract
Deep neural networks (DNNs) are notorious for making more mistakes for the classes that have substantially fewer samples than the others during training. Such class imbalance is ubiquitous in clinical applications and very crucial to handle because the classes with fewer samples most often correspond to critical cases (e.g., cancer) where misclassifications can have severe consequences. Not to miss such cases, binary classifiers need to be operated at high True Positive Rates (TPRs) by setting a higher threshold, but this comes at the cost of very high False Positive Rates (FPRs) for problems with class imbalance. Existing methods for learning under class imbalance most often do not take this into account. We argue that prediction accuracy should be improved by emphasizing reducing FPRs at high TPRs for problems where misclassification of the positive, i.e. critical, class samples are associated with higher cost. To this end, we pose the training of a DNN for binary classification as a constrained optimization problem and introduce a novel constraint that can be used with existing loss functions to enforce maximal area under the ROC curve (AUC) through prioritizing FPR reduction at high TPR. We solve the resulting constrained optimization problem using an Augmented Lagrangian method (ALM). Going beyond binary, we also propose two possible extensions of the proposed constraint for multi-class classification problems. We present experimental results for image-based binary and multi-class classification applications using an in-house medical imaging dataset, CIFAR10, and CIFAR100. Our results demonstrate that the proposed method improves the baselines in majority of the cases by attaining higher accuracy on critical classes while reducing the misclassification rate for the non-critical class samples. 1
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 papers6
- Training OOD Detectors in their Natural HabitatsJulian Katz-Samuels, Julia B. Nakhleh, Robert D. Nowak, Yixuan LiICML 2022 · 115 citations
- A Closer Look at the Few-Shot Adaptation of Large Vision-Language ModelsJulio Silva-Rodríguez, Sina Hajimiri, Ismail Ben Ayed, Jose DolzCVPR 2024 · 32 citations
- Expert load matters: operating networks at high accuracy and low manual effortSara Sangalli, Ertunc Erdil, Ender KonukogluNeurIPS 2023 · 10 citations
- QuadAttacK: A Quadratic Programming Approach to Learning Ordered Top-K Adversarial AttacksThomas Paniagua, Ryan Grainger, Tianfu WuNeurIPS 2023 · 1 citation
- Class Adaptive Network CalibrationBingyuan Liu, Jérôme Rony, Adrian Galdran, Jose Dolz et al.CVPR 2023
Builds on4
- Balanced Meta-Softmax for Long-Tailed Visual RecognitionJiawei Ren, Cunjun Yu, Shunan Sheng, Xiao Ma et al.NeurIPS 2020 · 861 citations
- Posterior Re-calibration for Imbalanced DatasetsJunjiao Tian, Yen-Cheng Liu, Nathaniel Glaser, Yen-Chang Hsu et al.NeurIPS 2020 · 86 citations
- MESA: Boost Ensemble Imbalanced Learning with MEta-SAmplerZhining Liu, Pengfei Wei, Jing Jiang, Wei Cao et al.NeurIPS 2020 · 80 citations
- Equalization Loss for Long-Tailed Object RecognitionJingru Tan, Changbao Wang, Buyu Li, Quanquan Li et al.CVPR 2020
Related papers
- Ranking Regularization for Critical Rare Classes: Minimizing False Positives at a High True Positive RateKiarash Mohammadi, He Zhao, Mengyao Zhai, Frederick TungCVPR 2023
- M2m: Imbalanced Classification via Major-to-Minor TranslationJaehyung Kim, Jongheon Jeong, Jinwoo ShinCVPR 2020
- AUC Maximization under Positive Distribution ShiftAtsutoshi Kumagai, Tomoharu Iwata, Hiroshi Takahashi, Taishi Nishiyama et al.NeurIPS 2024 · 7 citations
- Positive-unlabeled AUC Maximization under Covariate ShiftAtsutoshi Kumagai, Tomoharu Iwata, Hiroshi Takahashi, Taishi Nishiyama et al.ICML 2025
- Improving the Accuracy of Learning Example Weights for Imbalance ClassificationYuqi Liu, Bin Cao, Jing FanICLR 2022 · 10 citations
