[Paper Review] A Novel Resampling Technique for Imbalanced Dataset Optimization
This paper proposes G1No and G1No Gourmet, two novel oversampling techniques that use silhouette coefficient-based instance selection and 1-Nearest Neighbor-based synthetic sample generation to address class imbalance in malware traffic detection. The methods outperform SMOTE and ADASYN across all metrics, achieving 99.84% precision and 100.0% AUC on the MTA-KDD'19 dataset, with superior generalization and reduced overfitting.
Despite the enormous amount of data, particular events of interest can still be quite rare. Classification of rare events is a common problem in many domains, such as fraudulent transactions, malware traffic analysis and network intrusion detection. Many studies have been developed for malware detection using machine learning approaches on various datasets, but as far as we know only the MTA-KDD'19 dataset has the peculiarity of updating the representative set of malicious traffic on a daily basis. This daily updating is the added value of the dataset, but it translates into a potential due to the class imbalance problem that the RRw-Optimized MTA-KDD'19 will occur. We capture difficulties of class distribution in real datasets by considering four types of minority class examples: safe, borderline, rare and outliers. In this work, we developed two versions of Generative Silhouette Resampling 1-Nearest Neighbour (G1Nos) oversampling algorithms for dealing with class imbalance problem. The first module of G1Nos algorithms performs a coefficient-based instance selection silhouette identifying the critical threshold of Imbalance Degree. (ID), the second module generates synthetic samples using a SMOTE-like oversampling algorithm. The balancing of the classes is done by our G1Nos algorithms to re-establish the proportions between the two classes of the used dataset. The experimental results show that our oversampling algorithm work better than the other two SOTA methodologies in all the metrics considered.
Motivation & Objective
- To address the persistent challenge of class imbalance in real-world datasets, particularly in malware traffic detection where minority (malicious) instances are rare.
- To develop a data-level resampling approach that enhances classifier performance by generating high-quality synthetic minority samples.
- To investigate the role of data complexity and minority class distribution—specifically safe, borderline, rare, and outlier examples—on model generalization.
- To improve upon existing SMOTE-like methods by incorporating silhouette coefficient analysis for smarter, more robust sample generation.
- To validate the method on the dynamic, daily-updated MTA-KDD'19 dataset, simulating real-world imbalance dynamics.
Proposed method
- The method first applies a silhouette coefficient-based instance selection to identify and remove noisy or redundant majority-class samples, setting a threshold at an Imbalance Degree (ID) of 0.3721.
- It then uses a 1-Nearest Neighbor (1-NN) approach to identify critical minority class examples, classifying them into types: safe, borderline, rare, and outliers.
- Synthetic minority samples are generated using a SMOTE-like algorithm, but with enhanced diversity by generating samples both inside and outside the convex hull of minority instances.
- The G1No Gourmet variant refines the sampling process by selecting more informative neighbors based on silhouette scores, improving sample quality.
- The approach balances datasets by re-establishing class proportions through targeted synthetic data generation, avoiding overfitting from repeated sampling.
- Performance is evaluated using a Multi-Layer Perceptron classifier on the MTA-KDD'19 dataset, with metrics compared against SMOTE and ADASYN.
Experimental results
Research questions
- RQ1How does silhouette coefficient-based instance selection improve the quality of resampling in imbalanced datasets?
- RQ2Can a 1-NN-based approach to minority class sample generation outperform standard SMOTE and ADASYN in terms of generalization and robustness?
- RQ3What is the impact of generating synthetic samples both inside and outside the convex hull of minority instances on classifier performance?
- RQ4How does the dynamic, daily-updating nature of the MTA-KDD'19 dataset affect the evaluation of resampling techniques?
- RQ5To what extent does the proposed method reduce overfitting and generalization gap compared to baseline oversampling methods?
Key findings
- The G1No and G1No Gourmet algorithms achieved 99.84% precision and 100.0% AUC on the MTA-KDD'19 test set, surpassing both SMOTE (99.52% precision, 99.90% AUC) and ADASYN (99.80% precision, 99.80% AUC).
- The G1No Gourmet model achieved 99.70% accuracy, exceeding the original MTA-KDD'19 dataset’s reported accuracy of 99.60%.
- Training and validation loss curves showed minimal gap and stable convergence with G1No methods, indicating strong generalization and no overfitting, unlike SMOTE and ADASYN.
- The ADASYN method showed continued training loss decrease beyond the 10th epoch, indicating premature stopping and underfitting, while G1No models stabilized early with optimal performance.
- The G1No algorithms generated samples with richer structural diversity by extending beyond the convex hull of minority instances, contributing to improved model robustness.
- Correlation analysis revealed meaningful feature-level differences among synthetic samples generated by the four methods, with G1No producing more coherent and informative instances.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.