Research Article

Using data resampling and category weight adjustment to solve sample imbalance

Zimeng Leng*
Harbin Cambridge University

* Corresponding author: [email protected]

Abstract

The purpose of this thesis is to investigate the application of artificial intelligence and machine learning in solving the sample imbalance problem. The sample imbalance problem refers to the phenomenon that the number of different categories of samples in the training data varies greatly, resulting in the poor performance of traditional machine learning algorithms on a few categories of samples. To address this problem, this paper proposes a new approach combining data resampling and category weight adjustment strategies. First, the sample distribution of the dataset is adjusted by undersampling and oversampling techniques to balance the number of samples from different categories. Then, during the model training process, different weights are assigned to the samples of different categories so that the model pays more attention to the samples of a few categories. The experimental results show that the method achieves significant performance improvement on multiple datasets. In addition, this paper compares other commonly used methods for solving the sample imbalance problem and analyzes and discusses them in detail. Finally, this study offers a practical solution to the problem of sample imbalance and provides guidance for research in related fields.

Keywords: Artificial Intelligence; Machine Learning; Sample Imbalance; Data Resampling; Category Weight Adjustment
Published: February 21, 2024
DOI: 10.54254/2755-2721/39/20230574
Volume: ACE Vol.39
pp. 31-37
Download PDF

References

  1. Bishop, C. M. (2006). Pattern Recognition and Machine Learning. Springer.
  2. Goodfellow, I., Bengio, Y., & Courville, A. (2016). Deep Learning. MIT Press.
  3. Mitchell, T. M. (1997). Machine Learning. McGraw-Hill.
  4. Schmidhuber, J. (2015). Deep Learning in Neural Networks: An Overview. Neural Networks, 61, 85-117
  5. Prati, R.C., Batista, G.E., & Monard, M.C. (2004). Class imbalances versus small disjuncts. ACM SIGKDD Explorations Newsletter, 6(1), 40-49.
  6. Hastie, T., Tibshirani, R., & Friedman, J. (2009). The Elements of Statistical Learning: Data Mining, Inference, and Prediction. Springer.
  7. Murphy, K. P. (2012). Machine Learning: A Probabilistic Perspective. MIT Press.
  8. He, H., Bai, Y., Garcia, E.A. & Li, H. (2008). ADASYN: Adaptive synthetic sampling approach for imbalanced learning. Neurocomputing, 71(7-9), 187-197.
  9. Kubat, M., Holte, R.C., & Matwin, S. (1998). Machine learning for the detection of oil spills in satellite radar images. Machine Learning, 30(2-3), 195-215.
  10. Liu, C., & Chang, C. (2019). Adaptive Sampling for Imbalanced Learning in Large-Scale Hierarchical Classification. IEEE Transactions on Knowledge and Data Engineering.
  11. López, V., Fernández, A., García, S., Palade, V., & Herrera, F. (2013). An insight into classification with imbalanced data: Empirical results and current trends on using data intrinsic characteristics. Information Sciences, 250, 113-141.
  12. Luengo, J., Fernández, A., & Herrera, F. (2011). Addressing data complexity for imbalanced data sets: Analysis of SMOTE-based oversampling and evolutionary undersampling. Soft Computing, 15(10), 1909-1936.
  13. Nanni, L., & Lumini, A. (2017). An experimental study on the impact of imbalanced training sets for fish classification. Applied Soft Computing, 57, 204-214.
  14. Paoletti, M.E., & Bonatti, L. (2019). A Comparative Analysis of Resampling Methods for Imbalanced Ensemble Learning. Communications in Computer and Information Science, 1002, 155-169.
  15. Provost, F., & Fawcett, T. (2001). Robust classification systems for imprecise environments. Machine Learning, 42(3), 203-231.
  16. Ramentol, E., & Fournier-Viger, P. (2020). An experimental study of oversampling and undersampling for data imbalance: the case of the Waldo datasets. Journal of Big Data, 7(1), 1-33.