Pith. sign in

REVIEW 2 cited by

Class-Discriminative Attention Maps for Vision Transformers

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2312.02364 v3 pith:4ZIPUEER submitted 2023-12-04 cs.CV cs.AIcs.LGstat.ML

classification cs.CVcs.AIcs.LGstat.ML
keywords cdamimportanceattentionmapsclass-discriminativeestimatorsbenchmarksclass
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Importance estimators are explainability methods that quantify feature importance for deep neural networks (DNN). In vision transformers (ViT), the self-attention mechanism naturally leads to attention maps, which are sometimes interpreted as importance scores that indicate which input features ViT models are focusing on. However, attention maps do not account for signals from downstream tasks. To generate explanations that are sensitive to downstream tasks, we have developed class-discriminative attention maps (CDAM), a gradient-based extension that estimates feature importance with respect to a known class or a latent concept. CDAM scales attention scores by how relevant the corresponding tokens are for the predictions of a classifier head. In addition to targeting the supervised classifier, CDAM can explain an arbitrary concept shared by selected samples by measuring similarity in the latent space of ViT. Additionally, we introduce Smooth CDAM and Integrated CDAM, which average a series of CDAMs with slightly altered tokens. Our quantitative benchmarks include correctness, compactness, and class sensitivity, in comparison to 7 other importance estimators. Vanilla, Smooth, and Integrated CDAM excel across all three benchmarks. In particular, our results suggest that existing importance estimators may not provide sufficient class-sensitivity. We demonstrate the utility of CDAM in medical images by training and explaining malignancy and biomarker prediction models based on lung Computed Tomography (CT) scans. Overall, CDAM is shown to be highly class-discriminative and semantically relevant, while providing compact explanations.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. GViT: Representing Images as Gaussians for Visual Recognition

    cs.CV 2025-06 conditional novelty 7.0 of 10

    Images encoded as a few hundred learnable 2D Gaussians, steered by classifier gradients, support a ViT that reaches 76.9% top-1 on ImageNet-1k, close to patch-based ViTs.

  2. Enhancing Vision Transformer Explainability Using Artificial Astrocytes

    cs.CV 2025-05 reject novelty 4.0 of 10

    Adding artificial astrocyte modulation to the first attention block of a Vision Transformer improves the overlap of Grad-CAM and Grad-CAM++ heatmaps with human gaze maps on a subset of ClickMe.

Pith tools