cs.CVMar 27, 2026

TTE-CAM: Self-Explainable Class Activation Maps for Pretrained Black-Box CNNs

Authors: Kerol Djoumessi, Philipp Berens

Organizations: Hertie Institute for AI in Brain Health, University of Tübingen, Germany · Tübingen AI Center, University of Tübingen, Germany

Abstract

Convolutional neural networks (CNNs) achieve state-of-the-art performance in medical image analysis yet remain opaque, limiting adoption in high-stakes clinical settings. Existing approaches face a fundamental trade-off: post-hoc methods provide unfaithful approximate explanations, while inherently interpretable architectures are faithful but often sacrifice predictive performance. We introduce TTE-CAM, a test-time framework that bridges this gap by converting pretrained black-box CNNs into self-explainable models via a convolution-based replacement of their classification head, initialized from the original weights. The resulting model preserves black-box predictive performance while delivering built-in faithful explanations competitive with post-hoc methods, both qualitatively and quantitatively. The code is available at https://github.com/kdjoumessi/Test-Time-Explainability

Figures & tables

Explore similar work

CardsList
  1. Post-hoc Self-explanation of CNNs

    Mar 30, 2026Ahcène Boubekki, Line H. ClemmensenNeural Network InterpretabilityExplainable Image Classification

  2. Class Activation Mapping in Explainable Computer Vision: A Method-Centered Review of CNN, Transformer, and Foundation-Model-Era Visual Explanations

    Aug 12, 2026AmirHossein Eshghi, Hamid Saadatfar, Seyyed Ali Hoseini +2Transformer InterpretabilityFeature Attribution