Abstract
Imbalanced datasets are prevalent in real life, which have a skewed data distribution. In the research of imbalanced datasets, the inherent patterns of minority class affect the generalization performance of Machine Learning models. The re-weighting/re-sampling methods are used to address the issue of imbalanced datasets. However, the above methods are formulated based on empirical and heuristic rules. A theoretical framework is required in the presentation of the re-weighting/re-sampling methods. Category Theory is used as a framework to analyze the training process of Machine Learning models on imbalanced data. Based on the analysis, a method named Dynamic Weight Adjustment (DWA) is proposed to improve the generalization performance of models on imbalanced data. The imbalanced datasets for binary classification and multi-classification problems are used to verify the effectiveness of the DWA. The results of the DWA are the best in both imbalanced datasets for binary classification and multi-classification problems.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Chen, X., et al.: MOVNG: applied a novel sparse fusion representation into GTCN for pan-cancer classification and biomarker identification. In: International Conference on Intelligent Computing (2023)
Chen, X., et al.: Identification of suitable technologies for drinking water quality prediction: a comparative study of traditional, ensemble, cost-sensitive, outlier detection learning models and sampling algorithms. In: ACS ES&T Water (2021)
Desiani, A., et al.: Handling the imbalanced data with missing value elimination SMOTE in the classification of the relevance education background with graduates employment. IAES Int. J. Artif. Intell. 10, 346 (IJ-AI) (2021)
Zhang, Y., Hui, L.: Rolling bearing fault diagnosis based on graph convolution neural network. In: International Conference on Intelligent Computing (2022)
Oksuz, K., et al.: Imbalance problems in object detection: a review. IEEE Trans. Pattern Anal. Mach. Intell. 43, 3388–3415 (2019)
Mathews, L., Seetha, H.: Learning from imbalanced data. In: Advances in Computer and Electrical Engineering (2019)
Leevy, J.L., et al.: A survey on addressing high-class imbalance in big data. J. Big Data 5, 1–30 (2018)
Rendón, E., et al.: Data sampling methods to deal with the big data multi-class imbalance problem. Appl. Sci. 10, 1276 (2020)
Peng, M., et al.: Trainable undersampling for class-imbalance learning. In: AAAI Conference on Artificial Intelligence (2019)
Elreedy, D., Atiya, A.F.: A comprehensive analysis of Synthetic Minority Oversampling Technique (SMOTE) for handling class imbalance. Inf. Sci. 505, 32–64 (2019)
Yang, Y., et al.: Delving into deep imbalanced regression. In: International Conference on Machine Learning. PMLR (2021)
Tang, K., Huang, J., Zhang, H.: Long-tailed classification by keeping the good and removing the bad momentum causal effect. Adv. Neural. Inf. Process. Syst. 33, 1513–1524 (2020)
Alshammari, S., et al.: Long- Tailed Recognition via Weight Balancing. In: 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 6887–6897 (2022)
Spivak, D.I.: Basic Category Theory (2014)
Shiebler, D., et al.: Category theory in machine learning. ArXiv abs/2106.07032 (2021)
Wilson, P.W., Fabio, Z.: Reverse derivative ascent: a categorical approach to learning Boolean circuits. ACT (2021)
Cruttwell, G.S.H., et al.: Categorical foundations of gradient-based learning. In: European Symposium on Programming (2021)
Northoff, G., et al.: Mathematics and the brain: a category theoretical approach to go beyond the neural correlates of consciousness. Entropy 21, 1234 (2019)
Dong, Q., et al.: Imbalanced deep learning by minority class incremental rectification. IEEE Trans. Pattern Anal. Mach. Intell. 41, 1367–1381 (2018)
Cao, K., et al.: Learning imbalanced datasets with label-distribution-aware margin loss. In: Advances in Neural Information Processing Systems, vol. 32 (2019)
Lin, T.-Y., et al.: Focal loss for dense object detection. In: 2017 IEEE International Conference on Computer Vision (ICCV), pp. 2999–3007 (2017)
Kini, G.R., et al.: Label-Imbalanced and group-sensitive classification under over parameterization. In: Advances in Neural Information Processing Systems (2021)
Zhao, Y., et al.: A dynamic resampling based intrusion detection method. In: International Conference on Intelligent Computing (2023)
Park, S., et al.: The majority can help the minority: context-rich minority oversampling for long-tailed classification. In: 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 6877–6886 (2021)
Sambasivam, G., Geoffrey, D.O.: A predictive machine learning application in agriculture: Cassava disease detection and classification with imbalanced dataset using convolutional neural networks. Egyptian Informatics J. (2020)
Cui, Y., et al.: Class-balanced loss based on effective number of samples. In: 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 9260–9269 (2019)
Thiry, L., et al.: Categories for (Big) data models and optimization. J. Big Data 5, 21 (2018). https://doi.org/10.1186/s40537-018-0132-9
Fuyama, M., et al.: A category theoretic approach to metaphor comprehension: theory of indeterminate natural transformation. Bio Syst. 197, 104213 (2020)
Acknowledgments
This work is supported by Research Platforms and Projects of Universities in Guangdong Province, China - Youth Innovative Talents 2022KQNCX071.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Chen, J., Zhao, H. (2024). Dynamic Weight Distribution Method of Loss Function Based on Category Theory. In: Huang, DS., Zhang, C., Pan, Y. (eds) Advanced Intelligent Computing Technology and Applications. ICIC 2024. Lecture Notes in Computer Science(), vol 14876. Springer, Singapore. https://doi.org/10.1007/978-981-97-5666-7_34
Download citation
DOI: https://doi.org/10.1007/978-981-97-5666-7_34
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-97-5665-0
Online ISBN: 978-981-97-5666-7
eBook Packages: Computer ScienceComputer Science (R0)