An Enhanced Conditional Variational Autoencoder-Based Normative Model for Neuroimaging Analysis

Mai Phuong Ho, Yang Song, Perminder S. Sachdev, Jiyang Jiang, Wei WenbioRxiv 2025

Abstract

Normative modeling in neuroimaging provides a powerful framework for quantifying individual deviations from expected brain measures as a function of relevant covariates. While most established approaches have focused on analyzing distinct variables in isolation, there is a growing need for deep learning-based methods capable of handling multiple response variables simultaneously. Conditional variational autoencoders (cVAEs) have previously been applied in this context; however, existing inference methods still face challenges in providing reliable probabilistic predictions. In this study, we introduce an enhanced cVAE-based framework for normative modeling of neuroimaging data. Our key contribution is the development of a novel inference method that integrates latent space sampling and bootstrapping. This method directly leverages the generative nature of cVAEs to estimate the conditional distributions of brain measures. We demonstrate the effectiveness of this approach using white matter hyperintensity (WMH) volumes as a test case for developing, testing, and validating the model. Our dataset includes 8,551 normotensive and 18,180 hypertensive participants from the UK Biobank. We evaluated our method against three well-established and popular normative modeling techniques, including Generalised Additive Models for Location, Scale, and Shape (GAMLSS), Multivariate Fractional Polynomial Regression (MFPR), and Hierarchical Bayesian Regression (HBR). Our results indicate that the proposed cVAE-based framework achieves comparable performance across various metrics, while capturing individual deviations that correlate with the severity of hypertension. The model is particularly well-suited for high-dimensional, non-linear data, making it a robust tool for assessing individual deviations in brain structure. This enhanced normative modeling architecture paves the way for more nuanced and reliable assessments of brain health, with potential implications for personalized medicine and early detection of neurological disorders.

Introduction

In clinical neuroimaging, determining whether an individual's brain structure is "aging normally" is a fundamental challenge. Normative modeling addresses this by creating "growth charts" for the brain, similar to those used in pediatrics. By mapping expected brain measures against covariates like age and sex, researchers can identify individual deviations that may signal the early stages of neurological disease.

Traditional statistical methods, such as Generalised Additive Models for Location, Scale, and Shape (GAMLSS) or Hierarchical Bayesian Regression (HBR), are currently the gold standard. However, these methods often struggle with high-dimensional data or require analyzing brain regions in isolation, thereby ignoring complex spatial correlations. While deep learning models like Autoencoders (AEs) have been proposed as alternatives, they often suffer from a "circular logic" flaw: to assess a deviation, they use both the subject's covariates and their actual brain data to "reconstruct" the brain. If the model sees the "answer" while trying to predict it, the resulting error is difficult to interpret. Furthermore, these models frequently fail to provide the reliable uncertainty measures necessary for clinical decision-making.

Methodology: The Enhanced cVAE Framework

This study introduces an enhanced Conditional Variational Autoencoder (cVAE) framework designed to provide robust, probabilistic normative predictions. The framework breaks from traditional reconstruction-based approaches through two key innovations:

1. Generative Inference

Instead of calculating a simple reconstruction error, the model leverages the generative nature of VAEs. During the inference phase, the model ignores the subject's actual brain data. Instead, it samples from a "clean" latent space (a standard normal distribution) and combines this with the subject's covariates (age, sex, vascular risk factors). The decoder then synthesizes 1,000 plausible "normative" versions of that subject's brain. This ensures that the resulting Z-scores represent genuine biological deviations rather than artifacts of the reconstruction process.

2. Bootstrapping for Stability

To ensure predictions are robust, the authors apply a bootstrapping method to these 1,000 synthesized samples. This allows for the calculation of a stable mean and standard deviation for every brain region, which are then used to compute a Z-score for the actual observed brain measures.

Architecture and Optimization

The model utilizes a 128-unit hidden layer and a 16-dimensional latent space. Hyperparameters were optimized using the Optuna framework to ensure the architecture was finely tuned for the complexity of neuroimaging data.

Experimental Setup

The framework was validated using a massive dataset from the UK Biobank, totaling 26,731 participants. The target measure was White Matter Hyperintensity (WMH) volumes across 30 different brain regions. WMHs are critical biomarkers, as these "bright spots" on MRI scans are often associated with aging and vascular disease.

  • Training/Hold-out Set: 8,551 normotensive (healthy blood pressure) individuals.
  • Evaluation Set: 18,180 hypertensive individuals, categorized into three levels of severity to test the model's clinical sensitivity.

Key Results and Discussion

Performance and Reliability

The cVAE achieved performance parity with established models like GAMLSS and HBR across standard metrics, including Median Absolute Error and Explained Variance. Notably, the cVAE proved more conservative than traditional methods like MFPR, which tended to over-identify extreme deviations in healthy subjects. In clinical settings, this reduces the risk of "false positives" that lead to unnecessary patient anxiety.

Capturing the "Tail"

A significant finding was the cVAE's improved performance in Quantile Loss at the 90th percentile. This indicates the model is particularly adept at modeling the "upper tail" of the distribution—the exact area where the most clinically significant abnormalities reside.

Clinical Validation

Z-scores derived from the cVAE correlated significantly with hypertension severity. As blood pressure levels rose from Level 0 to Level 3, the model-detected deviations increased accordingly, validating the framework's utility as a clinical tool for assessing vascular-related brain changes.

Computational Trade-offs

While the cVAE is more computationally intensive than simpler models (taking approximately 2.86 hours to train and run compared to 14 seconds for MFPR), it remained faster than Hierarchical Bayesian Regression (HBR), which required over 4 hours. Given the increased robustness and generative capabilities, this computational cost is a justifiable trade-off for high-dimensional analysis.

Limitations and Future Directions

Despite its successes, the model faces challenges in regions with sparse data, such as the cerebellum, where WMH volumes are often zero. Future iterations may require region-specific adjustments to handle these zero-inflated distributions. Additionally, while the current model treats brain regions as a vector of numbers, moving toward Convolutional Neural Networks (CNNs) could allow the framework to analyze raw 3D spatial structures (voxels) directly. Finally, integrating "Explainable AI" (XAI) techniques will be essential to help clinicians understand which specific covariates are driving the model's predictions.

Conclusion

This enhanced cVAE-based normative model provides a robust, scalable alternative to traditional statistical methods. By moving away from reconstruction errors and toward generative inference, the framework offers a more reliable way to quantify brain health, paving the way for personalized medicine and earlier detection of neurological disorders.

Summary updated

BibTeX
@misc{ho2025enhanced,
  author = {Mai Phuong Ho and Yang Song and Perminder S. Sachdev and Jiyang Jiang and Wei Wen},
  title = {{An Enhanced Conditional Variational Autoencoder-Based Normative Model for Neuroimaging Analysis}},
  year = {2025},
  doi = {10.1101/2025.01.05.631276},
  howpublished = {bioRxiv},
}
Figure