Skip to main content
QUICK REVIEW

[Paper Review] Constrained Optimization for Training Deep Neural Networks Under Class Imbalance.

Sara Sangalli, Ertunç Erdil|arXiv (Cornell University)|Feb 21, 2021
Imbalanced Data Classification TechniquesComputer Science24 references5 citations
TL;DR

This paper proposes a constrained optimization framework for training deep neural networks under class imbalance by enforcing a novel constraint that maximizes the area under the ROC curve (AUC), using an Augmented Lagrangian method (ALM) to reduce false positive rates (FPR) at high true positive rates (TPR). The method improves FPR and AUC across both CIFAR10 and a medical imaging dataset without compromising the base loss function.

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 (TPR) by setting a higher threshold but this comes at the cost of very high False Positive Rates (FPR) 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 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). We solve the resulting constrained optimization problem using an Augmented Lagrangian method (ALM), where the constraint emphasizes reduction of FPR at high TPR. We present experimental results for image-based classification applications using the CIFAR10 and an in-house medical imaging dataset. Our results demonstrate that the proposed method almost always improves the loss functions it is used with by attaining lower FPR at high TPR and higher or equal AUC.

Motivation & Objective

  • Address the challenge of class imbalance in deep learning, particularly in clinical applications where misclassifying rare but critical cases (e.g., cancer) has severe consequences.
  • Recognize that standard methods fail to prioritize high TPR with low FPR, which is essential when the cost of missing positive cases is high.
  • Formulate DNN training as a constrained optimization problem to explicitly minimize FPR at high TPR, improving model reliability for critical detection tasks.
  • Introduce a novel constraint that promotes maximal AUC, ensuring robust performance across operating points relevant to high-stakes classification.
  • Integrate the constraint with existing loss functions using the Augmented Lagrangian method (ALM), enabling practical training with minimal architectural changes.

Proposed method

  • Formulate the DNN training objective as a constrained optimization problem where the constraint enforces low false positive rates (FPR) at high true positive rates (TPR).
  • Introduce a novel constraint based on the area under the ROC curve (AUC), which inherently captures performance across high-TNR operating points.
  • Use the Augmented Lagrangian Method (ALM) to solve the constrained optimization problem, enabling effective and stable training with gradient-based optimization.
  • Integrate the constraint into existing loss functions (e.g., cross-entropy) without modifying the network architecture, allowing plug-in use with standard DNNs.
  • Optimize the Lagrangian dual variables iteratively to balance the trade-off between minimizing the original loss and satisfying the FPR constraint.
  • The method dynamically adjusts the penalty for violating the FPR constraint at high TPR, ensuring the model prioritizes sensitivity with low false alarms.

Experimental results

Research questions

  • RQ1Can a constrained optimization framework improve false positive rate (FPR) at high true positive rate (TPR) in imbalanced binary classification without degrading the base loss?
  • RQ2Does enforcing AUC maximization through a novel constraint lead to better generalization in low-resource classes, especially in medical imaging?
  • RQ3How does the proposed ALM-based method compare to standard class reweighting or focal loss in maintaining high TPR while reducing FPR under severe class imbalance?
  • RQ4To what extent can the method be integrated with existing deep learning loss functions without architectural changes?
  • RQ5Does the method yield consistent improvements in AUC and FPR across diverse datasets, including clinical imaging data?

Key findings

  • The proposed method consistently reduces false positive rate (FPR) at high true positive rates (TPR) across both CIFAR10 and an in-house medical imaging dataset.
  • The method achieves higher or equal area under the ROC curve (AUC) compared to baseline models trained with standard loss functions.
  • Improvements in FPR are observed even when the base loss function remains unchanged, demonstrating the effectiveness of the constraint alone.
  • The method maintains or improves model performance without requiring retraining or architectural modifications, enabling plug-in integration.
  • The Augmented Lagrangian method (ALM) effectively handles the constrained optimization, ensuring stable convergence and reliable optimization of the FPR constraint.
  • The approach is particularly effective in scenarios where misclassifying rare positive cases (e.g., cancer) carries high clinical cost, making it suitable for diagnostic applications.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.