journal article·2025-06-23Open access

Class-Balanced Random Patch Training to Address Class Imbalance in Tiling-Based Farmland Classification

Yeongung Bae, Yuseok Ban

Applied Sciences· Volume 15· Issue 13

Abstract

Satellite image-based farmland classification plays an essential role in agricultural monitoring. However, typical tiling-based classification approaches, which extract patches at fixed offsets within each image during training, often suffer from structural issues such as patch duplication, limiting training diversity. Additionally, farmland classification frequently exhibits class imbalance due to uneven cultivation areas, resulting in biased training toward majority classes and poorer performance on minority classes. To overcome these issues, we propose Class-Balanced Random Patch Training, which combines Random Patch Extraction (RPE) and Class-Balanced Sampling (CBS). This method improves patch-level diversity and ensures balanced class representation during training. We evaluated our method on the FarmMap dataset, using a validation set from the same region and year as the training data, and a test set from a different year and region to simulate domain shifts. Our approach improved the F1 scores of minority classes and overall performance. Furthermore, our analysis across varying levels of class difficulty showed that the method consistently outperformed other configurations, regardless of minority-class difficulty. These results demonstrate that the proposed method offers a practical and generalizable solution for addressing class imbalance in tiling-based remote sensing classification, particularly under real-world conditions with spatial and temporal variability.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Face and Expression Recognition · Machine Learning and Data Classification · Imbalanced Data Classification Techniques

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Electronics Engineering, Chungbuk National University, 1 Chungdae-ro, Seowon-gu, Cheongju 28644, Republic of Korea

OptAI, 45 Yangcheong 4-gil, Cheongwon-gu, Cheongju 28116, Republic of Korea

Funding

National Research Foundation of Korea · Korea Institute for Advancement of Technology · Institute of Information & Communications Technology Planning & Evaluation

References (60)

Show source-provided references
1. Xue, H., Fan, Y., Dong, G., He, S., Lian, Y., and Luan, W. (2024). Crop classification in the middle reaches of the Hei River based on model transfer. Sci. Rep., 14.10.1038/s41598-024-80327-z ↗
2. Toward intelligent training of supervised image classifications: Directing training data acquisition for SVM classification10.1016/j.rse.2004.06.017 ↗
3. Phiri, D., and Morgenroth, J. (2017). Developments in Landsat Land Cover Classification Methods: A Review. Remote Sens., 9.10.3390/rs9090967 ↗
4. Object-Based Crop Classification with Landsat-MODIS Enhanced Time-Series Data10.3390/rs71215820 ↗
5. Object-Based Image Classification of Summer Crops with Machine Learning Methods10.3390/rs6065019 ↗
6. Temporal Sequence Object-based CNN (TS-OCNN) for crop classification from fine resolution remote sensing image time-series10.1016/j.cj.2022.07.005 ↗
7. A Scale Sequence Object-based Convolutional Neural Network (SS-OCNN) for crop classification from fine spatial resolution remotely sensed imagery10.1080/17538947.2021.1950853 ↗
8. Li, H., Zhang, C., Zhang, S., and Atkinson, P.M. (2019). A hybrid OSVM-OCNN Method for Crop Classification from Fine Spatial Resolution Remotely Sensed Imagery. Remote Sens., 11.10.3390/rs11202370 ↗
9. Integration of convolutional neural networks with parcel-based image analysis for crop type mapping from time-series images10.1007/s12145-025-01819-8 ↗
10. Nair, S., Sharifzadeh, S., and Palade, V. (2024). Farmland Segmentation in Landsat 8 Satellite Images Using Deep Learning and Conditional Generative Adversarial Networks. Remote Sens., 16.10.3390/rs16050823 ↗
11. Zhang, K., Yuan, D., Yang, H., Zhao, J., and Li, N. (2023). Synergy of Sentinel-1 and Sentinel-2 Imagery for Crop Classification Based on DC-CNN. Remote Sens., 15.10.3390/rs15112727 ↗
12. Carvalho, O.L.F.d., de Carvalho Júnior, O.A., Albuquerque, A.O.d., Bem, P.P.d., Silva, C.R., Ferreira, P.H.G., Moura, R.d.S.d., Gomes, R.A.T., Guimarães, R.F., and Borges, D.L. (2021). Instance Segmentation for Large, Multi-Channel Remote Sensing Imagery Using Mask-RCNN and a Mosaicking Approach. Remote Sens., 13.10.3390/rs13010039 ↗
13. Automated Mapping of Cropland Boundaries Using Deep Neural Networks10.3390/agriengineering5030097 ↗
14. Kim, H.S., Song, H., and Jung, J. (2024). Cadastral-to-Agricultural: A Study on the Feasibility of Using Cadastral Parcels for Agricultural Land Parcel Delineation. Remote Sens., 16.10.3390/rs16193568 ↗
15. Delineation of agricultural fields in smallholder farms from satellite images using fully convolutional networks and combinatorial grouping10.1016/j.rse.2019.111253 ↗
16. Vlachopoulos, O., Leblon, B., Wang, J., Haddadi, A., LaRocque, A., and Patterson, G. (2020). Delineation of Crop Field Areas and Boundaries from UAS Imagery Using PBIA and GEOBIA with Random Forest Classification. Remote Sens., 12.10.3390/rs12162640 ↗
17. Shenoy, J., Zhang, X.D., Tao, B., Mehrotra, S., Yang, R., Zhao, H., and Vasisht, D. (2024). Self-Supervised Learning across the Spectrum. Remote Sens., 16.10.3390/rs16183470 ↗
18. Boosting Object Detectors via Strong-Classification Weak-Localization Pretraining in Remote Sensing Imagery
19. Entropy-Based re-sampling method on SAR class imbalance target detection10.1016/j.isprsjprs.2024.02.019 ↗
20. Xu, T., Zhao, Z., and Wu, J. (2023). Breaking the ImageNet Pretraining Paradigm: A General Framework for Training Using Only Remote Sensing Scene Images. Appl. Sci., 13.10.3390/app132011374 ↗
21. Aneece, I., and Thenkabail, P.S. (2021). Classifying Crop Types Using Two Generations of Hyperspectral Sensors (Hyperion and DESIS) with Machine Learning on the Cloud. Remote Sens., 13.10.3390/rs13224704 ↗
22. Needle in a haystack: Mapping rare and infrequent crops using satellite imagery and data balancing methods10.1016/j.rse.2019.111375 ↗
23. Deep long-tailed learning: A survey10.1109/TPAMI.2023.3268118 ↗
24. Islam, M.T., Islam, M.R., Uddin, M.P., and Ulhaq, A. (2023). A Deep Learning-Based Hyperspectral Object Classification Approach via Imbalanced Training Samples Handling. Remote Sens., 15.10.3390/rs15143532 ↗
25. Douzas, G., Bacao, F., Fonseca, J., and Khudinyan, M. (2019). Imbalanced Learning in Land Cover Classification: Improving Minority Classes’ Prediction Accuracy Using the Geometric SMOTE Algorithm. Remote Sens., 11.10.3390/rs11243040 ↗
26. SMOTE: Synthetic minority over-sampling technique10.1613/jair.953 ↗
27. He, H., Bai, Y., Garcia, E.A., and Li, S. (2008, January 1–8). ADASYN: Adaptive synthetic sampling approach for imbalanced learning. Proceedings of the 2008 IEEE International Joint Conference on Neural Networks (IEEE World Congress on Computational Intelligence), Hong Kong.
28. Yuan, J., Zheng, Z., Chu, C., Wang, W., and Guo, L. (2024). A Hybrid Synthetic Minority Oversampling Technique and Deep Neural Network Framework for Improving Rice Yield Estimation in an Open Environment. Agronomy, 14.10.3390/agronomy14091890 ↗
29. Rendón, E., Alejo, R., Castorena, C., Isidro-Ortega, F.J., and Granda-Gutiérrez, E.E. (2020). Data Sampling Methods to Deal with the Big Data Multi-Class Imbalance Problem. Appl. Sci., 10.10.3390/app10041276 ↗
30. Datta, D., Mallick, P.K., Reddy, A.V.N., Mohammed, M.A., Jaber, M.M., Alghawli, A.S., and Al-qaness, M.A.A. (2022). A Hybrid Classification of Imbalanced Hyperspectral Images Using ADASYN and Enhanced Deep Subsampled Multi-Grained Cascaded Forest. Remote Sens., 14.10.3390/rs14194853 ↗
31. Quan, Y., Zhong, X., Feng, W., Chan, J.C.W., Li, Q., and Xing, M. (2021). SMOTE-Based Weighted Deep Rotation Forest for the Imbalanced Hyperspectral Data Classification. Remote Sens., 13.10.3390/rs13030464 ↗
32. Generative Adversarial Minority Oversampling for Spectral–Spatial Hyperspectral Image Classification10.1109/TGRS.2021.3052048 ↗
33. Al-Najjar, H.A.H., Pradhan, B., Sarkar, R., Beydoun, G., and Alamri, A. (2021). A New Integrated Approach for Landslide Data Balancing and Spatial Prediction Based on Generative Adversarial Networks (GAN). Remote Sens., 13.10.3390/rs13194011 ↗
34. Permuted KPCA and SMOTE to Guide GAN-Based Oversampling for Imbalanced HSI Classification10.1109/JSTARS.2023.3326963 ↗
35. Yuan, W., and Li, P. (2025). Lightweight GAN-Assisted Class Imbalance Mitigation for Apple Flower Bud Detection. Big Data Cogn. Comput., 9.10.3390/bdcc9020028 ↗
36. Lin, T.Y., Goyal, P., Girshick, R., He, K., and Dollar, P. (2017, January 22–29). Focal Loss for Dense Object Detection. Proceedings of the Proceedings of the IEEE International Conference on Computer Vision (ICCV), Venice, Italy.10.1109/ICCV.2017.324 ↗
37. Ding, X., Wang, Z., Peng, S., Shao, X., and Deng, R. (2024). Research on Land Use and Land Cover Information Extraction Methods for Remote Sensing Images Based on Improved Convolutional Neural Networks. ISPRS Int. J. Geo-Inf., 13.10.3390/ijgi13110386 ↗
38. Farhadpour, S., Warner, T.A., and Maxwell, A.E. (2024). Selecting and Interpreting Multiclass Loss and Accuracy Assessment Metrics for Classifications with Class Imbalance: Guidance and Best Practices. Remote Sens., 16.10.3390/rs16030533 ↗
39. Zhou, Z., Zheng, C., Liu, X., Tian, Y., Chen, X., Chen, X., and Dong, Z. (2023). A Dynamic Effective Class Balanced Approach for Remote Sensing Imagery Semantic Segmentation of Imbalanced Data. Remote Sens., 15.10.3390/rs15071768 ↗
40. Zhang, X., Zhu, K., Chen, G., Tan, X., Zhang, L., Dai, F., Liao, P., and Gong, Y. (2019). Geospatial Object Detection on High Resolution Remote Sensing Imagery Based on Double Multi-Scale Feature Pyramid Network. Remote Sens., 11.10.3390/rs11070755 ↗
41. Integrally Mixing Pyramid Representations for Anchor-Free Object Detection in Aerial Imagery
42. Classification of Land Cover and Land Use Based on Convolutional Neural Networks
43. Towards Better Classification of Land Cover and Land Use Based on Convolutional Neural Networks10.5194/isprs-archives-XLII-2-W13-139-2019 ↗
44. Problems of encoder-decoder frameworks for high-resolution remote sensing image segmentation: Structural stereotype and insufficient learning10.1016/j.neucom.2018.11.051 ↗
45. Semantic Segmentation with Attention Mechanism for Remote Sensing Images
46. Korea Agency of Education, Promotion and Information Service in Food, Agriculture, Forestry and Fisheries (EPIS) (2023, February 07). Farm-Map Service. Available online: https://agis.epis.or.kr/.
47. Cira, C.I., Manso-Callejo, M.Á., Yokoya, N., Sălăgean, T., and Badea, A.C. (2024). Impact of Tile Size and Tile Overlap on the Prediction Performance of Convolutional Neural Networks Trained for Road Classification. Remote Sens., 16.10.20944/preprints202407.1095.v1 ↗
48. Yang, R., Wang, R., Deng, Y., Jia, X., and Zhang, H. (2021). Rethinking the Random Cropping Data Augmentation Method Used in the Training of CNN-Based SAR Image Ship Detector. Remote Sens., 13.10.3390/rs13010034 ↗
49. Tan, M., and Le, Q. (2019, January 9–15). EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks. Proceedings of the 36th International Conference on Machine Learning, Long Beach, CA, USA.
50. Yin, H., Yang, C., and Lu, J. (2022, January 15–17). Research on Remote Sensing Image Classification Algorithm Based on EfficientNet. Proceedings of the 2022 7th International Conference on Intelligent Computing and Signal Processing (ICSP), Xi’an, China.10.1109/ICSP54964.2022.9778437 ↗
51. Charoenchittang, P., Boonserm, P., Kobayashi, K., and Cooharojananone, N. (2021, January 19–22). Airport Buildings Classification through Remote Sensing Images Using EfficientNet. Proceedings of the 2021 18th International Conference on Electrical Engineering/Electronics, Computer, Telecommunications and Information Technology (ECTI-CON), Chiang Mai, Thailand.10.1109/ECTI-CON51831.2021.9454686 ↗
52. Chai, J., Nan, Y., Guo, R., Lin, Y., and Liu, Y. (2022, January 27–29). Recognition Method of Landslide Remote Sensing Image based on EfficientNet. Proceedings of the 2022 IEEE 2nd International Conference on Electronic Technology, Communication and Information (ICETCI), Changchun, China.10.1109/ICETCI55101.2022.9832276 ↗
53. Zhang, D., Liu, Z., and Shi, X. (2020, January 25–27). Transfer Learning on EfficientNet for Remote Sensing image Classification. Proceedings of the 2020 5th International Conference on Mechanical, Control and Computer Engineering (ICMCCE), Harbin, China.10.1109/ICMCCE51767.2020.00489 ↗
54. A Coefficient of Agreement for Nominal Scales10.1177/001316446002000104 ↗
55. Reina, G.A., Panchumarthy, R., Thakur, S.P., Bastidas, A., and Bakas, S. (2020). Systematic evaluation of image tiling adverse effects on deep learning semantic segmentation. Front. Neurosci., 14.10.3389/fnins.2020.00065 ↗
56. How Re-sampling Helps for Long-Tail Learning?
57. Class-difficulty based methods for long-tailed visual recognition10.1007/s11263-022-01643-3 ↗
58. Improving Image Segmentation with Boundary Patch Refinement10.1007/s11263-022-01662-0 ↗
59. Liu, Y., Ren, Q., Geng, J., Ding, M., and Li, J. (2018). Efficient Patch-Wise Semantic Segmentation for Large-Scale Remote Sensing Images. Sensors, 18.10.3390/s18103232 ↗
60. Park, S., and Park, N.W. (2020). Effects of Class Purity of Training Patch on Classification Performance of Crop Classification with Convolutional Neural Network. Appl. Sci., 10.10.3390/app10113773 ↗