[Paper Review] You Only Look One-level Feature
This paper proposes YOLOF, a one-stage object detector that achieves competitive accuracy using only a single-level feature map (C5 or DC5) instead of multi-scale feature pyramids. By introducing a Dilated Encoder to capture multi-scale context and Uniform Matching to balance positive anchor assignment, YOLOF matches RetinaNet's performance while being 2.5× faster and outperforms DETR in convergence speed, achieving 44.3 mAP at 60 fps on 2080Ti with 608×608 input.
This paper revisits feature pyramids networks (FPN) for one-stage detectors and points out that the success of FPN is due to its divide-and-conquer solution to the optimization problem in object detection rather than multi-scale feature fusion. From the perspective of optimization, we introduce an alternative way to address the problem instead of adopting the complex feature pyramids - {\em utilizing only one-level feature for detection}. Based on the simple and efficient solution, we present You Only Look One-level Feature (YOLOF). In our method, two key components, Dilated Encoder and Uniform Matching, are proposed and bring considerable improvements. Extensive experiments on the COCO benchmark prove the effectiveness of the proposed model. Our YOLOF achieves comparable results with its feature pyramids counterpart RetinaNet while being $2.5 imes$ faster. Without transformer layers, YOLOF can match the performance of DETR in a single-level feature manner with $7 imes$ less training epochs. With an image size of $608 imes608$, YOLOF achieves 44.3 mAP running at 60 fps on 2080Ti, which is $13\%$ faster than YOLOv4. Code is available at \url{https://github.com/megvii-model/YOLOF}.
Motivation & Objective
- To investigate whether multi-scale feature fusion or divide-and-conquer is the primary reason for FPN's success in one-stage detectors.
- To challenge the assumption that complex feature pyramid fusion is essential for high performance in one-stage detectors.
- To develop a simple, efficient alternative to FPN-based detectors using only a single feature level.
- To improve single-level feature detection by addressing the lack of multi-scale context and anchor imbalance.
- To achieve state-of-the-art speed-accuracy trade-offs without using transformer modules or complex architectures.
Proposed method
- Proposes a single-level feature detector, YOLOF, using only the C5 feature map (downsample rate 32) from a backbone network.
- Introduces the Dilated Encoder, a modified backbone with dilated convolutions to increase感受 field and capture multi-scale context without additional feature levels.
- Employs Uniform Matching to re-balance positive anchor assignment by selecting the top-k highest IoU anchors uniformly across the feature map, reducing imbalance from sparse anchors.
- Uses a three-phase training schedule with learning rate decay and SWA (Sharpness-Aware Minimization) for improved generalization.
- Adopts a modified anchor setting with five anchors per location (areas 32² to 512², aspect ratio 1) to cover all object scales on a single feature map.
- Employs ATSS with k=15 (not k=9) for better positive sample selection, validated through ablation.
Experimental results
Research questions
- RQ1Is multi-scale feature fusion the main reason for FPN's success in one-stage detectors, or is the divide-and-conquer strategy more critical?
- RQ2Can a one-stage detector achieve competitive performance using only a single feature level, without explicit multi-scale feature fusion?
- RQ3How can the performance gap between single-level and multi-level feature detectors be bridged without adding complexity?
- RQ4What are the optimal hyperparameters and training strategies for a single-level detector to match or exceed FPN-based models?
- RQ5Can a single-level detector converge faster and achieve better accuracy than transformer-based detectors like DETR?
Key findings
- The SiMo encoder (single input, multiple outputs) achieves within 1 mAP of the MiMo (FPN) encoder, indicating that multi-scale feature fusion is less critical than previously believed.
- The MiSo and SiSo encoders suffer a drop of over 12 mAP, confirming that divide-and-conquer via scale-based sub-problem decomposition is essential for optimization.
- YOLOF with a single C5 feature achieves 39.2 mAP on COCO with ResNet-50, comparable to RetinaNet (39.1 mAP) but 2.5× faster.
- YOLOF-DC5 (dilated C5 with downsample rate 16) achieves 40.5 mAP with ResNet-101, outperforming standard YOLOF and running at 17 FPS.
- YOLOF achieves 44.3 mAP at 60 fps on 2080Ti with 608×608 input, which is 13% faster than YOLOv4, demonstrating strong speed-accuracy trade-off.
- YOLOF converges 7× faster than DETR in terms of training epochs while matching its final performance, even without transformer layers.
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.