atlas

Research map / Detection and segmentation / CNN features

Attention Guided CAM: Visual Explanations of Vision Transformer Guided by Self-Attention

AAAI 2024 · Detection and segmentation › CNN features · approach: Plain and high-resolution ViTs · 39 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Attention-Guided CAM, a gradient-based visualization for ViT that aggregates gradients along skip connections weighted by sigmoid-normalized self-attention, improving weakly-supervised localization and perturbation faithfulness over Attention Rollout and LRP.

Problem

Explaining ViT predictions with class-specific, high-semantic visual explanations; existing ViT methods (Attention Rollout, LRP) suffer from softmax peak intensities and scattered or non-class-specific heatmaps, hurting weakly-supervised localization.

Approach

Aggregate gradients from the class logit to each block's first-row self-attention via skip connections, and guide them with sigmoid-normalized attention scores as feature maps (instead of softmax) to reduce peak amplification, yielding a CAM for ViT.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use Attention Guided CAM instead of Attention RolloutViT-base · ImageNet ILSVRC 2012 valIoU: 0.3597 -> 0.5212Helped
Use Attention Guided CAM instead of Attention RolloutViT-base · Pascal VOC 2012 valIoU: 0.1645 -> 0.5335Helped
Use Attention Guided CAM instead of Attention RolloutViT-base · CUB 200 testIoU: 0.3097 -> 0.5836Helped
Use Attention Guided CAM instead of Attention RolloutViT-base · ImageNet ILSVRC 2012 valrecall: 0.4657 -> 0.6276Helped
Use Attention Guided CAM instead of LRP-based CAMViT-base · ImageNet ILSVRC 2012 valprecision: 0.9110 -> 0.8299Hurt
Use Attention Guided CAM instead of LRP-based CAMViT-base · Pascal VOC 2012 valprecision: 0.7651 -> 0.8167Helped
Use Attention Guided CAM instead of LRP-based CAMViT-base · CUB 200 testprecision: 0.9669 -> 0.8987Hurt
Use Attention Guided CAM instead of LRP-based CAMViT-base · ImageNet ILSVRC 2012ABPC: 0.3404 -> 0.3691Helped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet ILSVRC 2012 PASCAL VOC 2012 CUB-200-2011

Benchmarks: ImageNet ILSVRC 2012 PASCAL VOC 2012 CUB-200-2011

Metrics: pixel accuracy IoU dice (F1) precision recall ABPC

Baselines: Attention Rollout LRP-based method for ViT raw attention Grad-CAM full-LRP partial-LRP

Builds on: Class Activation Map Attention Rollout Layer-wise Relevance Propagation Grad-CAM

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy