Optimizing and Visualizing Deep Learning for Benign/Malignant Classification in Breast Tumors

Darvin Yi, Rebecca Lynn Sawyer, David Cohn Iii, Jared Dunnmon, Carson Lam, Xuerong Xiao, Daniel RubinarXiv 2017

TL;DR

This paper demonstrates that deep learning models trained from scratch on a relatively small mammography dataset (~1,000 patients) can significantly outperform traditional hand-crafted feature methods for breast tumor classification. By using an ensemble of lightweight GoogLeNets with shared weights across different X-ray views and a novel "Directed Dream" visualization technique, the authors achieve an 85% accuracy and prove that the network naturally learns clinically verified radiological features like tumor spiculation.

What Problem Does This Paper Address?

Computer-Assisted Diagnosis (CAD) tools for mammography traditionally rely on manually curated, hand-crafted features (such as texture and edge sharpness). This approach is tedious, domain-specific, and inherently biased toward existing radiological knowledge.

While deep learning offers a data-driven alternative that can automatically discover features and integrate multi-view data, medical datasets are often small, raising concerns about overfitting. Furthermore, deep models are frequently criticized as uninterpretable "black boxes." The authors tackle two main challenges:

  1. Can deep learning find a robust signal on a small mammography dataset when trained from scratch?
  2. Can we visualize and clinically validate what these networks are actually learning?

Methods

The authors design an end-to-end pipeline that avoids manual feature engineering but optimizes network architecture for multi-view medical images:

  • Preprocessing & Input Expansion: Mammograms are cropped to a $750 \times 750$ pixel region around a radiologist-provided seed pixel. To boost early feature detection, the authors apply an input basis expansion using 8 scales of Difference of Gaussian (DoG) filters, concatenating them with the original grayscale image to form a 9-channel input.
  • Multi-View Architectures: They evaluate several classic architectures (AlexNet, VGG16, GoogLeNet, InceptionV3, ResNet) under two multi-view paradigms:
  • Multi-modal training: Separate convolutional branches process the Craniocaudal (CC) and Mediolateral Oblique (MLO) views independently, concatenating their features before the final fully connected layer.
  • Parallel training: A single network with shared weights processes both views independently, and their softmax probability scores are averaged at test time.
Figure 2: Algorithm Design. (a) Two convolutional branches with distinct weights will feed in to the same fully connected network. (b) Weights for the MLO and CC networks are essentially shared since a single network is tasked with learning features from both views.
  • Ensembling: The best-performing parallel architecture is scaled into a saturated ensemble of 100 independent networks to minimize variance.
  • Directed Dream Visualization: To unpack the black box, they adapt the DeepDream algorithm. By using stochastic data modifications (random flipping, rotating, and masking out regions) combined with gradient ascent, they force the network to "hallucinate" features that maximize either the benign or malignant class score, revealing its internal representations.

Datasets

The authors evaluate their methods on a subset of the Digital Database for Screening Mammography (DDSM), a widely used public benchmark.

  • The subset contains 2,085 digital mammography images from 1,092 patients (53% benign, 47% malignant).
  • Each patient study contains two distinct projections: the Craniocaudal (CC) view and the Mediolateral Oblique (MLO) view.
  • The dataset is split into a training set (893 patients), a validation set (99 patients), and a held-out test set (100 patients). Traditional non-deep learning baselines were evaluated on a separate held-out test set of 206 patients.
Figure 1: Example of DDSM Data. Example CC and MLO views of a mammogram. The red square represents the crop of the image based off of the radiologist-annotated seed pixel.

Key Insights and Ideas

  • Weight Sharing Beats Separate Branches: Counterintuitively, the parallel training approach (shared weights) outperformed the multi-modal approach (separate branches). For small datasets, separate branches introduce too many degrees of freedom, leading to high variance error. Weight sharing effectively doubles the training data and forces the network to learn robust, view-invariant features.
  • Lightweight is Rightweight: Smaller, more compact networks like GoogLeNet performed better and were less prone to overfitting on this small dataset compared to massive architectures like InceptionV3 or deep ResNets.
  • AI Learns Human Radiology Naturally: The "Directed Dream" visualization revealed that the network wasn't relying on statistical artifacts. For malignant classifications, it generated starburst-like patterns that perfectly match spiculation—the most specific clinical marker for invasive breast cancer. For benign cases, it consolidated brightness into smooth, rounded shapes, mimicking benign cysts.

Key Results

  • The ensemble of 100 Parallel GoogLeNets achieved a held-out test accuracy of 85% and an ROC AUC of 0.91.
  • This significantly outperformed traditional texture-analysis CAD methods, such as Sahiner et al. (71% accuracy) and Huo et al. (60% accuracy).
  • Data augmentation (random rotations and crops) consistently improved performance across all deep architectures by mitigating overfitting.

Limitations and Future Work

  • Dataset Size: While the model performs well, ~1,000 patients is still small by deep learning standards. Testing on larger, modern digital mammography datasets is required to confirm generalizability.
  • Semiautomatic Pipeline: The preprocessing step relies on a radiologist-provided "seed pixel" to crop the tumor region. To act as a truly independent, end-to-end CAD system, future iterations must integrate an automated lesion detection/bounding-box step.

Summary updated

BibTeX
@misc{yi2017optimizing,
  author = {Darvin Yi and Rebecca Lynn Sawyer and David Cohn III and Jared Dunnmon and Carson Lam and Xuerong Xiao and Daniel Rubin},
  title = {{Optimizing and Visualizing Deep Learning for Benign/Malignant Classification in Breast Tumors}},
  year = {2017},
  eprint = {1705.06362},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1705.06362},
}
Figure