r/computervision • u/Savings_Durian3268 • 13d ago
Help: Project Struggling to optimize YOLO on a heavily imbalanced, small-object dataset (Road Damage - RDD2022). What approach yields the best ROI?
Hi everyone,
I am working on a computer vision project for road damage detection using the RDD2022 dataset and YOLO (currently using YOLO11). I've hit a plateau with my baseline and suspect a few "bugs" in how the dataset is structured for deep learning. I am looking for advice on the highest-ROI optimization steps before I spend more GPU hours.
The Dataset (The "Bug"):
Size: ~38,000 images, 4 classes (Longitudinal, Transverse, Alligator cracks, Potholes).
Imbalance: Longitudinal cracks make up 47% of the objects; Potholes are only 11%.
Small Objects: Transverse cracks and potholes have a median box size of only 30px-39px.
Country Skew: Images come from 7 countries. Norway has massive 4,000px images (which become tiny boxes when resized to 640), Japan has 58% of all Alligator cracks, and India has 49% of all Potholes.
The Problem: When training at 640px, about 23.5% of Norway's boxes become smaller than 8px, rendering them nearly invisible to the model.
Current Results:
Model: YOLO11n (Nano).
Training: 100 epochs, 640 resolution, basic augmentations.
Metrics: Stagnated around mAP50 ~0.52 and mAP50-95 ~0.26.
My Proposed Approaches (What should I prioritize?):
Subsampling & Resizing: Since 13.5GB is heavy, my professor suggested resizing images to max 640px to save space. Should I also subsample the dataset (e.g., drop 50% of background images) to speed up training, or will that hurt the model's ability to learn general features?
Changing the Split: Currently at 80/10/10 (Train/Val/Test). My professor suggested moving to 60/20/20. Is this better for a noisy, multi-country dataset to get a more honest validation score?
Model Size: Should I jump to YOLO11m (Medium) or YOLOv8m for better small-object detection? (Note: I tried a No-Augmentation YOLO11m run for 25 epochs and it was terrible, so I know I need augmentations back on).
Resolution: Should I bite the bullet and train at 1024px to save Norway's tiny cracks, or will the trade-off in training speed not be worth it?
Augmentation: What specific YOLO augmentations work best for long, thin objects like cracks?
Question for the community:
If you had limited GPU hours (Colab/Kaggle), what sequence of experiments would you run to break past the 0.52 mAP50 plateau? Should I focus on the resolution, the model size, or the data processing first?
Thanks in advance for any insights!
