Sensitivity of Modern Deep Learning Neural Networks to Unbalanced Datasets in Multiclass Classification Problems
Source abstract
Abstract
One of the critical problems in multiclass classification tasks is the imbalance of the dataset. This is especially true when using contemporary pre-trained neural networks, where the last layers of the neural network are retrained. Therefore, large datasets with highly unbalanced classes are not good for models’ training since the use of such a dataset leads to overfitting and, accordingly, poor metrics on test and validation datasets. In this paper, the sensitivity to a dataset imbalance of Xception, ViT-384, ViT-224, VGG19, ResNet34, ResNet50, ResNet101, Inception_v3, DenseNet201, DenseNet161, DeIT was studied using a highly imbalanced dataset of 20,971 images sorted into 7 classes. It is shown that the best metrics were obtained when using a cropped dataset with augmentation of missing images in classes up to 15% of the initial number. So, the metrics can be increased by 2–6% compared to the metrics of the models on the initial unbalanced data set. Moreover, the metrics of the rare classes’ classification also improved significantly–the True Positive value can be increased by 0.3 or more. As a result, the best approach to train considered networks on an initially unbalanced dataset was formulated.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: COVID-19 diagnosis using AI · Artificial Intelligence in Healthcare · Digital Imaging for Blood Diseases
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Institute of Precision Mechanics and Control of the Russian Academy of Sciences, 24 Ul. Rabochaya, 410028 Saratov, Russia
Faculty of Mechanics and Mathematics, Perm State University, 15 Ul. Bukireva, 614068 Perm, Russia
Russia Faculty of Computer Science and Information Technology, Saratov National Research State University Named after N.G. Chernyshevsky, St. Astrakhanskaya 83, 410012 Saratov, Russia
Omega Clinic, 46 Ul. Komsomolskaia, 410031 Saratov, Russia
References (37)
Show source-provided references
1. Extreme Learning Machine for Regression and Multiclass Classification10.1109/TSMCB.2011.2168604 ↗
2. Har-Peled, S., Roth, D., and Zimak, D. (2002, January 24–26). Constraint classification: A new approach to multiclass classification. Proceedings of the Algorithmic Learning Theory: 13th International Conference, Lübeck, Germany.10.1007/3-540-36169-3_29 ↗
3. A comparative study of feature selection and multiclass classification methods for tissue classification based on gene expression10.1093/bioinformatics/bth267 ↗
4. Suri, M., Parmar, V., Sassine, G., and Alibart, F. (2015, January 12–17). OXRAM based ELM architecture for multi-class classification applications. Proceedings of the International Joint Conference on Neural Networks (IJCNN), Killarney, Ireland.10.1109/IJCNN.2015.7280603 ↗
5. Mahalanobis-Taguchi system for multiclass classification of steel plates fault10.1504/IJQET.2015.069231 ↗
6. Huang, P., Tan, X., Chen, C., Lv, X., and Li, Y. (2020). AF-SENet: Classification of Cancer in Cervical Tissue Pathological Images Based on Fusing Deep Convolution Features. Sensors, 21.10.3390/s21010122 ↗
7. Facial Expression Recognition Using Transfer Learning with ResNet5010.1007/978-981-99-1624-5_21 ↗
8. Menfish Classification Based on Inception_V3 Convolutional Neural Network10.1088/1757-899X/677/5/052099 ↗
9. Detection of Disease and Pest of Kenaf Plant Based on Image Recognition with VGGNet1910.17977/um018v4i12021p55-68 ↗
10. Swaraj, A., and Verma, K. (2021). Classification of COVID-19 on Chest X-Ray Images Using Deep Learning Model with Histogram Equalization and Lungs Segmentation. arXiv.
11. Heart Disease Prediction Using Modified Version of LeNet-5 Model
12. Simplifying VGG-16 for Plant Species Identification10.1109/TLA.2022.9904757 ↗
13. Multilevel Classification of Satellite Images Using Pretrained AlexNet Architecture10.1007/978-3-031-34222-6_17 ↗
14. Classification of Guide Rail Block by Xception Model
15. Transformers in Medical Image Analysis10.1016/j.imed.2022.07.002 ↗
16. Heidari, M., Kazerouni, A., Soltany, M., Azad, R., Aghdam, E.K., Cohen-Adad, J., and Merhof, D. (2023, January 2–7). HiFormer: Hierarchical Multi-Scale Representations Using Transformers for Medical Image Segmentation. Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision (WACV), Waikoloa, HI, USA.10.1109/WACV56688.2023.00614 ↗
17. Barulina, M., Sanbaev, A., Okunkov, S., Ulitin, I., and Okoneshnikov, I. (2022). Deep Learning Approaches to Automatic Chronic Venous Disease Classification. Mathematics, 10.10.20944/preprints202208.0495.v1 ↗
18. Comparative Investigation of Vibration and Current Monitoring for Prediction of Mechanical and Electrical Faults in Induction Motor Based on Multiclass-Support Vector Machine Algorithms10.1016/j.ymssp.2017.03.016 ↗
19. Ceyhan, M., Kartal, Y., Özkan, K., and Seke, E. (2023). Classification of Wheat Varieties with Image-Based Deep Learning. Multimed. Tools Appl.10.1007/s11042-023-16075-5 ↗
20. Jiang, Z.-P., Liu, Y.-Y., Shao, Z.-E., and Huang, K.-W. (2021). An Improved VGG16 Model for Pneumonia Image Classification. Appl. Sci., 11.10.3390/app112311185 ↗
21. A Deep Learning Approach to Detect Covid-19 Coronavirus with X-ray Images10.1016/j.bbe.2020.08.008 ↗
22. Vianna, V.P. (2018). Study and development of a Computer-Aided Diagnosis system for classification of chest x-ray images using convolutional neural networks pre-trained for ImageNet and data augmentation. arXiv.
23. Song, J., Lu, X., Liu, M., and Wu, X. (2011, January 26–28). A New LogitBoost Algorithm for Multiclass Unbalanced Data Classification. Proceedings of the 8th International Conference on Fuzzy Systems and Knowledge Discovery (FSKD), Shanghai, China.10.1109/FSKD.2011.6019654 ↗
24. Using LogitBoost Classifier to Predict Protein Structural Classes10.1016/j.jtbi.2005.05.034 ↗
25. Song, J., Lu, X., and Wu, X. (2009, January 14–16). An Improved AdaBoost Algorithm for Unbalanced Classification Data. Proceedings of the 6th International Conference on Fuzzy Systems and Knowledge Discovery, Tianjin, China.10.1109/FSKD.2009.608 ↗
26. Bhadra, N., Chatterjee, S.K., and Das, S. (2023). Multiclass Classification of Environmental Chemical Stimuli from Unbalanced Plant Electrophysiological Data. PLoS ONE, 18.10.1371/journal.pone.0285321 ↗
27. Pre-processing data on multiclass classification of anemia and iron deficiency with the XGBOOST method10.30598/barekengvol17iss2pp0767-0774 ↗
28. Steiniger, Y., Stoppe, J., Meisen, T., and Kraus, D. (2020, January 5–14). Dealing with Highly Unbalanced Sidescan Sonar Image Datasets for Deep Learning Classification Tasks. Proceedings of the Global Oceans 2020: Singapore–U.S. Gulf Coast, Biloxi, MS, USA.10.1109/IEEECONF38699.2020.9389373 ↗
29. Li, J. (2010). AI 2010: Advances in Artificial Intelligence, Springer. AI 2010. Lecture Notes in Computer Science.10.1007/978-3-642-17432-2 ↗
30. Antonie, M.L., Zaiane, O.R., and Coman, A. (2001, January 26). Application of data mining techniques for medical image classification. Proceedings of the 2nd International Conference on Multimedia Data Mining, San Francisco, CA, USA.
31. Predictive Data Mining in Clinical Medicine: Current Issues and Guidelines10.1016/j.ijmedinf.2006.11.006 ↗
32. Classification of Brain Tumor from Magnetic Resonance Imaging Using Vision Transformers Ensembling10.3390/curroncol29100590 ↗
33. Human-Computer Interaction Based Health Diagnostics Using ResNet34 for Tongue Image Classification10.1016/j.cmpb.2022.107096 ↗
34. ResNet101 Model Performance Enhancement in Classifying Rice Diseases with Leaf Images10.29207/resti.v7i2.4575 ↗
35. DenseNet201 Model for Robust Detection on Incorrect Use of Mask
36. Termritthikun, C., Umer, A., Suwanwimolkul, S., Xia, F., and Lee, I. (2023). Explainable Knowledge Distillation for On-Device Chest X-ray Classification. IEEE/ACM Trans. Comput. Biol. Bioinform., 1–12.10.1109/TCBB.2023.3272333 ↗
37. Visual Transformers and Convolutional Neural Networks for Disease Classification on Radiographs: A Comparison of Performance, Sample Efficiency, and Hidden Stratification10.1148/ryai.220012 ↗