CBAM: Convolutional Block Attention Module

Sanghyun Woo, Jongchan Park, Joon-Young Lee, In So Kweon
7/17/2018
27,260 citations
cs.CV
transformer-attention

No official code found. Best implementation: Jongchan/attention-module (2,235 stars, Python, MIT, last commit 2023-03-09). 3 more below.

Abstract

We propose Convolutional Block Attention Module (CBAM), a simple yet effective attention module for feed-forward convolutional neural networks. Given an intermediate feature map, our module sequentially infers attention maps along two separate dimensions, channel and spatial, then the attention maps are multiplied to the input feature map for adaptive feature refinement.

Show full abstract

Because CBAM is a lightweight and general module, it can be integrated into any CNN architectures seamlessly with negligible overheads and is end-to-end trainable along with base CNNs. We validate our CBAM through extensive experiments on ImageNet-1K, MS~COCO detection, and VOC~2007 detection datasets. Our experiments show consistent improvements in classification and detection performances with various models, demonstrating the wide applicability of CBAM. The code and models will be publicly available.

View on arXivView PDF

Code Implementations(4)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
Jongchan/attention-moduleCommunity2,235PythonMIT2023-03-09
luuuyi/CBAM.PyTorchCommunity1,504–––
elbuco1/CBAMCommunity133–––
Peachypie98/CBAMCommunity96–––
MIT

Official PyTorch code for "BAM: Bottleneck Attention Module (BMVC2018)" and "CBAM: Convolutional Block Attention Module (ECCV2018)"

2,235406Python, ShellOct 7, 20183 years agoMIT

Non-official implement of Paper:CBAM: Convolutional Block Attention Module

1,504288
elbuco1/CBAMCommunity25%

CBAM: Convolutional Block Attention Module for CIFAR10 on ResNet backbone with Pytorch

13331
Peachypie98/CBAMCommunity25%

CBAM: Convolutional Block Attention Module for CIFAR100 on VGG19

967

Similar Papers

Cite this paper

@article{woo2018cbam,
  title  = {CBAM: Convolutional Block Attention Module},
  author = {Sanghyun Woo and Jongchan Park and Joon-Young Lee and In So Kweon},
  year   = {2018},
  eprint = {1807.06521},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1807.06521}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1807.06521.svg)](https://codeofpaper.com/paper/1807.06521)

Discussion