[Paper Review] PAFNet: An Efficient Anchor-Free Object Detector Guidance
PAFNet is a highly efficient anchor-free object detector optimized for both server and mobile deployment, leveraging improved backbone architectures (ResNet50-vd and MobileNetV3), knowledge distillation, attention modules (AGS), and data augmentation (CutMix) to achieve state-of-the-art accuracy and speed. It attains 42.2% mAP at 67.15 FPS on V100 GPU and 23.9% mAP with 26.00 ms latency on Kirin 990 ARM CPU, outperforming existing anchor-free detectors.
Object detection is a basic but challenging task in computer vision, which plays a key role in a variety of industrial applications. However, object detectors based on deep learning usually require greater storage requirements and longer inference time, which hinders its practicality seriously. Therefore, a trade-off between effectiveness and efficiency is necessary in practical scenarios. Considering that without constraint of pre-defined anchors, anchor-free detectors can achieve acceptable accuracy and inference speed simultaneously. In this paper, we start from an anchor-free detector called TTFNet, modify the structure of TTFNet and introduce multiple existing tricks to realize effective server and mobile solutions respectively. Since all experiments in this paper are conducted based on PaddlePaddle, we call the model as PAFNet(Paddle Anchor Free Network). For server side, PAFNet can achieve a better balance between effectiveness (42.2% mAP) and efficiency (67.15 FPS) on a single V100 GPU. For moblie side, PAFNet-lite can achieve a better accuracy of (23.9% mAP) and 26.00 ms on Kirin 990 ARM CPU, outperforming the existing state-of-the-art anchor-free detectors by significant margins. Source code is at https://github.com/PaddlePaddle/PaddleDetection.
Motivation & Objective
- To develop an efficient anchor-free object detector that balances high accuracy and fast inference for real-world industrial applications.
- To improve the performance of TTFNet by integrating effective techniques without sacrificing inference speed.
- To optimize the model for both server-side (GPU) and mobile-side (ARM CPU) deployment with minimal latency and high mAP.
- To identify and validate the most effective combination of training tricks, data augmentation, and architectural modifications for anchor-free detection.
Proposed method
- Adopted ResNet50-vd with knowledge distillation (SSLD) as the backbone for the server-side model to improve feature representation.
- Introduced an Adaptive Gated Scale (AGS) module in the detection head to enhance feature refinement and localization accuracy.
- Applied CutMix data augmentation and EMA (Exponential Moving Average) training strategy to improve generalization and model robustness.
- Used a 10x training schedule on the server side and a 20x schedule on the mobile side to ensure full convergence.
- Replaced standard convolutions with lightweight depthwise separable convolutions in the mobile model to reduce FLOPs and latency.
- Optimized the mobile model with additional augmentations (GridMask, Random-Crop, Random-Expand) and a distilled MobileNetV3-Large backbone.
Experimental results
Research questions
- RQ1Which combination of training techniques and architectural components yields the best accuracy-speed trade-off in anchor-free object detection?
- RQ2How effective are knowledge distillation and attention modules (AGS) in improving anchor-free detector performance without increasing inference cost?
- RQ3What data augmentation strategies are most effective for boosting mAP in both server and mobile inference settings?
- RQ4Can a single detector architecture be effectively adapted for both high-end GPU and mobile ARM CPU deployment with minimal performance degradation?
- RQ5How do different training schedules (1x, 4x, 10x, 20x) impact convergence and final mAP in anchor-free detection?
Key findings
- PAFNet achieved 42.2% mAP on COCO 2017 validation set with 67.15 FPS inference speed on a single V100 GPU, outperforming existing anchor-free detectors in both accuracy and speed.
- PAFNet-lite achieved 23.9% mAP with only 26.00 ms latency on Kirin 990 ARM CPU, setting a new SOTA for mobile-optimized anchor-free detectors.
- The integration of AGS module and knowledge distillation (SSLD) improved mAP by 1.8% and 1.8% respectively on the server side, with no significant increase in FLOPs.
- CutMix data augmentation and EMA training strategy contributed an additional 0.4% mAP gain on the server side, demonstrating strong generalization benefits.
- The 10x training schedule on the server side and 20x on mobile side were essential for achieving optimal convergence and mAP performance.
- Replacing standard convolutions with deformable convolutions in the final stage of ResNet50-vd improved mAP from 39.8% to 42.2% on the server side.
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.