Abstract
This paper presents DSMOTE (Density-based Synthetic Minority Over-sampling Technique), a novel approach to addressing class imbalance in datasets. By integrating an optimized DBSCAN algorithm, DSMOTE classifies minority samples into core, borderline, and noise groups. It removes noise and applies distinct over-sampling strategies to core and borderline samples to enhance the minority class structure without introducing boundary blurring. Experimental results on UCI datasets demonstrate that DSMOTE outperforms traditional SMOTE and Borderline-SMOTE in terms of precision, recall, and F-value.
Introduction
In real-world applications such as fraud detection, medical diagnosis, and network security, datasets are frequently imbalanced, where the minority class contains the most critical information. Standard machine learning algorithms often prioritize overall accuracy, leading to poor performance on the minority class. While the Synthetic Minority Over-sampling Technique (SMOTE) is widely used to mitigate this, it suffers from overgeneralization and sensitivity to noise, often blurring decision boundaries by generating synthetic points in majority class regions or around outliers.
Methodology: The DSMOTE Algorithm
To address the limitations of SMOTE, the authors propose DSMOTE, which utilizes an optimized DBSCAN clustering algorithm to refine the over-sampling process.
Optimized DBSCAN
Standard DBSCAN can produce inconsistent results for borderline points. DSMOTE optimizes this by employing a $k$-means-inspired approach: borderline points are assigned to the nearest cluster center based on Euclidean distance, ensuring stable and mathematically rigorous cluster assignments.
DSMOTE Workflow
The algorithm categorizes minority samples into three distinct groups: Core Samples (dense regions), Borderline Samples (near class boundaries), and Noise Samples (isolated outliers).
The strategy involves:
- Noise Removal: Outliers are discarded to prevent the model from learning erroneous patterns.
- Core Over-sampling: Standard interpolation is used for points in "safe" dense regions.
- Borderline Over-sampling: Synthetic points are generated along the line between a borderline point and its cluster center. This "centripetal" approach pulls synthetic data toward the dense minority region, sharpening the decision boundary against the majority class.
Experimental Results
The researchers evaluated DSMOTE using four UCI datasets (Pima, Breast-w, Vehicle, and Ecoli) with varying Imbalance Levels (IL). Comparisons were made against standard SMOTE and Borderline-SMOTE using a J48 classifier.
Key findings include:
- Improved Performance: On the Pima dataset, DSMOTE achieved a superior F-value (0.646) compared to SMOTE (0.640) and Borderline-SMOTE (0.636) at 100% over-sampling.
- High Recall: On the highly imbalanced Ecoli dataset, DSMOTE reached a recall of 0.948, significantly outperforming SMOTE (0.896).
- Stability: DSMOTE demonstrated greater stability in performance metrics as the over-sampling percentage increased, avoiding the performance degradation often seen in other methods.
Conclusion
DSMOTE offers a more nuanced approach to over-sampling by distinguishing between types of minority samples. By removing noise and reinforcing the internal structure of the minority class, it achieves better classification performance. However, the algorithm remains sensitive to the manual tuning of DBSCAN parameters (Eps and MinPts). Future research will focus on automating parameter selection to enhance the algorithm's usability in automated pipelines.
Summary updated