Papers › ECA-Net: Efficient Channel Attention for Deep Convolutional Neural Networks

ECA-Net: Efficient Channel Attention for Deep Convolutional Neural Networks

8 Oct 2019CVPR 2020 6arXiv:1910.03151archive 2025-07-28

Qilong Wang, Banggu Wu, Pengfei Zhu, Peihua Li, WangMeng Zuo, QinGhua Hu

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.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 8 code samples harvested from 1 repository linked to this paper: 3 ran (of which 0 constructed an object rather than computing a result; 2 with no instrument failure: 0 honoured, 0 violated, 2 with no contract checked; 1 where Syntology's instrument failed) · 5 unverified. Where Syntology's instrument failed: 1 where our contract draft was wrong; failures of Syntology's instrument, not of the code.

By repository: official repository: 8 samples from 1 repository, 3 ran (2 with no instrument failure; 1 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

No sample is linked to this paper from 3 of its repositories that Syntology harvested for other papers:

Levels written on 2026-09-25 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed. 1 of the 3 samples that ran has no recorded date.

13 repositories listed; official and paper-mentioned ones first.

BangguWu/ECANet officialmentioned in papermentioned on GitHubpytorchMITSyntology: 8 samples, 3 ran (1 instrument-failed) · 5 unverified report
AndrzejMiskow/FER-with-Attention-and-Objective-Activation-Functions mentioned on GitHubtfSyntology: not harvested report
HaloTrouvaille/YOLO-Multi-Backbones-Attention mentioned on GitHubpytorchSyntology: not harvested report
JinLi711/Attention-Augmented-Convolution mentioned on GitHubtfSyntology: not harvested report
JinLi711/Convolution_Variants mentioned on GitHubtfSyntology: not harvested report
digantamisra98/Reproducibilty-Challenge-ECANET mentioned on GitHubpytorchSyntology: not harvested report
e96031413/AA-YOLO mentioned on GitHubpytorchSyntology: not harvested report
e96031413/PyTorch_YOLOv4-tiny mentioned on GitHubpytorchSyntology: not harvested report
mnikitin/channel-attention mentioned on GitHubmxnetSyntology: not harvested report
rwightman/pytorch-image-models mentioned on GitHubpytorchSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to AdamP: Slowing Down the Slowdown for Momentum Optimizers on Scale-invariant Weights (arXiv:2006.08217; that paper's own run record: 4 ran (of which 1 constructed an object rather than computing a result; 2 with no instrument failure: 1 honoured, 0 violated, 1 with no contract checked; 2 where Syntology's instrument failed) · 0 unverified); nothing checks that they implement this paper's method. report
xmu-xiaoma666/External-Attention-pytorch mentioned on GitHubpytorchSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to Attention Is All You Need (arXiv:1706.03762; that paper's own run record: 610 ran (of which 293 constructed an object rather than computing a result; 529 with no instrument failure: 45 honoured, 15 violated, 469 with no contract checked; 81 where Syntology's instrument failed) · 336 unverified), RepVGG: Making VGG-style ConvNets Great Again (arXiv:2101.03697; that paper's own run record: 13 ran (of which 7 constructed an object rather than computing a result; 8 with no instrument failure: 0 honoured, 0 violated, 8 with no contract checked; 5 where Syntology's instrument failed) · 3 unverified), Involution: Inverting the Inherence of Convolution for Visual Recognition (arXiv:2103.06255; that paper's own run record: 7 ran (of which 7 constructed an object rather than computing a result; 7 with no instrument failure: 0 honoured, 0 violated, 7 with no contract checked; 0 where Syntology's instrument failed) · 2 unverified; every one of the 7 samples that ran constructed an object rather than computing a result) and 4 more (every one in this page's JSON twin); nothing checks that they implement this paper's method. report
MindSpore-scientific/code-14 mindsporeSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data,... (arXiv:2306.01116; that paper's own run record: 4 ran (of which 0 constructed an object rather than computing a result; 4 with no instrument failure: 0 honoured, 0 violated, 4 with no contract checked; 0 where Syntology's instrument failed) · 0 unverified); nothing checks that they implement this paper's method. report
mindspore-courses/External-Attention-MindSpore mindsporeSyntology: not harvested report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

A paper named beside a repository with no sample linked to this paper is shown with that paper's own run record, not this paper's: “ran” means executed on a synthesized input, not that the code is correct, and “where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Papers are listed in arXiv-id order, at most three per repository.

Code Syntology ran Syntology

8 samples harvested: 3 ran (of which 0 constructed an object rather than computing a result; 2 with no instrument failure: 0 honoured, 0 violated, 2 with no contract checked; 1 where Syntology's instrument failed) · 5 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page has not changed since , the first build that kept a record date for it; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

1ran · our draft was wrong
2ran
5unverified

Licence: 1 of the 8 samples is pointer only, meaning Syntology does not serve that copy's text. For that sample, this paper's copy is under a permissive licence and cleared, but the stored copy of the same code that Syntology serves is not; the licence label's tooltip gives Syntology's recorded reason. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from BangguWu/ECANet. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of six reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.

BangguWu/ECANet official repository 8 samples, 3 ran (1 instrument-failed) · 5 unverified
accuracy in 872 papers
census: 8 implementations from 7 papers, 7 distinct outputs across 6 buckets, one shared input per bucket
light_main.py ran MIT (permissive) · 80752954f2a868b8 · report fixture: signature output:Tensor/2/float, target:Tensor/1/int, topk:tuple/1/int · returned list · level recorded 2026-09-25
clever_format paras_flops.py ran MIT (permissive) · 4f5864c4b2375362 · report fixture: signature nums:list/1/float, format:str/0/str · returned tuple · level recorded 2026-09-25
conv3x3 in 1,376 papers models/eca_resnet.py ran · our draft was wrong MIT (permissive) here; the stored copy is pointer only · fac5364e2f53c6db · report fixture: signature in_planes:int/0/int, out_planes:int/0/int, stride:int/0/int · returned Conv2d · level recorded, date not recorded
eca_mobilenet_v2 models/eca_mobilenetv2.py unverified MIT (permissive) · 28bd295d6e3e6606 · report
eca_resnet18 models/eca_resnet.py unverified MIT (permissive) · f6ab2bc32991ac5c · report
eca_resnet34 models/eca_resnet.py unverified MIT (permissive) · 05f5ff944e3e67da · report
train in 522 papers light_main.py unverified MIT (permissive) · aae02ce712945919 · report
validate in 313 papers light_main.py unverified MIT (permissive) · 78bcedada2ecc6df · report

Tasks

Dimensionality ReductionImage ClassificationInstance SegmentationObject DetectionSemantic Segmentationimage-classificationobject-detection

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Image Classification ImageNet ECA-Net (ResNet-152) GFLOPs 10.83 #798 of 1060 Archive leaderboard report
Image Classification ImageNet ECA-Net (ResNet-152) Number of params 57.40M #798 of 1060 Archive leaderboard report
Image Classification ImageNet ECA-Net (ResNet-152) Top 1 Accuracy 78.92% #798 of 1060 Archive leaderboard report
Image Classification ImageNet ECA-Net (ResNet-101) GFLOPs 7.35 #814 of 1060 Archive leaderboard report
Image Classification ImageNet ECA-Net (ResNet-101) Number of params 42.49M #814 of 1060 Archive leaderboard report
Image Classification ImageNet ECA-Net (ResNet-101) Top 1 Accuracy 78.65% #814 of 1060 Archive leaderboard report
Image Classification ImageNet ECA-Net (ResNet-50) GFLOPs 3.86 #874 of 1060 Archive leaderboard report
Image Classification ImageNet ECA-Net (ResNet-50) Number of params 24.37M #874 of 1060 Archive leaderboard report
Image Classification ImageNet ECA-Net (ResNet-50) Top 1 Accuracy 77.48% #874 of 1060 Archive leaderboard report
Image Classification ImageNet ECA-Net (MobileNetV2) GFLOPs 0.320 #994 of 1060 Archive leaderboard report
Image Classification ImageNet ECA-Net (MobileNetV2) Number of params 3.34M #994 of 1060 Archive leaderboard report
Image Classification ImageNet ECA-Net (MobileNetV2) Top 1 Accuracy 72.56% #994 of 1060 Archive leaderboard report
Object Detection DSEC ECANet mAP 25.7 #9 of 12 Archive leaderboard report
Object Detection PKU-DDD17-Car ECANet mAP50 82.2 #5 of 14 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Introduced by this paper: ECANet

1x1 ConvolutionAverage PoolingBatch NormalizationBottleneck Residual BlockConvolutionDense ConnectionsDepthwise ConvolutionDepthwise Separable ConvolutionECA-NetECANetEfficient Channel AttentionFPNFaster R-CNNFocal LossGlobal Average PoolingInverted Residual BlockKaiming InitializationMask R-CNNMax PoolingPointwise ConvolutionRPNRandom Horizontal FlipRandom Resized CropReLUResidual BlockResidual ConnectionRetinaNetRoIAlignRoIPoolSENetSGD with MomentumSigmoid ActivationSoftmaxSqueeze-and-Excitation BlockStep DecayWeight Decay

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections