Abstract
The attention mechanism plays a crucial role in enhancing model performance by guiding the model to focus on important features. However, existing attention mechanism methods primarily concentrate on learning attention features within individual modules while ignoring interactions among overall attention features. To overcome this limitation, we propose a dense skip-attention method for convolutional networks - a simple but effective approach to boost performance. Our method establishes dense skip-attention connections that interconnect all attention modules, forcing the model to learn interactive attention features within the network architecture. We conduct extensive experiments on the ImageNet 2012 and Microsoft COCO (MS COCO) 2017 datasets to validate the effectiveness of our approach. The experimental results demonstrate that our method improves the performance of existing attention mechanism methods, such as Squeeze-and-Excitation Networks, Efficient Channel Attention Networks and Convolutional Block Attention Module, in tasks like image classification, object detection, and instance segmentation. Notably, it achieves these improvements without significantly increasing model parameters or computational cost, maintaining minimal impact on both aspects.
Introduction
In modern computer vision, attention mechanisms—like Squeeze-and-Excitation (SE) or the Convolutional Block Attention Module (CBAM)—help models focus on relevant parts of an image. However, these modules are typically treated as isolated components within individual residual blocks. This modular design creates a "structural bias" that prevents the model from learning correlations between different layers' attention features. Essentially, an attention module deep in the network has no access to the focus history of earlier layers. This lack of global information exchange limits the network's ability to capture long-range dependencies and comprehensive features.
To address this, we introduce Dense Skip-Attention (DSA), an architectural modification that establishes dense connections between attention modules across different layers. This enables "attention feature interaction," allowing the model to refine its focus based on the collective history of what the network has deemed important throughout its depth.
Methods
The Dense Skip-Attention Network (DSANet) implements a "plug-and-play" structure that follows a three-step process to break the isolation of traditional attention modules:
- Squeeze: To maintain low computational cost, input 3D feature maps are compressed into 1D vectors using Global Average Pooling.
- Fuse: This is the core innovation. The 1D vector from the current layer is concatenated with the 1D vectors from all preceding attention modules. This "history" of attention is then passed through a small convolution layer (with Batch Normalization and ReLU) to learn the interactions between them.
- Recalibrate: The fused feature is passed through an excitation block and then applied back to the original residual branch via element-wise multiplication.
This structure allows the network to "reuse" attention features from earlier layers, ensuring that the focus of the model is consistent and refined as data flows deeper into the architecture.
Experimental Results
The researchers evaluated the DSA method on the ImageNet 2012 (classification) and MS COCO 2017 (detection and segmentation) benchmarks. The method was tested as an enhancement to existing popular attention mechanisms (SE, ECA, and CBAM) across ResNet-50 and ResNet-101 backbones.
- ImageNet Classification: DSA-SENet-101 reduced the Top-1 error rate to 21.11%, a 1.27% improvement over the standard SENet-101.
- Object Detection (MS COCO): Using Faster R-CNN with a ResNet-50 backbone, adding DSA improved the Average Precision (AP) from 39.0 to 39.4.
- Instance Segmentation (MS COCO): Using Mask R-CNN, the DSA-SENet-50 achieved an AP of 36.4, outperforming the baseline SENet-50 (35.6).
- Efficiency: Because the dense connections happen between 1D "squeezed" vectors rather than high-dimensional 3D feature maps, the parameter overhead is nearly zero (approximately 0.001% increase).
Key Insights and Visual Analysis
A primary finding of this work is that attention features themselves carry valuable information that should be shared. By treating attention as a continuous, evolving signal rather than a local calculation, the model achieves better scene understanding. Furthermore, ablation studies confirmed that concatenation preserves the unique identity of each layer's attention better than simple summation.
Visual analysis via Grad-CAM heatmaps reveals that DSA models focus on broader, more complete regions of an object compared to standard attention models, which often focus on smaller, disjointed patches.
Conclusion and Future Work
Dense Skip-Attention provides a simple yet effective way to boost CNN performance with negligible cost. While the current focus is on CNN architectures, future work will explore integrating these dense skip-attention mechanisms into the self-attention structures of Transformer-based models. Additionally, the authors aim to investigate the synergistic effects of combining different attention strategies within the same dense framework to further enhance feature representation.
Summary updated