[Paper Review] SOD-YOLOv8 -- Enhancing YOLOv8 for Small Object Detection in Traffic Scenes
SOD-YOLOv8 enhances YOLOv8 with an Efficient GFPN-based multi-scale fusion, a C2f-EMA attention module, an extra high-resolution detection layer, and PIoU loss to boost small object detection in traffic scenes without large latency increases.
Object detection as part of computer vision can be crucial for traffic management, emergency response, autonomous vehicles, and smart cities. Despite significant advances in object detection, detecting small objects in images captured by distant cameras remains challenging due to their size, distance from the camera, varied shapes, and cluttered backgrounds. To address these challenges, we propose Small Object Detection YOLOv8 (SOD-YOLOv8), a novel model specifically designed for scenarios involving numerous small objects. Inspired by Efficient Generalized Feature Pyramid Networks (GFPN), we enhance multi-path fusion within YOLOv8 to integrate features across different levels, preserving details from shallower layers and improving small object detection accuracy. Also, A fourth detection layer is added to leverage high-resolution spatial information effectively. The Efficient Multi-Scale Attention Module (EMA) in the C2f-EMA module enhances feature extraction by redistributing weights and prioritizing relevant features. We introduce Powerful-IoU (PIoU) as a replacement for CIoU, focusing on moderate-quality anchor boxes and adding a penalty based on differences between predicted and ground truth bounding box corners. This approach simplifies calculations, speeds up convergence, and enhances detection accuracy. SOD-YOLOv8 significantly improves small object detection, surpassing widely used models in various metrics, without substantially increasing computational cost or latency compared to YOLOv8s. Specifically, it increases recall from 40.1\% to 43.9\%, precision from 51.2\% to 53.9\%, $ ext{mAP}_{0.5}$ from 40.6\% to 45.1\%, and $ ext{mAP}_{0.5:0.95}$ from 24\% to 26.6\%. In dynamic real-world traffic scenes, SOD-YOLOv8 demonstrated notable improvements in diverse conditions, proving its reliability and effectiveness in detecting small objects even in challenging environments.
Motivation & Objective
- Address the challenge of small object detection in traffic scenes and UAV imagery.
- Improve feature fusion to preserve shallow-layer spatial details for small objects.
- Introduce an attention-based C2f-EMA module to reweight features across channels.
- Incorporate Powerful-IoU (PIoU) to improve bounding box regression and convergence.
- Evaluate performance on real-world traffic imagery against YOLOv8 and other baselines.
Proposed method
- Replace PAFPN with an enhanced GFPN inspired by Efficient-RepGFPN to improve multi-scale feature fusion with skip-layer and queen fusion connections.
- Add a fourth detection layer by incorporating P2 features to preserve high-resolution spatial details for small objects.
- Introduce C2f-EMA, replacing C2f, to redistribute channel-wise weights using Efficient Multi-Scale Attention for better small-object representation.
- Replace CIoU with PIoU in the bounding box regression loss to accelerate convergence and improve localization stability.
- Provide a detailed description of the EMA-based C2f-EMA mechanism including 1x1 and 3x3 branches and 2D spatial attention processing.
- Demonstrate through visual analyses and real-world traffic imagery that the method improves small-object detection without substantial latency increase.

Experimental results
Research questions
- RQ1How can multi-scale feature fusion be redesigned to preserve shallow-layer spatial details critical for small objects in YOLOv8?
- RQ2Does the C2f-EMA attention module improve small-object detection performance and feature representation in the YOLOv8 neck?
- RQ3Does PIoU provide faster convergence and better bounding-box regression than CIoU on moderate-quality anchors?
- RQ4What is the impact of adding a fourth detection layer leveraging high-resolution features on small object detection accuracy and latency?
- RQ5How does SOD-YOLOv8 perform in real-world, dynamic traffic scenes compared to baseline YOLOv8s and other small-object detectors?
Key findings
- Recall improves from 40.1% to 43.9%.
- Precision improves from 51.2% to 53.9%.
- mAP@0.5 improves from 40.6% to 45.1%.
- mAP@0.5:0.95 improves from 24% to 26.6%.
- SOD-YOLOv8 achieves these gains with only modest changes to latency and computational cost compared to YOLOv8s.
- Visual analyses and real-world traffic imagery validate better small-object detection under varied conditions.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.