Abstract
Feature aggregation is a cornerstone of modern deep learning architectures, yet standard methods like element-wise summation or concatenation often fail to account for semantic inconsistencies between layers. This paper proposes DEPLA (DEtect-rePLAce), a learnable module that treats feature aggregation as a two-stage process: detecting regions in a base feature map that require updates and replacing them with pooled information from a candidate map. DEPLA is a plug-and-play component that consistently improves performance in image classification, object detection, and instance segmentation tasks with negligible increases in computational cost.
Introduction
In modern deep learning, skip connections (e.g., ResNet) and feature pyramids (FPNs) are ubiquitous tools for combining low-level textures with high-level semantics. However, the standard mechanism for this aggregation—simple addition or concatenation—is surprisingly primitive. These methods assume that features at the same spatial coordinates across different depths represent compatible semantic concepts, which is often not the case. Forcing these features together can introduce noise and inconsistent patterns.
The authors argue for a more intelligent approach: a network should decide which parts of a feature map to update and what information to use for that update. DEPLA addresses this by moving beyond blind blending to a "detect-then-aggregate" paradigm, allowing for surgical updates to feature maps based on learned relevance.
Methodology
The DEPLA module takes two inputs: an identity feature ($X$) and a candidate feature ($Y$). It processes them through three primary sub-components to produce a refined output.
1. Soft Region Proposal Network (SoftRPN)
The SoftRPN analyzes the identity feature $X$ to generate "ROI Maps." These maps function as a probability mask, identifying spatial locations in $X$ that are most likely to benefit from an update. Because these maps are generated using a Softmax function, they are fully differentiable, allowing the entire module to be trained end-to-end.
2. Soft ROI Pooling
Using the ROI Maps from the SoftRPN, this component summarizes the candidate feature $Y$. It performs weighted pooling to extract the most useful information from $Y$ that corresponds to the regions identified as needing updates in $X$. This allows the network to "look around" the candidate feature map rather than being restricted to a single pixel-to-pixel correspondence.
3. Back-Filling Network (BFN)
Finally, the summarized information is mapped back into the spatial dimensions of the original feature map. The authors propose two versions: a Plain BFN, which uses fixed confidence maps, and an Adaptive BFN, which calculates an affinity between $X$ and the summarized features to ensure better compatibility during the fusion process.
Experimental Results
The researchers evaluated DEPLA across major computer vision benchmarks, including ImageNet-1k for classification and MS COCO 2017 for detection and segmentation.
- ImageNet Classification: A ResNet-50 backbone equipped with DEPLA achieved a 78.6% top-1 accuracy, a +1.7% improvement over the baseline. With advanced training techniques, this reached 80.6%, outperforming significantly larger models while maintaining comparable computational complexity (4.5 GFLOPS vs. 4.1 GFLOPS).
- Object Detection & Segmentation: When integrated into a Mask R-CNN with a FishNet-150 backbone on MS COCO, DEPLA improved the Box AP by 2.6% and Mask AP by 2.4%. Notably, the module showed significant gains in detecting small objects, likely because its selective update mechanism prevents small details from being washed out by global feature blending.
Key Insights and Conclusion
DEPLA's success stems from its ability to handle semantic mismatch. By allowing the network to selectively aggregate features, it preserves the integrity of the base layer while injecting new information only where it matters. This "plug-and-play" compatibility was demonstrated across various architectures, including ResNet, SE-ResNet, and FPNs.
While the module introduces some architectural complexity and a temperature hyperparameter for the SoftRPN, its efficiency and performance gains make it a compelling alternative to standard skip connections. Future work may explore applying this "detect-then-replace" logic to dynamic architectures or temporal data like video, where spatial consistency is even more critical.
Summary updated