Class balancing strategies for object detection at open-pit mining sites with YOLOv11
Abstract
Automated video monitoring of open-pit mining relies on detecting machinery and personnel, but the training data for such scenes are strongly imbalanced: the ratio of the most frequent class to the rarest one reaches ρ = 123, and the rare classes that matter most for safety are detected worst. The study quantifies how much balancing strategies improve rare-class detection and separates the contribution of balance from that of data volume. The architecture is fixed (YOLOv11m, COCO pre-training, 640×640 input, 100 epochs, three random seeds); only the training set composition and the loss function are varied. Seven configurations are compared on a single test set of 12 233 images and 21 074 objects: two subsamples with reduced imbalance, a size-matched random control, repeat-factor sampling, offline copy-paste and class-weighted loss. Quality is measured as AP@0.5 with 101-point interpolation; every difference carries a 95 % confidence interval and a paired p-value from a two-level bootstrap over training runs and test scenes. Only repeat-factor sampling yields a statistically supported gain on a rare class – truck AP +0.137 (p = 0.004) – without loss on the frequent classes; its macro mAP gain (+0.023) is not significant. Copy-paste gives smaller, non-significant changes, while class-weighted loss significantly lowers AP on the frequent classes without rare-class gains. For bus and excavator no strategy produces a significant change: their objects are concentrated in a few test scenes, and the AP confidence intervals span roughly 0.1–0.8. The difference between a balanced subsample and a size-matched random control (+0.023 macro mAP) is not significant either, so the contributions of balance and data volume cannot be separated on this test set.
Full Text:
PDF (Russian)References
A. B. Filimonov, Nguen Than' Kong, "Nejronnye seti s vejvlet-preobrazovaniem v zadache obnaruzhenija nadvodnyh ob"ektov pri uslovijah plohoj vidimosti," Inzhenernyj vestnik Dona, # 1, 2025. [Onlajn]. Dostupno: http://ivdon.ru/ru/magazine/archive/n1y2025/9767
D. V. Vegera, A. S. Zabavin, "Sovremennye metody glubokogo obuchenija dlja obnaruzhenija i prognozirovanija lesnyh pozharov na osnove dannyh s bespilotnyh letatel'nyh apparatov," Inzhenernyj vestnik Dona, # 2, 2026. [Onlajn]. Dostupno: http://ivdon.ru/ru/magazine/archive/n2y2026/10750
M. O. Antonov, I. O. Temkin, "Raspoznavanie i otslezhivanie defektov dorozhnogo polotna v real'nom vremeni na osnove kompleksnogo ispol'zovanija standartnyh vychislitel'nyh procedur i glubokih nejronnyh setej," Programmnye produkty i sistemy, t. 37, # 3, s. 421–430, 2024, doi: 10.15827/0236-235X.147.421-430.
K. Oksuz, B. C. Cam, S. Kalkan, and E. Akbas, "Imbalance problems in object detection: A review," IEEE Trans. Pattern Anal. Mach. Intell., vol. 43, no. 10, pp. 3388–3415, Oct. 2021, doi: 10.1109/TPAMI.2020.2981890.
M. Buda, A. Maki, and M. A. Mazurowski, "A systematic study of the class imbalance problem in convolutional neural networks," Neural Networks, vol. 106, pp. 249–259, 2018, doi: 10.1016/j.neunet.2018.07.011.
Y. Zhang, B. Kang, B. Hooi, S. Yan, and J. Feng, "Deep long-tailed learning: A survey," IEEE Trans. Pattern Anal. Mach. Intell., vol. 45, no. 9, pp. 10795–10816, 2023, doi: 10.1109/TPAMI.2023.3268118.
A. Gupta, P. Dollár, and R. Girshick, "LVIS: A dataset for large vocabulary instance segmentation," in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), 2019, pp. 5356–5364, doi: 10.1109/CVPR.2019.00550.
G. Ghiasi, Y. Cui, A. Srinivas, R. Qian, T.-Y. Lin, E. D. Cubuk, Q. V. Le, and B. Zoph, "Simple copy-paste is a strong data augmentation method for instance segmentation," in Proc. CVPR, 2021, pp. 2918–2928, doi: 10.1109/CVPR46437.2021.00294.
T.-Y. Lin, P. Goyal, R. Girshick, K. He, and P. Dollár, "Focal loss for dense object detection," in Proc. IEEE Int. Conf. Comput. Vis. (ICCV), 2017, pp. 2980–2988, doi: 10.1109/ICCV.2017.324.
B. Li, Y. Yao, J. Tan, G. Zhang, X. Zhang, Q. Zhang, and R. Pang, "Equalized focal loss for dense long-tailed object detection," in Proc. CVPR, 2022, pp. 6990–6999, doi: 10.1109/CVPR52688.2022.00686.
Y. Li, T. Wang, B. Kang, S. Tang, C. Wang, F. Li, and J. Feng, "Overcoming classifier imbalance for long-tail object detection with balanced group softmax," in Proc. CVPR, 2020, pp. 10991–11000, doi: 10.1109/CVPR42600.2020.01100.
K. V. Belokrylov, Ju. M. Porohin, I. S. Syrkin, V. Ju. Sadovec, "Primenenie optimizacii giperparametrov i augmentacii dlja povyshenija tochnosti modeli YOLO," Vestnik PNIPU. Jelektrotehnika, informacionnye tehnologii, sistemy upravlenija, # 57, s. 20–38, 2026.
K. V. Belokrylov, Ju. M. Porohin, I. S. Syrkin, V. Ju. Sadovec, "Vlijanie narezki ishodnogo dataseta na process obuchenija modeli YOLO," Vestnik PNIPU. Jelektrotehnika, informacionnye tehnologii, sistemy upravlenija, # 58, s. 49–66, 2026.
K. V. Belokrylov, Ju. M. Porohin, I. S. Syrkin, V. Ju. Sadovec, "Vlijanie tipa modeli Ultralytics i razmera batch size na tochnost' obnaruzhenija ljudej na ajerofotosnimkah," Infokommunikacionnye tehnologii, t. 23, # 3 (91), s. 116–122, 2025.
N. Crasto, "Class imbalance in object detection: An experimental diagnosis and study of mitigation strategies," arXiv:2403.07113, 2024. [Onlajn]. Dostupno: https://arxiv.org/abs/2403.07113
R. Khanam and M. Hussain, "YOLOv11: An overview of the key architectural enhancements," arXiv:2410.17725, 2024. [Onlajn]. Dostupno: https://arxiv.org/abs/2410.17725
G. Jocher and J. Qiu, Ultralytics YOLO11, version 11.0.0, 2024. [Onlajn]. Dostupno: https://github.com/ultralytics/ultralytics
T.-Y. Lin, M. Maire, S. Belongie, J. Hays, P. Perona, D. Ramanan, P. Dollár, and C. L. Zitnick, "Microsoft COCO: Common objects in context," in Proc. ECCV, LNCS vol. 8693, 2014, pp. 740–755, doi: 10.1007/978-3-319-10602-1_48.
I. Robinson, P. Robicheaux, M. Popov, D. Ramanan, and N. Peri, "RF-DETR: Neural architecture search for real-time detection transformers," in Proc. Int. Conf. Learn. Representations (ICLR), 2026. [Onlajn]. Dostupno: https://arxiv.org/abs/2511.09554
Refbacks
- There are currently no refbacks.
Abava Кибербезопасность ИТ-КОНГРЕСС ВМК МГУ 2026 СНЭ
ISSN: 2307-8162