Skip to main content
UKPMC Funders Author Manuscripts logoLink to UKPMC Funders Author Manuscripts
. Author manuscript; available in PMC: 2023 Jul 14.
Published in final edited form as: Neuroimage. 2022 Apr 21;256:119210. doi: 10.1101/2021.10.29.21265645

Deep neural networks learn general and clinically relevant representations of the ageing brain

Esten H Leonardsen 1,2,*, Han Peng 3, Tobias Kaufmann 2,4, Ingrid Agartz 2,5,6, Ole A Andreassen 2, Elisabeth Gulowsen Celius 7,8, Thomas Espeseth 1,9, Hanne F Harbo 7,8, Einar A Høgestøl 1,2,7, Ann-Marie de Lange 1,10,11, Andre F Marquand 12, Didac Vidal-Piñeiro 1, James M Roe 1, Geir Selbæk 13,14, Øystein Sørensen 1, Stephen M Smith 3, Lars T Westlye 1,2,X,#, Thomas Wolfers 1,2,#, Yunpeng Wang 1,#
PMCID: PMC7614754  EMSID: EMS178734  PMID: 35462035

Abstract

The discrepancy between chronological age and the apparent age of the brain based on neuroimaging data — the brain age delta — has emerged as a reliable marker of brain health. With an increasing wealth of data, approaches to tackle heterogeneity in data acquisition are vital. To this end, we compiled raw structural magnetic resonance images into one of the largest and most diverse datasets assembled (n=53542), and trained convolutional neural networks (CNNs) to predict age. We achieved state-of-the-art performance on unseen data from unknown scanners (n=2553), and showed that higher brain age delta is associated with diabetes, alcohol intake and smoking. Using transfer learning, the intermediate representations learned by our model complemented and partly outperformed brain age delta in predicting common brain disorders. Our work shows we can achieve generalizable and biologically plausible brain age predictions using CNNs trained on heterogeneous datasets, and transfer them to clinical use cases.

Introduction

Neurodevelopmental and age-related changes in the brain play a crucial role in the etiology of complex neurological1 and mental disorders2. Predictive models for an individuals age based on magnetic resonance imaging (MRI) have been used to estimate normative trajectories across the lifespan36. Individual deviations from these trajectories, often called the brain age delta, have been linked to brain health7,8, and more extreme deviations observed in patients with schizophrenia (SCZ)911, depression12, cognitive impairment13,14, dementia15, Alzheimer’s disease (AD)16 and multiple sclerosis (MS)17, implying that such deviations could be a feasible biological marker for various brain disorders.

The brain age of an individual is typically estimated from brain images using statistical learning techniques. The first-generation models were relatively simple, typically based on independent voxels3 or a limited number of imaging-derived phenotypes (IDPs) reflecting brain properties such as volumetric measures of different regions18. These models generally estimated linear relationships, were restricted in scale, and were trained on datasets with tens, hundreds or a few thousand partici-pants7. In parallel with continuous computational advances the exponential growth of MRI data has enabled deep learning models of scale for accurate brain age estimation6,19. Deep learning models can take minimally- or non-preprocessed 3-D images as input - avoiding computationally demanding and hypothesis-driven20 choices during image processing - and model complex non-linear relations between voxels. One such model is the Simple Fully Convolutional Network (SFCN), a novel deep Convolutional Neural Network (CNN) that won the Predictive Analysis Challenge for brain age prediction in 2019 (PAC2019)21,22. While such deep learning approaches allow for the prediction of brain age with unprecedented accuracy, and can potentially help us identify idiosyncratic regional patterns of neurodevelopment and ageing at the individual level23,24, their complexity also comes with a risk of overfitting, namely finding patterns in the training data which do not generalize well to new, previously unseen, participants25.

Transfer learning, a deep learning technique widely used in other areas of applied machine learning research, has recently gained momentum in neuroimaging26. Here, learned intermediate representations can be shared between tasks, allowing a model to be transferred to a problem or a dataset it was initially not trained for27. This approach has arguably been one of the core developments underlying the practical success of deep learning in a range of computer vision problems28 by using models trained on general purpose datasets, typically ImageNet29, and fine-tuning them towards a wide array of tasks. Recent studies have shown that transfer learning yields promising results also for brain age predictions30 and clinical classifications based on MRI data31,32. This exemplifies the need for robust, pretrained models on massive multisite datasets, that can be translated to smaller clinical samples, and, ultimately, to individual cases in a clinical setting. Modelling brain age as a pre-training step has obvious advantages as age is a variable which is available in most current MRI datasets. Additionally, the representations learned by the brain age models, representing partly independent dimensions of age-related variance, could be of direct importance in individual level brain phenotyping.

In the present study we trained deep neural network models for brain age prediction on structural MRI data from 53542 healthy individuals between 3 and 95 years of age to test their ability to generalize, and demonstrate the downstream applicability and biological relevance of a properly generalizing model. We used the Simple Fully Convolutional Network with a softmax output (SFCN-sm) which predicts age as a discrete probability distribution, and compared its accuracy and generalizability with two proposed variants of the architecture; a regression variant (SFCN-reg), directly predicting continuous age, and a ranking variant (SFCN-rank) encoding age as an ordinal vector. Brain age delta was computed as the difference between the predicted and chronological age. To estimate the sensitivity and clinical relevance of our best model, we tested for associations between brain age delta and a range of clinical and biological phenotypes, and sociodemographic and lifestyle variables, in unseen data from a population sample. To further demonstrate the applicability of the model, we employed the pretrained SFCN-reg in a transfer learning context to predict case-control status for AD, MS, mild cognitive impairment (MCI), SCZ, mood disorders and psychotic disorders on datasets obtained from a range of MRI scanners. To promote transparency and reproducibility we have implemented an easy-to-use Keras interface for all the trained models, both the brain age and clinical predictors, and a pipeline for preprocessing images, available on our GitHub http://www.github.com/estenhl/pyment-public.

Results

We compiled 21 publicly available datasets with T1-weighted MRI scans into a large and diverse imaging dataset (total N=53542; female N=27715; age range=3-95), and trained a Simple Fully Convolutional 3-dimensional CNN with 6 convolutional blocks and a softmax output layer (SFCN- sm, Figure 1b), as introduced in Peng et al21. We then proposed two alternatives for the prediction layer of this architecture, the first based on regression (SFCN-reg) and the second based on ranking33 (SFCN-rank) (see Methods for details). Due to the time-consuming process of model evaluation, we restricted our search to these three variants of the given architecture, and trained a handful of versions of each variant with different hyperparameter settings. To evaluate the generalization performance of the models, we divided our data at two levels; A reference dataset (Figure 1 and Supplementary Table 1) and an external dataset (Figure 2a and Supplementary Table 2). In the reference dataset, we evaluated the performance of the trained models on an independent test split from known scanners with an age distribution resembling the training split. We then tested model performance on the external dataset compiled from different sources, originating from scanners unseen by the models during training with a divergent age distribution.

Figure 1. An overview of the dataset and models used for brain age modelling.

Figure 1

(a) The reference dataset contains 53542 healthy participants from 21 datasets, with ages ranging from 3 to 95 years. For both sexes the age distribution is approximately bimodal, with the first large group of participants from 5 to 35 years originating from multiple studies, and the second from 45 to 80 mostly consisting of participants from the UKBB. (b) We implemented three model variants for predicting brain age, all based on the contest-winning SFCN architecture21. The architectures of the three variants differ only in the final prediction layer. All the models take minimally preprocessed T1-weighted MRI images as input. (c) The modelling process consisted of three steps, each utilizing a different portion of the reference dataset. In the final comparison we also employed an external dataset, coming from previously unseen scanners, to assess the generalization capabilities of the different models. Having found the best brain age model, we subsequently applied it in two applications: A phenome-wide association study (PheWAS), and a case-control comparison including several clinical conditions.

Figure 2. The two datasets used in the model comparison, and the predictive performance of the three model variants.

Figure 2

(a) For comparing the models we employed two distinct datasets: A test set sampled from the reference dataset, and an external dataset. The former was drawn using stratification, and as a consequence has an age distribution closely resembling the one seen in the full reference dataset. The latter was compiled from a different subset of datasets, and thus was acquired from different scanners. The age range of the external dataset is somewhat narrower, spanning a region of 13 to 95 years, and has a more uniform distribution. (b) The six scatter plots display the predictions of a given model on the x-axis, against the ground truth age of the participants on the y-axis. The top row contains the predictions of the three model variants on the test set, and the bottom row the external dataset.

Superior generalization performance of SFCN-reg

We used the training and validation sets to optimize and tune the models, and a conjunction of the test set and the external dataset in a final model comparison. For each model variant we trained three versions, with different hyperparameter settings, on the training data, and selected the best model based on the mean absolute error (MAE) on the validation set (Figure 1c and Supplementary table 8). We then compared the performances of the best version for each model variant on the test set. In this comparison the results mirrored those of the validation set, with SCFN-sm achieving the best result with an MAE of 2.23 years, followed by SCFN-reg with 2.47 years and SCFN-rank with 2.55 years (Figure 2b). Given the added complexity of including multiple datasets from a large range of scanners, we consider these results to be approximately on par with the MAE of 2.14 reported in the original SFCN paper21, and thus among the best performing models in the field34. Additionally, the heterogeneous origins of the dataset facilitate cross-site generalization, an essential property when training large multisite models35.

As a conclusive test of model generalization, we performed the same comparison on the external dataset, containing unseen data from different MRI scanners with an age distribution diverging from that of the reference dataset. SCFN-reg substantially outperformed the two alternatives, with an MAE of 3.90 compared to 5.04 and 5.82 for SFCN-sm and SFCN-rank respectively (Figure 2). While the performance of all models were lower on the external dataset, the extent of the generalization error was considerably different. When compared with MAEs from the test set, the average error of SFCN-reg increased by approximately half, while it more than doubled in SFCN-sm and SFCN-rank (Supplementary Table 9). This difference coincides with the architectural differences between the models: Where both the SFCN-sm and SFCN-rank used age-bins, with an output node for each age in its prediction range, SFCN-reg had a single output predicting a single continuousnumber. Therefore, the predictions of the SFCN-reg reflect a simpler combination of the learned representations in the preceding layer of the model, which we hypothesize may be the reason for the improved generalization performance. In the subsequent applications we use the SFCN-reg version that achieved the best MAE on the external dataset. Additionally, to facilitate cross-study comparisons, we have compiled a range of performance metrics for our three models on the external dataset in Table 1.

Table 1. Predictive performance of the soft classifiation model (SFCN-sm), the regression model (SFCN-reg) and the ranking model (SFCN-rank) on the external dataset, originating from scanners which has not been seen by the models during training. Mean Absolute Error (MAE), Root Mean Squared Error (RMSE), R and R2 are sensitive to the age range of the dataset, while normalized RMSE (nRMSE) and Relative Absolute Error (RAE) are not, facilitating comparisons across datasets.

Model MAE RMSE R R2 mRMSE RAE
SFCN-sm 5.04 6.51 0.961 0.903 0.078 0.26
SFCN-reg 3.90 5.11 0.975 0.940 0.061 0.20
SFCN-rank 5.92 7.54 0.959 0.870 0.090 0.31

Observing that all the models performed worse in the external dataset than in the test set, we performed post-hoc analyses to further understand the causes underlying the generalization problems. Specifically, we tried isolating two sources of generalization error: Differences in population, represented here by age and sex distributions, and differences in scanners and acquisition protocols. We approached this by resampling two artificial datasets, both with participants previously unseen by the models. First, we sampled a dataset with an “Unknown population”, with participants from the test set following the empirical age and sex distribution of the external dataset. Secondly, we created a dataset with “Unknown scanners”, sampling participants from the external dataset while following the distributions of the test set (see Methods for further details). Due to the stratification used in the initial train/validation/test split the latter set also directly matches the distributions of the training set. For each of these two new datasets we computed an MAE per model, which naturally fell between the MAEs on the test set and on the external dataset. While this approach is exploratory and inherently limited to the characteristics and actual data points making up our datasets, the results clearly indicate that the main driver of generalization error is the unknown scanners (Table 2 and Supplementary Figure 1) which had higher errors (MAEus) than the unknown population (MAEUP) for all the models. Additionally, these two sources of generalization error seem to work additively, with their sum closely matching the full generalization error observed in the external dataset. A final observation was that SFCN-reg handled both sources of error best, which is further evidence of its superior ability to generalize.

Table 2. Mean Absolute Errors measured for the three model variants on the test set, drawn from the same distributions of scanners and ages as the training dataset, the “Unknown population” dataset (MAEup) and the “Unknown scanners” dataset (MAEus), both representing a single source of generalization error, and the external dataset, different from the training set in both regards.

Model MAEtest MAEup MAEus MAEexternal
SFCN-sm 2.23 3.48 3.84 5.04
SFCN-reg 2.47 2.89 3.42 3.90
SFCN-rank 2.55 3.95 4.32 5.92

Brain age predictions associate with biological phenotypes and lifestyle factors

Next, we validated the relevance of the model predictions by correlating their deviations from chronological age with an array of phenotypes in a phenome-wide association study. We performed this analysis in the subset of the UKBB data that was not used for brain age modelling or validation (n=8066), and tested associations with all the biological phenotypes and lifestyle variables accessible, manually divided into thirteen thematic categories for interpretability (Supplementary Table 7). For each phenotype we computed a univariate correlation while correcting for age and sex36,37, and assessed its significance using a Bonferroni-corrected p-value threshold of p <1.26 × 10−4 (see Methods). All continuous variables were standardized, such that their effect sizes denote the impact a one standard deviation increase has on the brain age delta. In general, our results corroborated several findings derived from previous studies using smaller samples (Figure 3a). We observed significantly higher delta in participants with high blood pressure = 0.41, p = 1.86 × 10−7), those currently on blood pressure medication (β = 0.54, p = 1.17 × 10−10), and a positive correlation with blood pressure readings (diastolic (DBP): β = 0.15, p = 2.53× 10−6, systolic (SBP): β = 0.16, p = 3.30 × 10−6). The associations with the largest effects indicated higher delta in patients with a diabetes diagnosis (β = 0.74, p = 2.25 × 10−7) or diabetes-related eye problems (β = 1.78, p = 4.59 × 10−7). Among the biochemical measurements, significant associations with brain age delta were found for blood glucose levels (β = 0.23, p = 3.18 × 10−11), Insulin-Like Growth Factor-1 levels (β = −0.22, p = 5.81 × 10−11), glycated haemoglobin levels (β = 0.16, p = 7.97 × 10−7) and mean corpuscular volume (β = 0.13, p = 3.33 × 10−5). Associations with variables we categorized as related to diet and lifestyle were dominated by previous smoking, with a positive correlation with number of cigarettes per day (absolute pack years: β = 0.24, p = 8.55 × 10−5, pack years as proportion of age: β = 0.26, p = 2.41 × 10−5) and age stopped smoking (β = 0.25, p = 7.59 × 10−5). We also observed significant associations with average weekly beer and cider intake (β = 0.21, p = 1.13 × 10−7) and alcohol intake frequency (β = 0.12, p = 1.09 × 10−4), cereal intake (β = -0.16, p = 7.61 × 10−7) and participation in “Other group activity” (e.g. social activities not related to a sports or social club, religious group or adult education, β = −0.27, p = 5.91 × 10−5). Further, we observed a significant correlation with the number of people living in the participants household (β = -0.13, p = 8.20 × 10−5) and higher deltas in those born outside the United Kingdom and the Republic of Ireland (compared to the baseline group born in England, β = 0.62, p = 4.62 × 10−6). An overview of all the 394 associations can be found in Supplementary Table 12.

Figure 3. Associations between the brain age delta and a wide range of phenotypes.

Figure 3

We correlated the brain age delta originating from the SFCN-reg with 394 phenotypic variables in the test set portion of the UKBB, categorized into thirteen categories. (a) A Manhattan plot visualizing the significances of the 394 associations. Using a Bonferroni-corrected threshold, 19 of these were found to be significantly associated with the delta. (b) The effect sizes of the significant associations. For binary variables the effect size expresses the mean difference between the groups, while for continuous variables it denotes the change in brain age delta associated with a one standard deviation increase. (c) For each of the thirteen categories we calculated the proportion of significant hits by dividing the number of significant hits within that category with the total number of variables in the same category.

Transferring brain age predictions to developmental and degenerative brain disorders

For six different disorders we compiled a patient cohort and a matched control group, and calculated a brain age delta per participant based on the prediction from SFCN-reg (Supplementary Figure 4). In all control groups, the brain age prediction accuracy was approximately the same as for the full test set (MAEs=2.91-4.05, Supplementary Figure 3). Patients with MS showed significantly higher brain age estimates than their matched healthy controls (brain age group mean difference △ = 4.42 years, p = 1.71 × 10−22, Cohen’s d = 0.87). A similar pattern was also observed for patients with AD (△ = 2.81, p = 4.20 × 10−20, d = 0.59), MCI (△ = 2.13, p = 1.25 × 10−15, d = 0.46) and SCZ (△ = 1.40, p = 4.29 × 10−5, d = 0.34). For the individuals with mood disorders (MOOD, see Methods) this difference was the smallest (△ = 0.64, p = 0.04, d = 0.17), while the difference was not significant for patients with a mix of psychotic diagnoses (PSY) (△ = 0.74, p = 0.15, d = 0.20). Both the relative ordering of the disorders in terms of group difference, the magnitude of the disparities, and the observed significance resemble a previous study8 using a different model based on a smaller dataset.

To demonstrate the predictive power of our best performing pretrained brain age model for clinical conditions, we trained multiple binary classifiers to predict whether a participant had a diagnosis or not (Figure 1c, Figure 4 and Methods). We used logistic regression models with an l1-penalization for this purpose (LASSO models), optimized via a nested cross validation procedure (Supplementary Figure 5), and started with a baseline model classifying participants based only on age and sex. The second model included the brain age delta originating from the brain age prediction of SFCN-reg, and the third model replaced the brain age delta by 64 features encoded in the second to last layer of the same model (Figure 4b and Methods). Across the six disorders, the baseline models achieved an area under the receiver operating curve (AUCs) ranging from 0.47 to 0.54, indicating that our matching procedure was satisfactory. Using the second set of models, quantifying the predictive power of the brain age deltas in Supplementary Figure 4, greatly improved the prediction performance when compared to the corresponding baseline models for MS (AUC=0.71 vs. 0.50), AD (0.69 vs. 0.51) and MCI (0.65 vs. 0.54); but to a minimal extent for SCZ (0.58 vs. 0.50), MOOD (0.55 vs. 0.52), and PSY (0.52 vs. 0.47). A third set of classifiers were implemented in a strict transfer learning context, utilizing the 64 features of the second-to-last layer of SFCN-reg as predictors (Methods). These features represent high-level, data-driven abstractions of the brain imaging data, and underlie the singular brain age prediction. We refer to this variant of transfer learning as strict because we kept the weights of the initial brain age model locked while optimizing for the new binary objective, which in turn allow us to keep treating these as ageing features and thus promote interpretability. While this complicates contextualizing the performance of our models in terms of existing case-control classifiers, it gives us an indication of the information content of these learned features. This third set of models improved AD prediction substantially (AUC=0.83), and also were notably better for MS (0.79), MCI (0.73) and PSY (0.62), while only a marginal improvement was observed in SCZ (0.62) and MOOD (0.59). Overall, our results show that our brain age model can be transferred to make case-control predictions of these common clinical brain disorders.

Figure 4. The datasets and models used for clinical predictions, and an overview over their performance.

Figure 4

We applied the best performing SFCN-reg in a clinical setting by training binary classifiers to discriminate between patients and controls for multiple common brain disorders, using different levels of information from the brain age model. (a) To avoid biases we used a strict matching procedure, drawing a set of controls for each scanner-specific patient dataset matching its empirical age and sex distribution. (b) We trained three logistic regression models for each disorder to compare their performance. The first used age and sex as predictors in a baseline model, the second included the brain age delta, quantifying its value as a clinical predictor, and the third used internal features of the brain age model in a transfer learning setting. (c) For each disorder we compared the binary models using AUCs, indicating the information content of the predictors in relation to the given disorder.

Discussion

Brain maturation and ageing, and its interactions with clinical brain disorders and conditions, are complex processes with pivotal environmental and genetic contributions38,39. Brain age prediction and the accompanying brain age delta has the potential to provide intuitive and useful measures for summarizing individual brain aberrations. However, technical differences between studies, e.g. the use of different scanners and MRI scan parameters, have represented challenges for the direct generalization and applicability of brain age models based on large training sets. We assembled a large and diverse neuroimaging dataset to train multiple state-of-the-art deep learning models for brain age prediction, and extensively tested their ability to generalize, and their sensitivity to various common brain disorders. Our best model, the SFCN-reg, showed superior performance on an external dataset with differing scanners and age distributions compared to that of the training set, enabling it for applications in other datasets. We then demonstrated the relevance of the model predictions by showing associations between the brain age delta and a range of complex human traits and health outcomes in a population sample. Lastly, we transferred the trained SFCN-reg to clinical data in a transfer learning setting, showing that both the brain age delta and the internal features learned by the model have predictive value when differentiating between controls and patients with common brain disorders.

In our experiment the SFCN-reg outperformed the other models in terms of generalization performance. The age prediction accuracy on the test data (MAE=2.47) is among the best in the field34. Crucially, the prediction accuracy on data coming from unknown scanners (MAE=3.90) fares very favourably when compared to other studies attempting to transfer between datasets of similar size and complexity30,32,34,40,41. Using data from different scanners, protocols and populations in neuroimaging comes with the problem of modelling the effects of these appropriately18,42. Previous brain age studies have often explicitly included a scanner term in the modelling or corrected the computed brain age for various biases43. Recent approaches have tried to address this problem directly via specific deep learning paradigms44. Our results show that given sufficiently large and heterogeneous training data, deep CNNs achieve state-of-the-art performance for brain age predictions even when scanner effects are not explicitly modelled, and more importantly that this performance translates to scanners and protocols that are unknown to the model. This suggests that the representations learned by the model are dominated by age-related variance, not scanner-dependent artefacts, an extension of the model robustness shown in earlier studies19. From a practical point of view this suggests that our trained model may be employed in other applications in new datasets, without the need for retraining or applying corrective procedures.

Evaluating the biological relevance of the brain age predictions is essential to further understand and trust these models. Therefore, we correlated brain age delta obtained from the SFCN-reg with a wide range of phenotypes in a subset of the UKBB not used for model training. When applying a Bonferroni-corrected threshold, we found nineteen significant hits spread across seven of our thirteen categories. Almost all of these have in earlier studies been found to have a relationship with ageing, either generally or specifically in the brain, or with brain health and/or cognitive function: Glucose level45, Insulin-like Growth factor-146, and glycated haemoglobin47 are known to change with age, and corpuscular volume has been associated with cognitive functioning48. Lifestyle factors involving alcohol and smoking impact various biological and bodily ages45, including that of the brain1951. Elevated blood pressure and other cardiovascular risk factors have established associations with increased brain age50,52, and an increase in predicted age has been observed in patients with diabetes53. In sum, this analysis shows that our model makes biologically meaningful predictions. Further, transferring the model to unseen datasets comprised of patients with different clinical conditions and matched healthy peers revealed both high accuracy in terms of age prediction and higher deltas among patients with brain disorders, in line with previous studies8. Importantly, the data in the case-control datasets were obtained from scanners not included in the training set, supporting that the model generalizes to previously unseen scanners; a highly valuable asset.

Compared to the all-in-one brain age delta, a single number describing the difference between apparent and chronological age, our results showed increased predictive value for MS, AD and MCI when using the internal representations of the SFCN-reg underlying the brain age predictions. This supports the view that for some applications the constituent components of the singular brain age delta are relevant beyond the age prediction alone54. The innate ability of deep neural networks to form abstractions of the brain at different spatial resolutions throughout the layers of the model may help disentangle individual differences in neurodevelopmental and age-related processes related to complex disorders and traits. Furthermore, we see this result as evidence that deep learning models trained to predict age in large multisite datasets constitute excellent starting points for transfer learning, which can subsequently be fine-tuned to a variety of tasks.

There is an ongoing discussion in the field on whether brain age models that are precise, or those that allow for sufficient variance in their single-subject predictions, are the most useful in a downstream analysis of behavioural and clinical traits32,55,56. An argument for a model which allows for more variation (a looser fit) is that this would more accurately depict brain age as a complex process which appears differently in different individuals. One challenge with this approach is that the brain age delta is a residual, and recognizing what portion of this error comes from biological variation and what is modelling imprecision is practically unfeasible. As more complex models such as deep CNNs become competitive for brain age modelling, it becomes possible to minimize the overall model error, including the methodological portion, while still allowing the model to accurately represent the necessary biological variability internally.

There are some limitations of the present study which we acknowledge here. Given the computational cost of training complex deep learning models on such a large dataset we restrained our study to a limited number of possible models, both in terms of model architectures and hyperparameter settings. With further increases in sample sizes and diversity, deeper architectures may be sensible, as the risk of overfitting is directly alleviated by the larger datasets. While we refer to our dataset as diverse, most participants included in the study are of white European background. However, this limitation is not specific to the present study, and global collaborations are needed to build models that generalize across cultural and genetic backgrounds57. Relatedly, the current investigation included T1-weighted MRI data only. Future integration of information spanning various imaging modalities may increase both age prediction accuracy and the sensitivity and specificity of various biological and clinical traits and conditions11,52,54,58. To evaluate the clinical relevance of the brain age model in the context of disorders we employed transfer learning in a strict way, by training LASSO models on top of the SFCN architecture. This setup increases the interpretability of the transfer process as the lower-level representations of our model used as predictors capture age-related features of the brain. In turn, this allows for the interpretation that illnesses that are predictable by the model must also rely on these representations, and thus implicitly relate to age. There are multiple steps which could have been taken instead to maximize predictability, a natural starting point is to fine-tune the entire model32. Lastly, in order to reach broad adoption of these models and, ultimately, approach clinical usability, a better understanding of the regional patterns driving the prediction, their specific biological significance and how it changes across time and contexts is needed59.

In conclusion, we have trained multiple variants of a deep neural network to predict brain age on a large and heterogeneous sample of raw structural MRI data, and observed distinct differences in their ability to generalize to unseen samples and scanners. The predictions of our best model were linked to biochemical biomarkers, cardiovascular risk factors, smoking and alcohol intake, among others. Using transfer learning, we demonstrated that clinical conditions with a neurodevelopmental or neurodegenerative aetiology were predictable by our model, initially trained to predict age. Jointly, these findings add to the growing literature documenting the tremendous potential of advanced techniques for statistical learning to decode biologically and clinically relevant information from brain MRI scans.

Methods

Data

All data sets used in the present study have been obtained from previously published studies which have been approved by their respective institutional review board or relevant research ethics committee.

Reference dataset

The reference dataset used for training the brain age models was T1-weighted MRI scans derived from 21 non-overlapping and publicly available datasets (total n=53542; female n=27715) of healthy individuals, with ages ranging from 3 to 95 years (Figure 1 and Supplementary Table 1). The age distribution can be seen in Figure 1a. The younger age-range (3-30 years) was mainly composed of participants from multiple different datasets. Though the older age-range (40-80) also included multiple datasets, UKBB accounted for most of these participants. The most sparsely populated age-ranges were in the very young (147 participants with age ≤ 5), very old (17 participants with age ≥ 85), and in midlife (42 participants with 35 ≤ age < 45). For each of the datasets, participants that had one or more psychiatric, neurological and/or other relevant diagnoses (Supplementary Table 4), and those withdrawn from the respective study were excluded before model training. In addition, for participants having multiple brain scans, the baseline data were used, such that in the final dataset each data point represents a unique participant drawn from a normative population.

External dataset

To evaluate the generalizability of our trained brain age prediction model, an external dataset was collected (Supplementary Table 2). This dataset included the IXI project (Supplementary Table 5) and healthy controls from the datasets underlying the clinical data described below (total n=2553). Importantly, the external dataset contained images generated by scanners not used in the reference dataset, and subsequently unknown to the models during training and validation. This dataset can be seen as having a more uniform age distribution (Figure 2a), meaning that our test would capture whether any given model relies too heavily on information observed in the training data.

Clinical data

The clinical data consisted of six patient cohorts diagnosed with MCI, AD, MS, SCZ, a mix of psychotic diagnoses and mood disorders, where the latter was a combination of two cohorts with depression and bipolar disorder (Figure 2a and Supplementary Table 3). The individual cohorts were compiled from ADNI, AIBL, and multiple scanners at the Oslo University Hospital (Supplementary Table 5 and 6). In addition to the patients, we used healthy controls from the same scanners in the external dataset to create matched control groups for the clinical predictions.

Quality control

To ensure data quality, we executed a quality control (QC) pipeline, consisting of checking whether any of the image preprocessing steps failed, and a manual control via visual inspection. To take advantage of as much data as possible this manual control was lenient, removing samples where either a significant portion of the brain was missing, or where the orientation of the head was dramatically off, and resulted in dropping only 39/53581 participants in the reference dataset (0.07%) and 1/2554 participants in the external dataset (0.03%).

Image preprocessing

We first performed skull-stripping with the FreeSurfer 5.3 auto-recon pipeline60 to produce a brainmask, minimizing the amount of non-brain information in the data, then reoriented the images to the standard FSL61 orientation using fslreorient2std. The resulting images were linearly registered to the MNI152 space using FLIRT62 with linear interpolation and the default 1 mm FSL template (version 6.0). We cropped away borders of [6:173, 2:214, 0:160] voxels, in the sagittal, coronal and axial dimensions respectively. This cropping yielded the smallest cuboid with marginal loss of brain-related information across the dataset, minimizing the memory footprint of the models during training. As a last preprocessing step the voxel intensity values of all brain images were normalized to the range [0, 1].

Brain age models

The state-of-the-art network architecture, the Simple Fully Convolutional Network (SFCN)21, was implemented as the backbone in all our brain age models. The SFCN architecture consists of a VGG63-like structure, with five repeated convolutional blocks, each with a three-dimensional convolutional layer with a filter size of (3, 3, 3), a batch normalization layer, rectified linear activation function (ReLU) activation, and a max-pooling layer with a pooling size of (2, 2, 2) (Figure 1b). The model then has a channel-wise convolutional layer, a last batch normalization layer and a global average pooling layer. From this backbone we defined three end-to-end variants for brain age prediction: The original soft classification model (SFCN-sm), a regression variant with a single output node with a linear activation (SFCN-reg) and a ranking model from the general age-regression literature (SFCN-rank)33, an approach which has also been successful for brain age predictions64. All the model definitions rely on a matrix X of dimensions [N,h, w, d] containing MRI images as input, an N-dimensional vector age=[age0, age1,…, ageN−1] containing the ground truth ages of the participants to compute its loss, and are ultimately able to produce an N-dimensional vector age^=[age^0,age^1,,age^N1] with a single brain age prediction per participant (although this is not necessarily the direct output of the model).

SFCN-sm

The soft classification variant formulates the age regression problem as a multiclass classification problem, by having m=max(age)min(age) output neurons, where . and . denote the ceiling and floor operators respectively. It is denoted as soft because it uses a target vector per participant generated by a normal distribution centered around the ground truth age, instead of the one-hot encoding used in regular classification

yi=Ν(agei,1).

The predictions of the model are similarly a vector of length m with a softmax activation yi^=[yi^,0,yi^,1,,yi^,(m1)],j=0m1yi^,j=1.

The loss for a single datapoint is the Kullback-Leibler divergence between the two vectors

lossi=KL(yiyi^).

The final age-prediction of a participant is calculated as a weighted sum of the prediction vector

age^i=min(age)+j=0m1jyi^,j.

SFCN-reg

The regression variant has a single output neuron predicting a single value yi^ per participant, limited to the range (min(age), max(age)) with a bounded ReLU activation. The value of yi^ can be used directly as the predicted age for a participant, age^i=yi^. During training, the model optimizes the mean squared error.

SFCN-rank

The ranking model formulates the age regression problem as a set of binary “Is participant X older than age y? “-questions. Like the soft classification model, the model has m=max(age)min(age) output neurons, each representing one such binary question. The target vector for a participant is a binary vector of length m, with a 1 in bins corresponding to ages younger than the participants age and 0 in the rest.

yi^=[yi^,0,yi^,1,,yi^,(m1)],yi,x={1min(age)+xagei0else}.

For each participant the model predicts a vector of length m, where each output neuron is limited to the range [0,1] by a sigmoid activation

yi^=[yi^,0,yi^,1,,yi^,(m1)],yi^,x[0,1].

The model optimizes the mean binary cross entropy across all the output neurons

lossi=1mj=0m1yi^,jlog(yi^,j)+(1yi,j)log(1yi^,j).

To calculate a predicted age for the model we sum up the number of age bins for which the model predicts that a participant is older than the given age (it is worth noting that this limits the model to integer predictions)

age^i=min(age)+j=0m1x0.5(yi^,j).

Brain age model training and comparison

All brain age models were trained on 2 NVIDIA V100 GPUs with 32GB memory, using the Keras65 interface of Tensorflow 2.366 on top of cuda 10.0. Using a batch size of 14 the models took approximately 1 second per step, translating into roughly 45 minutes per epoch or about 2.5 days per full training session. To train the brain age models, 80% (n=42829) of the reference dataset was used for model building (training and validation) and 20% (n=10713) for testing. Among the data for model building 80% (n=34285) and 20% (n=8544) were used for training and validation of the models, respectively (Figure 1c and Supplementary Table 1). Before these splits, the data was stratified by age and original study to ensure that all subsets had resembling age distributions and came from multiple scanners. Given the great computational cost of model training, determining optimal hyperparameter values by searching over the full configuration space for each model is impractical. Instead, we employed post-hoc heuristics, i.e., tweaking the models based on previous runs. For each training run we trained the model from scratch (with randomly initialized parameters) for 80 epochs, optimized by vanilla stochastic gradient descent, employing an annealing, step-wise, learning rate schedule. This schedule had three steps, reducing the learning rate by a factor of 3 after epochs 20, 40 and 60. The initial learning rate was found independently for each model variant using a learning rate sweep67 (Supplementary Figure 7). We used mean absolute error (MAE) on the validation split to determine the best epoch for each run. We also report RMSE, R, R2 for all models in Table 1, and to enable comparisons with other studies with possibly different age ranges the normalized measures normalized RMSE (nRMSE)

nRMSE=RMSEmax(age)min(age)

and Relative Absolute Error (RAE)

RAE=i=0N|yiyi^|i=0N|yiy|

The first model we trained was SFCN-sm with the hyperparameters specified in the original SFCN paper21. Seeing that this model was underfitting we relaxed the regularization for a second run of the same model, and subsequently a third. The two hyperparameters we tuned in this process were the weight decay, and the dropout rate between the two final layers of the model. Having trained three soft classification models, we moved on to train three regression models and three ranking models using these same heuristics (Supplementary Table 8). To select a candidate model for each variant we compared the MAEs on the validation split. In the final model selection, we compared the MAEs of the candidate models for each variant on the test set and the external dataset.

Post-hoc generalization analysis

To study the causes of the differences in generalization, we designed an experiment to isolate the underlying sources of this error. Based on previous knowledge of the problems of new scanners, and the predictions of the models at different ages (Figure 3) we specifically targeted two possible sources: Differences in population, represented by different distributions of age and sex, and data coming from unknown scanners. For each source we sampled an artificial, bootstrapped dataset based on our existing data. For the “Unknown population” dataset we sampled participants from the test set (originating from the reference dataset), to match the empirical age and sex distribution of the external dataset. Similarly, for the “Unknown scanners” dataset we sampled participants from the external dataset (coming from scanners unknown to the model) to match the age and sex distribution of the test set (and thus also the training set). The idea behind both datasets is to isolate a single source of generalization error. For robustness, we bootstrapped each of these two artificial datasets 100 times and reported the mean MAE achieved by the different models. Each sample was drawn probabilistically, with replacement, with the probability of drawing participant x of age xa and sex xs from dataset source based on the age and sex distribution of dataset target given by

p(x)=p^target(xa,xs)p^sourse(xa,xs)

where p^dataset(xa,xs) denotes the proportion of participants in dataset dataset with age xa and sex xs. In “Unknown population”, the test set plays the role of source and the external dataset is the target, while this is switched for “Unknown scanners”.

Phenome-wide association study

In the PheWAS we calculated the univariate correlation between the brain age delta and 402 phenotypic variables from the UKBB, manually divided into thirteen thematically defined categories for interpretability (Supplementary Table 7). We performed this analysis in the UKBB portion of the test split (n=8066), and used all the variables available to us at the time. We encoded all phenotypic variables according to the PHESANT68 datatypes, and removed non-informative levels (Supplementary Table 10) based on the UKBB coding schemes. Additionally, we re-coded the ordinal variables as categorical or continuous by hand (Supplementary Table 11). Variables which were impossible to model (i.e. singular or all missing values) were discarded. We then fitted a linear model per variable, modelling the delta as a function of the given covariate, age and sex, using the Python statsmodels API69. All continuous variables were standardized using a z-score normalization pre-modelling, such that the reported effect sizes refer to the change in brain age delta associated with a one standard deviation increase in the given variable. For assessing the significance of the associations, we computed a Bonferroni-corrected p-value threshold Pbonferroni = 0.05/394 = 1.12 × 104.

Transfer learning to clinical samples

In the transfer learning analysis we trained multiple binary models to predict whether a participant had a given diagnosis or belonged to the control group, based on various levels of information from the brain age model. For this purpose, we used the clinical dataset which was previously unseen by the model, and matched controls groups drawn from the external dataset used in the generalization test.

Control matching

To avoid biases in the case-control datasets we drew the subsets of controls independently for each scanner in the patient dataset, matching empirical distributions of age and sex in the corresponding case subset. For each disorder, for each scanner, the control group was created by drawing ncase controls, without replacement, using the sampling procedure described for the post-hoc generalization analysis.

Feature extraction

To generate the feature vectors for each participant we used the trained SFCN-reg model as an encoder, up until and including the global average-pooling layer. Running a single MRI through the model up until this point results in a 64-dimensional vector representing the original image. Each of the dimensions n = [0, . . . , 63] in this space represent a high level feature of the brain, and each participant Xi = [Xi,0,…,Xi,63] is encoded as a point in this space. When used as a predictor in the subsequent modelling phase, each of these 64 dimensions were treated as an independent variable.

Modelling

For each disorder we compared three different LASSO models, all trained and evaluated using the following general procedure, but on different covariate sets. We first stratified the given dataset on disorder, age and sex, respectively, and split it into 5 folds. We performed an outer cross-validation over these splits to allow us to have an out-of-sample prediction for each participant. When training a model on the training folds we performed an inner cross-validation to find the optimal value of the penalty parameter λ. The nested cross-validation procedure is illustrated in Supplementary Figure 5.Having found λ, we retrained the model on all the data from the four training folds. The models were implemented using sklearn’s LogisticRegression70 with an l1-penalty. Having the out-of-sample predictions for all the participants allowed us to calculate and compare AUCs based on the entire case-control dataset for the given disorder.

In addition to training the LASSO-model based on the brain age features, we trained an MLP using Keras with the same inputs. We did not optimize hyperparameters for this model, but observed similar results as the best LASSO models with the initial configuration (Supplementary Figure 6). The main benefit of the MLP is that it does not require a two-step process for the clinical prediction models, first processing the images with the encoder and then doing a prediction via a separate API, but can be implemented as an end-to-end binary classifier in Keras taking MRIs as inputs, and thus are more accessible for use by others.

Code availability

All of the trained brain age models, the end-to-end clinical predictors, and a pipeline for preprocessing images is released in our GitHub repo at http://www.github.com/estenhl/pyment-public

Supplementary Material

Data S1
Data S2

Acknowledgements

This work was funded by the UiO:LifeScience Convergence Environment (project: 4MENT), The Research Council of Norway (302854, 223273, 249795, 298646, 300767), the South-Eastern Norway Regional Health Authority (2014097, 2016083, 2018037, 2018076, 2019101), Stiftelsen Kristian Gerhard Jebsen, ERA-Net Cofund through the ERA PerMed project IMPLEMENT, and the European Research Council under the European Union’s Horizon 2020 research and Innovation program (ERC StG, Grant 802998) and the Wellcome Trust grant (215698/Z/19/Z). T.W. gratefully acknowledges support from the European Unions Horizon 2020 research and innovation programme under the Marie Sklodowska-Curie grant agreement No 895011. A.F.M. gratefully acknowledges support from the European Research Council (ERC, grant number 10100118) and the Dutch Organisation for Scientific Research (016.156.415). Part of the computation was performed on the Norwegian high-performance computation resources, sigma2 (NN9767K/NS9769K). Data used in preparation of this article were obtained from the Alzheimers Disease Neuroimaging Initiative (ADNI) and the Australian Imaging Biomarkers and Lifestyle Study of Ageing (AIBL) databases (adni.loni.usc.edu), and the Pediatric Imaging, Neurocognition and Genetics (PING) study database (chd.ucsd.edu/research/ping-study.html, now shared through the NIMH Data Archive (NDA)). The investigators within the ADNI, AIBL, and PING studies contributed to the design and implementation of ADNI, AIBL, and PING or provided data but did not participate in the analysis or writing of this report. This publication is solely the responsibility of the authors and does not necessarily represent the views of the National Institutes of Health or PING investigators.

Data availability

The raw data incorporated in this work were gathered from various resources. Material requests will need to be placed with individual principal investigators. A detailed overview of the independent datasets, and their origins, is provided in Supplementary Table 5.

References

  • 1.Stephan BCM, Brayne C. Assessing the risk of dementia in the aging population. Nat Rev Neurol. 2009;5:417–418. doi: 10.1038/nrneurol.2009.107. [DOI] [PubMed] [Google Scholar]
  • 2.Thapar A, Riglin L. The importance of a developmental perspective in Psychiatry: what do recent genetic-epidemiological findings show. Mol Psychiatry. 2020;25:1631–1639. doi: 10.1038/s41380-020-0648-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Franke K, Ziegler G, Klöppel S, Gaser C. Estimating the age of healthy subjects from T1-weighted MRI scans using kernel methods: Exploring the influence of various parameters. NeuroImage. 2010;50:883–892. doi: 10.1016/j.neuroimage.2010.01.005. [DOI] [PubMed] [Google Scholar]
  • 4.Franke K, Luders E, May A, Wilke M, Gaser C. Brain maturation: Predicting individual BrainAGE in children and adolescents using structural MRI. NeuroImage. 2012;63:1305–1312. doi: 10.1016/j.neuroimage.2012.08.001. [DOI] [PubMed] [Google Scholar]
  • 5.Cole JH, Franke K. Predicting Age Using Neuroimaging: Innovative Brain Ageing Biomarkers. Trends in Neurosciences. 2017;40:681–690. doi: 10.1016/j.tins.2017.10.001. [DOI] [PubMed] [Google Scholar]
  • 6.Cole JH, et al. Predicting brain age with deep learning from raw imaging data results in a reliable and heritable biomarker. NeuroImage. 2017;163:115–124. doi: 10.1016/j.neuroimage.2017.07.059. [DOI] [PubMed] [Google Scholar]
  • 7.Franke K, Gaser C. Ten Years of BrainAGE as a Neuroimaging Biomarker of Brain Aging: What Insights Have We Gained. Front Neurol. 2021;10 doi: 10.3389/fneur.2019.00789. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Kaufmann T, et al. Common brain disorders are associated with heritable patterns of apparent aging of the brain. Nat Neurosci. 2019;22:1617–1623. doi: 10.1038/s41593-019-0471-7. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Schnack HG, et al. Accelerated Brain Aging in Schizophrenia: A Longitudinal Pattern Recognition Study. AJP. 2016;173:607–616. doi: 10.1176/appi.ajp.2015.15070922. [DOI] [PubMed] [Google Scholar]
  • 10.Nenadic I, Dietzek M, Langbein K, Sauer H, Gaser C. BrainAGE score indicates accelerated brain aging in schizophrenia, but not bipolar disorder. Psychiatry Research: Neuroimaging. 2017;266:86–89. doi: 10.1016/j.pscychresns.2017.05.006. [DOI] [PubMed] [Google Scholar]
  • 11.Rokicki J, et al. Multimodal imaging improves brain age prediction and reveals distinct abnormalities in patients with psychiatric and neurological disorders. Human Brain Mapping. 2021;42:1714–1726. doi: 10.1002/hbm.25323. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Han LKM, et al. Brain aging in major depressive disorder: results from the ENIGMA major depressive disorder working group. Mol Psychiatry. 2020:1–16. doi: 10.1038/s41380-020-0754-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Liem F, et al. Predicting brain-age from multimodal imaging data captures cognitive impairment. NeuroImage. 2017;148:179–188. doi: 10.1016/j.neuroimage.2016.11.005. [DOI] [PubMed] [Google Scholar]
  • 14.Elliott ML, et al. Brain-age in midlife is associated with accelerated biological aging and cognitive decline in a longitudinal birth cohort. Mol Psychiatry. 2019:1–10. doi: 10.1038/s41380-019-0626-7. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Wang J, et al. Gray Matter Age Prediction as a Biomarker for Risk of Dementia. PNAS. 2019;116:21213–21218. doi: 10.1073/pnas.1902376116. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.Gaser C, et al. BrainAGE in Mild Cognitive Impaired Patients: Predicting the Conversion to Alzheimer’s Disease. PLOS ONE. 2013;8:e67346. doi: 10.1371/journal.pone.0067346. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Høgestøl EA, et al. Cross-Sectional and Longitudinal MRI Brain Scans Reveal Accelerated Brain Aging in Multiple Sclerosis. Front Neurol. 2021;2019 doi: 10.3389/fneur.2019.00450. 0. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18.Smith SM, Vidaurre D, Alfaro-Almagro F, Nichols TE, Miller KL. Estimation of brain age delta from brain imaging. NeuroImage. 2019;200:528–539. doi: 10.1016/j.neuroimage.2019.06.017. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19.Abrol A, et al. Deep learning encodes robust discriminative neuroimaging representations to outperform standard machine learning. Nature Communications. 2021;12:353. doi: 10.1038/s41467-020-20655-6. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20.Oquendo MA, et al. Machine learning and data mining: strategies for hypothesis generation. Mol Psychiatry. 2012;17:956–959. doi: 10.1038/mp.2011.173. [DOI] [PubMed] [Google Scholar]
  • 21.Peng H, Gong W, Beckmann CF, Vedaldi A, Smith SM. Accurate brain age prediction with lightweight deep neural networks. Medical Image Analysis. 2021;68:101871. doi: 10.1016/j.media.2020.101871. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22.Gong W, Beckmann CF, Vedaldi A, Smith SM, Peng H. Optimising a Simple Fully Convolutional Network for Accurate Brain Age Prediction in the PAC 2019 Challenge. Frontiers in Psychiatry. 2021;12:658. doi: 10.3389/fpsyt.2021.627996. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23.Dinsdale NK, et al. Learning patterns of the ageing brain in MRI using deep convolutional networks. NeuroImage. 2021;224:117401. doi: 10.1016/j.neuroimage.2020.117401. [DOI] [PubMed] [Google Scholar]
  • 24.Hofmann SM, et al. Towards the Interpretability of Deep Learning Models for Human Neuroimaging. bioRxiv. 2021:2021.06.25.449906 [Google Scholar]
  • 25.Arbabshirani MR, Plis S, Sui J, Calhoun VD. Single subject prediction of brain disorders in neuroimaging: Promises and pitfalls. NeuroImage Individual Subject Prediction. 2017;145:137–165. doi: 10.1016/j.neuroimage.2016.02.079. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26.Valverde JM, et al. Transfer Learning in Magnetic Resonance Brain Imaging: A Systematic Review. Journal of Imaging. 2021;7:66. doi: 10.3390/jimaging7040066. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27.Bengio Y. Deep Learning of Representations for Unsupervised and Transfer Learning; Proceedings of ICML Workshop on Unsupervised and Transfer Learning (JMLR Workshop and Conference Proceedings, 2012; 2021. pp. 17–36. [Google Scholar]
  • 28.Sharif Razavian A, Azizpour H, Sullivan J, Carlsson S. CNN Features Off-the-Shelf: An Astounding Baseline for Recognition in (2014) 2021:806–813. [Google Scholar]
  • 29.Russakovsky O, et al. ImageNet Large Scale Visual Recognition Challenge. Int J Comput Vis. 2015;115:211–252. [Google Scholar]
  • 30.Jonsson BA, et al. Brain age prediction using deep learning uncovers associated sequence variants. Nature Communications. 2019;10:5409. doi: 10.1038/s41467-019-13163-9. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31.Lu B, et al. A Practical Alzheimer Disease Classifier via Brain Imaging-Based Deep Learning on 85,721 Samples preprint. Neuroscience. 2021;2020 [Google Scholar]
  • 32.Bashyam VM, et al. MRI signatures of brain age and disease over the lifespan based on a deep brain network and 14 468 individuals worldwide. Brain. 2020;143:2312–2324. doi: 10.1093/brain/awaa160. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 33.Chen S, Zhang C, Dong M, Le J, Rao M. Using Ranking-CNN for Age Estimation; 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) (IEEE, Honolulu, HI, 2017; 2021. pp. 742–751. ISBN: 978-1-5386-0457-1. [Google Scholar]
  • 34.He S, et al. Multi-channel attention-fusion neural network for brain age estimation: Accuracy, generality, and interpretation with 16,705 healthy MRIs across lifespan. Medical Image Analysis. 2021;72:102091. doi: 10.1016/j.media.2021.102091. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35.Dockes J, Varoquaux G, Poline J-B. Preventing dataset shift from breaking machinelearning biomarkers. GigaScience. 2021;10 doi: 10.1093/gigascience/giab055. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36.Smith SM, Nichols TE. Statistical Challenges in “Big Data” Human Neuroimaging. Neuron. 2018;97:263–268. doi: 10.1016/j.neuron.2017.12.018. [DOI] [PubMed] [Google Scholar]
  • 37.Alfaro-Almagro F, et al. Confound modelling in UK Biobank brain imaging. NeuroImage. 2021;224:117002. doi: 10.1016/j.neuroimage.2020.117002. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 38.Johnson MH. Functional brain development in humans. Nat Rev Neurosci. 2001;2:475–483. doi: 10.1038/35081509. [DOI] [PubMed] [Google Scholar]
  • 39.Fjell AM, Walhovd KB. Structural Brain Changes in Aging: Courses, Causes and Cognitive Consequences. Reviews in the Neurosciences. 2010;21:187–222. doi: 10.1515/revneuro.2010.21.3.187. [DOI] [PubMed] [Google Scholar]
  • 40.Ren Y, Luo Q, Gong W, Lu W. Transfer Learning Models on Brain Age Prediction; Proceedings of the Third International Symposium on Image Computing and Digital Medicine-ISICDM 2019; Xi’an, China. 2021. pp. 278–282. ISBN: 978-1-4503-7262-6. [Google Scholar]
  • 41.Boyle R, et al. Brain-predicted age difference score is related to specific cognitive functions: a multi-site replication analysis. Brain Imaging and Behavior. 2021;15:327–345. doi: 10.1007/s11682-020-00260-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 42.Butler ER, et al. Pitfalls in brain age analyses. Human Brain Mapping. 2021;42:4092–4101. doi: 10.1002/hbm.25533. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 43.De Lange A-MG, Cole JH. Commentary: Correction procedures in brain-age prediction. Neuroimage Clin. 2020;26:102229. doi: 10.1016/j.nicl.2020.102229. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 44.Dinsdale NK, Jenkinson M, Namburete AIL. In: Unlearning Scanner Bias for MRI Harmonisation in Medical Image Computing and Computer Assisted Intervention-MICCAI 2020. Martel AL, et al., editors. Springer International Publishing; Cham: 2020. pp. 369–378. ISBN: 978-3-030-59713-9. [Google Scholar]
  • 45.Karasik D, Demissie S, Cupples LA, Kiel DP. Disentangling the Genetic Determinants of Human Aging: Biological Age as an Alternative to the Use of Survival Measures. The Journals of Gerontology: Series A. 2005;60:574–587. doi: 10.1093/gerona/60.5.574. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 46.Ashpole NM, Sanders JE, Hodges EL, Yan H, Sonntag WE. Growth hormone, insulin-like growth factor-1 and the aging brain; Experimental Gerontology Proceedings of the Twelfth International Symposium on the Neurobiology and Neuroendocrinology of Aging, Bregenz, Austria July 27-August 1, 201f; 2015. pp. 76–81. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 47.Roth J, et al. HbA1c and Age in Non-Diabetic Subjects: An Ignored Association. Exp Clin Endocrinol Diabetes. 2016;124:637–642. doi: 10.1055/s-0042-105440. [DOI] [PubMed] [Google Scholar]
  • 48.Gamaldo AA, Ferrucci L, Rifkind J, Longo DL, Zonderman AB. Relationship Between Mean Corpuscular Volume and Cognitive Performance in Older Adults. Journal of the American Geriatrics Society. 2013;61:84–89. doi: 10.1111/jgs.12066. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 49.Cole JH. Multimodality neuroimaging brain-age in UK biobank: relationship to biomedical, lifestyle, and cognitive factors. Neurobiology of Aging. 2020;92:34–42. doi: 10.1016/j.neurobiolaging.2020.03.014. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 50.De Lange A-MG, et al. Multimodal brain-age prediction and cardiovascular risk: The Whitehall II MRI sub-study. NeuroImage. 2020;222:117292. doi: 10.1016/j.neuroimage.2020.117292. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 51.Wrigglesworth J, et al. Factors associated with brain ageing-a systematic review. BMC Neurology. 2021;21:312. doi: 10.1186/s12883-021-02331-4. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 52.Beck D, et al. Cardiometabolic risk factors associated with brain age and accelerate brain ageing. Hum Brain Mapp. 2021 doi: 10.1002/hbm.25680. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 53.Franke K, Gaser C, Manor B, Novak V. Advanced BrainAGE in older adults with type 2 diabetes mellitus. Front Aging Neurosci. 2013;5 doi: 10.3389/fnagi.2013.00090. 2021. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 54.Smith SM, et al. Brain aging comprises many modes of structural and functional change with distinct genetic and biophysical associations. Peelle JE, de Lange FP, Madan C, Nyberg L, editors. eLife. 2020;9:e52677. doi: 10.7554/eLife.52677. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 55.Hahn T, et al. From ‘loose fitting’ to high-performance, uncertainty-aware brain-age modelling. Brain. 2021;144:e31. doi: 10.1093/brain/awaa454. [DOI] [PubMed] [Google Scholar]
  • 56.Bashyam V, Shou H, Davatzikos C. Reply: From ‘loose fitting’ to high-performance, uncertainty-aware brain-age modelling. Brain. 2021;144:e32. doi: 10.1093/brain/awaa455. [DOI] [PubMed] [Google Scholar]
  • 57.Thompson PM, et al. ENIGMA and global neuroscience: A decade of large-scale studies of the brain in health and disease across more than 40 countries. Transl Psychiatry. 2020;10:1–28. doi: 10.1038/s41398-020-0705-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 58.Richard G, et al. Assessing distinct patterns of cognitive aging using tissue-specific brain age prediction based on diffusion tensor imaging and brain morphometry. PeerJ. 2018;6:e5908. doi: 10.7717/peerj.5908. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 59.Vidal-Pineiro D, et al. Individual variations in “Brain age” relate to early life factors more than to longitudinal brain change. bioRxiv. 2021:2021.02.08.428915. doi: 10.7554/eLife.69995. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 60.Ségonne F, et al. A hybrid approach to the skull stripping problem in MRI. Neuroimage. 2004;22:1060–1075. doi: 10.1016/j.neuroimage.2004.03.032. [DOI] [PubMed] [Google Scholar]
  • 61.Jenkinson M, Beckmann CF, Behrens TEJ, Woolrich MW, Smith SM. FSL. NeuroImage 20 YEARS OF fMRI. 2012;62:782–790. doi: 10.1016/j.neuroimage.2011.09.015. [DOI] [PubMed] [Google Scholar]
  • 62.Jenkinson M, Smith S. A global optimisation method for robust affine registration of brain images. Med Image Anal. 2001;5:143–156. doi: 10.1016/s1361-8415(01)00036-6. [DOI] [PubMed] [Google Scholar]
  • 63.Simonyan K, Zisserman A. Very Deep Convolutional Networks for Large-Scale Image Recognition. 2015;2021:arXiv:1409.1556 [cs] [Google Scholar]
  • 64.Xia T, Chartsias A, Wang C, Tsaftaris SA. Learning to synthesise the ageing brain without longitudinal data. Medical Image Analysis. 2021;73:102169. doi: 10.1016/j.media.2021.102169. [DOI] [PubMed] [Google Scholar]
  • 65.Chollet F, et al. Keras. 2015.
  • 66.Abadi M, et al. TensorFlow: Large-Scale Machine Learning on Heterogeneous Distributed Systems. 19 [Google Scholar]
  • 67.Smith LN. Cyclical Learning Rates for Training Neural Networks. arXiv:1506.01186 [cs] 2017 2021. [Google Scholar]
  • 68.Millard LA, Davies NM, Gaunt TR, Davey Smith G, Tilling K. Software Application Profile: PHESANT: a tool for performing automated phenome scans in UK Biobank. International Journal of Epidemiology. 2018;47:29–35. doi: 10.1093/ije/dyx204. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 69.Seabold S, Perktold J. Statsmodels: Econometric and Statistical Modeling with Python in. Vol. 2010. Austin, Texas: 2021. pp. 92–96. [Google Scholar]
  • 70.Pedregosa F, et al. Scikit-learn: Machine Learning in Python. Machine Learning In Python. 6 [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Data S1
Data S2

Data Availability Statement

All of the trained brain age models, the end-to-end clinical predictors, and a pipeline for preprocessing images is released in our GitHub repo at http://www.github.com/estenhl/pyment-public

The raw data incorporated in this work were gathered from various resources. Material requests will need to be placed with individual principal investigators. A detailed overview of the independent datasets, and their origins, is provided in Supplementary Table 5.

RESOURCES