Introduction
In modern computer vision, objects of interest appear at vastly different scales. Feature Pyramid Networks (FPNs) have become a standard architectural component to address this, combining high-resolution "shallow" features (optimized for small objects) with low-resolution "deep" features (rich in semantic meaning). However, a persistent paradox exists: while FPNs significantly improve small object detection ($AP_S$), they often degrade the performance for large objects ($AP_L$).
This research identifies the root cause as a training-time optimization failure. In standard FPN architectures, early backbone layers primarily receive gradient signals from small objects. This specialization prevents these layers from learning features necessary for large objects, effectively "starving" deeper layers of the structural information required for robust large-scale detection.
Methodology: Ensuring Homogeneous Representations
The authors propose the YSLAO (You Should Look at All Objects) framework, which focuses on correcting back-propagation paths so that every layer learns from every object size. The approach consists of two main components:
1. Auxiliary Objective Functions (YSLAO-Aux)
To ensure early backbone stages ($C_2, C_3, C_4$) maintain the ability to detect large objects, the authors introduce auxiliary loss functions directly at these stages. To prevent these signals from conflicting, they employ uncertainty-based weighting to dynamically balance the importance of different scale signals. These auxiliary heads are discarded after training, resulting in a performance boost with zero additional inference cost.
2. Feature Grouping and Cascade Structure
Beyond auxiliary losses, the paper introduces a "Feature Grouping" module. Unlike the standard top-down trickle of information, this module uses channel swapping and concatenation to ensure every level of the final feature pyramid ($P_2$ through $P_5$) contains direct information from every stage of the backbone. This is further refined through a coarse-to-fine cascade structure to create more robust feature representations.
Key Insights
- FPN as an Optimizer: The primary benefit of an FPN is not just feature fusion, but optimization. It provides a gradient "shortcut" to shallow layers, solving the vanishing gradient problem for small object detection.
- The Specialization Trap: The drop in $AP_L$ is a failure of the backbone to maintain "homogeneous representations." If early layers only learn to identify small details, they cannot provide the holistic context needed by deeper layers to identify large structures.
- Focus on the Backward Pass: While most research focuses on forward-pass feature combination, this work demonstrates that the distribution of gradients during the backward pass is equally critical for multi-scale performance.
Results and Performance
Evaluated on the MS COCO benchmark, the YSLAO method achieved consistent improvements of over 2% Average Precision (AP) across a wide range of detectors, including RetinaNet, Faster R-CNN, FCOS, and Swin-Transformer.
Crucially, YSLAO eliminates the traditional trade-off between small and large object accuracy. For instance, on RetinaNet, it improved $AP_L$ from 50.4% to 55.2% while simultaneously boosting $AP_S$. When applied to high-performance baselines like Cascade Mask R-CNN with a ResNeXt-101 backbone, the method pushed the AP from 46.6% to 50.1%.
Limitations and Future Work
While the auxiliary loss version (YSLAO-Aux) offers "free" performance gains at inference, the full "Cascade Feature Grouping" model introduces additional architectural complexity and a slight reduction in inference speed (e.g., a drop from 15.6 to 10.9 FPS in Faster R-CNN). Future research may focus on optimizing the Feature Grouping module to maintain these accuracy gains while improving computational efficiency for real-time applications.
Summary updated