NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Benchmarking the influence of pre-training on explanation performance in MR image classification

Marta Oliveira, Rick Wilming, Benedict Clark, Céline Budding, Fabian Eitel, Kerstin Ritter, Stefan Haufe

Introduction

Deep learning models, particularly Convolutional Neural Networks (CNNs), have demonstrated remarkable success in medical image classification. However, their "black box" nature remains a significant barrier to clinical adoption. In high-stakes medical environments, clinicians require more than just a classification label; they need to understand the underlying features that drive a model's decision. This necessity has spurred the development of Explainable AI (XAI) methods that generate saliency maps or "heatmaps" to highlight important image regions.

The Ground-Truth Challenge in XAI

A major hurdle in evaluating XAI methods for medical imaging is the lack of objective "ground truth." In real-world clinical datasets, it is rarely known with pixel-level precision which features a model should prioritize. Consequently, it is difficult to determine if a model is making correct predictions for the right reasons or if it is relying on spurious correlations or "suppressor variables" within the image.

Methodology: A Novel Synthetic Benchmark

To address this, researchers developed a controlled benchmark using 2D T1-weighted axial MRI slices from 1,007 healthy adults in the Human Connectome Project (HCP). They created a synthetic dataset by overlaying realistic artificial lesions onto these healthy scans, categorized into two classes: "regular" (round) and "irregular" (elongated) lesions.

Figure 5: Synthetic lesions overlaid on healthy MRI scans with blue outlines representing the ground-truth masks used for evaluating XAI precision.

Because these lesions were added programmatically, the researchers possessed a pixel-perfect ground-truth mask for every image. This allowed for the introduction of a new metric: Explanation Performance (EP), defined as the precision of the XAI heatmap—specifically, the percentage of "important" pixels that fall within the known lesion boundaries.

Experimental Setup

The study utilized the VGG-16 architecture to compare two distinct pre-training regimes:

  1. Out-of-domain: Pre-trained on natural images (ImageNet).
  2. Within-domain: Pre-trained on a separate MRI task (gender classification).

These models were fine-tuned on the lesion classification task to varying depths, from updating only the final layer to retraining the entire network. Eight popular XAI methods, including Integrated Gradients, Layer-wise Relevance Propagation (LRP), and Guided Backpropagation, were then evaluated.

Results: The Accuracy-Explanation Gap

The experiments revealed a critical "Accuracy-Explanation Gap." While nearly all models achieved over 90% classification accuracy regardless of the pre-training domain, their explanation quality varied significantly.

Domain Contamination

Models pre-trained on ImageNet consistently exhibited lower Explanation Performance compared to those pre-trained on MRI data. This suggests that "domain contamination" occurs when low-level filters learned from natural images (like cats and dogs) persist even after fine-tuning on medical scans. These filters can lead to noisier, less precise explanations, sometimes highlighting irrelevant brain structures or producing grid-like artifacts.

The Impact of Fine-tuning

While increasing the depth of fine-tuning generally improved explanation quality, the "ImageNet bias" proved difficult to overcome. In out-of-domain models, EP often plateaued or slightly declined at the highest levels of fine-tuning, whereas within-domain models maintained superior explanation precision.

Conclusion

This research demonstrates that high classification accuracy does not guarantee reliable explanations. The choice of pre-training data is a critical factor in the interpretability of medical AI. Within-domain pre-training significantly enhances the alignment between a model's focus and clinical ground truth, suggesting that the "universal features" learned from natural images may not be optimal for specialized medical tasks where explainability is paramount.

Summary updated

BibTeX
@article{oliveira2024benchmarking,
  author = {Marta Oliveira and Rick Wilming and Benedict Clark and Céline Budding and Fabian Eitel and Kerstin Ritter and Stefan Haufe},
  title = {{Benchmarking the influence of pre-training on explanation performance in MR image classification}},
  journal = {Frontiers Artif. Intell.},
  year = {2024},
  doi = {10.3389/frai.2024.1330919},
}
Figure