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

Learning Interpretable Disentangled Representations Using Adversarial VAEs

Mhd Hasan Sarhan, Abouzar Eslami, Nassir Navab, Shadi Albarqouni

Abstract

Deep learning models in healthcare often lack interpretability, hindering clinical adoption. This paper introduces a novel Adversarial Variational Autoencoder (VAE) designed to learn "disentangled" representations of medical images. By combining a total correlation constraint with an adversarial discriminator and residual blocks, the authors achieved a significant 81.5% relative improvement in disentanglement over state-of-the-art methods while maintaining high-quality image reconstructions. This approach provides clinicians with interpretable "generative knobs" for factors like lesion size and skin color without sacrificing image fidelity.

Introduction

The "black box" nature of deep learning is a major barrier in clinical settings. Clinicians need to understand the underlying factors driving a model's conclusion. Disentangled representation learning offers a solution by representing data through independent generative factors—such as size, skin color, or eccentricity in skin lesions. However, existing methods like $\beta$-VAE often suffer from a trade-off where increased disentanglement leads to blurred reconstructions. This work aims to break this trade-off for complex medical data where ground-truth generative factors are rarely known.

Methodology

The proposed architecture, Ours-Adv, builds upon the $\beta$-Total Correlation VAE ($\beta$-TCVAE) with three primary enhancements:

  1. Total Correlation (TC) Penalty: The model utilizes a decomposed Kullback-Leibler (KL) divergence to specifically target the "Total Correlation" term. This forces latent dimensions to be independent without penalizing the entire latent space.
  2. Adversarial Training: To combat the blurriness typical of standard VAEs, an adversarial discriminator is introduced. This discriminator acts as a style loss, forcing the generator to produce realistic images that capture high-level features rather than just pixel-wise matching.
  3. Residual Blocks: Standard convolutional layers are replaced with bottleneck residual blocks to improve gradient flow and capture intricate image details, preventing issues like vanishing gradients.

Experimental Results

The model was validated using the ISIC 2018 Challenge dataset for skin lesion analysis. Quantitative results demonstrate that Ours-Adv significantly outperforms baselines in disentanglement and downstream utility metrics.

Quantitative performance comparison showing Ours-Adv leading in MIG, NMI, and Accuracy metrics.

Key Findings

  • Superior Disentanglement: The model achieved a Mutual Information Gap (MIG) of 12.57%, an 81.5% relative improvement over $\beta$-TCVAE. This suggests the latent units more accurately track individual generative factors.
  • Enhanced Interpretability: Qualitative analysis through latent space traversals shows that the model successfully isolates physical properties. By moving along a specific latent axis, one can observe isolated changes in skin color or lesion geometry while other properties remain constant.
Latent space traversals demonstrating isolated control over size, skin color, and eccentricity compared to standard VAE.
  • Downstream Utility: The disentangled features led to an 11.6% improvement in clustering (NMI) and a 2% boost in supervised classification accuracy, even when using only 10% of labeled data, proving the features are highly transferable.

Conclusion

This work demonstrates that adversarial training and TC-decomposition can effectively decouple disentanglement from reconstruction quality in medical imaging. While the current study focuses on relatively simple handcrafted factors like size and eccentricity, it paves the way for more complex medical pathology analysis and targeted data augmentation. Future work will explore more intricate generative factors and further bridge the gap in reconstruction fidelity (PSNR) compared to non-disentangled baselines.

Summary updated

BibTeX
@inproceedings{sarhan2019learning,
  author = {Mhd Hasan Sarhan and Abouzar Eslami and Nassir Navab and Shadi Albarqouni},
  title = {{Learning Interpretable Disentangled Representations Using Adversarial VAEs}},
  booktitle = {DART/MIL3ID @ MICCAI},
  year = {2019},
  doi = {10.1007/978-3-030-33391-1\_5},
}
Figure