{"id":3248,"date":"2025-07-16T23:39:54","date_gmt":"2025-07-16T15:39:54","guid":{"rendered":"https:\/\/www.gnn.club\/?p=3248"},"modified":"2025-07-16T23:39:54","modified_gmt":"2025-07-16T15:39:54","slug":"sanet","status":"publish","type":"post","link":"http:\/\/www.gnn.club\/?p=3248","title":{"rendered":"SANet"},"content":{"rendered":"<h1>\u57fa\u672c\u4fe1\u606f<\/h1>\n<ul>\n<li>\n<p>\ud83d\udcf0\u6807\u9898: SA-NET: SHUFFLE ATTENTION FOR DEEP CONVOLUTIONAL NEURAL NETWORKS<\/p>\n<\/li>\n<li>\n<p>\ud83d\udd8b\ufe0f\u4f5c\u8005: Qing-Long Zhang<\/p>\n<\/li>\n<li>\n<p>\ud83c\udfdb\ufe0f\u673a\u6784: State Key Laboratory for Novel Software Technology at Nanjing University\uff08\u5357\u4eac\u5927\u5b66\u8ba1\u7b97\u673a\u8f6f\u4ef6\u65b0\u6280\u672f\u56fd\u5bb6\u91cd\u70b9\u5b9e\u9a8c\u5ba4\uff09<\/p>\n<\/li>\n<li>\n<p>\ud83d\udd17\u94fe\u63a5: <a href=\"https:\/\/github.com\/wofmanaf\/SA-Net\">SA-Net GitHub<\/a><\/p>\n<\/li>\n<li>\n<p>\ud83d\udd25\u5173\u952e\u8bcd: spatial attention, channel attention, channel shuffle, grouped features<\/p>\n<\/li>\n<\/ul>\n<h2>\u6458\u8981\u6982\u8ff0<\/h2>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"5\" style=\"border-collapse: collapse; width: 100%;\">\n<thead>\n<tr>\n<th style=\"border: 1px solid #ddd; padding: 8px; text-align: left;\">\u9879\u76ee<\/th>\n<th style=\"border: 1px solid #ddd; padding: 8px; text-align: left;\">\u5185\u5bb9<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"border: 1px solid #ddd; padding: 8px;\">\ud83d\udcd6\u7814\u7a76\u80cc\u666f<\/td>\n<td style=\"border: 1px solid #ddd; padding: 8px;\">\u6ce8\u610f\u529b\u673a\u5236\uff08spatial\/channel attention\uff09\u5df2\u6210\u4e3a\u63d0\u5347\u6df1\u5ea6\u795e\u7ecf\u7f51\u7edc\u6027\u80fd\u7684\u5173\u952e\u7ec4\u4ef6\uff0c\u4f46\u878d\u5408\u4e8c\u8005\u4f1a\u663e\u8457\u589e\u52a0\u8ba1\u7b97\u5f00\u9500\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ddd; padding: 8px;\">\ud83c\udfaf\u7814\u7a76\u76ee\u7684<\/td>\n<td style=\"border: 1px solid #ddd; padding: 8px;\">\u63d0\u51fa\u9ad8\u6548Shuffle Attention\uff08SA\uff09\u6a21\u5757\uff0c\u4ee5\u4f4e\u8ba1\u7b97\u6210\u672c\u6574\u5408\u4e24\u79cd\u6ce8\u610f\u529b\u673a\u5236\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ddd; padding: 8px;\">\u270d\ufe0f\u7814\u7a76\u65b9\u6cd5<\/td>\n<td style=\"border: 1px solid #ddd; padding: 8px;\">\u5206\u7ec4\u901a\u9053\u7279\u5f81\u2192\u5e76\u884c\u5904\u7406\u2192Shuffle Unit\u5efa\u6a21\u7a7a\u95f4\/\u901a\u9053\u4f9d\u8d56\u2192\u901a\u9053\u6df7\u6d17\u5b9e\u73b0\u8de8\u7ec4\u4fe1\u606f\u4ea4\u4e92\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ddd; padding: 8px;\">\ud83d\udd4a\ufe0f\u7814\u7a76\u5bf9\u8c61<\/td>\n<td style=\"border: 1px solid #ddd; padding: 8px;\">ImageNet-1k\uff08\u5206\u7c7b\uff09\u3001MS COCO\uff08\u76ee\u6807\u68c0\u6d4b\/\u5b9e\u4f8b\u5206\u5272\uff09\u7b49\u57fa\u51c6\u6570\u636e\u96c6\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ddd; padding: 8px;\">\ud83d\udd0d\u7814\u7a76\u7ed3\u8bba<\/td>\n<td style=\"border: 1px solid #ddd; padding: 8px;\">SA\u5728ResNet50\u4e0a\u4ec5\u589e\u52a0300\u53c2\u6570\/2.76e-3 GFLOPs\uff0cTop-1\u51c6\u786e\u7387\u63d0\u5347>1.34%\uff0c\u6a21\u578b\u590d\u6742\u5ea6\u4f4e\u4e8eSOTA\u65b9\u6cd5\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ddd; padding: 8px;\">\u2b50\u521b\u65b0\u70b9<\/td>\n<td style=\"border: 1px solid #ddd; padding: 8px;\">\u901a\u8fc7\u5206\u7ec4\u548c\u901a\u9053\u6df7\u6d17\u5b9e\u73b0\u9ad8\u6548\u7279\u5f81\u4ea4\u4e92\uff0c\u5e73\u8861\u6027\u80fd\u4e0e\u8ba1\u7b97\u6548\u7387\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h1>\u80cc\u666f<\/h1>\n<ul>\n<li>\n<p><strong>\u7814\u7a76\u80cc\u666f<\/strong>\uff1a\u6ce8\u610f\u529b\u673a\u5236\uff08channel\/spatial attention\uff09\u901a\u8fc7\u589e\u5f3a\u5173\u952e\u7279\u5f81\u6291\u5236\u566a\u58f0\uff0c\u663e\u8457\u63d0\u5347\u8ba1\u7b97\u673a\u89c6\u89c9\u4efb\u52a1\u6027\u80fd\uff0c\u4f46\u73b0\u6709\u65b9\u6cd5\u96be\u4ee5\u9ad8\u6548\u878d\u5408\u4e24\u79cd\u6ce8\u610f\u529b\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u8fc7\u53bb\u65b9\u6848<\/strong>\uff1a<\/p>\n<ul>\n<li>\n<p><strong>\u6df7\u5408\u5f0f<\/strong>\uff1aGCNet\/CBAM\u7b49\u878d\u5408\u53cc\u6ce8\u610f\u529b\u4f46\u5b58\u5728\u8ba1\u7b97\u590d\u6742\u5ea6\u9ad8\u3001\u6536\u655b\u56f0\u96be\u95ee\u9898\uff1b<\/p>\n<\/li>\n<li>\n<p><strong>\u7b80\u5316\u5f0f<\/strong>\uff1aECA-Net\u7b80\u5316channel attention\u8ba1\u7b97\uff0cSGE\u5206\u7ec4\u5904\u7406spatial attention\uff0c\u4f46\u5747\u672a\u5145\u5206\u5229\u7528\u53cc\u6ce8\u610f\u529b\u534f\u540c\u6548\u5e94\u3002<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u7814\u7a76\u52a8\u673a<\/strong>\uff1a\u57fa\u4e8eShuffleNet\u591a\u5206\u652f\u5e76\u884c\u4e0eSGE\u5206\u7ec4\u7b56\u7565\uff0c\u63d0\u51fa\u8f7b\u91cf\u5316Shuffle Attention\u6a21\u5757\uff0c\u901a\u8fc7\u5206\u7ec4\u7279\u5f81\u4e0e\u901a\u9053\u6df7\u6d17\u5b9e\u73b0\u9ad8\u6548\u53cc\u6ce8\u610f\u529b\u878d\u5408\uff0c\u89e3\u51b3\u6027\u80fd\u4e0e\u8ba1\u7b97\u6548\u7387\u7684\u5e73\u8861\u95ee\u9898\u3002<\/p>\n<\/li>\n<\/ul>\n<h1>\u65b9\u6cd5<\/h1>\n<ul>\n<li>\n<p><strong>\u7406\u8bba\u80cc\u666f<\/strong>\uff1a<br \/>\n\u57fa\u4e8e\u6ce8\u610f\u529b\u673a\u5236\u4e2dchannel attention\u4e0espatial attention\u7684\u4e92\u8865\u6027\uff0c\u501f\u9274ShuffleNet\u7684group convolution\u4e0echannel shuffle\u601d\u60f3\uff0c\u63d0\u51fa\u901a\u8fc7\u7279\u5f81\u5206\u7ec4\u5e76\u884c\u5904\u7406\u5b9e\u73b0\u53cc\u6ce8\u610f\u529b\u9ad8\u6548\u534f\u540c\u3002\u7406\u8bba\u6838\u5fc3\u5728\u4e8e\uff1a<br \/>\n1) \u5206\u7ec4\u7279\u5f81\u53ef\u964d\u4f4e\u8ba1\u7b97\u590d\u6742\u5ea6\uff1b<br \/>\n2) \u901a\u9053\u6df7\u6d17\uff08channel shuffle\uff09\u80fd\u4fdd\u6301\u8de8\u7ec4\u4fe1\u606f\u4ea4\u4e92\uff1b<br \/>\n3) \u5e76\u884c\u5206\u652f\u7ed3\u6784\u53ef\u4fdd\u7559\u7a7a\u95f4-\u901a\u9053\u6ce8\u610f\u529b\u72ec\u7acb\u6027\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u6280\u672f\u8def\u7ebf<\/strong>\uff1a<br \/>\n<img decoding=\"async\" src=\"https:\/\/gnnclub-1311496010.cos.ap-beijing.myqcloud.com\/wp-content\/uploads\/2025\/07\/20250716233858936.png\" alt=\"file\" \/><br \/>\n<strong>1\uff0e\u6a21\u5757\u8f93\u5165\u4e0e\u7279\u5f81\u5206\u7ec4<\/strong><\/p>\n<\/li>\n<li>\n<p>\u8f93\u5165\u7279\u5f81\u56fe\uff1a\u6a21\u5757\u63a5\u6536\u8f93\u5165\u7279\u5f81\u56fe $X \\in \\mathbb{R}^{C \\times H \\times W}$ \uff0c\u5176\u4e2d $C$ \u4e3a\u901a\u9053\u6570\uff0c$H \\times W$ \u4e3a\u7a7a\u95f4\u5c3a\u5bf8\u3002<\/p>\n<\/li>\n<li>\n<p>\u5206\u7ec4\u7b56\u7565\uff1a\u6cbf\u901a\u9053\u7ef4\u5ea6\u5c06 $X$ \u5212\u5206\u4e3a $G$ \u7ec4\uff08\u9ed8\u8ba4 $G=64$ \uff09\uff0c\u6bcf\u7ec4\u5b50\u7279\u5f81 $X_k \\in \\mathbb{R}^{C \/ G \\times H \\times W}$ \u3002<\/p>\n<\/li>\n<\/ul>\n<p><strong>2\uff0e\u5e76\u884c\u53cc\u5206\u652f\u6ce8\u610f\u529b\u673a\u5236<\/strong><br \/>\n\u6bcf\u4e2a\u5b50\u7279\u5f81 $X_k$ \u8fdb\u4e00\u6b65\u62c6\u5206\u4e3a\u4e24\u4e2a\u5206\u652f\uff08\u5404 $C \/ 2 G$ \u901a\u9053\uff09\uff0c\u5206\u522b\u5904\u7406\u901a\u9053\u6ce8\u610f\u529b\u548c\u7a7a\u95f4\u6ce8\u610f\u529b\uff1a<br \/>\n\uff08a\uff09\u901a\u9053\u6ce8\u610f\u529b\u5206\u652f<\/p>\n<ul>\n<li>\u5168\u5c40\u6c60\u5316\uff1a\u901a\u8fc7\u5168\u5c40\u5e73\u5747\u6c60\u5316\uff08GAP\uff09\u751f\u6210\u901a\u9053\u7edf\u8ba1\u91cf $s \\in \\mathbb{R}^{C \/ 2 G \\times 1 \\times 1}$ \uff0c\u538b\u7f29\u7a7a\u95f4\u4fe1\u606f\uff09\u3002<\/li>\n<li>\u81ea\u9002\u5e94\u6821\u51c6\uff1a\u4f7f\u7528\u53ef\u5b66\u4e60\u7684\u7f29\u653e\u53c2\u6570 $W_1$ \u548c\u504f\u7f6e $b_1$ \u8c03\u6574\u901a\u9053\u6743\u91cd\uff0c\u901a\u8fc7Sigmoid\u6fc0\u6d3b\u751f\u6210\u6ce8\u610f\u529b\u63a9\u7801\u3002<\/li>\n<li>\u8f7b\u91cf\u5316\u8bbe\u8ba1\uff1a\u76f8\u6bd4SENet\u7684FC\u5c42\uff0c\u53c2\u6570\u91cf\u66f4\u5c11<\/li>\n<\/ul>\n<p>\uff08b\uff09\u7a7a\u95f4\u6ce8\u610f\u529b\u5206\u652f<\/p>\n<ul>\n<li>\u5f52\u4e00\u5316\uff1a\u5bf9\u8f93\u5165 $X_{k 2}$ \u5e94\u7528\u7ec4\u5f52\u4e00\u5316\uff08Group Norm\uff09\uff3bWu and He\uff082018\uff09\uff3b25\uff3d\uff3d\uff0c\u7a33\u5b9a\u8bad\u7ec3\u5e76\u589e\u5f3a\u7a7a\u95f4\u5206\u5e03\u4e00\u81f4\u6027\u3002<\/li>\n<li>\u7a7a\u95f4\u6743\u91cd\u751f\u6210\uff1a\u7c7b\u4f3c\u901a\u9053\u5206\u652f\uff0c\u901a\u8fc7\u53ef\u5b66\u4e60\u53c2\u6570 $W_2$ \u548c $b_2$ \u751f\u6210\u7a7a\u95f4\u6ce8\u610f\u529b\u56fe\u3002<\/li>\n<li>\u4e92\u8865\u6027\uff1a\u7a7a\u95f4\u6ce8\u610f\u529b\u805a\u7126\u201c\u4f55\u5904\u91cd\u8981\u201d\uff0c\u4e0e\u901a\u9053\u6ce8\u610f\u529b\u7684\u201c\u4f55\u901a\u9053\u91cd\u8981\u201d\u5f62\u6210\u4e92\u8865\u3002<\/li>\n<\/ul>\n<p><strong>3\uff0e\u7279\u5f81\u805a\u5408\u4e0e\u901a\u9053\u6df7\u6d17<\/strong><\/p>\n<ul>\n<li>\u5206\u652f\u62fc\u63a5\uff1a\u5c06\u4e24\u4e2a\u5206\u652f\u8f93\u51fa\u6cbf\u901a\u9053\u7ef4\u5ea6\u62fc\u63a5\u4e3a $X_k^{\\prime} \\in \\mathbb{R}^{C \/ G \\times H \\times W}$ \u3002<\/li>\n<li>\u8de8\u7ec4\u4fe1\u606f\u4ea4\u4e92\uff1a\u901a\u8fc7\u901a\u9053\u6df7\u6d17\uff08Channel Shuffle\uff09\uff3b\u8be6\u89c1ShuffleNet\uff3d\u6253\u4e71\u7ec4\u95f4\u901a\u9053\u987a\u5e8f\uff0c\u4fc3\u8fdb\u4e0d\u540c\u5b50\u7279\u5f81\u95f4\u7684\u4fe1\u606f\u6d41\u52a8\uff08\u6839\u636e\u5b9e\u9a8c\u9a8c\u8bc1\uff0c\u6df7\u6d17\u5e26\u6765 $0.4 \\%$ \u7cbe\u5ea6\u63d0\u5347\uff09\u3002<\/li>\n<\/ul>\n<p><strong>4. \u6a21\u5757\u8f93\u51fa\u4e0e\u6574\u4f53\u6d41\u7a0b<\/strong><\/p>\n<ul>\n<li>\u8f93\u51fa\u5c3a\u5bf8\uff1a\u6700\u7ec8\u8f93\u51fa\u4e0e\u8f93\u5165\u5c3a\u5bf8\u76f8\u540c\uff0c\u53ef\u76f4\u63a5\u5d4c\u5165\u73b0\u6709CNN\u67b6\u6784\uff08\u5982ResNet\uff09\u3002<\/li>\n<li>\u6548\u7387\u5bf9\u6bd4\uff1aSA\u6a21\u5757\u4ec5\u589e\u52a00.002M\u53c2\u6570\uff08ResNet50\u4e3a\u4f8b\uff09\uff0cFLOPs\u51e0\u4e4e\u4e0d\u53d8\uff0c\u4f46Top-1\u7cbe\u5ea6\u63d0\u53471.34% [1, Table 1]\u3002<\/li>\n<\/ul>\n<h1>\u7ed3\u8bba<\/h1>\n<ul>\n<li>\n<p>\u63d0\u51fa\u8f7b\u91cf\u5316Shuffle Attention\uff08SA\uff09\u6a21\u5757\uff0c\u901a\u8fc7\u5206\u7ec4\u5e76\u884c\u5904\u7406\u4e0e\u901a\u9053\u6df7\u6d17\u673a\u5236\uff0c\u5728\u51e0\u4e4e\u4e0d\u589e\u52a0\u8ba1\u7b97\u6210\u672c\uff08\u4ec52.76e-3 GFLOPs\uff09\u7684\u524d\u63d0\u4e0b\uff0c\u6709\u6548\u878d\u5408spatial\/channel\u53cc\u6ce8\u610f\u529b\uff0c\u663e\u8457\u63d0\u5347CNN\u7279\u5f81\u8868\u8fbe\u80fd\u529b<\/p>\n<\/li>\n<li>\n<p>\u4f18\u70b9\uff1a<br \/>\n1) \u91c7\u7528\u5206\u7ec4\u7b56\u7565\u4e0eShuffle Unit\u5b9e\u73b0\u8ba1\u7b97\u9ad8\u6548\u6027\uff1b<br \/>\n2) \u6a21\u5757\u5316\u8bbe\u8ba1\u517c\u5bb9\u4e3b\u6d41CNN\u67b6\u6784\uff1b<\/p>\n<\/li>\n<li>\n<p>\u7f3a\u70b9\uff1a\u672a\u8ba8\u8bba\u6781\u7aef\u5206\u7ec4\u6570\uff08\u5982G=1\u6216G=C\uff09\u5bf9\u6027\u80fd\u7684\u5f71\u54cd<\/p>\n<\/li>\n<li>\n<p>\u4e3b\u8981\u7ed3\u8bba\uff1a<br \/>\n(1) SA\u6a21\u5757\u901a\u8fc7\u5206\u7ec4\u7279\u5f81\u2192\u5e76\u884c\u5904\u7406\u2192\u901a\u9053\u6df7\u6d17\u7684\u4e09\u9636\u6bb5\u8bbe\u8ba1\uff0c\u5b9e\u73b0\u8de8\u7ef4\u5ea6\u6ce8\u610f\u529b\u534f\u540c\uff1b<br \/>\n(2) \u5728ResNet50\u7b49\u57fa\u51c6\u6a21\u578b\u4e0a\u9a8c\u8bc1\u5176\u6709\u6548\u6027\uff08Top-1\u51c6\u786e\u7387\u63d0\u5347&gt;1.34%\uff09\uff0c\u4e14\u53c2\u6570\u91cf\u4ec5\u589e\u52a0300\uff1b<br \/>\n(3) \u672a\u6765\u5c06\u6269\u5c55\u81f3ShuffleNet\/SKNet\u7b49\u8f7b\u91cf\u5316\u67b6\u6784<\/p>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u57fa\u672c\u4fe1\u606f \ud83d\udcf0\u6807\u9898: SA-NET: SHUFFLE ATTENTION FOR DEEP CONVOLUTIO [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30,18],"tags":[],"class_list":["post-3248","post","type-post","status-publish","format-standard","hentry","category-30","category-18"],"_links":{"self":[{"href":"http:\/\/www.gnn.club\/index.php?rest_route=\/wp\/v2\/posts\/3248","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.gnn.club\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.gnn.club\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.gnn.club\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.gnn.club\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3248"}],"version-history":[{"count":3,"href":"http:\/\/www.gnn.club\/index.php?rest_route=\/wp\/v2\/posts\/3248\/revisions"}],"predecessor-version":[{"id":3252,"href":"http:\/\/www.gnn.club\/index.php?rest_route=\/wp\/v2\/posts\/3248\/revisions\/3252"}],"wp:attachment":[{"href":"http:\/\/www.gnn.club\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3248"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.gnn.club\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3248"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.gnn.club\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3248"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}