Beyond Imbalance Ratio: Data Characteristics as Critical Moderators of Oversampling Method Selection
Organizations: School of Artificial Intelligence, Guangzhou Institute of Science and Technology, Guangzhou, China
Abstract
The prevailing IR-threshold paradigm posits a positive correlation between imbalance ratio (IR) and oversampling effectiveness, yet this assumption remains empirically unsubstantiated through controlled experimentation. We conducted 12 controlled experiments (N > 100 dataset variants) that systematically manipulated IR while holding data characteristics (class separability, cluster structure) constant via algorithmic generation of Gaussian mixture datasets. Two additional validation experiments examined ceiling effects and metric-dependence. All methods were evaluated on 17 real-world datasets from OpenML. Upon controlling for confounding variables, IR exhibited a weak to moderate negative correlation with oversampling benefits. Class separability emerged as a substantially stronger moderator, accounting for significantly more variance in method effectiveness than IR alone. We propose a 'Context Matters' framework that integrates IR, class separability, and cluster structure to provide evidence-based selection criteria for practitioners.
Figures & tables
| Dataset | Domain | IR | Minority | Type | ||
|---|---|---|---|---|---|---|
| sonar | Signal | 1.14 | 208 | 60 | 97 | Low IR |
| wdbc | Medical | 1.68 | 569 | 30 | 212 | Low IR |
| ionosphere | Radar | 1.79 | 351 | 34 | 126 | Low IR |
| breast-wisc | Medical | 1.90 | 699 | 9 | 241 | Low IR |
| iris | Biology | 2.00 | 150 | 4 | 50 | Low IR |
| credit-g | Finance | 2.33 | 1000 | 7 | 300 | Low IR |
| Classifier | Strengths | Weaknesses | Type |
|---|---|---|---|
| Logistic Regression | Interpretable, fast, probabilistic output | Linear decision boundary, limited complexity | Linear |
| Decision Tree | Interpretable, handles non-linearity | Prone to overfitting, unstable | Tree-based |
| Random Forest | Robust, reduces overfitting, feature importance | Less interpretable, computationally expensive | Ensemble |
| Gradient Boosting | High accuracy, handles complex patterns | Sensitive to noise, requires tuning | Ensemble |
| SVM | Effective in high dimensions, memory efficient | Slow on large datasets, kernel selection | Kernel-based |
| Dataset | Natural IR | Correlation |
|---|---|---|
| wdbc | 1.68 | |
| glass | 22.78 | |
| churn | 6.07 | |
| pendigits | 9.42 | |
| letter | 26.25 |
| Exp. | Name | Description | ||
| Stage 1: Observational Baseline | ||||
| 1 | Cross-dataset analysis | 17 real datasets from OpenML | ||
| Stage 2: Controlled Manipulation | ||||
| 2–6 | B1: Within-dataset (5 datasets) | glass, wdbc, churn, pendigits, letter | to | |
| 7 | B2: Generated Gaussian mixtures | 12 synthetic configurations | ||
| Stage 3: Moderation Testing | ||||
| Model Configuration | Mean AUC | from Full |
|---|---|---|
| Full model (IR + Separability + Cluster + Sample Size) | 0.892 | — |
| w/o Sample Size control | 0.887 | |
| w/o Cluster Structure control | 0.863 | |
| w/o Separability control | 0.834 | |
| w/o IR control (baseline) | 0.791 | |
| IR only (observational) | 0.756 |
| Metric | Absolute r | Relative r | Interpretation |
|---|---|---|---|
| AUC-ROC | Weak-moderate negative | ||
| AUC-PR | Weak negative (ns) | ||
| F1-Score | Strong negative | ||
| G-Mean | Strong negative |
| Metric | r | p-value | Effect Size |
|---|---|---|---|
| Recall | Large | ||
| Specificity | Large | ||
| Balanced-Accuracy | Large | ||
| F1-Score | Medium-Large | ||
| G-Mean | Medium-Large | ||
| AUC-ROC | Medium |
| Method | sonar | wdbc | churn | glass | letter | mamm. | ecoli |
|---|---|---|---|---|---|---|---|
| Baseline | 0.823 | 0.956 | 0.742 | 0.891 | 0.934 | 0.812 | 0.756 |
| ROS | 0.856 | 0.961 | 0.778 | 0.912 | 0.945 | 0.834 | 0.789 |
| SMOTE | 0.871 | 0.965 | 0.801 | 0.923 | 0.952 | 0.856 | 0.812 |
| BL-SMOTE | 0.868 | 0.963 | 0.795 | 0.931 | 0.948 | 0.871 | 0.805 |
| ADASYN | 0.865 | 0.964 | 0.789 | 0.918 | 0.950 | 0.849 | 0.798 |
| Tomek | 0.819 | 0.957 | 0.745 | 0.893 | 0.935 | 0.815 | 0.758 |
Class-Imbalanced Learning
Class-imbalanced learning develops classifiers that recognize rare classes without sacrificing performance on common ones.
See all 256 papers