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

Unsupervised Detection of Lesions in Brain MRI using constrained adversarial auto-encoders

Xiaoran Chen, Ender KonukogluarXiv 2018

Abstract

Lesion detection in brain Magnetic Resonance Images (MRI) remains a challenging task. State-of-the-art approaches are mostly based on supervised learning making use of large annotated datasets. Human beings, on the other hand, even non-experts, can detect most abnormal lesions after seeing a handful of healthy brain images. Replicating this capability of using prior information on the appearance of healthy brain structure to detect lesions can help computers achieve human level abnormality detection, specifically reducing the need for numerous labeled examples and bettering generalization of previously unseen lesions. To this end, we study detection of lesion regions in an unsupervised manner by learning data distribution of brain MRI of healthy subjects using auto-encoder based methods. We hypothesize that one of the main limitations of the current models is the lack of consistency in latent representation. We propose a simple yet effective constraint that helps mapping of an image bearing lesion close to its corresponding healthy image in the latent space. We use the Human Connectome Project dataset to learn distribution of healthy-appearing brain MRI and report improved detection, in terms of AUC, of the lesions in the BRATS challenge dataset.

Introduction

Standard deep learning for medical imaging is typically "supervised," requiring thousands of images where experts have painstakingly hand-drawn lesion boundaries. This paradigm is expensive, time-consuming, and often fails to generalize to rare or previously unseen abnormalities. In contrast, humans can spot a lesion after seeing only a few healthy brains because we possess a strong internal model of "normal" anatomy.

Unsupervised anomaly detection attempts to mimic this by training a model solely on healthy data. The model learns to reconstruct healthy anatomy; when presented with a lesion, the model's inability to perfectly reconstruct the abnormality serves as a detection signal. However, the high natural variability of brain MRI—where different healthy slices can look more distinct than a tumor looks from healthy tissue—makes it difficult for standard auto-encoders to distinguish between normal variation and pathology.

Methods

The researchers utilize Adversarial Auto-Encoders (AAEs). An AAE consists of an encoder that compresses an image $X$ into a low-dimensional latent vector $z$, and a decoder that attempts to reconstruct the original image as $X'$. To keep the latent space organized, a discriminator ensures the distribution of $z$ matches a prior, such as a Gaussian distribution.

The Latent Consistency Constraint

The authors identify a major flaw in standard AAEs: a lack of consistency. They argue that if a healthy image $X$ is encoded to $z$ and reconstructed as $X'$, then re-encoding that reconstruction should yield a latent vector $z'$ identical to $z$. They introduce a regularization term to the loss function: $||z - z'||^2$. This constraint forces the model to map an image containing a lesion to the latent coordinates of its hypothetical healthy counterpart. Consequently, the reconstruction acts as a "healed" version of the input, making the resulting reconstruction error (the difference between input and output) much clearer in lesion areas.

Results and Discussion

The model was trained on T2-weighted structural images from the Human Connectome Project (HCP) and evaluated using the BRATS (Brain Tumor Image Segmentation) Challenge 2015 dataset.

Qualitative Analysis: Reconstruction as "Healing"

As shown in the qualitative results below, the constrained AAE effectively performs "reconstruction as healing." Because the model is only trained on healthy structures, it attempts to fill lesion areas with healthy-looking tissue. The resulting error map clearly highlights the pathology by subtracting the "healed" reconstruction from the original anomalous input.

Qualitative results showing (left to right) input images, reconstructions, error maps, and ground truth segmentations. The model effectively "heals" the lesion areas in the reconstructions.

Quantitative Performance

The constrained AAE achieved significant improvements over baseline models. TSNE visualizations confirmed that while lesions often overlap with healthy data in unconstrained latent spaces (the "outlier fallacy"), the proposed consistency constraint helps stabilize the representation. Quantitatively, the model achieved an Area Under the Curve (AUC) of 0.923, significantly outperforming standard VAEs (0.897) and unconstrained AAEs (0.885).

ROC curves comparing the performance of the constrained AAE (blue) against standard AAE and VAE models. The latent consistency constraint significantly improves detection accuracy.

Conclusion

By enforcing latent consistency, the proposed method improves the stability and accuracy of unsupervised lesion detection. While currently limited by low image resolution (32x32) and single-modality data, this approach demonstrates the potential for "human-like" anomaly detection in medical imaging without the need for extensive labeled datasets. Future work will focus on scaling to 3D convolutional networks and higher resolutions to improve clinical utility.

Summary updated

BibTeX
@misc{chen2018unsupervised,
  author = {Xiaoran Chen and Ender Konukoglu},
  title = {{Unsupervised Detection of Lesions in Brain MRI using constrained adversarial auto-encoders}},
  year = {2018},
  eprint = {1806.04972},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1806.04972},
}
Figure