Skip to main content
QUICK REVIEW

[Paper Review] Using StyleGAN for Visual Interpretability of Deep Learning Models on Medical Images

Kathryn Schutte, Olivier Moindrot|arXiv (Cornell University)|Jan 19, 2021
Explainable Artificial Intelligence (XAI)Computer Science20 references36 citations
TL;DR

The paper proposes a StyleGAN-based method to visualize how input medical images would need to change to alter model predictions, offering more interpretable explanations than GradCAM. It validates the approach on knee X-rays and histology patches with promising results.

ABSTRACT

As AI-based medical devices are becoming more common in imaging fields like radiology and histology, interpretability of the underlying predictive models is crucial to expand their use in clinical practice. Existing heatmap-based interpretability methods such as GradCAM only highlight the location of predictive features but do not explain how they contribute to the prediction. In this paper, we propose a new interpretability method that can be used to understand the predictions of any black-box model on images, by showing how the input image would be modified in order to produce different predictions. A StyleGAN is trained on medical images to provide a mapping between latent vectors and images. Our method identifies the optimal direction in the latent space to create a change in the model prediction. By shifting the latent representation of an input image along this direction, we can produce a series of new synthetic images with changed predictions. We validate our approach on histology and radiology images, and demonstrate its ability to provide meaningful explanations that are more informative than GradCAM heatmaps. Our method reveals the patterns learned by the model, which allows clinicians to build trust in the model's predictions, discover new biomarkers and eventually reveal potential biases.

Motivation & Objective

  • Motivate the need for interpretable AI in medical imaging to gain regulatory and clinical trust.
  • Propose a three-step method using StyleGAN to map latent space to images and connect latent directions to predictions.
  • Show that latent-space edits yield biologically plausible progression or changes in predictions.
  • Compare with GradCAM and demonstrate richer interpretability and potential biomarker discovery.

Proposed method

  • Train StyleGAN2 on medical images to learn a latent space W with 512 dimensions.
  • Train an encoder E to map real images to their corresponding latent vectors in W using synthetic pairs (w, G(w)).
  • Train a logistic regression on latent codes to predict model outputs, yielding a direction alpha in W that changes predictions.
  • For a new image x, compute w = E(x) and move along w by lambda*alpha to generate G(w + lambda*alpha) with updated predictions.
  • Use the generated sequence of images to interpret how changes in visuals relate to predictions and to identify clinically meaningful patterns.

Experimental results

Research questions

  • RQ1How can latent-space manipulations of a StyleGAN provide explanations for black-box model predictions on medical images?
  • RQ2Does moving along a learned latent-direction produce clinically plausible image evolutions that correlate with changing predictions?
  • RQ3Are the generated visual evolutions more informative than GradCAM heatmaps for medical decision tasks?
  • RQ4Can this approach help reveal biomarkers or potential biases in medical image classifiers.

Key findings

  • For knee osteoarthritis on X-rays, the method yields biologically plausible progression features as KL grade increases, beyond GradCAM localization.
  • On knee X-rays, the predictor f achieved 89% test AUC and the latent-space predictor c tilde f achieved 80% test AUC.
  • The StyleGAN generator was rated by radiologists with 58% average Turing test accuracy, indicating realistic synthetic X-rays.
  • For metastasis detection on histology patches, the predictor f achieved 92% test AUC, while the latent predictor c tilde f reached 95% test AUC.
  • GradCAM heatmaps were less informative when predictive features were diffuse across the image, while latent-space edits highlighted meaningful feature changes.
  • The approach can help clinicians build trust, discover new biomarkers, and reveal potential biases.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.