English

CA-Stream: Attention-based pooling for interpretable image recognition

Computer Vision and Pattern Recognition 2024-04-24 v1

Abstract

Explanations obtained from transformer-based architectures in the form of raw attention, can be seen as a class-agnostic saliency map. Additionally, attention-based pooling serves as a form of masking the in feature space. Motivated by this observation, we design an attention-based pooling mechanism intended to replace Global Average Pooling (GAP) at inference. This mechanism, called Cross-Attention Stream (CA-Stream), comprises a stream of cross attention blocks interacting with features at different network depths. CA-Stream enhances interpretability in models, while preserving recognition performance.

Keywords

Cite

@article{arxiv.2404.14996,
  title  = {CA-Stream: Attention-based pooling for interpretable image recognition},
  author = {Felipe Torres and Hanwei Zhang and Ronan Sicre and Stéphane Ayache and Yannis Avrithis},
  journal= {arXiv preprint arXiv:2404.14996},
  year   = {2024}
}

Comments

CVPR XAI4CV workshop 2024

R2 v1 2026-06-28T16:03:37.875Z