Counting the Rare Ones: Helping AI Notice Buses and Tricycles in Busy Traffic
On the roads of Makassar, some kinds of vehicles appear far less often than others. Motorcycles and cars fill the streets, while buses and tricycles are much rarer. That imbalance becomes a problem when a system learns from the data, because the rare vehicles are the ones it handles worst. Crowded scenes with overlapping vehicles make the situation harder still.
This study tests whether class weighting can help a YOLOv11 instance segmentation model detect these underrepresented vehicles. Instance segmentation goes beyond drawing a box and outlines the exact shape of each vehicle, which is useful when vehicles overlap. Rather than copying images by hand to balance the dataset, the method dynamically gives higher training weight to minority classes, so mistakes on rare vehicles count for more during learning.
The team compared the approach with YOLOv8 and an unweighted YOLOv11 baseline using mAP50, mAP50-95, precision, recall, and F1-score. They also checked whether the improvement was real and not due to chance, using a Wilcoxon signed-rank test, a Friedman test, and Cohen’s d, which measures the size of the effect.
The weighted model scored 0.717 mAP50-95 for masks and 0.836 for bounding boxes. Compared with the baseline, it improved minority-class performance by 26.5% for buses on masks and 27.8% for tricycles on boxes. The improvement was statistically significant (p = 0.031) with large effect sizes, and performance on the majority class stayed robust, so the gain for rare vehicles did not come at the expense of common ones.
This work connects to Sustainable Development Goal 11 (SDG 11): Sustainable Cities and Communities. Counting every type of vehicle fairly, including the rare ones, gives traffic managers a more honest picture of the road. The authors conclude that the approach is a scalable option for traffic management in congested environments.
Ultimately, this study shows that a model can be taught to pay attention to the vehicles that are easy to overlook, so that no kind of road user is left out of the count.
Metadata:
Judul article: YOLOv11 for Robust Traffic Monitoring: Enhanced Detection of Minority Vehicle Classes
Nama jurnal: IEEE International Conference on Artificial Intelligence and Mechatronics Systems (AIMS)
Penerbit: IEEE
Tanggal publish: May 2025
Tautan / Link: https://doi.org/10.1109/aims66189.2025.11229655
Contact:
Prof. Dr. Ir. Indrabayu, S.T., M.T., M.Bus.Sys., IPM., ASEAN.Eng
0811447755
indrabayu@unhas.ac.id
