Channel Attention Recalibrates Maps
Channel attention scores each feature map for usefulness on this image, then turns up the telling channels and down the noise.
Why Does This Exist?
Convolutions add all channels equally once trained. On a dog photo, fur channels matter while sky channels distract, but fixed sums cannot adapt per image.
Gates fix that. This page focuses the channel half of convolutional layers recalibration, lifts image classification on clutter, and pairs with location cues for object detection.
Think of It Like This
A mixing desk riding vocal faders
An engineer pushes the vocal fader to 0.82 and pulls guitar bleed to 0.23 for this song only.
It fails when the meter misreads. Riding the wrong fader buries the lead, just as wrong gates mute the target channel.
How It Actually Works
Squeeze channel by global average , where is that feature map. Excite with , where is ReLU, is sigmoid, and is the gate. Rescale .
Worked example
Two channels pool to . Gates come out . The fur map scales by 0.82 while grass scales by 0.23, a ratio of . Accuracy moves 0.71 to 0.80. Cost is two tiny dense layers per block.
Watch Out For
Squeezing away location before gating
Global pooling erases where, keeping only how much. The symptom is better classification with worse small boxes. Keep channel gates for classification strength and add spatial cues when location matters.
The Quick Version
- Squeeze pools each map to one number , excite gates it to .
- Fixture gates 0.82 and 0.23 give a 3.57 to 1 emphasis.
- Gain 0.71 to 0.80 costs two small dense layers.
- Gates adapt per image, unlike fixed channel sums.
- Pooling loses location, so pair with spatial cues for detection.