TL;DR
Traditional Feature Pyramid Networks (FPNs) struggle to detect small objects and degrade when made deeper due to the shift-effects of pooling operations. This paper introduces the Residual Bi-Fusion Feature Pyramid Network (ReBiF), a lightweight, bidirectional network that recursively fuses multi-scale features using residual connections. ReBiF effectively preserves both localization and semantic information, achieving state-of-the-art accuracy and efficiency for both small and large objects.
What Problem Does This Paper Address?
Modern single-shot object detectors rely heavily on Feature Pyramid Networks (FPNs) to detect objects at various scales. FPNs typically use a top-down pathway to pass high-level semantic features down to shallower layers. However, the downsampling (pooling) operations used to build these pyramids are not shift-invariant. This "shift-effect" distorts precise spatial localization, meaning FPNs often perform poorly on small objects (e.g., smaller than $32\times32$ pixels).
Furthermore, adding more layers to a standard FPN actually degrades performance because positional errors compound across layers. While existing bidirectional networks attempt to solve this by adding bottom-up pathways, they often introduce heavy computational and memory overhead, making them impractical for real-time or embedded deployment.
Methods
The authors propose ReBiF, which introduces several novel components to achieve efficient, bidirectional feature fusion:
- CORE Module (COncatenation and REorganization): Instead of creating entirely new feature streams from raw images, the CORE module reuses feature maps from three adjacent layers (previous, current, and next) of the backbone network. It uses concatenation for top-down fusion and a spatial reorganization operation for bottom-up fusion, significantly saving memory and bandwidth.
- Purification Module: This block refines the fused features from the CORE module using bottleneck layers and $3\times3$ convolutions to reduce channel dimensionality and extract cleaner contextual features.
- ReCORE (Residual CORE): To prevent performance degradation when scaling up the pyramid, the authors wrap the CORE and Purification blocks in a residual formulation ($F^i = F^{i-1} + \Delta F^i$). This allows the network to be trained easily even when four or five pyramid scales are used.
- Bi-Fusion Module (BFM): To mitigate the shift-invariance issues caused by max-pooling, the BFM replaces standard "hand-crafted" concatenation with a learned $1\times1$ convolution to fuse down-sampled data with current layer features.
Datasets
The model was trained and evaluated on two standard computer vision benchmarks:
- MS COCO (Common Objects in Context): Used for comprehensive bounding box detection evaluation, scale-specific performance metrics ($AP_S, AP_M, AP_L$), and main ablation studies.
- PASCAL VOC 2012: Used specifically to evaluate the effect of increasing the number of feature pyramid scales.
Key Insights and Ideas
- More Layers Can Be Better (With Residuals): In standard FPNs, adding a 4th or 5th scale layer hurts performance (mAP drops from 70.10% to 68.41% on VOC). By framing the pyramid feature generation as a residual function, ReBiF reverses this trend, boosting mAP to 74.9% when scaling up to 5 layers.
- Learned Fusion Beats Concatenation: Standard bidirectional networks simply concatenate features from different levels. The authors demonstrate that a learned $1\times1$ convolution acts similarly to a "blur-pooling" filter, restoring shift-invariance and significantly boosting accuracy for both small and large objects.
- Efficiency via Feature Reuse: Instead of generating heavy auxiliary feature paths, ReBiF achieves bidirectional flow purely by shifting and reorganizing existing adjacent backbone layers, making it highly suitable for edge devices.
Key Results
- MS COCO Benchmarks: ReBiF-512 with a DarkNet-53 backbone achieved 36.8 AP at 42 FPS on an NVIDIA Titan X, outperforming YOLOv3 while maintaining real-time speeds. Switching to a ResNet-101 backbone pushed the accuracy to 38.0 AP.
- Small Object Improvement: On MS COCO, adding the Bi-Fusion Module (BFM) to a DarkNet-53 backbone boosted small object accuracy ($AP_S$) from 15.5 to 18.6.
- Embedded Performance: When evaluated on an NVIDIA Jetson TX2 using a lightweight Pelee backbone, ReBiF achieved 26.7 AP at 23 FPS, comfortably outperforming the baseline Pelee detector (22.4 AP) and other lightweight state-of-the-art models like PRN.
Limitations and Future Work
While ReBiF successfully mitigates pooling shift-effects and improves multi-scale feature fusion, it still operates within an anchor-based framework. Relying on predefined, handcrafted anchor boxes can limit the model's flexibility and generalization capability. As a next step, the authors plan to develop an anchor-free version of this architecture to further improve detection accuracy and streamline the pipeline.
Summary updated