Bayesian Autoencoder for Medical Anomaly Detection: Uncertainty-Aware Approach for Brain 2 MRI Analysis
Dip Roy
TL;DR
The paper tackles unsupervised anomaly detection in brain MRI by explicitly modeling uncertainty. It introduces a Bayesian Variational Autoencoder with multi-head attention to capture both epistemic and aleatoric uncertainty, optimized via an ELBO with beta warm-up. An uncertainty-aware anomaly score combines reconstruction error and predictive uncertainty, and the approach achieves ROC AUC around $0.834$ and PR AUC around $0.833$ on BraTS2020, with ablations confirming the value of both attention and uncertainty components. The method yields interpretable uncertainty maps to assist clinicians, though it faces computational and 2D-processing limitations that offer clear directions for future work in 3D and multi-modal extensions.
Abstract
In medical imaging, anomaly detection is a vital element of healthcare diagnostics, especially for neurological conditions which can be life-threatening. Conventional deterministic methods often fall short when it comes to capturing the inherent uncertainty of anomaly detection tasks. This paper introduces a Bayesian Variational Autoencoder (VAE) equipped with multi-head attention mechanisms for detecting anomalies in brain magnetic resonance imaging (MRI). For the purpose of improving anomaly detection performance, we incorporate both epistemic and aleatoric uncertainty estimation through Bayesian inference. The model was tested on the BraTS2020 dataset, and the findings were a 0.83 ROC AUC and a 0.83 PR AUC. The data in our paper suggests that modeling uncertainty is an essential component of anomaly detection, enhancing both performance and interpretability and providing confidence estimates, as well as anomaly predictions, for clinicians to leverage in making medical decisions.
