What is spatial attention vs channel attention in CNN architectures?
Updated May 15, 2026
Short answer
Spatial attention focuses on 'where' important features are, while channel attention focuses on 'what' features are important.
Deep explanation
Channel attention (e.g., SE blocks) recalibrates feature maps by weighting channels based on global context. Spatial attention focuses on enhancing or suppressing specific spatial regions within feature maps. Combined (as in CBAM), they improve representational power by modeling both inter-channel relationships and spatial importance.
Unlock with a Pro subscription to view this section.
View pricingReal-world example
No real-world example available yet.
Unlock with a Pro subscription to view this section.
Upgrade to ProCommon mistakes
No common mistakes listed yet.
Unlock with a Pro subscription to view this section.
Upgrade to ProFollow-up questions
No follow-up questions available yet.
Unlock with a Pro subscription to view this section.
Upgrade to Pro