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

Deep Autoencoding Models for Unsupervised Anomaly Segmentation in Brain MR Images

Christoph Baur, Benedikt Wiestler, Shadi Albarqouni, Nassir NavabBrainLes @ MICCAI 2018

Introduction

Supervised deep learning has revolutionized medical imaging but remains constrained by the "data hunger" problem—requiring vast amounts of pixel-perfect labels that are costly and time-consuming to produce. Moreover, supervised models often fail to generalize to rare or unseen pathologies because they are only trained on known classes. This paper addresses these challenges through Unsupervised Anomaly Detection (UAD), teaching models to recognize "healthy" brain anatomy rather than specific lesions.

Methodology: Detection via Reconstruction

The core principle of UAD is that a model trained exclusively on healthy data will fail to accurately reconstruct pathological features. By calculating the difference between an input image and its reconstruction, anomalies like Multiple Sclerosis (MS) lesions can be segmented as high-error regions.

Unsupervised anomaly detection pipeline: the model identifies lesions by calculating the residual between the input and the reconstruction.

The AnoVAEGAN Architecture

The authors propose AnoVAEGAN, a hybrid model that improves upon standard Variational Autoencoders (VAEs) and Generative Adversarial Networks (GANs). Unlike previous GAN-based methods (e.g., AnoGAN) that require slow iterative optimization for each image, AnoVAEGAN uses an encoder-decoder structure for near-instantaneous inference.

Key innovations include:

  • Spatial Latent Spaces: Traditional autoencoders often use dense bottlenecks that flatten the latent space, losing structural context. AnoVAEGAN uses a fully convolutional architecture with a spatial tensor (e.g., $16 \times 16 \times 64$) for the latent representation. This preserves the complex structural information of brain convolutions, allowing the model to reconstruct healthy tissue accurately while still failing to reconstruct "unseen" anomalies.
  • Adversarial Refinement: A discriminator forces the reconstructions to be more realistic and less blurry, which significantly reduces false positives in the final segmentation.

Experimental Results

The study utilized FLAIR and T1-weighted MR images from healthy subjects and patients with MS. AnoVAEGAN achieved a state-of-the-art Dice Score of 0.605, significantly outperforming standard AEs, VAEs, and the iterative AnoGAN.

Crucially, the autoencoding approach is orders of magnitude faster than iterative methods. While AnoGAN required nearly 20 seconds per slice to "search" for the best latent code, AnoVAEGAN processed samples in a single forward pass taking approximately 0.015 seconds, making it suitable for high-throughput clinical workflows.

Conclusion

AnoVAEGAN demonstrates that spatial context and adversarial training are vital for high-resolution medical anomaly detection. By moving away from dense bottlenecks and iterative latent searches, the authors provide a fast, effective framework for unsupervised lesion segmentation. Future work will explore 3D architectures and more complex latent distributions, such as Gaussian Mixture Models, to further refine the modeling of healthy brain variability.

Summary updated

BibTeX
@inproceedings{baur2018deep,
  author = {Christoph Baur and Benedikt Wiestler and Shadi Albarqouni and Nassir Navab},
  title = {{Deep Autoencoding Models for Unsupervised Anomaly Segmentation in Brain MR Images}},
  booktitle = {BrainLes @ MICCAI},
  year = {2018},
  doi = {10.1007/978-3-030-11723-8\_16},
}
Figure