Skip to main content
QUICK REVIEW

[Paper Review] Balancing the Scales: A Comprehensive Study on Tackling Class Imbalance in Binary Classification

Mohamed Abdel‐Hamid, Abhyuday Desai|arXiv (Cornell University)|Sep 29, 2024
Imbalanced Data Classification TechniquesComputer Science3 citations
TL;DR

This study evaluates three class imbalance mitigation techniques—SMOTE, class weights, and decision threshold calibration—across 30 diverse datasets and 15 models, finding that decision threshold calibration consistently outperforms baseline and other methods in improving F1-score, especially for minority class detection, though performance varies significantly by dataset.

ABSTRACT

Class imbalance in binary classification tasks remains a significant challenge in machine learning, often resulting in poor performance on minority classes. This study comprehensively evaluates three widely-used strategies for handling class imbalance: Synthetic Minority Over-sampling Technique (SMOTE), Class Weights tuning, and Decision Threshold Calibration. We compare these methods against a baseline scenario of no-intervention across 15 diverse machine learning models and 30 datasets from various domains, conducting a total of 9,000 experiments. Performance was primarily assessed using the F1-score, although our study also tracked results on additional 9 metrics including F2-score, precision, recall, Brier-score, PR-AUC, and AUC. Our results indicate that all three strategies generally outperform the baseline, with Decision Threshold Calibration emerging as the most consistently effective technique. However, we observed substantial variability in the best-performing method across datasets, highlighting the importance of testing multiple approaches for specific problems. This study provides valuable insights for practitioners dealing with imbalanced datasets and emphasizes the need for dataset-specific analysis in evaluating class imbalance handling techniques.

Motivation & Objective

  • To evaluate the effectiveness of three widely used class imbalance mitigation strategies—SMOTE, class weights, and decision threshold calibration—against a baseline in binary classification.
  • To assess how these methods impact performance across diverse datasets and machine learning models, focusing on minority class detection.
  • To identify the most consistently effective technique across varying data characteristics and model architectures.
  • To highlight the importance of dataset-specific analysis due to high variability in method performance across datasets.
  • To provide actionable insights for practitioners on selecting optimal imbalance handling techniques based on dataset and application-specific needs.

Proposed method

  • Conducted 9,000 experiments using 15 machine learning models across 30 datasets with class imbalance (rare class: 1% to 15%).
  • Applied three imbalance handling techniques: SMOTE for synthetic minority oversampling, class weights for loss function adjustment during training, and decision threshold calibration post-training.
  • Used 5-fold cross-validation to ensure robust performance estimation across all models and datasets.
  • Evaluated models using 10 metrics: F1-score (primary), F2-score, precision, recall, AUC, PR-AUC, Brier score, MCC, and accuracy.
  • Performed repeated measures ANOVA and post-hoc tests to analyze statistical significance of performance differences across methods.
  • Emphasized dataset-level analysis to capture variability in method effectiveness rather than aggregating results at the model level.

Experimental results

Research questions

  • RQ1Which of the three imbalance mitigation techniques—SMOTE, class weights, or decision threshold calibration—yields the highest improvement in F1-score across diverse datasets?
  • RQ2How does the performance of each method vary across different machine learning models and dataset characteristics?
  • RQ3Is there a universally superior method, or does the best-performing technique depend on specific dataset features?
  • RQ4To what extent does decision threshold calibration outperform data-level and loss-level approaches in minority class detection?
  • RQ5How do the results vary across multiple evaluation metrics beyond F1-score, such as AUC, PR-AUC, and Brier score?

Key findings

  • All three imbalance mitigation strategies significantly outperformed the baseline (no intervention) in terms of F1-score across the 30 datasets.
  • Decision threshold calibration emerged as the most consistently effective method, delivering the highest and most stable performance gains across models and datasets.
  • SMOTE showed strong performance but was less consistent, with effectiveness varying significantly by dataset and model type.
  • Class weights tuning provided moderate improvements over the baseline but was less effective than threshold calibration and SMOTE in most cases.
  • Performance variability across datasets was substantial, indicating that no single method universally dominates; the best method depends on dataset-specific characteristics.
  • The study confirmed that F1-score is a strong primary metric for evaluating imbalance handling, but results on other metrics like PR-AUC and Brier score further support the superiority of threshold calibration.

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.