Skip to main content
QUICK REVIEW

[Paper Review] Handling Imbalanced Data: A Case Study for Binary Class Problems

Richmond Addo Danquah|arXiv (Cornell University)|Oct 9, 2020
Imbalanced Data Classification TechniquesComputer Science6 references5 citations
TL;DR

This paper proposes a hands-on, algorithmically transparent comparison of SMOTE and ADASYN for handling imbalanced binary classification. It manually computes synthetic data points to clarify how both techniques generate minority class samples—SMOTE uniformly and ADASYN adaptively based on neighbor density—demonstrating that ADASYN improves performance on hard-to-learn minority instances, especially at high imbalance ratios.

ABSTRACT

For several years till date, the major issues in terms of solving for classification problems are the issues of Imbalanced data. Because majority of the machine learning algorithms by default assumes all data are balanced, the algorithms do not take into consideration the distribution of the data sample class. The results tend to be unsatisfactory and skewed towards the majority sample class distribution. This implies that the consequences as a result of using a model built using an Imbalanced data without handling for the Imbalance in the data could be misleading both in practice and theory. Most researchers have focused on the application of Synthetic Minority Oversampling Technique (SMOTE) and Adaptive Synthetic (ADASYN) Sampling Approach in handling data Imbalance independently in their works and have failed to better explain the algorithms behind these techniques with computed examples. This paper focuses on both synthetic oversampling techniques and manually computes synthetic data points to enhance easy comprehension of the algorithms. We analyze the application of these synthetic oversampling techniques on binary classification problems with different Imbalanced ratios and sample sizes.

Motivation & Objective

  • To address the persistent challenge of imbalanced data in binary classification, where standard ML algorithms favor the majority class.
  • To provide a detailed, step-by-step manual computation of synthetic data generation for SMOTE and ADASYN, enhancing algorithmic understanding.
  • To compare the performance of SMOTE and ADASYN across varying imbalance ratios and sample sizes using standard classification metrics.
  • To demonstrate that ADASYN's adaptive sampling based on neighbor density leads to better detection of hard-to-learn minority instances.
  • To offer practical insights into synthetic oversampling techniques for real-world applications such as fraud detection and medical diagnosis.

Proposed method

  • Uses manual computation of synthetic data points via SMOTE: for each minority sample, select k nearest neighbors, compute a random vector between the sample and a neighbor, and generate a new point along that vector.
  • Applies ADASYN by computing the ratio of majority-class neighbors in the k-nearest neighbors of each minority sample to determine sampling priority.
  • Generates synthetic samples proportionally based on the difficulty score (ratio of majority neighbors), with higher scores leading to more synthetic samples.
  • Employs a weighted distribution where the number of synthetic samples per minority instance is proportional to its neighbor density of the majority class.
  • Uses standard evaluation metrics including Accuracy, Precision, Recall, F1-Score, and AUC to compare model performance before and after oversampling.
  • Applies the techniques to real-world-inspired binary datasets with controlled imbalance ratios and varying sample sizes to assess robustness.

Experimental results

Research questions

  • RQ1How do SMOTE and ADASYN perform differently when applied to binary classification problems with varying degrees of class imbalance?
  • RQ2What is the impact of synthetic oversampling on key classification metrics such as Recall, F1-Score, and AUC in imbalanced datasets?
  • RQ3How does ADASYN’s adaptive sampling strategy improve model performance on hard-to-learn minority class instances compared to SMOTE’s uniform sampling?
  • RQ4Can manual computation of synthetic data points enhance understanding of the underlying mechanics of SMOTE and ADASYN?
  • RQ5What is the effect of sample size and imbalance ratio on the effectiveness of synthetic oversampling techniques?

Key findings

  • ADASYN outperforms SMOTE in terms of Recall and F1-Score when the imbalance ratio is high, particularly because it generates more synthetic samples for minority instances that are harder to classify.
  • The manual computation of synthetic points for SMOTE and ADASYN clarifies the algorithmic process, showing that SMOTE generates points uniformly across minority samples while ADASYN prioritizes those with more majority-class neighbors.
  • In the example with a minority class of three samples, SMOTE increased the minority class to five by generating two synthetic points: (4.5, 3) and (5, 2.5), improving the imbalance ratio.
  • ADASYN’s adaptive mechanism results in a more effective distribution of synthetic samples, focusing on regions with higher density of majority-class neighbors, which are typically more ambiguous and harder to learn.
  • The study confirms that relying on Accuracy alone is misleading in imbalanced settings, and that metrics like Recall and F1-Score are more informative for minority class detection.
  • The results suggest that ADASYN is more robust than SMOTE in high-imbalance scenarios due to its ability to focus on challenging minority instances, reducing bias in model predictions.

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.