Skip to main content
QUICK REVIEW

[Paper Review] Efficient Hybrid Oversampling and Intelligent Undersampling for Imbalanced Big Data Classification

Carla Vairetti, José Luis Assadi|arXiv (Cornell University)|Oct 9, 2023
Imbalanced Data Classification TechniquesComputer Science3 citations
TL;DR

This paper proposes SMOTENN, a novel hybrid resampling method that combines intelligent undersampling (ENN) and oversampling (SMOTE) in a single MapReduce pass over data, significantly improving efficiency and performance on imbalanced big data. It achieves up to 72.9% reduction in running time compared to independent SMOTE and ENN, outperforming baseline methods in g-mean across small, medium, and large datasets while effectively reducing noise in borderline regions.

ABSTRACT

Imbalanced classification is a well-known challenge faced by many real-world applications. This issue occurs when the distribution of the target variable is skewed, leading to a prediction bias toward the majority class. With the arrival of the Big Data era, there is a pressing need for efficient solutions to solve this problem. In this work, we present a novel resampling method called SMOTENN that combines intelligent undersampling and oversampling using a MapReduce framework. Both procedures are performed on the same pass over the data, conferring efficiency to the technique. The SMOTENN method is complemented with an efficient implementation of the neighborhoods related to the minority samples. Our experimental results show the virtues of this approach, outperforming alternative resampling techniques for small- and medium-sized datasets while achieving positive results on large datasets with reduced running times.

Motivation & Objective

  • To address the challenge of class imbalance in large-scale machine learning datasets, where traditional resampling methods become computationally infeasible.
  • To bridge the gap in the literature by proposing the first hybrid undersampling-oversampling method for big data, combining SMOTE and ENN in a single pass.
  • To improve computational efficiency by co-locating neighborhood computation, synthetic sample generation, and majority-class sample removal in a scalable MapReduce framework.
  • To empirically evaluate the trade-offs between oversampling and undersampling in big data settings, particularly regarding running time and model performance.
  • To provide a robust, default-configurable method that maintains high performance across diverse dataset sizes and imbalance ratios.

Proposed method

  • SMOTENN defines a single k-neighborhood for each minority-class instance, enabling simultaneous application of ENN and SMOTE in one pass over the data.
  • For each minority sample, the method identifies its k nearest neighbors and applies ENN by removing majority-class instances that are outnumbered in the neighborhood.
  • Simultaneously, synthetic minority samples are generated via linear interpolation between the minority instance and its k nearest neighbors, using SMOTE's standard interpolation formula.
  • The entire process is parallelized using the MapReduce framework, with distance computation optimized via a scalable, distributed distance function.
  • The method is further enhanced by integrating random undersampling (RUS) as a preprocessing step to reduce data volume before SMOTENN processing.
  • The implementation uses Spark 2.4.8 on Amazon EC2 with m5.xlarge and c5.5xlarge instances, ensuring high scalability for large datasets.

Experimental results

Research questions

  • RQ1Can a hybrid resampling method that combines intelligent undersampling and oversampling be designed to operate efficiently in a single pass over big data?
  • RQ2How does the computational efficiency of SMOTENN compare to independent execution of SMOTE and ENN, especially as dataset size increases?
  • RQ3Does the proposed hybrid method achieve better classification performance—measured by g-mean—than standalone SMOTE, ENN, RUS, or their combinations on imbalanced big data?
  • RQ4To what extent does SMOTENN reduce noise in borderline regions compared to other resampling techniques?
  • RQ5Is there a default configuration of SMOTENN that achieves consistently strong performance across diverse datasets without extensive hyperparameter tuning?

Key findings

  • SMOTENN achieved an average running time of 38.8% of the combined time of independent SMOTE and ENN, with best-case efficiency at 20.4% and worst-case at 72.9%.
  • For the largest dataset (lds5), SMOTENN ran in 551.8 seconds, which was 17 times faster than ENN alone (339.3 seconds) and significantly faster than the combined ENN+SMO (757.1 seconds).
  • On small and medium datasets, SMOTENN outperformed all baseline methods in terms of g-mean, demonstrating superior classification performance.
  • The method maintained robust performance across different imbalance ratios and feature counts, with no need for extensive hyperparameter tuning.
  • Despite its efficiency, RUS remained the fastest method (under 4 seconds on all datasets), highlighting a trade-off between speed and noise reduction.
  • The results suggest that while synthetic oversampling is beneficial for smaller datasets, its value diminishes in very large datasets (e.g., millions of samples), where RUS may suffice.

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.