Skip to main content
QUICK REVIEW

[Paper Review] PP-YOLO: An Effective and Efficient Implementation of Object Detector

Xiang Long, Kaipeng Deng|arXiv (Cornell University)|Jul 23, 2020
Advanced Neural Network ApplicationsComputer Science47 references234 citations
TL;DR

PP-YOLO enhances a YOLOv3-based detector with a sequence of tricks to improve mAP while maintaining high inference speed, achieving 45.2% COCO AP at 72.9 FPS.

ABSTRACT

Object detection is one of the most important areas in computer vision, which plays a key role in various practical scenarios. Due to limitation of hardware, it is often necessary to sacrifice accuracy to ensure the infer speed of the detector in practice. Therefore, the balance between effectiveness and efficiency of object detector must be considered. The goal of this paper is to implement an object detector with relatively balanced effectiveness and efficiency that can be directly applied in actual application scenarios, rather than propose a novel detection model. Considering that YOLOv3 has been widely used in practice, we develop a new object detector based on YOLOv3. We mainly try to combine various existing tricks that almost not increase the number of model parameters and FLOPs, to achieve the goal of improving the accuracy of detector as much as possible while ensuring that the speed is almost unchanged. Since all experiments in this paper are conducted based on PaddlePaddle, we call it PP-YOLO. By combining multiple tricks, PP-YOLO can achieve a better balance between effectiveness (45.2% mAP) and efficiency (72.9 FPS), surpassing the existing state-of-the-art detectors such as EfficientDet and YOLOv4.Source code is at https://github.com/PaddlePaddle/PaddleDetection.

Motivation & Objective

  • Motivate practical object detectors that balance accuracy and speed for real-world deployments.
  • Leverage existing tricks to improve detection performance without significantly increasing parameters or FLOPs.
  • Provide a recipe-like guide for building a better detector based on YOLOv3 without backbone or NAS changes.

Proposed method

  • Replace the YOLOv3 backbone with ResNet50-vd-dcn to create a stronger baseline (ResNet50-vd-dcn backbone).
  • Stack existing tricks (EMA, DropBlock, IoU loss, IoU aware, Grid Sensitive, Matrix NMS, CoordConv, SPP, better pretraining) with careful integration to preserve efficiency.
  • Use a PaddlePaddle implementation and maintain similar backbone/FPN/head structure to YOLOv3 for deployment practicality.
  • Add an IoU-aware branch and a basic IoU loss to align training with COCO mAP evaluation.
  • Apply advanced post-processing (Matrix NMS) and coordinate enhancements (Grid Sensitive, CoordConv) to boost localization without heavy cost.
  • Experiment with larger batch size and EMA to stabilize training and improve final accuracy.

Experimental results

Research questions

  • RQ1Can a set of proven tricks be composed to substantially improve mAP on COCO without increasing model size or FLOPs?
  • RQ2Which tricks contribute the most to accuracy gains when applied to a YOLOv3-based detector in a PaddlePaddle framework?
  • RQ3How does PP-YOLO compare to state-of-the-art detectors (e.g., EfficientDet, YOLOv4) in both speed and accuracy under COCO evaluation?
  • RQ4What is the impact of using different pretraining strategies on final detection performance for PP-YOLO?

Key findings

  • Replacing the YOLOv3 backbone with ResNet50-vd-dcn yields a stronger baseline with significantly lower FLOPs and faster inference than DarkNet-53 while maintaining competitive accuracy.
  • Sequentially adding tricks increases mAP from 39.1% to 44.0% (and further to 45.2% at the best configuration) without a large increase in parameters or FLOPs.
  • IoU Loss, IoU Aware, and Grid Sensitive provide notable mAP gains with minimal inference cost increases; Matrix NMS improves AP over greedy NMS.
  • CoordConv and SPP offer additional, small increases in mAP (0.5% and 0.3%, respectively) with modest time overhead.
  • Using a distilled ResNet50-vd as pretrained backbone provides a marginal additional improvement (≈0.3% AP).
  • On COCO test-dev, PP-YOLO with 608 input size achieves 45.2% AP and 72.9 FPS on V100 (batch=1, w/o TRT).

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.