Variational AutoEncoder for Regression: Application to Brain Aging Analysis

Qingyu Zhao, Ehsan Adeli, Nicolas Honnorat, Tuo Leng, Kilian M. Pohl

Introduction

Deep learning models, particularly Convolutional Neural Networks (CNNs), have demonstrated remarkable success in supervised regression tasks, such as predicting biological age from medical imaging. However, these models often function as "black boxes," making it difficult to discern the specific anatomical features driving their predictions. While generative models like Variational Autoencoders (VAEs) excel at learning interpretable latent representations, they are typically used for unsupervised learning. This work bridges the gap by proposing a unified VAE-based regression model that accurately predicts a continuous target variable (age) while simultaneously learning a visualizable representation of its physical effects on the brain.

Methodology

The core innovation of this approach is the modification of the standard VAE generative process. Instead of an unconditioned Gaussian prior, the latent representation $z$ is explicitly conditioned on the regression target $c$ (age). The model employs a "latent generator" where a directional vector in the latent space is linearly tied to the target variable.

The proposed model combines a probabilistic graphical model with a deep neural network architecture consisting of an encoder, a regressor, and a decoder.

As shown in the architecture above, the system consists of three main components:

  1. Encoder: Maps the input image to the latent space.
  2. Probabilistic Regressor: Predicts the age and associated uncertainty from the image features.
  3. Decoder: Reconstructs the image from the latent space.

The encoder and regressor share early layers, allowing the model to learn robust visual features that support both reconstruction and prediction. The joint loss function acts as a mutual regularizer, preventing overfitting in small medical datasets.

Experimental Setup

The model was evaluated using structural T1-weighted MRI scans from 245 healthy subjects (ages 18–86). Two data formats were tested:

  • ROI Measurements: 299 features (volumes, cortical thicknesses) extracted via FreeSurfer.
  • 3D Volume Images: Raw MRI scans cropped to a 64x48x32 volume centered on the ventricular area, a region highly sensitive to aging.

Results and Interpretability

The CNN-based VAE regressor achieved state-of-the-art performance on 3D volume images with an $R^2$ of 0.808 and a root mean squared error (rMSE) of 6.9 years, outperforming standalone neural network regressors. Beyond numerical accuracy, the model provides unique qualitative insights.

A generated brain MRI reconstruction simulating the structural characteristics of a 60-year-old brain.

By disentangling age in the latent space, researchers can traverse the age dimension to visually simulate brain aging. This process reveals the physical enlargement of the brain's ventricles over time, consistent with established neuroscientific knowledge. t-SNE projections further confirmed a smooth gradient of ages along the conditioned latent dimension.

Conclusion and Future Work

This framework successfully integrates supervised regression with generative modeling to provide interpretable predictions of brain aging. While currently focused on a single factor (age), future work aims to extend this to multiple clinical factors, such as sex or disease status (e.g., Alzheimer's), to study how various pathologies accelerate structural changes compared to healthy aging.

Summary updated

Abstract

While unsupervised variational autoencoders (VAE) have become a powerful tool in neuroimage analysis, their application to supervised learning is under-explored. We aim to close this gap by proposing a unified probabilistic model for learning the latent space of imaging data and performing supervised regression. Based on recent advances in learning disentangled representations, the novel generative process explicitly models the conditional distribution of latent representations with respect to the regression target variable. Performing a variational inference procedure on this model leads to joint regularization between the VAE and a neural-network regressor. In predicting the age of 245 subjects from their structural Magnetic Resonance (MR) images, our model is more accurate than state-of-the-art methods when applied to either region-of-interest (ROI) measurements or raw 3D volume images. More importantly, unlike simple feed-forward neural-networks, disentanglement of age in latent representations allows for intuitive interpretation of the structural developmental patterns of the human brain.
BibTeX
@inproceedings{zhao2019variational,
  author = {Qingyu Zhao and Ehsan Adeli and Nicolas Honnorat and Tuo Leng and Kilian M. Pohl},
  title = {{Variational AutoEncoder for Regression: Application to Brain Aging Analysis}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2019},
  url = {https://openreview.net/forum?id=h3t6zt2XrZo},
}
Figure