SoftCAM: Making Black Box Models Self-Explainable for Medical Image Analysis

Abstract

Convolutional neural networks (CNNs) are widely used for high-stakes applications like medicine, often surpassing human performance. However, most explanation methods rely on post-hoc attribution, approximating the decision-making process of already trained black-box models. These methods are often sensitive, unreliable, and fail to reflect true model reasoning, limiting their trustworthiness in critical applications. In this work, we introduce SoftCAM, a straightforward yet effective approach that makes standard CNN architectures inherently interpretable. By removing the global average pooling layer and replacing the fully connected classification layer with a convolution-based class evidence layer, SoftCAM preserves spatial information and produces explicit class activation maps that form the basis of the model’s predictions. Evaluated on three medical datasets spanning three imaging modalities, SoftCAM maintains classification performance while significantly improving both the qualitative and quantitative explanation compared to existing post-hoc methods.

Cite

Text

Djoumessi and Berens. "SoftCAM: Making Black Box Models Self-Explainable for Medical Image Analysis." Proceedings of The 9th International Conference on Medical Imaging with Deep Learning, 2026.

Markdown

[Djoumessi and Berens. "SoftCAM: Making Black Box Models Self-Explainable for Medical Image Analysis." Proceedings of The 9th International Conference on Medical Imaging with Deep Learning, 2026.](https://mlanthology.org/midl/2026/djoumessi2026midl-softcam/)

BibTeX

@inproceedings{djoumessi2026midl-softcam,
  title     = {{SoftCAM: Making Black Box Models Self-Explainable for Medical Image Analysis}},
  author    = {Djoumessi, Kerol and Berens, Philipp},
  booktitle = {Proceedings of The 9th International Conference on Medical Imaging with Deep Learning},
  year      = {2026},
  pages     = {433-467},
  volume    = {315},
  url       = {https://mlanthology.org/midl/2026/djoumessi2026midl-softcam/}
}