[Paper Review] YOLOX-PAI: An Improved YOLOX, Stronger and Faster than YOLOv6
YOLOX-PAI is an enhanced version of YOLOX that achieves state-of-the-art object detection performance with faster inference, reaching 42.8 mAP on COCO within 1.0 ms on a single V100 GPU. It integrates improvements in backbone (RepVGG), neck (ASFF_Sim and GSConv), and head (TOOD-Head), accelerated via PAI-Blade and a unified EasyCV predictor API for end-to-end inference optimization.
We develop an all-in-one computer vision toolbox named EasyCV to facilitate the use of various SOTA computer vision methods. Recently, we add YOLOX-PAI, an improved version of YOLOX, into EasyCV. We conduct ablation studies to investigate the influence of some detection methods on YOLOX. We also provide an easy use for PAI-Blade which is used to accelerate the inference process based on BladeDISC and TensorRT. Finally, we receive 42.8 mAP on COCO dateset within 1.0 ms on a single NVIDIA V100 GPU, which is a bit faster than YOLOv6. A simple but efficient predictor api is also designed in EasyCV to conduct end2end object detection. Codes and models are now available at: https://github.com/alibaba/EasyCV.
Motivation & Objective
- To enhance YOLOX's accuracy and inference speed for real-time object detection.
- To integrate SOTA detection components (RepVGG, GSConv, ASFF_Sim, TOOD-Head) into a unified, user-friendly framework.
- To enable end-to-end inference acceleration through PAI-Blade and a flexible predictor API in EasyCV.
- To provide a beginner-friendly, all-in-one solution for deploying high-performance object detectors.
- To achieve SOTA results in the 40–50 mAP range with inference under 1ms on V100.
Proposed method
- Adopts a RepVGG-based backbone to improve inference speed and accuracy over CSPNet.
- Introduces ASFF_Sim, a lightweight feature fusion method using slice and mean operations instead of convolutional layers.
- Employs GSConv, a parameter-efficient convolution block, to reduce FLOPs in the neck with minimal accuracy loss.
- Enhances the YOLOX head with TOOD-Head, using shared inter-feature maps and task-specific attention for better detection alignment.
- Integrates PAI-Blade for automatic model optimization, including TensorRT and BladeDISC-based inference acceleration.
- Develops a flexible EasyCV predictor API that supports end-to-end inference with JIT-compiled preprocessing, optimized NMS, and model export.
Experimental results
Research questions
- RQ1How do RepVGG, ASFF_Sim, and GSConv affect YOLOX’s accuracy and inference speed?
- RQ2Can TOOD-Head improve YOLOX’s performance when combined with different backbone and neck components?
- RQ3To what extent can PAI-Blade and the EasyCV predictor API reduce end-to-end inference latency?
- RQ4How does YOLOX-PAI compare to YOLOv6 in mAP and speed at 1ms inference latency?
- RQ5Can a unified, beginner-friendly toolkit like EasyCV effectively support high-performance object detection with minimal configuration?
Key findings
- YOLOX-PAI achieves 42.8 mAP on COCO at 1.0 ms inference time on a single V100 GPU, outperforming YOLOv6 in both accuracy and speed.
- The use of RepVGG-based backbone improves mAP by 0.2–0.3 points with minimal speed penalty.
- ASFF_Sim improves feature fusion with only a minor increase in FLOPs and parameters, though inference time is higher than vanilla ASFF.
- GSConv reduces FLOPs by 3% with a 0.3 mAP gain, demonstrating efficiency in high-channel necks.
- The TOOD-Head with 5 stacked inter-conv layers achieves 44.7 mAP, showing a trade-off between accuracy and speed.
- End-to-end inference with PAI-Blade and JIT preprocessing reduces latency from 24.58ms (raw) to 4.53ms (optimized), achieving 251% speedup on YOLOX-s.
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.