Command Palette
Search for a command to run...
ECA-Net: Efficient Channel Attention for Deep Convolutional Neural Networks
Qilong Wang Banggu Wu Pengfei Zhu Peihua Li Wangmeng Zuo Qinghua Hu

Abstract
Recently, channel attention mechanism has demonstrated to offer great potential in improving the performance of deep convolutional neural networks (CNNs). However, most existing methods dedicate to developing more sophisticated attention modules for achieving better performance, which inevitably increase model complexity. To overcome the paradox of performance and complexity trade-off, this paper proposes an Efficient Channel Attention (ECA) module, which only involves a handful of parameters while bringing clear performance gain. By dissecting the channel attention module in SENet, we empirically show avoiding dimensionality reduction is important for learning channel attention, and appropriate cross-channel interaction can preserve performance while significantly decreasing model complexity. Therefore, we propose a local cross-channel interaction strategy without dimensionality reduction, which can be efficiently implemented via $1D$ convolution. Furthermore, we develop a method to adaptively select kernel size of $1D$ convolution, determining coverage of local cross-channel interaction. The proposed ECA module is efficient yet effective, e.g., the parameters and computations of our modules against backbone of ResNet50 are 80 vs. 24.37M and 4.7e-4 GFLOPs vs. 3.86 GFLOPs, respectively, and the performance boost is more than 2% in terms of Top-1 accuracy. We extensively evaluate our ECA module on image classification, object detection and instance segmentation with backbones of ResNets and MobileNetV2. The experimental results show our module is more efficient while performing favorably against its counterparts.
Code Repositories
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| image-classification-on-imagenet | ECA-Net (ResNet-152) | GFLOPs: 10.83 Number of params: 57.40M Top 1 Accuracy: 78.92% |
| image-classification-on-imagenet | ECA-Net (ResNet-50) | GFLOPs: 3.86 Number of params: 24.37M Top 1 Accuracy: 77.48% |
| image-classification-on-imagenet | ECA-Net (MobileNetV2) | GFLOPs: 0.320 Number of params: 3.34M Top 1 Accuracy: 72.56% |
| image-classification-on-imagenet | ECA-Net (ResNet-101) | GFLOPs: 7.35 Number of params: 42.49M Top 1 Accuracy: 78.65% |
| object-detection-on-dsec | ECANet | mAP: 25.7 |
| object-detection-on-pku-ddd17-car | ECANet | mAP50: 82.2 |
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.