DeepMiner: Discovering Interpretable Representations for Mammogram Classification and Explanation

Jimmy Wu, Bolei Zhou, Diondra Peck, Scott S. Hsieh, Vandana Dialani, Lester Mackey, Geneviève Patterson

Abstract

We propose DeepMiner, a framework to discover interpretable representations in deep neural networks and to build explanations for medical predictions. By probing convolutional neural networks (CNNs) trained to classify cancer in mammograms, we show that many individual units in the final convolutional layer of a CNN respond strongly to diseased tissue concepts specified by the Breast Imaging-Reporting and Data System (BI-RADS) lexicon. After expert annotation of the interpretable units, our proposed method is able to generate explanations for CNN mammogram classification that are consistent with ground truth radiology reports on the Digital Database for Screening Mammography. We show that DeepMiner not only enables better understanding of the nuances of CNN classification decisions but also possibly discovers new visual knowledge relevant to medical diagnosis.

Introduction: Addressing the Semantic Gap in Medical AI

Deep learning models, particularly Convolutional Neural Networks (CNNs), have achieved remarkable performance in medical imaging but are often criticized as "black boxes." In high-stakes clinical environments, this lack of transparency is a significant barrier to adoption. While existing interpretability methods like saliency maps or heatmaps indicate where a network is looking, they fail to explain what visual features the network is actually detecting. A heatmap might highlight a suspicious region without clarifying if the model is responding to a specific type of mass, calcification, or a technical artifact. DeepMiner addresses this semantic gap by connecting the internal activations of a network to the standardized medical vocabulary (BI-RADS) used by radiologists.

The DeepMiner Framework

The researchers developed a three-phase framework to bridge the gap between deep learning features and clinical concepts:

Overview of the DeepMiner framework showing training, expert annotation, and testing phases.
  1. Training: A ResNet-152 architecture was fine-tuned to classify mammogram patches as normal, benign, or malignant.
  2. Unit Discovery & Annotation: The framework focuses on the final convolutional layer, identifying the 20 most "influential" units for each classification category. A custom web interface allows radiologists to view image patches that strongly activate these units and label them with standard medical terms (e.g., "masses with lumpy calcifications").
  3. Explanation Generation: For new predictions, the system ranks the annotated units most active in the image. It generates a text-based summary of these "visual primitives" and a Class Activation Map (CAM) to localize these features.

Expert-in-the-Loop Annotation

The custom web interface used by radiologists to annotate influential units within the CNN. Source, p. 6

The custom web interface used by radiologists to annotate influential units within the CNN.

Traditional medical image annotation—such as drawing detailed polygons around every lesion—is labor-intensive. DeepMiner improves efficiency by having experts annotate the network's units rather than individual images. The authors estimate that labeling the 60 most influential units takes approximately 30 minutes, whereas labeling the entire training dataset would require over 160 hours of expert time.

Datasets and Experimental Setup

The study utilized the Digital Database for Screening Mammography (DDSM), a benchmark containing 2,620 cases with BI-RADS ratings and pixel-wise lesion segmentations. This dataset served both for training the patch-based classifier and for validating the generated explanations against ground-truth radiology reports.

Key Insights

  • Emergent Medical Knowledge: Despite being trained only on coarse labels (Benign vs. Malignant), the CNN's internal units spontaneously learned to detect specific medical phenomena defined in the BI-RADS lexicon. The network "discovered" these concepts as optimal features for the classification task.
  • Human-AI Collaboration: DeepMiner allows the AI to act as a discovery tool. By visualizing what the network finds influential, researchers may identify new visual biomarkers or nuances previously overlooked by human practitioners.

Results

  • Classification Performance: The model achieved an Area Under the Curve (AUC) of 0.872 for malignant cases, performing comparably to state-of-the-art single-network models on the DDSM dataset.
  • Semantic Alignment: Of the 60 units selected for annotation, 46 (76%) were identified by experts as representing clear, nameable medical phenomena.
  • Diagnostic Utility of Explanations: In a "blind" test, an expert classified cases using only the text-based explanations generated by DeepMiner (without seeing the images). The expert correctly classified 182 out of 330 cases, a result that is statistically significant (p = 0.0346) compared to random guessing, confirming that the AI's internal representations carry genuine diagnostic weight.

Limitations and Future Work

While DeepMiner significantly advances explainable AI in medicine, it still requires a baseline of expert time for initial unit annotation. The current study serves as a proof-of-concept in mammography, where visual vocabulary is well-established. Future research will explore applying DeepMiner to rarer diseases or newer imaging modalities where diagnostic "visual primitives" are not yet fully understood. Additionally, incorporating auxiliary data like genetic risk scores could further enhance the network's predictive and explanatory power.

Summary updated

BibTeX
@article{wu2021deepminer,
  author = {Jimmy Wu and Bolei Zhou and Diondra Peck and Scott S. Hsieh and Vandana Dialani and Lester Mackey and Geneviève Patterson},
  title = {{DeepMiner: Discovering Interpretable Representations for Mammogram Classification and Explanation}},
  journal = {Harvard Data Science Review},
  year = {2021},
  doi = {10.1162/99608f92.8b81b005},
}
Figure