Skip to main content
QUICK REVIEW

[Paper Review] YOLO-Z: Improving small object detection in YOLOv5 for autonomous vehicles

Aduen Benjumea, Izzeddin Teeti|arXiv (Cornell University)|Dec 22, 2021
Advanced Neural Network ApplicationsComputer Science117 citations
TL;DR

YOLO-V5 base detectors are modified to form the YOLO-Z family, improving small-object detection with modest inference-time costs, validated on a cone-dense autonomous racing dataset.

ABSTRACT

As autonomous vehicles and autonomous racing rise in popularity, so does the need for faster and more accurate detectors. While our naked eyes are able to extract contextual information almost instantly, even from far away, image resolution and computational resources limitations make detecting smaller objects (that is, objects that occupy a small pixel area in the input image) a genuinely challenging task for machines and a wide-open research field. This study explores how the popular YOLOv5 object detector can be modified to improve its performance in detecting smaller objects, with a particular application in autonomous racing. To achieve this, we investigate how replacing certain structural elements of the model (as well as their connections and other parameters) can affect performance and inference time. In doing so, we propose a series of models at different scales, which we name `YOLO-Z', and which display an improvement of up to 6.9% in mAP when detecting smaller objects at 50% IOU, at the cost of just a 3ms increase in inference time compared to the original YOLOv5. Our objective is to inform future research on the potential of adjusting a popular detector such as YOLOv5 to address specific tasks and provide insights on how specific changes can impact small object detection. Such findings, applied to the broader context of autonomous vehicles, could increase the amount of contextual information available to such systems.

Motivation & Objective

  • Improve small-object detection performance of YOLOv5 for autonomous-vehicle scenarios.
  • Investigate structural modifications to backbone, neck, and connections that affect small-object accuracy and speed.
  • Identify which architectural changes yield best trade-offs between accuracy and real-time inference.

Proposed method

  • Replace or modify backbone with DenseNet or ResNet while preserving core YOLOv5 structure.
  • Replace neck with simplified FPN or BiFPN to better propagate small-object information.
  • Redirect connections to use higher-resolution feature maps in the neck/head (inclusive/exclusive mappings).
  • Tune anchors per scale by data-driven auto-generation (3 or 5 anchors per scale).
  • Experiment with input-scale related adjustments (depth/width modifiers) and learning-rate variations to observe effects on small-object detection.

Experimental results

Research questions

  • RQ1How can YOLOv5 be structurally modified to improve small-object detection without sacrificing real-time performance?
  • RQ2Which backbone, neck, and feature-map routing configurations yield the best gains for small objects in autonomous-vehicle contexts?
  • RQ3What is the impact of anchor count and higher-resolution feature maps on small-object mAP at 50% IOU?

Key findings

  • YOLO-Z models achieve average 2.7 percentage point absolute improvement in mAP at 50% IOU across scales, and 5.9 points for small objects, with ~2.6 ms extra inference time.
  • DenseNet backbone provides consistent small-object gains with modest ~3 ms extra latency compared to baseline; ResNet tends to underperform and slower.
  • Using an exclusively added higher-resolution feature map (XS_ex) with an extra small map improves small-object detection, particularly in dense small-object datasets; the effect varies by scale.
  • An increased number of anchors (5 per scale) benefits larger scales more, while smaller scales may favor fewer anchors (3 per scale).
  • An FPN neck generally outperforms bi-FPN at smaller scales, while the X scale benefits less from neck changes.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.