[Paper Review] Is "Better Data" Better than "Better Data Miners"? (On the Benefits of Tuning SMOTE for Defect Prediction)
The paper introduces SMOTUNED, an auto-tuning of SMOTE for defect prediction, showing data preprocessing can outperform classifier choice and that tuned SMOTE significantly improves performance across many datasets.
We report and fix an important systematic error in prior studies that ranked classifiers for software analytics. Those studies did not (a) assess classifiers on multiple criteria and they did not (b) study how variations in the data affect the results. Hence, this paper applies (a) multi-criteria tests while (b) fixing the weaker regions of the training data (using SMOTUNED, which is a self-tuning version of SMOTE). This approach leads to dramatically large increases in software defect predictions. When applied in a 5*5 cross-validation study for 3,681 JAVA classes (containing over a million lines of code) from open source systems, SMOTUNED increased AUC and recall by 60% and 20% respectively. These improvements are independent of the classifier used to predict for quality. Same kind of pattern (improvement) was observed when a comparative analysis of SMOTE and SMOTUNED was done against the most recent class imbalance technique. In conclusion, for software analytic tasks like defect prediction, (1) data pre-processing can be more important than classifier choice, (2) ranking studies are incomplete without such pre-processing, and (3) SMOTUNED is a promising candidate for pre-processing.
Motivation & Objective
- Identify whether tuning data preprocessing (SMOTE) affects classifier rankings in defect prediction.
- Evaluate SMOTUNED as an automatic parameter tuning method for SMOTE across large defect datasets.
- Assess whether data preprocessing can outperform classifier choice in defect prediction tasks.
Proposed method
- Propose SMOTUNED, an automatic DE-based tuner of SMOTE parameters (k, m, r) to optimize performance criteria.
- Conduct a 5x5 cross-validation on 3,681 Java classes from open-source systems to compare SMOTE, SMOTUNED, and MAHAKIL (a recent imbalance technique).
- Use multiple evaluation metrics (AUC, recall, precision, false alarm) and assess both within-measure and cross-measure performance.
- Apply a DE (differential evolution) search to evolve SMOTE parameter configurations and select the best-performing settings.
- Filter only training data with SMOTE/SMOTUNED while keeping test data unchanged to measure predictive gains.
Experimental results
Research questions
- RQ1RQ1: Are the default SMOTE parameters appropriate for all data sets?
- RQ2RQ2: Does tuning SMOTE per data set provide performance benefits?
- RQ3RQ3: Is the runtime of SMOTUNED acceptable given the performance gains?
- RQ4RQ4: How does SMOTUNED compare to Bennin et al.'s recent class imbalance technique (MAHAKIL)?
Key findings
- SMOTUNED learns different SMOTE parameters for each data set, significantly diverging from default SMOTE.
- SMOTUNED yields dramatic performance improvements, with up to 60% AUC improvement and 20% recall improvement over SMOTE.
- SMOTUNED runs in under two minutes, making it practical for widespread use.
- SMOTUNED outperforms the recent imbalance technique MAHAKIL in the reported comparisons.
- Overall, data preprocessing with SMOTUNED can be more influential than classifier choice for defect prediction.
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.