Skip to main content
QUICK REVIEW

[Paper Review] Light-Weight RetinaNet for Object Detection

Yixing Li, Fengbo Ren|arXiv (Cornell University)|May 24, 2019
Advanced Neural Network ApplicationsComputer Science18 references27 citations
TL;DR

This paper proposes a light-weight RetinaNet by selectively reducing FLOPs only in the most computationally intensive layers—specifically, the top feature pyramid network (FPN) branches—while keeping the rest of the network unchanged. The method achieves superior mAP-FLOPs trade-offs compared to input image scaling, with 0.1% mAP gain at 1.15× FLOPs reduction and 0.3% mAP gain at 1.8× FLOPs reduction, demonstrating a linear degradation trend that outperforms the exponentially degrading trade-off of conventional scaling.

ABSTRACT

Object detection has gained great progress driven by the development of deep learning. Compared with a widely studied task -- classification, generally speaking, object detection even need one or two orders of magnitude more FLOPs (floating point operations) in processing the inference task. To enable a practical application, it is essential to explore effective runtime and accuracy trade-off scheme. Recently, a growing number of studies are intended for object detection on resource constraint devices, such as YOLOv1, YOLOv2, SSD, MobileNetv2-SSDLite, whose accuracy on COCO test-dev detection results are yield to mAP around 22-25% (mAP-20-tier). On the contrary, very few studies discuss the computation and accuracy trade-off scheme for mAP-30-tier detection networks. In this paper, we illustrate the insights of why RetinaNet gives effective computation and accuracy trade-off for object detection and how to build a light-weight RetinaNet. We propose to only reduce FLOPs in computational intensive layers and keep other layer the same. Compared with most common way -- input image scaling for FLOPs-accuracy trade-off, the proposed solution shows a constantly better FLOPs-mAP trade-off line. Quantitatively, the proposed method result in 0.1% mAP improvement at 1.15x FLOPs reduction and 0.3% mAP improvement at 1.8x FLOPs reduction.

Motivation & Objective

  • To address the high computational cost of high-accuracy object detection networks like RetinaNet, which require significantly more FLOPs than classification networks.
  • To explore a more effective FLOPs-accuracy trade-off strategy for mAP-30-tier detection networks, which are typically deployed on high-end hardware.
  • To identify and optimize only the most computationally intensive layers in RetinaNet, rather than applying global reductions via input scaling or backbone changes.
  • To maintain high accuracy while reducing inference cost by selectively replacing heavy layers with lightweight architectures in the detection head.

Proposed method

  • The method targets the heaviest component in RetinaNet—the top FPN branch (P3), which accounts for 48% of total FLOPs—by replacing it with lightweight block variants.
  • Lightweight blocks are designed to reduce FLOPs while preserving feature representation, with D-block-v3 selected as the optimal variant due to better accuracy retention at equivalent FLOPs reduction.
  • The approach preserves the original backbone (ResNet-50) and feature pyramid structure, modifying only the detection head’s regression and classification branches.
  • The method is applied selectively to the most FLOPs-intensive components, avoiding global architectural changes that degrade accuracy.
  • The training schedule is extended proportionally to the FLOPs reduction factor to maintain model convergence, following principles from network compression studies.
  • The method is generalizable to other FPN-based detection networks with blockwise FLOPs imbalance, not limited to RetinaNet.

Experimental results

Research questions

  • RQ1Can selectively reducing FLOPs in only the most computationally intensive layers yield better mAP-FLOPs trade-offs than conventional input image scaling?
  • RQ2Why does RetinaNet offer an effective FLOPs-accuracy trade-off, and how can this be leveraged to build a lighter version?
  • RQ3Is there a more linear degradation trend in mAP when reducing FLOPs via layer-specific optimization compared to the exponential degradation seen with input scaling?
  • RQ4Can lightweight block designs be effectively transferred from classification to detection tasks without significant accuracy loss?
  • RQ5Does maintaining the original backbone and feature pyramid while optimizing only the heaviest detection head layers preserve performance better than global reductions?

Key findings

  • The proposed method achieves a 0.1% mAP improvement at 1.15× FLOPs reduction compared to the baseline RetinaNet.
  • At 1.8× FLOPs reduction, the method achieves a 0.3% mAP improvement over the baseline, demonstrating superior trade-off performance.
  • The mAP degradation curve of the proposed method follows a linear trend, whereas input image scaling shows exponential degradation, leading to a growing performance gap at lower FLOPs.
  • The D-block-v3 lightweight block outperforms D-block-v1 (based on MobileNet) at the same FLOPs reduction level, indicating that MobileNet blocks are not optimal for detection head replacement.
  • The red line in the FLOPs-mAP trade-off plot (proposed method) consistently lies closer to the upper-left corner than the blue line (input scaling), confirming better trade-off performance.
  • The method is generalizable to other FPN-based detection networks with imbalanced FLOPs distribution, offering a scalable strategy for efficient deployment.

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.