Abstract.
Purpose
Unsupervised anomaly detection allows identifying anomalies from unlabeled data, making it useful for neuroimaging analysis and computer-aided diagnosis. Given an individual’s scan, we use a generative model to construct a subject-specific image of healthy appearance and compare both images with identify anomalies. Such approach has drawbacks as the reconstructions are imperfect, and model variability is not taken into account.
Approach
We study model variability arising from using different random seeds during training and explore strategies to mitigate the effect of unwanted reconstruction errors and variability. The strategies include model ensembling, anomaly map normalization, and anomaly map designs based on single or multiple pseudo-healthy reconstructions. We compare these approaches in the context of dementia-related anomalies on 3D FDG PET from ADNI using variational autoencoder models.
Results
Our experiments suggest that variance between models can be reduced by aggregating their reconstructions in a -score based anomaly map. This strategy is highly effective, but computationally expensive, as it requires training several instances of the model. An alternative strategy is to normalize the anomaly map using statistics computed from a healthy validation set. We show that this normalization strategy substantially reduces performance variability across models and even increases anomaly detection performance in certain cases.
Conclusion
We highlight a largely overlooked source of variability in deep generative models, their random seed, which can lead to substantially different anomaly detection performance and biased evaluation. Our experimental analysis emphasizes that it is crucial to design robust anomaly maps and to mitigate the impact of randomness-induced variability, by accounting for model reconstruction errors for instance using -score ensembling, or healthy-control normalization, to support more stable and trustworthy deployment in real-world clinical practice.
Keywords: unsupervised anomaly detection, deep generative models, variability study
1. Introduction
Machine learning methods have shown promise in the quantitative analysis of neuroimaging data.1 They enable the detection of subtle changes in brain patterns amid natural variations, a critical aspect in the early diagnosis of neurodegenerative disorders. Within the unsupervised anomaly detection (UAD) framework, machine learning algorithms are used to identify rare events from unlabeled data, facilitating the detection of various anomalies,2–4 including those associated with different dementia subtypes such as Alzheimer’s disease.5–7
Reconstruction-based anomaly detection methods rely on generating a subject-specific image of healthy appearance and then comparing the subject’s real image with this synthetic image, resulting in a personalized map of anomalies. First, generative models such as variational autoencoders (VAEs), generative adversarial networks (GANs), or diffusion models are trained exclusively on healthy images to learn the healthy distribution. Second, at inference time, the model is fed a patient’s image (with potential anomalies) and reconstructs the image based on its learned healthy distribution.2 Ideally, the model should reconstruct healthy tissue only, and we hypothesize that the reconstructed image is a subject-specific pseudo-healthy representation of the input image.2,8,9 Finally, anomaly maps can be defined as the reconstruction error, or residual, that is, the voxel-wise difference between the patient’s input image and the model’s output image, such that high values indicate anomalies.2,8,9 However, this residual-based approach has several shortcomings: residuals depend on the underlying raw intensities, there is no natural thresholding mechanism, and it is hard to distinguish between reconstruction errors due to genuine pathological anomalies and reconstruction errors due to the model’s imperfect reconstructions, leading to false positive detections even in healthy tissues.10–12
Several approaches have been proposed to address these issues: postprocessing techniques,8,13,14 leveraging multiple reconstructions,15–17 alternative metrics,18 and uncertainty estimation techniques.11,12,19 There is no standard postprocessing procedure, neither of the pseudo-healthy reconstruction, nor of the anomaly map. Common steps include applying a body contour mask, morphological operations, median kernel filtering, normalization, thresholding of the anomaly map, connected component analysis, and adaptive histograms.8,13,14 To account for the model’s reconstruction errors, several studies have used multiple reconstructions rather than a single reconstruction, which can easily be done in VAEs and diffusion models. Some approaches compare the average reconstruction with the input image.8,15 Patel et al.16 fit a kernel density estimation independently for each voxel position to obtain a probability density function for intensities. Behrendt et al.17 considered the covariance of pixels between reconstructions and voxels of the image. Huijben et al.18 explored alternative metrics to the absolute reconstruction error, including metrics based on components of the structural similarity (SSIM),20 perceptual metrics, and metric ensembles. Other works are based on uncertainty estimation, in which the anomaly maps are normalized by uncertainty or the estimated variance of individual pixels.11,12,19
In this work, we unveil various sources of variability in a reconstruction-based anomaly detection pipeline and study their impact on reconstruction errors and anomaly detection performance. We focus on variability arising from the random seed used during training (which affects weight initialization, data augmentation, and data ordering) and explore strategies including model ensembling and anomaly map normalization to improve the reliability of anomaly detection pipelines and their evaluation. We compare these approaches in the context of dementia-related anomalies on 3D FDG PET using a variational autoencoder. Our experimental comparative analysis emphasizes that it is crucial to design robust anomaly maps and to mitigate the impact of randomness-induced variability to support more stable and trustworthy deployment in real-world clinical practice.
2. Methods
2.1. Generative Model
To generate subject-specific pseudo-healthy images, we rely on VAEs,21 specifically a -VAE.22 The -VAE model is built around two components: an encoder and a decoder. The encoder maps each observation into a compact latent representation . The decoder then attempts to reconstruct the observation from this latent code. A common formulation assumes that the encoder outputs a Gaussian distribution, , whereas the decoder models the likelihood as , where , , and are implemented as neural networks. Training consists of minimizing a loss composed of a reconstruction term and a regularization term:
| (1) |
The first part encourages the decoder to accurately reconstruct from , whereas the second part penalizes deviations of the encoder’s output distribution from the prior using the Kullback–Leibler (KL) divergence. The coefficient adjusts how strongly this KL term influences the learned latent space. The training and inference process are depicted in Fig. 1. Note that in most cases, and unless stated otherwise, during training, we sample the latent code, using the reparameterization trick, whereas at inference we set as shown in Fig. 1.
Fig. 1.

Typical procedure for VAE-based pseudo-healthy reconstruction and residual-based anomaly map. For training (top), the model is shown exclusively healthy data, and the latent code is sampled using the reparameterization trick. For inference (bottom), the model is fed an image with potential anomalies () and reconstructs the image based on its learned distribution, using , and obtaining a pseudo-healthy reconstruction (). An anomaly map can be obtained by comparing the input image and its pseudo-healthy reconstruction, typically using the residual, .
The model is trained exclusively on healthy data to learn the healthy distribution. At inference time, the model is fed an image with potential anomalies, denoted by , and reconstructs the image based on its learned healthy distribution. We call this image the pseudo-healthy reconstruction, and denote it by . By comparing the input image and its pseudo-healthy reconstruction , we can identify anomalies, as shown in Fig. 1.
We choose to use VAE models because they are computationally lightweight compared with diffusion models, making it feasible to run extensive experiments on 3D images. Moreover, their inherently imperfect reconstructions make them well-suited for studying the impact of various sources of variability on the reconstruction error. We also implement two baseline models for comparison, the f-AnoGAN23 and a latent diffusion model (LDM),24 which we present in further detail in Sec. 3.1.
2.1.1. Obtaining multiple pseudo-healthy reconstructions
In this paper, we study various sources of variability in a pseudo-healthy reconstruction pipeline. We are therefore interested in obtaining multiple reconstructions per input image rather than a single reconstruction . We do so in two different ways: (i) by training multiple models with varying random seeds, i.e., a deep ensemble, and (ii) by sampling multiple times in the model’s latent space, i.e., Monte Carlo sampling.
-
i.
Deep ensemble: training models with varying random seeds
We train models with random seeds ranging from 0 to 10. All models are trained with an identical training procedure on the same dataset. The only sources of variation are in the random initialization of model weights, the stochastic nature of data augmentation (with fixed parameters but random sampling), and the order in which data is shown during training. This setup allows studying the variability of a -VAE with respect to its random seed, resulting in 11 distinct models and therefore 11 different reconstructions for each input image. We denote by and the mean and standard deviation of the reconstructions obtained for an input image . This process is represented in Fig. 2.
-
ii.
Monte Carlo sampling in the latent space
It is also possible to obtain multiple reconstructions from a single trained model, rather than training multiple models to obtain multiple reconstructions. Recall that, in a VAE, an image is encoded to obtain the mean and standard deviation of the latent distribution. At inference time, rather than setting , we can sample latent codes and decode each to obtain the corresponding reconstructions . With this approach, we can obtain multiple reconstructions “for free” by introducing stochasticity only at the latent sampling stage, a natural property of VAEs. We denote by and the mean and standard deviation of the reconstructions obtained for an input . This process is represented in Fig. 3.
Fig. 2.

Deep ensembling with models trained with varying random seeds to obtain multiple pseudo-healthy reconstructions. We denote by the model trained with random seed and the pseudo-healthy reconstruction for an input image . The mean and standard deviation of all reconstructions are computed to obtain two different types of anomaly maps: and .
Fig. 3.

Monte Carlo sampling in the latent space at inference time to obtain pseudo-healthy reconstructions using a single trained VAE model. At inference time, for an input image , we encode it to obtain and , and sample a latent code using the reparameterization trick, which we decode to obtain , the pseudo-healthy reconstruction. By repeating the process times, we obtain reconstructions , from which we compute the mean and standard deviation , to obtain two different types of anomaly maps: and .
2.2. Dataset
Our dataset consists of 3D FDG PET scans from the ADNI database.25–27 For our main dataset, used for training, validation, and testing for our main experiments, we select images that are co-registered, averaged, and uniformized to the same resolution (8 mm FWHM), to minimize heterogeneity due to the use of different scanners. For a sensitivity analysis which we present in Sec. 3.4.1, we use additional validation and testing datasets. For these, we include images that are coregistered, and averaged, but not uniformized to the same resolution (with effective resolution ranging from 4.5 to 7.5 mm FWMH, see Ref. 28 for more detail). We process all data using the pet-linear pipeline from Clinica,29 which affinely registers to the MNI space and normalizes in intensity using the average PET uptake in the cerebellum and pons regions and crops each image. We select images from stable healthy participants that are constantly labeled as cognitively normal (CN) in ADNI for a 3-year interval. We use 545 images from 302 healthy subjects for training, 25 images from 25 healthy subjects for validation. For testing, we use 50 images from 50 healthy subjects and also include 50 images from 50 Alzheimer’s disease (AD) patients. These data splits were performed at the subject’s level and stratified by sex and age to avoid data leakage and reduce biases. The validation and testing datasets will be further described in Sec. 2.4.3.
2.3. Evaluation Procedure
In this section, we detail our evaluation procedure. The different steps presented here are summarized in the diagram in Fig. 4.
Fig. 4.

Diagram of our evaluation procedure and corresponding metrics. Plain arrows correspond to our typical pseudo-healthy reconstruction pipeline, dashed arrows to our anomaly simulation procedure, and colored lines to the metric computation. It is represented in the simple case of residual-based anomaly maps and single reconstruction, but the framework is general and can be adapted to all situations described in the paper.
2.3.1. Healthy-to-healthy reconstruction
We first evaluate our model’s ability to reconstruct healthy images. We use the SSIM20 and mean squared error (MSE) metrics. We denote by hhSSIM (resp. hhMSE), the SSIM (resp. MSE) between a healthy input and its reconstruction . We compute these within the brain only, using a brain mask based on the MNI template.
2.3.2. Abnormal-to-healthy reconstruction
We then wish to evaluate our model’s ability to reconstruct abnormal images as healthy and anomaly detection performance. Because ground truth pairs of healthy and abnormal images are unavailable, we rely on the simulation framework introduced by Hassanaly et al.7 to simulate realistic hypometabolism characteristic of various dementia subtypes with different degrees of severity. In practice, we select a realistic pathology mask and reduce the image intensity within this mask by a given severity percentage . Formally, let us denote by the simulated abnormal image obtained from a healthy image , we set where is the voxel-by-voxel multiplication, and is the complement of the pathology mask , i.e., the region of the brain outside the pathology mask. Note that to obtain a realistic simulated image, we smoothed the mask with a Gaussian convolution filter with .
This framework is used to quantitatively evaluate our models. It allows evaluating the abnormal-to-healthy reconstruction quality by comparing the pseudo-healthy image generated from simulated abnormal input and the ground-truth healthy image . Similarly as above, we use the SSIM and the MSE metrics, which we now denote by ahSSIM and ahMSE.
2.3.3. Voxel-level anomaly map
Once we have, for each input , its single pseudo-healthy reconstruction , or its multiple pseudo-healthy reconstructions , we design our anomaly maps in different manners.
Our baseline is the residual-based anomaly map . Given the limitations of residual-based anomaly maps,10 we include in our experiments SSIM-based anomaly maps, where we compute the SSIM, with window size 11, between the input and the pseudo-healthy reconstruction(s).17,18
Moreover, to account for the model’s reconstruction errors, we design anomaly maps that are obtained from multiple reconstructions rather than a single reconstruction. These are designed in different ways: the difference (or SSIM) between the input image and the mean of the reconstructions and a -score with the multiple reconstructions. Recall that we denote by and the mean and standard deviation of the reconstructions obtained with the models with different random seeds. Similarly, we denote by and the mean and standard deviation of the reconstructions obtained by sampling times in the latent space.
In total, there are eight different anomaly map designs, globally denoted by and represented in Fig. 5:
Fig. 5.

Summary table of all possible anomaly maps, obtained from a single trained VAE model, from the deep ensemble with varying random seeds, or from Monte Carlo sampling in the latent space, and compared and aggregated in different manners. The top row corresponds to raw anomaly maps, and the bottom row to anomaly maps normalized using the healthy control validation set. We represent a central axial slice of the anomaly maps obtained for an input image with simulated AD at severity 30%.
-
i.
,
-
ii.
,
-
iii.
,
-
iv.
-
v.
-
vi.
-
vii.
-
viii.
In addition, we eventually normalize each anomaly map using a healthy validation set. We set
where and are the mean and standard deviation of the anomaly map across all images in a healthy control validation set (HC). We represent this normalization step in the diagram in Fig. 6 in the simple case of the residual anomaly map, and all anomaly maps derived from this process at the bottom row of Fig. 5. Note that the choice of healthy validation set is explored in a sensitivity analysis in Sec. 3.4.1.
Fig. 6.

Diagram of the normalization of anomaly maps using the anomaly maps obtained from a healthy control validation set. The diagram represents the simple case in which the anomaly map is a simple residual between input and output, but the process can be extended for all anomaly map types. We set , where and are the mean and standard deviation of across all images in a healthy validation set (HC).
We evaluate the voxel-level anomaly detection performance by comparing the unthresholded anomaly map with the simulation mask. For this, we compute the voxel-wise average precision, denoted by , and an estimate of the best possible Dice index, denoted by .
2.3.4. Sample-level anomaly score
We design sample-level anomaly scores as the mean of voxels of the absolute value of our anomaly map . We evaluate these using sample-wise area under the receiver operating characteristic curve (AUC) and average precision () (healthy versus abnormal, for each evaluation group separately). We binarize the scores using the 95th percentile of the scores on the healthy validation set and compute the precision and recall for each class separately.
2.4. Implementation Detail
2.4.1. VAE architecture and training
In terms of architecture, we choose the 3D -VAE proposed in Hassanaly et al.30 because it showed good performance on a benchmark30 comparing VAE variants focused on detecting dementia-related lesions in FDG PET images.
Its encoder is composed of five convolutional layers and a dense layer, and its decoder is symmetrical, by adding an upsampling layer before each convolution. After each convolutional layer is a batch normalization and a swish activation function, except for the last layer, in which there is no batch normalization, and the activation function is a sigmoid.
We perform data augmentation during training: random noise (with standard deviation 2) and random blur (with standard deviation 0.02) from TorchIO.31 We found that such change slightly increases the model performance in terms of healthy-to-healthy reconstruction, with the hhSSIM increasing from to , and anomaly detection on simulated images, with the on AD-30 increasing from to .
We keep all other training parameters the same: the latent space has size 256, we set , we train the model for 200 epochs, with learning rate and batch size 8 using ClinicaDL.32 Note that our images undergo min–max normalization from TorchIO31 before being passed through the neural network layers, so that the each voxel’s intensity is between 0 and 1.
2.4.2. Baseline implementation
To compare with the VAE, we implement two baseline approaches: the f-AnoGAN proposed by Schlegl et al.23 and an LDM proposed by Graham et al.24
For the training of the f-AnoGAN, we first train a Wasserstein GAN with gradient penalty to produce images from a latent variable , and then, we train an encoder to map healthy images to latent embeddings. We train the GAN for 400 epochs, and the encoder for 120 epochs.
For the LDM, we attempt to remain as close as possible to the formulation used in Graham et al.24 The training has two phases: first a VQ-VAE33 is trained to compress the 3D image, and then, the diffusion model is trained on these latent embeddings to learn the healthy distribution. At inference, the input image is encoded, its embedding is noised to a chosen noise level , passed through the diffusion model, and then decoded to obtain a pseudo-healthy reconstruction. Our VQ-VAE has three convolutional blocks, to obtain a spatial latent representation of size (21,26,22). We use a codebook size of 512 following Hassanaly et al.30 and 256 for the embedding dimension. We select a specific noise level so that we can evaluate the pseudo-healthy reconstruction quality, whereas Graham et al.24 aggregate multiple anomaly maps with different noise levels and evaluate solely the detection capabilities.
2.4.3. Summary of validation and testing datasets
Using the simulation framework described in Sec. 2.3.2,7 and the healthy test set, we obtain five evaluation groups which differ in lesion size, location, and severity: three groups of Alzheimer’s disease (AD) with increasing degrees of severity (AD-15, AD-30, AD-50) and two groups of medium severity for two other dementia subtypes, namely, the behavioral variant of fronto-temporal dementia (bvFTD-30), and the semantic-variant of primary progressive aphasia (svPPA-30), all shown in Fig. 7.
Fig. 7.

Summary table of the anomalies simulated (AD, bvFTD, and svPPA) with varying degrees of severity for the same subject, with the corresponding healthy image (right). Top: binary pathology mask used for the hypometabolism simulation. Bottom: simulated abnormal image, with the pathological region circled in red. The images are sagittal slices (at index 60) of the same subject, overlayed with the MNI template.
We also perform a sensitivity analysis in Sec. 3.4.1 to study the impact of the healthy-control normalization group on the anomaly map normalization , i.e., going from to . For these experiments, we use two additional validation groups and five additional testing groups. The first additional validation group consists of images with simulated low-severity AD, denoted by val-AD-15. The second additional validation group consists of the healthy validation images with mixed resolutions, rather than uniformized resolutions, denoted by val-CN-mres. Finally, the five additional testing groups consist in the same test images as described above, but in their mixed resolution version.
3. Experiments and Results
3.1. Baseline Approaches
We first compare our VAE’s performance with two baseline models, the f-AnoGAN proposed by Schlegl et al.23 and an LDM proposed by Graham et al.24 Both models are trained with random seed 0, and we therefore compare their performance with the -VAE trained with random seed 0 as well.
We report the abnormal-to-healthy reconstruction quality and the anomaly detection performance on AD-30 images in Fig. 8. We observe that all models have similar performance, showing that the -VAE, despite its blurry reconstructions, generate good pseudo-healthy reconstructions enabling good anomaly detection performance. We note that the ahMSE is lower for the -VAE than for the other models, whereas the ahSSIM is higher for the baseline models.
Fig. 8.

Reconstruction and anomaly detection performance on AD-30 images for baseline models: -VAE with seed 0 (), f-AnoGAN, and latent diffusion model (LDM). The abnormal-to-healthy reconstruction performance (in blue) is assessed using the ahMSE and the ahSSIM. The anomaly detection performance is assessed using the and the for raw residual map (in orange) and for normalized residual map (in green).
In the following sections, we will focus on the -VAE.
3.2. Variance of Models Trained with Different Random Seeds
We observe a large variability in the performance of VAE models trained with different random seeds, with considerably greater variability in anomaly detection metrics, and , than in abnormal-to-healthy reconstruction metrics, ahSSIM and ahMSE. The results for the evaluation group AD-30, which is representative of the other groups, for the residual-based anomaly map are shown in Fig. 9. Similar patterns are observed for all groups and anomaly map designs and are displayed in Figs. 15 and 16 in the Appendix B.
Fig. 9.

Reconstruction and anomaly detection performance on AD-30 images for residual map .
Fig. 15.

Reconstruction metrics per model trained with different random seed for all groups.
Fig. 16.

Average precision per model trained with different random seeds for all groups and all anomaly maps.
Note that this variability in performance is not due to the VAEs’ convergence, as all models had converged properly as shown by the learning curves displayed in Fig. 14 in the Appendix A.
Fig. 14.

Learning curves for all VAE models trained.
In the context of deep learning workflows for unsupervised anomaly detection, the impact of random seeds is often overlooked, with relatively few papers using deep ensembles, implying that the same model architecture can yield substantially different results depending on its initialization, potentially leading to substantial over- or under-performance, and biased evaluation.
3.3. Strategy 1: Z-Score to Aggregate Outputs from Models Trained with Different Random Seeds
In Fig. 10, we plot the scores obtained with residual anomaly maps of individual models (in blue) and with the proposed (in orange). We observe that outperforms all individual models for AD-15, AD-30, and svPPA-30 in terms of mean and median. For bvFTD-30, it outperforms all models in terms of median, and all but two in terms of mean. For AD-50, it outperforms all but two in terms of mean, and all but four models in terms of median.
Fig. 10.

for all groups of residual-based anomaly maps of models trained with random seeds 0 to 10 (in the -axis, in blue) compared with anomaly maps (in orange) built from the predictions of all models.
Similar results were observed with other anomaly map designs than residuals (see Fig. 17 in the Appendix B).
Fig. 17.

AP for all groups of all anomaly maps of models trained with random seeds 0 to 10 (in the -axis, in blue) compared with anomaly maps (in orange) built from the predictions of all models.
3.4. Strategy 2: Normalization of Anomaly Maps Using the Healthy Validation Set
Because training a deep ensemble is computationally expensive, we explore alternative strategies to reduce variance and mitigate the impact of random seed initialization.
We turn to normalizing the anomaly map using a healthy validation set, which not only allows for reducing the effect of the random seed on the performance variance, but should also account for a portion of the reconstruction error due to model imperfections and should capture the variability present in healthy data.
In Fig. 11, we report the for and across different random seeds for all evaluation groups. We observe a clear reduction in performance variability: the worst-performing models show substantial improvement, whereas the best-performing models maintain similar performance. We even observe a general increase in (from 0.1 to 0.3) for the svPPA-30 group.
Fig. 11.

without (left) and with (right) healthy-control validation-based normalization.
We observe from Fig. 8, that normalizing the anomaly maps using a healthy control validation set also improves the anomaly detection performance for the two baseline models on AD-30, the f-AnoGAN23 and the LDM.24 This suggests that our proposed strategy may generalize beyond VAEs.
Results for other anomaly maps are presented in Fig. 18 in the Appendix B.
Fig. 18.

AP without (left) and with (right) healthy-control validation-based normalization for all anomaly maps.
3.4.1. Sensitivity analysis: impact of the validation set quality
We then conduct a sensitivity analysis to assess the robustness of our normalization procedure. Our investigation focuses on two specific scenarios: (i) the case where the validation set is contaminated and contains anomalies and (ii) the case where a distribution shift occurs between the training and test sets.
To examine the first scenario, we use the val-AD-15 validation set, in which we introduced low-severity AD anomalies into all images. As shown in the top two rows of Table 1(a), the performance degrades when normalization is performed using val-AD-15 instead of val-CN. The drop is especially large for the svPPA-30 group, which is consistent with the fact that detecting small-scale anomalies is even more challenging. This experiment confirms that the normalization step requires a validation set that is as clean and anomaly-free as possible.
Table 1.
Mean (± std) across the 11 models trained with different random seeds for residual maps normalized using different healthy control validation groups: the usual healthy-control validation group (val-CN), images with simulated low-severity AD (val-AD-15), and healthy-control validation images with mixed (rather than uniform) resolutions (val-CN-mres). The highest values (in terms of mean) are highlighted in bold.
| (a) Evaluation on our usual testing sets with images with uniform resolutions | |||||
|---|---|---|---|---|---|
| AD-15 | AD-30 | AD-50 | svPPA-30 | bvFTD-30 | |
| val-CN | |||||
| val-AD-15 | |||||
| val-CN-mres |
|
|
|
|
|
| (b) Evaluation on the testing sets with images with mixed resolutions | |||||
| |
AD-15-mres |
AD-30-mres |
AD-50-mres |
svPPA-30-mres |
bvFTD-30-mres |
| val-CN | |||||
| val-AD-15 | |||||
| val-CN-mres | |||||
For the second scenario, we introduce a distribution shift using data with nonuniform resolution, which we refer to as mixed resolution (mres). Our goal is to determine whether normalization should rely on data closer to the training distribution or closer to the inference distribution. In all experiments, the models are trained on images with uniform resolution, and for normalization, we use either uniform-resolution data (val-CN) or mixed-resolution data (val-CN-mres). In Table 1(a), the test set also has uniform resolution, whereas in Table 1(b), the test set uses mixed resolutions. Across both settings, we observe that normalizing with images with uniform resolution (val-CN) consistently outperforms normalization with mixed resolutions (val-CN-mres). This suggests that normalization should be performed using data that match the training distribution rather than the inference distribution.
3.5. Strategy 3: Anomaly Map Designs
As an alternative approach to reduce variability and mitigate reconstruction errors, we explore other anomaly map designs and report these in Fig. 12 for the normalized anomaly maps, and in Fig. 19 for the raw anomaly maps.
Fig. 12.

Mean across models for each normalized anomaly map and each evaluation group.
Fig. 19.

Mean AP across models for each anomaly map type (without healthy-control validation-based normalization) and each evaluation group.
First, we test replacing the standard voxel-wise intensity difference with the SSIM between the input and the pseudo-healthy reconstruction, with , , and . In our experiments, this approach does not lead to performance improvements, on the contrary, SSIM-based maps consistently yield worse anomaly detection performance compared with standard residual maps. We also evaluate anomaly maps based on multiple reconstructions: , , , and . We find that the usual residual and produced comparable results, whereas perform poorly, likely due to unstable and low standard deviation values. As previously shown, and , even though computationally expensive, remain very strong-performing.
Furthermore, we quantify the reduction in performance variability and confirm that all types of anomaly maps benefit from this validation-based normalization. In terms of mean between subjects, this normalization reduces variability by at least 20%, with an average reduction of more than 50% across all evaluation groups and anomaly map designs, and up to a 10-fold decrease in the best cases. We note that there are some outlier cases for the bvFTD-30 and svPPA-30 evaluation groups in which the normalization increases variability.
3.6. Validation on Real Alzheimer’s Data
Finally, we validate our approach on both simulated dementia and real Alzheimer’s data from the ADNI database, both qualitatively by visually inspecting the anomaly maps and quantitatively using anomaly scores and comparing to other baseline approaches.
In Fig. 13, we display examples of anomaly maps for two AD patients, in Table 2, we show classification performance on anomaly scores from real AD patients for , , and , and in Table 3, we show classification performance for the normalized residual across all real and simulated testing groups, and in Table 4, we display the same results for the raw residual .
Fig. 13.

Input image , pseudo-healthy reconstruction , normalized residual , and thresholded anomaly map for two real AD patients.
Table 2.
Classification performance for the AD testing group versus healthy, for the different models (-VAE with seed 0, f-AnoGAN and LDM), with raw residuals, normalized residuals, and -score across random seeds () for the -VAE.
| Unthresholded | Thresholded | ||||
|---|---|---|---|---|---|
| AUC | Precision | Recall | |||
| 0.821 | 0.859 | 0.814 | 0.700 | ||
| 0.820 | 0.861 | 0.944 | 0.340 | ||
| 0.744 | 0.770 | 0.875 | 0.280 | ||
| f-AnoGAN | 0.762 | 0.771 | 0.864 | 0.380 | |
| 0.756 | 0.770 | 0.833 | 0.300 | ||
| LDM | 0.793 | 0.812 | 0.850 | 0.340 | |
| 0.801 | 0.827 | 0.805 | 0.660 | ||
Table 3.
Classification performance (abnormal versus healthy, for each evaluation group separately), for the different models (-VAE with seed 0, f-AnoGAN, and LDM), with normalized residuals .
| Unthresholded | Thresholded | ||||
|---|---|---|---|---|---|
| AUC | Precision | Recall | |||
| test-AD | 0.821 | 0.859 | 0.814 | 0.700 | |
| f-AnoGAN | 0.762 | 0.771 | 0.864 | 0.380 | |
| 0.801 | 0.827 | 0.805 | 0.660 | ||
| AD-15 | 0.806 | 0.791 | 0.750 | 0.480 | |
| f-AnoGAN | 0.666 | 0.617 | 0.727 | 0.160 | |
| 0.764 | 0.732 | 0.742 | 0.460 | ||
| AD-30 | 1.000 | 1.000 | 0.862 | 1.000 | |
| f-AnoGAN | 0.948 | 0.909 | 0.929 | 0.780 | |
| 0.992 | 0.992 | 0.862 | 1.000 | ||
| AD-50 | 1.000 | 1.000 | 0.862 | 1.000 | |
| f-AnoGAN | 1.000 | 1.000 | 0.943 | 1.000 | |
| 1.000 | 1.000 | 0.862 | 1.000 | ||
| bvFTD-30 | 0.955 | 0.952 | 0.849 | 0.900 | |
| f-AnoGAN | 0.812 | 0.755 | 0.824 | 0.280 | |
| 0.911 | 0.879 | 0.833 | 0.800 | ||
| svPPA-30 | 0.685 | 0.663 | 0.667 | 0.320 | |
| f-AnoGAN | 0.576 | 0.565 | 0.571 | 0.080 | |
| 0.637 | 0.615 | 0.619 | 0.260 | ||
Note: The highest values per evaluation group are highlighted in bold.
Table 4.
Classification performance (abnormal versus healthy, for each evaluation group separately), for the different models (-VAE with seed 0, f-AnoGAN, and LDM), with raw residuals .
| Unthresholded | Thresholded | ||||
|---|---|---|---|---|---|
| AUC | Precision | Recall | |||
| test-AD | 0.820 | 0.861 | 0.944 | 0.340 | |
| f-AnoGAN | 0.756 | 0.770 | 0.833 | 0.300 | |
| 0.793 | 0.812 | 0.850 | 0.340 | ||
| AD-15 | 0.810 | 0.802 | 0.917 | 0.220 | |
| f-AnoGAN | 0.693 | 0.649 | 0.625 | 0.100 | |
| 0.695 | 0.669 | 0.571 | 0.080 | ||
| AD-30 | 1.000 | 1.000 | 0.980 | 1.000 | |
| f-AnoGAN | 0.947 | 0.902 | 0.923 | 0.720 | |
| 0.989 | 0.989 | 0.938 | 0.900 | ||
| AD-50 | 1.000 | 1.000 | 0.980 | 1.000 | |
| f-AnoGAN | 1.000 | 1.000 | 0.943 | 1.000 | |
| 1.000 | 1.000 | 0.943 | 1.000 | ||
| bvFTD-30 | 0.933 | 0.934 | 0.962 | 0.500 | |
| f-AnoGAN | 0.849 | 0.782 | 0.786 | 0.220 | |
| 0.906 | 0.891 | 0.885 | 0.460 | ||
| svPPA-30 | 0.621 | 0.610 | 0.667 | 0.040 | |
| f-AnoGAN | 0.564 | 0.551 | 0.500 | 0.060 | |
| 0.612 | 0.603 | 0.571 | 0.080 | ||
Note: The highest values per evaluation group are highlighted in bold.
From Table 2, we find that anomaly scores based on normalized residuals improve classification performance compared with anomaly scores based on raw residuals. We note that this holds across all models, including the f-AnoGAN and the LDM. Moreover, we find that the classification of anomaly scores based on is higher than for anomaly scores based on , which is in turn higher than anomaly scores based on .
Overall, as shown in Table 3, our anomaly scores demonstrate good classification abilities across all evaluation groups, both with real and synthetic anomalies, with slightly worse scores for lesions of low severity (AD-15) and small size (svPPA-30).
4. Discussion
In this work, we highlight a largely overlooked source of variability in deep learning models for medical image synthesis: their random seed, which influences the random initialization of model weights, data augmentation (fixed parameters but random sampling) and the order in which data are presented to the model. We study the impact of the random seed of variational autoencoders on model performance, in terms of pseudo-healthy reconstruction quality, and in terms of anomaly detection performance. Because this source of variance is clearly undesirable, especially in the context of model evaluation for tasks such as anomaly detection, we present several approaches to mitigate its impact. We propose three different solutions, which we evaluate on 3D FDG PET in the context of dementia-related anomaly detection.
The first strategy proposed is to train a deep ensemble of models with different random seeds and to aggregate their reconstructions using a -score. This strategy is highly effective, but computationally expensive, as it requires training several replicates of the model. Note that the current study combines the outputs of 11 replicates, and it would be interesting to better understand the impact of the number and quality of the replicates on the performance gains.
As a more efficient alternative, we propose normalizing the anomaly maps using statistics computed from healthy controls, by means of a -score. We show that this normalization strategy substantially reduces performance variability across models and even increases anomaly detection performance in certain cases.
In our sensitivity analysis, we studied the impact of impure data, and distribution shifts in our normalizing set, and found that the normalizing data should be as clean and anomaly-free as possible, and match the training distribution rather than the inference distribution.
A critical component of the normalization strategy is the preprocessing of our images, and specifically the affine registration of all images to a common template, which enables voxel-wise comparison across subjects. Compared with standard clinical -score approaches, which rely entirely on population-level normalization and are thus highly sensitive to registration quality, our approach relies on subject-specific pseudo-healthy reconstruction, resulting in greater robustness to template misalignment. Moreover, although affine registration already yields substantial performance gains in our experiments, nonlinear registration could in principle improve spatial correspondence between subjects, leading to more accurate estimates of voxel-wise variability. However, in the context of pathologies involving severe cortical atrophy, nonlinear registration may inadvertently deform anomalous regions to conform to the template, potentially suppressing pathological signal. Investigating this trade-off constitutes a interesting direction for future work.
Moreover, note that if a lesion happens to coincide with a region that is poorly reconstructed in healthy subjects, resulting in high reconstruction variance on the healthy control normalization set, the detection will be more challenging in that specific area. We argue, however, that this behavior is reasonable: if a region is consistently poorly reconstructed in healthy subjects, it is likely that the model’s reconstruction of that same region in pathological subjects will also be unreliable, making any anomaly score derived from it inherently untrustworthy. The normalization thus appropriately discounts these uncertain regions rather than generating potentially spurious anomaly detections.
As a third strategy, we explore several anomaly map designs and find that, in our setting, SSIM-based maps do not outperform residual-based maps and that maps obtained by leveraging multiple reconstructions perform similarly to the usual residual maps.
We believe that the under-performance of SSIM-based maps can be attributed to its structure component, one of the three components of the SSIM alongside luminance and contrast. As visible in Fig. 5 where anomaly maps are qualitatively compared, SSIM-based maps exhibit large values near the cortical contours, precisely where the VAE struggles to preserve fine structural detail due to the blurry nature of its reconstructions. These artifacts at the cortical boundaries are not of pathological origin, yet they dominate the SSIM-based anomaly map and degrade detection performance. This interpretation is consistent with the findings of Huijben et al.,18 who analyzed the three SSIM components separately in the context of VAE-based anomaly detection on FLAIR images with synthetic lesions and showed that the poor performance of the structure component overshadows the contributions of the luminance and contrast components when the full SSIM score is used. Together, these results suggest that although SSIM is a principled perceptual metric, its structure component is ill-suited to the blurry reconstruction regime typical of VAEs, making simple residual-based maps a more reliable choice in this setting.
A further limitation of this work concerns the metrics used to evaluate anomaly detection performance.34 In particular, our evaluation does not distinguish between hypo- and hyper-metabolism, a distinction that is clinically meaningful in the context of dementia and FDG PET imaging, in which specific patterns of reduced or increased uptake carry distinct diagnostic significance. However, we note that this limitation applies specifically to the quantitative evaluation framework and does not preclude such distinctions from being made in practice. Indeed, one of the key advantages of the proposed approach is the interpretability of the resulting anomaly maps: by visually inspecting the signed residuals, a clinician can differentiate between regions of hypo- and hyper-metabolism, providing richer diagnostic information than what is captured by the aggregate performance metrics reported here.
Finally, the comparison with two baseline models, the f-AnoGAN23 and the LDM,24 shows that normalizing the anomaly maps seems beneficial to other models than VAEs. Future works could assess whether these findings generalize to other types of models.
Beyond PET-to-PET reconstruction approaches such as the one presented in this work, another well-recognized paradigm for pseudo-healthy PET synthesis relies on anatomically conditioned models, typically UNet-based architectures, that take a structural MRI as input and synthesize a pseudo-healthy PET image.35–37 These approaches offer a conceptual advantage for anomaly detection: because the input and output modalities differ, there is a natural domain gap that reduces the risk of anomalous PET signal being carried through into the reconstruction, a known challenge in reconstruction-based UAD. Furthermore, skip connections between the MRI encoder and PET decoder can enforce stronger anatomical fidelity, yielding sharper and more spatially precise pseudo-healthy images. However, these approaches require paired MRI-PET data at inference time, which is not always available, whereas PET-to-PET models such as ours can operate from PET alone. More fundamentally, directly observing the PET signal allows the model to capture subject-specific functional and metabolic patterns that anatomy alone may not predict, which is particularly relevant for detecting subtle or early-stage hypometabolism that precedes detectable structural changes. Both paradigms therefore present complementary trade-offs, and future work combining both modalities within a unified framework could be a promising direction.
5. Conclusion
In this work, we study variability in deep generative models used for pseudo-healthy reconstruction by comparing 11 VAEs trained with different random seeds. Our experiments were conducted on 3D brain FDG PET images with real and simulated dementia-related anomalies with different lesion size, location, and severity. We find that while the random seed has little impact on the reconstruction quality variability, it induces large variability in anomaly detection performance. We explore different strategies to mitigate the impact of the random seed on model performance variability. We demonstrate that normalizing the anomaly maps by means of a -score using the anomaly maps computed on a healthy control validation set substantially reduces performance variability across models and even increases anomaly detection performance in certain cases.
6. Appendix A: Learning Curves
In Fig. 14, we display the learning curves of the 11 VAEs trained with random seeds 0 to 10, showing that all models had converged properly.
7. Appendix B: Additional Results: All Evaluation Groups and Anomaly Maps
7.1. Variance of Models Trained with Different Random Seeds
In this section, we show additional results regarding the variance of models trained with different random seeds. In Fig. 15, we show the variance in terms of abnormal-to-healthy reconstruction metrics for all evaluation groups. In Fig. 16, we show the variance in terms of anomaly detection performance, using the average precision, for all evaluation groups and all anomaly map types.
7.2. Z-Score to Aggregate Outputs from Models Trained with Different Random Seeds
In Fig. 17, we show additional results regarding our Z-score to aggregate outputs from models trained with different random seeds. We display the average precision for all evaluation groups and different anomaly map designs.
7.3. Normalization of Anomaly Maps Using the Healthy Validation Set
In Fig. 18, we show the results of normalizing the anomaly maps using the healthy validation set for all evaluation groups and all anomaly map types.
7.4. Anomaly Map Design
In Fig. 19, we show the mean AP across models for each raw anomaly map type and each evaluation group.
7.5. Validation on Real Data
In Table 4, we display the classification performance for the different models with raw residuals for each evaluation group.
Acknowledgments
The research leading to these results has received funding from the French government under management of Agence Nationale de la Recherche as part of the “Investissements d’avenir” program (reference ANR-19-P3IA-0001 - PRAIRIE - and reference ANR-10-IAIHU-06 - IHU ICM) and the “France 2030” program (reference ANR-23-IACL-0008, PRAIRIE-PSAI) and from the European Union’s Horizon Europe Framework Program (grant number 101136607, project CLARA). This research was also funded by the Agence Nationale de la Recherche under the project “ANR-23-CE45-0005-01.” This work was granted access to IDRIS HPC resources under the allocation AD011011648 made by GENCI. Data collection and sharing for the ADNI is funded by the National Institute on Aging (National Institutes of Health Grant U19AG024904). The grantee organization is the Northern California Institute for Research and Education. In the past, ADNI has also received funding from the National Institute of Biomedical Imaging and Bioengineering, the Canadian Institutes of Health Research, and private sector contributions through the Foundation for the National Institutes of Health (FNIH).
Biographies
Maëlys Solal is a PhD candidate in the ARAMIS Lab, a joint laboratory between Sorbonne University, CNRS, Inria, Inserm, and AP-HP within the Paris Brain Institute. She received her master’s degree in computer science from the University of Oxford in 2022 and her master’s degree in cognitive science from the ENS - PSL in 2023. Her research focuses on deep learning and generative models for the analysis of medical imaging and in particular their applications to brain disorders.
Pascaline André is a PhD candidate in the ARAMIS Lab, a joint laboratory between Sorbonne University, CNRS, Inria, Inserm, and AP-HP within the Paris Brain Institute. She received her master’s degree in statistics from the University of Paris Saclay in 2023. Her research focuses on the statistical evaluation of machine learning models for medical image analysis.
Ninon Burgos is a CNRS researcher in the ARAMIS Lab, a joint laboratory between Sorbonne University, CNRS, Inria, Inserm, and AP-HP the Paris Brain Institute, France. She completed her PhD at University College London, UK, in 2016, and her Habilitation degree from Sorbonne University in 2022. Her research focuses on the development of computational imaging tools to improve the understanding and diagnosis of dementia.
Funding Statement
The research leading to these results has received funding from the French government under management of Agence Nationale de la Recherche as part of the “Investissements d’avenir” program (reference ANR-19-P3IA-0001 - PRAIRIE - and reference ANR-10-IAIHU-06 - IHU ICM) and the “France 2030” program (reference ANR-23-IACL-0008, PRAIRIE-PSAI) and from the European Union’s Horizon Europe Framework Program (grant number 101136607, project CLARA). This research was also funded by the Agence Nationale de la Recherche under the project “ANR-23-CE45-0005-01.” This work was granted access to IDRIS HPC resources under the allocation AD011011648 made by GENCI. Data collection and sharing for the ADNI is funded by the National Institute on Aging (National Institutes of Health Grant U19AG024904). The grantee organization is the Northern California Institute for Research and Education. In the past, ADNI has also received funding from the National Institute of Biomedical Imaging and Bioengineering, the Canadian Institutes of Health Research, and private sector contributions through the Foundation for the National Institutes of Health (FNIH).
Contributor Information
Maëlys Solal, Email: maelys.solal@icm-institute.org.
Pascaline André, Email: pascaline.andre@icm-institute.org.
Ninon Burgos, Email: ninon.burgos@cnrs.fr.
for the Alzheimer’s Disease Neuroimaging Initiative Group, Email: rcgreen@bwh.harvard.edu.
Disclosures
The authors declare that there are no financial interests, commercial affiliations, or other potential conflicts of interest that could have influenced the objectivity of this research or the writing of this paper.
Code and Data Availability
The data preprocessing pipelines are available in Clinica (https://github.com/aramis-lab/clinica). The VAE models are implemented in Pythae (https://github.com/clementchadebec/benchmark_VAE). The code for model training and inference is available on ClinicaDL (https://github.com/aramis-lab/clinicaDL).
Data used in preparation of this article were obtained from the Alzheimer’s Disease Neuroimaging Initiative (ADNI) database, which can be obtained by requesting access on the LONI website (https://adni.loni.usc.edu/data-samples/access-data).
References
- 1.Burgos N., et al. , “Deep learning for brain disorders: from data processing to disease treatment,” Brief. Bioinform. 22, 1560–1576 (2021). 10.1093/bib/bbaa310 [DOI] [PubMed] [Google Scholar]
- 2.Chen X., Konukoglu E., “Unsupervised abnormality detection in medical images with deep generative methods,” in Biomedical Image Synthesis and Simulation, Burgos N., Svoboda D., Eds., The MICCAI Society Book Series, pp. 303–324, Academic Press; (2022). [Google Scholar]
- 3.Bercea C. I., et al. , “Reversing the abnormal: pseudo-healthy generative networks for anomaly detection,” Lect. Notes Comput. Sci. 14224, 293–303 (2023). 10.1007/978-3-031-43904-9 [DOI] [Google Scholar]
- 4.Xia T., Chartsias A., Tsaftaris S. A., “Pseudo-healthy synthesis with pathology disentanglement and adversarial learning,” Med. Image Anal. 64, 101719 (2020). 10.1016/j.media.2020.101719 [DOI] [PubMed] [Google Scholar]
- 5.Choi H., et al. , “Deep learning only by normal brain PET identify unheralded brain anomalies,” EBioMedicine 43, 447–453 (2019). 10.1016/j.ebiom.2019.04.022 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6.Baydargil H. B., Park J.-S., Kang D.-Y., “Anomaly analysis of Alzheimer’s disease in PET images using an unsupervised adversarial deep learning model,” Appl. Sci. 11, 2187 (2021). 10.3390/app11052187 [DOI] [Google Scholar]
- 7.Hassanaly R., et al. , “Evaluation of pseudo-healthy image reconstruction for anomaly detection with deep generative models: application to brain FDG PET,” Mach. Learn. Biomed. Imaging 2, 611–656 (2024). 10.59275/j.melba.2024-b87a [DOI] [Google Scholar]
- 8.Baur C., et al. , “Autoencoders for unsupervised anomaly segmentation in brain MR images: a comparative study,” Med. Image Anal. 69, 101952 (2021). 10.1016/j.media.2020.101952 [DOI] [PubMed] [Google Scholar]
- 9.Schlegl T., et al. , “Unsupervised anomaly detection with generative adversarial networks to guide marker discovery,” Lect. Notes Comput. Sci. 10265, 146–157 (2017). 10.1007/978-3-319-59050-9 [DOI] [Google Scholar]
- 10.Meissen F., et al. , “On the pitfalls of using the residual error as anomaly score,” in Proc. 5th Int. Conf. Medical Imaging with Deep Learning, PMLR, pp. 914–928 (2022). [Google Scholar]
- 11.Cai Y., et al. , “Dual-distribution discrepancy with self-supervised refinement for anomaly detection in medical images,” Med. Image Anal. 86, 102794 (2023). 10.1016/j.media.2023.102794 [DOI] [PubMed] [Google Scholar]
- 12.Mao Y., et al. , “Abnormality detection in chest X-ray images using uncertainty prediction autoencoders,” Lect. Notes Comput. Sci. 12266, 529–538 (2020). 10.1007/978-3-030-59725-2 [DOI] [Google Scholar]
- 13.Kascenas A., et al. , “The role of noise in denoising models for anomaly detection in medical images,” Med. Image Anal. 90, 102963 (2023). 10.1016/j.media.2023.102963 [DOI] [PubMed] [Google Scholar]
- 14.Bercea C. I., et al. , “Mask, stitch, and re-sample: enhancing robustness and generalizability in anomaly detection through automatic diffusion models,” in ICML 3rd Workshop on Interpretable Machine Learning in Healthcare (IMLH) (2023). [Google Scholar]
- 15.Baur C., et al. , “Bayesian skip-autoencoders for unsupervised hyperintense anomaly detection in high resolution brain MRI,” in 2020 IEEE 17th Int. Symp. Biomedical Imaging (ISBI), IEEE, Iowa City, IA, USA, pp. 1905–1909 (2020). [Google Scholar]
- 16.Patel A., et al. , “Cross attention transformers for multi-modal unsupervised whole-body PET anomaly detection,” Mach. Learn. Biomed. Imaging 2, 172–201 (2023). 10.59275/j.melba.2023-18c1 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Behrendt F., et al. , “Leveraging the Mahalanobis distance to enhance unsupervised brain MRI anomaly detection,” Lect. Notes Comput. Sci. 15011, 394–404 (2024). 10.1007/978-3-031-72120-5 [DOI] [Google Scholar]
- 18.Huijben E. M. C., Amirrajab S., Pluim J. P. W., “Enhancing reconstruction-based out-of-distribution detection in brain MRI with model and metric ensembles,” Comput. Methods Programs Biomed. 272, 109045 (2025). 10.1016/j.cmpb.2025.109045 [DOI] [PubMed] [Google Scholar]
- 19.Sato K., et al. , “Predictable uncertainty-aware unsupervised deep anomaly segmentation,” in Int. Joint Conf. Neural Networks (IJCNN), pp. 1–7 (2019). [Google Scholar]
- 20.Wang Z., et al. , “Image quality assessment: from error visibility to structural similarity,” IEEE Trans. Image Process. 13, 600–612 (2004). 10.1109/TIP.2003.819861 [DOI] [PubMed] [Google Scholar]
- 21.Kingma D. P., Welling M., “Auto-encoding variational Bayes,” in Int. Conf. Learn. Represent. (2014). [Google Scholar]
- 22.Higgins I., et al. , “Beta-VAE: learning basic visual concepts with a constrained variational framework,” in Int. Conf. Learning Representations (2016). [Google Scholar]
- 23.Schlegl T., et al. , “F-AnoGAN: fast unsupervised anomaly detection with generative adversarial networks,” Med. Image Anal. 54, 30–44 (2019). 10.1016/j.media.2019.01.010 [DOI] [PubMed] [Google Scholar]
- 24.Graham M. S., et al. , “Unsupervised 3D out-of-distribution detection with latent diffusion models,” Lect. Notes Comput. Sci. 14220, 446–456 (2023). 10.1007/978-3-031-43907-0 [DOI] [Google Scholar]
- 25.Mueller S. G., et al. , “The Alzheimer’s Disease Neuroimaging Initiative,” Neuroimaging Clin. N. Am. 15, 869–877 (2005). 10.1016/j.nic.2005.09.008 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 26.Jagust W. J., et al. , “The Alzheimer’s Disease Neuroimaging Initiative positron emission tomography core,” Alzheimer’s Dement. 6, 221–229 (2010). 10.1016/j.jalz.2010.03.003 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27.Jagust W. J., et al. , “The Alzheimer’s Disease Neuroimaging Initiative 2 PET core: 2015,” Alzheimer’s Dement. 11, 757–771 (2015). 10.1016/j.jalz.2015.05.001 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28.ADNI, https://adni.loni.usc.edu/data-samples/adni-data/neuroimaging/pet/.
- 29.Routier A., et al. , “Clinica: an open-source software platform for reproducible clinical neuroscience studies,” Front. Neuroinform. 15, 689675 (2021). 10.3389/fninf.2021.689675 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30.Hassanaly R., et al. , “Benchmarking 3D generative autoencoders for pseudo-healthy reconstruction of brain 18F-fluorodeoxyglucose positron emission tomography,” J. Med. Imaging 12, 054005 (2025). 10.1117/1.JMI.12.5.054005 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.Pérez-García F., Sparks R., Ourselin S., “TorchIO: a Python library for efficient loading, preprocessing, augmentation and patch-based sampling of medical images in deep learning,” Comput. Methods Programs Biomed. 208, 106236 (2021). 10.1016/j.cmpb.2021.106236 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 32.Thibeau-Sutre E., et al. , “ClinicaDL: an open-source deep learning software for reproducible neuroimaging processing,” Comput. Methods Programs Biomed. 220, 106818 (2022). 10.1016/j.cmpb.2022.106818 [DOI] [PubMed] [Google Scholar]
- 33.Van Den Oord A., Vinyals O., Kavukcuoglu K., “Neural discrete representation learning,” in Advances in Neural Information Processing Systems, Vol. 30 (2017). [Google Scholar]
- 34.Zimmerer D., Maier-Hein K., “Revisiting anomaly localization metrics,” in Medical Imaging with Deep Learning (2024). [Google Scholar]
- 35.Yaakub S. N., et al. , “Pseudo-normal PET synthesis with generative adversarial networks for localising hypometabolism in epilepsies,” Simulation and Synthesis in Medical Imaging, Burgos N., Gooya A., Svoboda D., Eds., pp. 42–51, Springer International Publishing, Cham: (2019). [Google Scholar]
- 36.Hinge C., et al. , “A zero-dose synthetic baseline for the personalized analysis of [18F]FDG-PET: application in Alzheimer’s disease,” Frontiers in Neuroscience 16 (2022). 10.3389/fnins.2022.1053783 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 37.Zotova D., et al. , “GAN-based synthetic FDG PET images from T1 brain MRI can serve to improve performance of deep unsupervised anomaly detection models,” Comput. Methods and Programs in Biomed. 265, 108727 (2025). [DOI] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Data Availability Statement
The data preprocessing pipelines are available in Clinica (https://github.com/aramis-lab/clinica). The VAE models are implemented in Pythae (https://github.com/clementchadebec/benchmark_VAE). The code for model training and inference is available on ClinicaDL (https://github.com/aramis-lab/clinicaDL).
Data used in preparation of this article were obtained from the Alzheimer’s Disease Neuroimaging Initiative (ADNI) database, which can be obtained by requesting access on the LONI website (https://adni.loni.usc.edu/data-samples/access-data).
