Optimizing YOLOv12-L for Imbalanced Satellite Vehicle Detection via Physics-Informed Data Synthesis and Adaptive Class-Aware Loss Weighting

Authors

DOI:

https://doi.org/10.66279/mn2yev65

Keywords:

YOLOv12-L, Vehicle Detection, Data Synthesis, Satellite Imagery, Loss Weighting

Abstract

Vehicle detection in satellite imagery underpins applications in traffic monitoring, urban planning, and disaster response, yet two obstacles routinely degrade detector performance: the small pixel footprint of individual vehicles and severe imbalance between common and rare vehicle categories. This study presents a vehicle detection framework built on the YOLOv12-L architecture and evaluated on the Vehicles in the Middle East (VME) dataset, in which cars outnumber buses and trucks by a wide margin. The framework combines a physics-informed synthetic data generator, which places procedurally rendered bus and truck silhouettes onto realistic backgrounds and enhances them with adaptive contrast and sensor-noise simulation, with a class-aware loss configuration that increases the classification loss weight and applies label smoothing for minority categories. Training on 4,666 images (2,828 original tiles plus 1,838 synthetic tiles contributing 2,476 bus and 2,076 truck instances) for 100 epochs produced a validation mean Average Precision at an IoU threshold of 0.5 (mAP50) of 0.687 and mAP50:95 of 0.391, with per-class mAP50:95 values of 0.476 for cars, 0.374 for buses, and 0.323 for trucks. On a held-out test split, mAP50 reached 0.634 and mAP50:95 reached 0.361. Increasing the inference resolution from 640 to 736 pixels raised validation mAP50:95 to 0.398 without retraining. Test-Time Augmentation at the 1.17× scale further improves overall mAP50 to 0.693. These results confirm that targeted data synthesis combined with class-aware loss weighting yields consistent gains for underrepresented vehicle categories in geospatial imagery.

Downloads

Download data is not yet available.

Author Biographies

  • Ola Farid, Beni-Suef University

    Computer Science Department, Faculty of Science, Beni-Suef University, Beni-Suef City, 62511, Egypt

  • Mohammed Melhi, University of Bradford

    No potential conflict of interest was reported by the author

  • A. A. Somaie, October University of Modern Sciences and Arts

    PhD, University of Bradford, UK, PDF Post-Doctoral Fellow Research Associate, University of Calgary, Canada, Software Engineering Program
    SE, Faculty of Computer Science, October University for Modern Sciences & Arts MSA, 6 October, Giza, Egypt

References

[1] Xiangrong Zhang, Tianyang Zhang, Guanchun Wang, Peng Zhu, Xu Tang, Xiuping Jia, and Licheng Jiao. Remote sensing object detection meets deep learning: A metareview of challenges and advances. IEEE Geoscience and Remote Sensing Magazine, 11(4):8–44, 2023. DOI: https://doi.org/10.1109/MGRS.2023.3312347

[2] Xiaoyu Wang, Aiping Wang, Jianhua Yi, Yong Song, and Abdellah Chehri. Small object detection based on deep learning for remote sensing: A comprehensive review. Remote Sensing, 15(13):3265, 2023. DOI: https://doi.org/10.3390/rs15133265

[3] Nieves Crasto. Class imbalance in object detection: An experimental diagnosis and study of mitigation strategies. arXiv preprint arXiv:2403.07113, 2024.

[4] Trong Huy Phan and Kazuma Yamamoto. Resolving class imbalance in object detection with weighted cross entropy losses. arXiv preprint arXiv:2006.01413, 2020.

[5] Noora Al-Emadi, Ingmar Weber, Yin Yang, and Ferda Ofli. Vme: A satellite imagery dataset and benchmark for detecting vehicles in the middle east and beyond. Scientific Data, 12(500), 2025. DOI: https://doi.org/10.1038/s41597-025-04567-y

[6] Cole Hill. Automatic detection of vehicles in satellite images for economic monitoring. Master’s thesis, University of South Florida, Tampa, FL, 2021.

[7] Wei Han, Jian Chen, Ling Wang, Rui Feng, and Fang Li. Methods for small, weak object detection in optical high-resolution remote sensing images: A survey of advances and challenges. IEEE Geoscience and Remote Sensing Magazine, 9(1):102–124, 2021. DOI: https://doi.org/10.1109/MGRS.2020.3041450

[8] Shengxi Gui, Shuang Song, Ru Qin, and Yang Tang. Remote sensing object detection in the deep learning era–a review. Remote Sensing, 16(2):327, 2024. DOI: https://doi.org/10.3390/rs16020327

[9] Tsung-Yi Lin, Priya Goyal, Ross Girshick, Kaiming He, and Piotr Doll’ar. Focal loss for dense object detection. In Proceedings of the IEEE International Conference on Computer Vision (ICCV), pages 2980–2988, 2017.

[10] Ricardo Escobar D’ıaz Guerrero, Lu’ıs Carvalho, Thomas Bocklitz, Fernando Lameiro, and Jens Rittscher. A data augmentation methodology to reduce the class imbalance in histopathology images. Journal of Imaging Science and Technology, 68(3):30501–1, 2024.

[11] Ultralytics. Yolo12: Attention-centric object detection. https://docs.ultralytics.com/models/yolo12/, 2025.

[12] Darius Lam, Richard Kuzma, Kevin McGee, Samuel Dooley, Michael Laielli, Matthew Klaric, Yaroslav Bulatov, and Brendan McCord. xview: Objects in context in overhead imagery. arXiv preprint arXiv:1802.07856, 2018.

[13] Gui-Song Xia, Xiang Bai, Jian Ding, Zhen Zhu, Serge Belongie, Jiebo Luo, Mihai Datcu, Marcello Pelillo, and Liangpei Zhang. Dota: A large-scale dataset for object detection in aerial images. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 3974–3983, 2018. DOI: https://doi.org/10.1109/CVPR.2018.00418

[14] Sebastien Razakarivony and Frederic Jurie. Vehicle detection in aerial imagery: A small target detection benchmark, Journal of Visual Communication and Image Representation, 34:187–203, 2016. DOI: https://doi.org/10.1016/j.jvcir.2015.11.002

[15] Ke Li, Gang Wan, and Gong Cheng. Dior, 2025.

[16] Xian Sun, Peijin Wang, Zhiyuan Yan, Feng Xu, Ruiping Wang, Wenhui Diao, Jin Chen, Jihao Li, Yingchao Feng, Tao Xu, et al. Fair1m: A benchmark dataset for fine-grained object recognition in high-resolution remote sensing imagery. ISPRS Journal of Photogrammetry and Remote Sensing, 184:116–130, 2022. DOI: https://doi.org/10.1016/j.isprsjprs.2021.12.004

[17] Yubin Qiu and Zufang Lin. Lightweight model lmw-yolo for small object detection in remote sensing images. Scientific Reports, 2026. DOI: https://doi.org/10.1038/s41598-026-45055-6

[18] Shilong Zhou, Haijin Zhou, and Lei Qian. A multi-scale small object detection algorithm sma-yolo for uav remote sensing images. Scientific reports, 15(1):9255, 2025. DOI: https://doi.org/10.1038/s41598-025-92344-7

Downloads

Published

26-06-2026

Data Availability Statement

The dataset generated during the current study is available at https://zenodo.org/records/14185684.

How to Cite

Optimizing YOLOv12-L for Imbalanced Satellite Vehicle Detection via Physics-Informed Data Synthesis and Adaptive Class-Aware Loss Weighting. (2026). Journal of Smart Algorithms and Applications (JSAA), 4(1), 1-21. https://doi.org/10.66279/mn2yev65

Most read articles by the same author(s)

Similar Articles

11-16 of 16

You may also start an advanced similarity search for this article.