Introduction

The human connectome—a whole-brain connectivity map—undergoes rapid changes during the perinatal period. The structural connectome is established across the third trimester1. For example, hallmark topological properties of the structural connectome, including rich-club connections2, network controllability3, and connectome fingerprinting4, are observable at birth. Structural connections mature further during the first year of life but slow down afterward5. In contrast, the functional connectome develops slower in the fetal period. Early functional connections are observed in the fetal period6, and lower-order networks (e.g., motor-sensory) are present at birth5. However, many functional networks (e.g., the default mode network) only resemble older children after the first year of life7,8. Nevertheless, emerging research suggests that most functional networks are detectable in the neonatal period9 with larger samples and higher-quality data. Thus, despite progress in mapping developmental trajectories in the perinatal period, a normative model of the early connectome does not exist.

Brain age prediction is a novel approach to normative modeling10,11. This approach consists of two steps. First, a machine learning model is trained to predict an individual’s age using neuroimaging data, where the predicted results reflect the individual brain maturation level compared to the whole group. Predicted ages for different brain regions can be compared to investigate correlational patterns of developmental trajectories across the brain networks. Second, the difference between the individual’s predicted and chronological age—or brain age gap (BAG)—is calculated. BAGs represent the deviation from normative brain measures at any particular age. Other participant characteristics (e.g., behavior or disease symptoms) can be associated with BAGs to investigate their impact on normative development or aging. While research using brain age predictions and BAGs is robust in adolescents and adults12,13, fewer studies of BAGs with connectome data from the perinatal period exist. Four studies9,14,15,16 have used functional connectomes, and five17,18,19,20,21 have used structural connectomes to predict age in the first months of life. However, none of these studies have compared structural and functional brain ages.

Early life exposures and later toddler behavior are important phenotypes to investigate with normative developmental models, like BAGs. Numerous perinatal exposures, including maternal mental health22,23,24,25, physical health26,27,28, and substance use29,30, contribute to individual differences in neurodevelopmental trajectories. These exposures push and pull development to better or worse trajectories. Likewise, early deviations from a normative model may reflect future risk of disorders. Therefore, BAGs during the perinatal period might eventually help with risk identification. Previous studies have not correlated BAGs with early life exposures. Further, only one correlated BAGS with later toddler behavior in preterm infants17.

Here, we assess brain age prediction and BAGs of structural and functional connectomes for infants in the first month of life. We asked the following questions: How do structural and functional connectomes mature during the perinatal period? How correlated is structural and functional development at this age? How do individual canonical brain networks mature in distinctive patterns after birth? How do perinatal maternal exposures alter normative development (e.g., BAGs)? How do BAGs in infants predict toddler cognition and behavior? To answer these questions (Fig. 1), we calculated brain age and BAGs based on resting-state fMRI and DTI for 611 infants (174 preterms; 437 terms) from the Developing Human Connectome Project31 (dHCP, http://www.developingconnectome.org/) using connectome-based predictive modeling (CPM). Both structural and functional connectomes accurately predicted postmenstrual age (PMA) for preterm and term infants. Predicted PMA from structural and functional connectomes were correlated. Several canonical brain networks predicted PMA. Multiple prenatal maternal effects altered BAGs in the two groups, and BAGs were associated with development outcomes in toddlerhood. Together, we established normative models of connectome development in infants and highlighted that deviations associate with early-life maternal exposures and later behavior.

Fig. 1: Overview of study design.
figure 1

Predictive models for infants’ postmenstrual ages were built using structural and functional connectomes separately for term and preterm infants. Brain age gaps (BAGs) were calculated as the difference between predicted and actual postmenstrual age. Structural and functional BAGs were associated with perinatal effects and later cognitive behaviors. Image was created in BioRender. Sun, H. (2024)BioRender.com/m43x607.

Results

We used multimodal neuroimaging data for 611 infants (174 preterms; 437 terms) from the developing Human Connectome Project (dHCP). Term infants were born between 37.00 and 42.29 weeks of gestation and scanned between 37.43 and 44.71 weeks. Preterm infants were born between 23.00 and 36.86 weeks of gestation and scanned between 26.71 and 45.14 weeks. Demographic information about the infants is presented in Table 1. Functional connectomes were created from resting-state functional magnetic resonance imaging (fMRI) data. Structural connectomes were created from diffusion weighted imaging (DWI) data. We predict postmenstrual ages (PMA) using connectome-based predictive modeling (CPM) with 10-fold cross-validation. All models controlled for sex, brain volume, and head motion. Separate models were built from the functional and structural connectomes for the term and preterm infants. Since preterm and term infants exhibit widespread differences in functional and structural connectivity32,33, models were created for each group independently. Results were replicated using an additional machine learning method (support vector regression (SVR)) and shown in the Supplement (Tables S14).

Table 1 Infant characteristics, mean (std)

Structural and functional connectome predict postmenstrual age in infants

Using structural connectomes, we significantly predicted PMA for term (r = 0.73, p = 7.39e-74; mean absolute error (MAE) = 0.92 weeks) and preterm infants (r = 0.67, p = 5.04e-24; MAE = 1.80; Fig. 2a). Similarly, using functional connectomes, we significantly predicted PMA for term (r = 0.42, p = 3.57e-20; MAE = 1.25) and preterm infants (r = 0.55, p = 6.37e-15; MAE = 2.26; Fig. 2b). The models trained with term infants significantly predict preterm infants’ PMA and vice versa (Fig. S1). Models from structural connectomes were more accurate than models from functional connectomes (z-test, one-tail; term: z = 7.96, p = 4.32e-14; preterm: z = 2.16, p = 0.03), suggesting a larger association between structural development and PMA during early infancy. Predicted ages from the structural connectomes (i.e., structural age) significantly correlated with those from the functional connectomes (i.e., functional age; term: r = 0.36, p = 4.11e-15; preterm: r = 0.50, p = 2.32e-12). This correlation was stronger in the preterm infants than in term infants (z = −1.91, p = 0.028). Finally, BAGs from the structural connectomes significantly correlated with BAGs from the functional connectomes for preterm (r = 0.22, p = 0.0044) but not term infants (r = 0.092, p = 0.054) when controlling for PMA.

Fig. 2: Structural and functional connectomes predict postmenstrual age (PMA) in term and preterm infants.
figure 2

a PMA was accurately predicted using structural connectomes for term (blue dots, Pearson’s correlation: r = 0.73, p = 7.39e-74; two-sided) and preterm infants (red dots, Pearson’s correlation: r = 0.67, p = 5.04e-24; two-sided). b PMA was accurately predicted using function connectomes for term (Pearson’s correlation: r = 0.42, p = 3.57e-20; two-sided) and preterm infants (Pearson’s correlation: r = 0.55, p = 6.37e-15; two-sided). Structural (c) and functional (d) connections predicting term and preterm infants’ PMAs. Each heatmap shows the number of edges between each pair of canonical networks during feature selection that were positively (purple) or negatively (green) correlated with postmentural age. VS visual, SM somatomotor, DA dorsal attention, VA ventral attention, LM limbic, FP frontoparietal, DM default mode, SC subcortical. Source data are provided as a Source Data file.

The structural models ‘ positive features (i.e., edges) were similar between term and preterm infants, except for connections in limbic networks. Edges within the visual network contribute the most in both groups. However, while negative features were widespread across the whole brain for term infants, fewer negative features were involved in age prediction for preterm infants. These results may indicate different development patterns in structural networks between term and preterm groups (Fig. 2c). For the functional models, the positive and negative features were similar between term and preterm infants. Positive features within the visual and frontoparietal networks significantly predicted the term infant’s PMAs. Positive features within the visual and limbic network were most involved in predicting preterm infants’ age. Negative features in the limbic network were involved most in the age prediction for both groups (Fig. 2d).

Structural and functional brain age for canonical networks

We investigated how connections within and between canonical brain networks predicted PMA to provide PMA prediction at greater spatial specificity. Connectomes were divided into eight canonical brain networks: visual, somatomotor, frontoparietal, default mode, dorsal attention, ventral attention, limbic, and subcortical networks34 (Table S5). For each network, the predicted age was generated based only on the connections within this network (i.e., connections between nodes in the same network). For structural and functional connectomes, all but the ventral attention network predicted PMA for term infants. In both cases, the frontoparietal network showed the highest correlation between predicted and observed PMA (structure: r = 0.59, p = 6.05e-43, MAE = 1.12 weeks; Fig. 3a; function: r = 0.28, p = 1.41e-09, MAE = 1.41 weeks; Fig. 3b). Like the whole-brain models, structure better predicted PMA than function in all networks (z’s > 2.58, p’s < 0.0097) except for the dorsal attention network (z = −0.47, p = 0.63). In contrast, function predicted PMA better than structure for preterm infants. All but the dorsal and ventral attention networks from the functional connectome significantly predicted PMA in the preterm infant group. Only the limbic, default mode, and subcortical networks from the structural connectome predicted the PMA preterm infants. Models generated from a single network were numerically worse than the whole-brain models.

Fig. 3: Brain network age prediction.
figure 3

a Structure and (b) Function canonical brain networks age predictions. Within-network connections for multiple networks successfully predicted postmenstrual age in term (blue lines) and preterm (red line) infants. Solid lines indicate significant two-sided Pearson’s correlation at p < 0.05, FDR-corrected, while dashed lines indicate non-significant predictions. Correlations between predicted ages based on within-network connections for term (c) and preterm (d) infants. Heatmaps show the correlation between predicted PMA from within-network connections. The upper triangle shows the correlation between functional ages. The lower triangle shows correlations between structural ages. The diagonal shows the correlations between structural and functional age for a network (p < 0.05; Pearson’s correlation, two-sided; n.s. not significant, box crossed: age not predictable from the within-network connections). VI visual, SM somatomotor, DA dorsal attention, VA ventral attention, LM limbic, FP frontoparietal, DM default mode, SC subcortical. Source data are provided as a Source Data file.

Structural and functional age for each network were correlated except for the dorsal attention network in term infants. Nevertheless, these correlations (r’s < 0.18) were smaller than at the whole-brain level (r = 0.36). For the three networks exhibiting significant age predictions for both structural and functional connectomes, significant correlations between structural and functional ages were observed for preterm infants (r’s > 0.25, p’s < 0.001). Structural and functional ages were more correlated in the preterm infants than in the term infants for the default mode (z = −2.82, p = 0.0024), the subcortical (z = −3.1907, p = 0.00071), but not the limbic networks (z = −1.27, p = 0.10).

Predictions using between-network connections are shown in Fig. S3. For structural connectomes, all between-network models, except for connections between the dorsal and ventral attention networks, predicted PMA for the term infants. For structural connectomes, between-network models predicted better (on average) than within-network models (between-network: mean r = 0.54; within-network: mean r = 0.45; p = 0.046, permutation testing, 1000 iterations). Like other analyses in term infants, between-networks models from structural connectomes performed better than models from functional connectomes. No differences in performance for within- and between-network models were observed for the functional connectomes. Similar trends were observed for models in preterm infants. Finally, we repeated PMA prediction based on individual lobes from structural connectomes. These results are shown in Fig. S4.

After calculating each network’s structural and functional ages, we correlate the structural and functional ages between different canonical networks. A large correlation between the two networks’ structural (or functional) age suggests that these networks have synchronous development. For term infants, structural ages were significantly correlated (r’s > 0.13, p’s < 0.05) across networks except for the structural ages from the dorsal attention and subcortical networks. As for functional ages, most were correlated across networks, except the functional ages from the frontoparietal and subcortical networks and the functional ages from the visual network to the other networks (Fig. 3c). Together, these results suggest that networks develop in synchrony in the term infant group. For preterm infants, all networks that predict PMA show strong correlations (r’s > 0.53, p’s < 0.001) in structural and functional ages between the different networks (Fig. 3d). These correlations were generally stronger in preterm infants than in term infants.

Brain age gaps were associated with perinatal maternal exposures and toddler behaviors

Having established normative structural and functional ages, we asked how early exposures associated with individual deviations from the normative developmental trajectories. In other words, how do prenatal and early postnatal exposures associate with structure and functional BAGs? BAGs were defined as predicted postmenstrual age minus actual postmenstrual age. Sex and PMA were regressed from the BAGs to adjust for the mean bias in the brain age prediction35. BAGs greater than 0 indicate that the predicted brain age is greater than the actual age. BAGs less than 0 indicate the opposite. Maternal information was collected after birth. We studied ten prenatal and early postnatal measures across four common exposure types: maternal mental health (postnatal depression, lifetime psychiatry history), maternal physical health (BMI, high blood pressure, gestational diabetes), maternal demographics (age, education), and maternal substance use (smoking, alcohol).

We further investigated if BAGs after birth exhibit a long-term influence on toddler behaviors. Cognitive and behavioral assessments were performed at 18 months. These assessments included the Bayley Scales of Infant and Toddler Development (BSID)36, the Child Behavior Checklist (CBCL)37, the Early Childhood Behavior Questionnaire (ECBQ)38, and the Quantitative Checklist for Autism in Toddlers (Q-CHAT)39. Correlations between the perinatal exposures and toddler outcomes are shown in Tables S68.

Linear models were used to associate BAGs and exposures/behaviors (Fig. 4). For the term group, maternal age positively correlated with structural BAGs (r = 0.14, p = 0.0042, pFDR = 0.048). Associations with alcohol use, postnatal depression, and gestational diabetes did not survive FDR correction. For term infants, structural BAGs positively correlated with BSID cognitive (r = 0.16, p = 0.0036, pFDR = 0.020) but negatively correlated with ECBQ effort control (r = −0.16, p = 0.0040, pFDR = 0.020). Associations with BSID language, CBCL externalizing problems, ECBQ surgency, and ECBQ negative affect did not survive FDR correction. In exploratory analyses, we found that structural BAGs at birth partially mediated the association between maternal age and externalizing problems at 18 months old in the term group (average direct effect = −0.10, p < e-16; Total effect = −0.086, p = 0.002; Prop. mediated = −0.14, p = 0.030).

Fig. 4: Brain age gaps (BAGs) were associated with maternal effects and toddler behaviors.
figure 4

Maternal mental health, physical health, demographics, and substance use correlate with BAGs for term and preterm infants, controlling for the infant’s postmenstrual age. The BAGs also correlate with several later behaviors in toddlerhood, controlling for the infant’s postmenstrual age. The p-values of two-sided Pearson’s correlation are FDR-corrected. Dashed lines associations were not significant after FDR correction, Solid lines associations were significant after FDR correction. BSID the Bayley Scales of Infant and Toddler Development, CBCL the Child Behavior Checklist, ECBQ the Early Childhood Behavior Questionnaire, Q-CHAT the Quantitative Checklist for Autism in Toddlers. Source data are provided as a Source Data file.

We repeated these analyses with BAGs from the SVR models. For the significant associations reported above, maternal age positively correlated with structural BAGs for term infants (r = 0.10, p = 0.030, pFDR = 0.20). Structural BAGs positively correlated with BSID cognitive (r = 0.13, p = 0.013, pFDR = 0.13) but negatively correlated with ECBQ effort control (r = −0.004, p = 0.95, pFDR = 0.95) for term infants. Overall, results from CPM and SVR models show consistency, with significant correlations between association results from CPM and those from SVR (Tables S3 and S4).

Figure S5 shows association analyses with other covariates regressed. We also included the prediction results of perinatal maternal exposure and toddler behaviors using infants’ structural and functional connectomes in Fig. S6. Associations between gestational/postmenstrual ages, perinatal exposures, and toddler outcomes are shown in Fig. S7.

Discussion

Using normative modeling, we establish that structural and functional connectomes accurately predict postmenstrual ages in term and preterm infants scanned within the first months of life. We observed greater predictive accuracy of structural connectomes compared to functional connectomes. Further, predicted structural and functional age were correlated. Preterm infants exhibited a greater correlation between structural and functional ages and weaker prediction from structural connectomes than term infants. At the network level, nearly all canonical brain networks—even putatively later developing ones—accurately predict PMA. In term infants, BAGs correlated with several early life exposures and toddler cognition. These findings highlight the value of normative structural and functional development models in the perinatal period, where deviations from the normative trajectory are associated with early-life maternal exposures and later behavior.

The structural connectome develops before the functional connectome4. That structural connectomes consistently predicted PMA more accurately than functional connectomes for term infants aligns with this literature. Structural connectome is highly organized at birth with adult-like hubs and modules2. These richer features provide more information for the machine learning algorithms to learn from and increase prediction performance. Interestingly, between-network connections predicted PMA better than within-network connections, consistent with the rapid development of cross-hemisphere connections during this period40. The frontal lobe was the best predicting lobe for structural connectivity. Several core behaviors for infants are located in the frontal lobe. For example, morphometric features and structural connectivity in language regions (i.e., Broca’s region) are reportedly primed to learn language from birth41,42. The functional connectivity associated with these regions may take years to form8,43,44,45.

Nevertheless, PMA predictions with functional connectomes were highly accurate, with an average error of only 2.5 days worse than the structural connectomes. These results are consistent with recent research showing strong PMA prediction with functional connectomes in young infants9. In term infants, all networks predicted PMA (except ventral attention). Critically, there were no differences between higher-order networks that develop more slowly (e.g., DMN or FPN)7 and lower-order networks (e.g., motor or visual) that develop earlier46,47. Indeed, the FPN exhibited the greatest predictive accuracy. These results suggest that networks like the DMN or FPN might exhibit richer individual differences during the first postnatal month than previously thought. Additionally, the moderate correlation between structural and functional ages suggests a dependency between structural and functional development. Presumably, structural maturation serves as the foundation for later functional development. However, this causality cannot be inferred from our current results.

Preterm infants exhibited several different patterns in brain age compared to term infants. They had a higher correlation between structural and functional age and between structural and functional BAGs. In addition, structural connections at the individual network level were less predictive, while functional connections were more predictive in preterm than term infants. Preterm birth accelerates functional trajectories due to earlier exposure to a postnatal environment48. This observation may explain the differences between term and preterm infants, such as the increased prediction accuracy from functional connectomes. Alternatively, preterm infants exhibit altered structural connectivity49,50—which, in turn, may be driving reduced prediction accuracy of the structural connectomes. A combination of altered structural and functional neurodevelopment is most likely responsible for these differences.

Early life exposures associate with brain age. Exposure to maternal distress (e.g., stress, depression, and anxiety) and substance use are commonly studied. Rather than focusing on brain regions of interest, such as the hippocampus and amygdala51,52, as in most works, our findings exhibit that altered connectivity extends beyond these regions and to the whole brain level. We also find altered structural and functional development for less commonly studied exposures like gestational diabetes and maternal age. These maternal effects have distinct implications for term and preterm infants. One possible reason could be the differences in the critical windows during which maternal effects influence them. For example, maternal age is associated with increased BAGs in term, but not preterm infants. Both young and advanced maternal ages are risk factors for preterm birth, which may explain differences in associations with maternal age for term and preterm infants53,54,55. Moreover, the biological pathways from exposures to altered brain development might cause differences. Likely, multiple biological systems, including the maternal immune system and hypothalamic-pituitary-adrenal axis, are candidate pathways56. Many exposures activate inflammatory cytokines and proteins, which can then cross the placenta. It is hypothesized that while inflammatory cytokines contribute to fetal brain development, inappropriately high levels may alter cellular survival, proliferation, differentiation, axonal growth, and synaptogenesis57,58.

A hope for infant neuroimaging studies is to predict the risk for poor developmental outcomes in toddlerhood or later59,60. We found that BAGs are associated with several toddler outcomes. Importantly, these associations were not only in a single direction. In other words, positive and negative BAGs could be both associated with worse outcomes. For example, a negative BAG is associated with worse cognition, while a positive one is associated with worse self-regulation. A large deviation from one’s peers, regardless of direction, may be equally negative from infancy to adolescence61. This explanation aligns with the theory of critical periods in development. These periods are developmental windows where the brain is the most plastic to learning a skill or behavior. Changing the brain and the behavior it subserves outside this window is more difficult62,63. A normative range for BAGs could be used to define if an individual is missing a critical period. For example, a large BAG in either direction could suggest an infant is outside a critical period, resulting in worse developmental outcomes. However, longitudinal BAGs likely are needed to map when an individual enters and exits these critical periods and if they are indeed missed.

Our work has several strengths, including a large sample of infants with high-quality neuroimaging data, multimodal normative modeling, and longitudinal follow-up data in toddlerhood. However, several limitations should be acknowledged. First, while our study includes longitudinal data (prenatal exposures, postnatal MRI, and toddler behavior), measures were sparsely collected. Given the rapid change from infancy to toddlerhood, dense sampling is needed to account for the numerous interacting pre- and postnatal influences and establish direct relationships between prenatal exposures, brain development, and cognitive outcomes. It will also facilitate identifying critical periods of vulnerability and possible intervention. Second, Even though our current sample size is large for infant neuroimaging studies in preterms, preterm birth is highly heterogeneous in its causes and outcomes64. Therefore, this size and variability in preterm birth effects might not represent the larger population of preterm infants. Third, the absence of genetic analysis in the current study might overlook the interplay between genetic factors and early life exposures on neurodevelopment. Genetic variations help shape individual differences in functional65,66,67 and structural connectivity68,69,70. These variations further interact with the environmental effects (i.e., epigenetics/maternal)71,72,73. Integrating genetic data into future studies could further nuance our results. Finally, the reliance on maternal self-report measures and lack of detailed medical records may introduce bias and measurement errors. For example, we lack details about the frequency of tobacco and alcohol use and the actual blood pressure measurements. Replication of each early life exposure with detailed measurements during pregnancy is required.

In conclusion, we established normative models of structural and functional aging during the perinatal period. Results highlight the complex interplay between an infant’s brain age, early life exposures, and later cognitive behaviors. Overall, brain age and BAGs provide a valuable tool for studying neurodevelopment in infants.

Methods

Participants

All data were obtained from the Developing Human Connectome Project31 (dHCP, http://www.developingconnectome.org/), a longitudinal study of infant brain development with open access. The study received approval from the National Research Ethics Service West London committee. Participating families provided written consent before imaging. Our sample included 437 term infants (203 female, 234 male) and 174 preterm infants (74 female, 100 male) from the second data release of dHCP. Preterm infants were born between 23.00 and 36.86 weeks of gestation and scanned between 26.71 and 45.14 weeks. A subset of preterm infants were retested (n = 73) at the term-equivalent ages, between 38.43 and 44.86 weeks. Term infants were born between 37.00 and 42.29 weeks of gestation and scanned between 37.43 and 44.71 weeks. Demographic information about the infants is presented in Table 1. More information, such as the primary clinical reason for the episode of care and the mother’s ethnicity, were summarized in Tables S9 and S10.

MRI acquisition

All images were collected in the Evelina Newborn Imaging Center, St Thomas’ Hospital, London, UK. MRI data were acquired with a Philips Achieva 3 T scanner (Philips Medical Systems, Best, The Netherlands) with a dHCP-customized neonatal imaging system, including a 32-channel receive neonatal heal coil (Rapid Biomedical GmbH, Rimpar, DE)31. Infants were scanned during unsedated sleep after feeding and immobilization in a vacuum-evacuated bag, with hearing protection and physiological monitoring (including pulse oximetry, body temperature, and electrocardiography data) applied during scanning.

T2-weighted images were obtained using a Turbo spin echo sequence (TR = 12 s, TE = 156 ms, SENSE factor 2.11 (axial) and 2.54 (sagittal)) with overlapping slices (resolution = 0.8 × 0.8 × 1.6 mm3). T2w images were motion-corrected and super-resolved to a resolution of 0.8 × 0.8 × 0.8 mm3 74. Diffusion-weighted imaging (DWI) was obtained in 300 directions (TR = 3.8 s, TE = 90 ms, SENSE factor 1.2, multiband factor 4, and resolution 1.5x1.5x3mm3 with 1.5 mm slice overlap) with b-values of 400 s/mm2, 1000 s/mm2 and 2600 s/mm2 spherically distributed in 64, 88 and 128 directions respectively using interleaved phase encoding75. BOLD fMRI runs were 15 minutes 3 seconds (2300 time volumes) and used a multislice gradient-echo planar imaging (EPI) sequence with TR 0.392 s, TE 0.038 s, flip angle 34 degrees, and acquired spatial resolution 2.15 mm isotropic76.

Structural connectome processing

Diffusion MRI was reconstructed at an in-plane resolution of 1.5 mm and slice thickness of 1.5 mm. Images were denoised and corrected for motion, eddy current, Gibbs ringing, and susceptibility artifact with the diffusion SHARD pipeline. In-scanner head motion was estimated by the SHARD outlier ratio, which is the mean outlier weight of all slices detected in slice-to-volume reconstruction. A quality check was conducted by neighboring DWI correction (NDC)77, leading to 34 scans being excluded due to their low NDC values calculated by median value-based outlier detection. The accuracy of b-table orientation was examined by comparing fiber orientations with those of a population-averaged template. Then, the reconstruction of the diffusion data was performed in native space with generalized q-sampling imaging (GQI)78 with a diffusion sampling length ratio of 1.25. The tensor metrics were calculated and analyzed using the resource allocation (TG-CIS200026) at Extreme Science and Engineering Discovery Environment (XSEDE) resources79.

After reconstructing images with GQI, the whole-brain fiber tracking was conducted with DSI-studio (http://dsi-studio.labsolver.org/) with quantitative anisotropy (QA) as the termination threshold. QA values were computed in each voxel in their native space for every subject. The tracking parameters were set as the angular cutoff of 60 degrees, step size of 1.0 mm, minimum length of 30 mm, and maximum length of 300 mm. The whole-brain fiber tracking process was performed with the FACT algorithm until 1,000,000 streamlines were reconstructed for each individual. Here, we used a neonatal AAL-aligned brain parcellation with 90 nodes80 to construct the structural connectome for each infant. T2-weighted images in native DWI space were used to provide information on region segmentation during the construction of connectomes. The structural connectome for each individual was then constructed with a connectivity threshold of 0.001. The pairwise connectivity strength was calculated as the average QA value of each fiber connecting the two end regions. This resulted in a 90x90 adjacent matrix for each individual as the brain structural connectome matrix.

Functional connectome processing

fMRI data was preprocessed with the dHCP functional pipeline81, including echo distortion correction, motion correction, independent component analysis (ICA) denoising, and registered to individual T2w native space. All subsequent preprocessing was performed with BioImage Suite (https://bioimagesuiteweb.github.io/webapp/). Mean time courses were regressed in white matter, cerebrospinal fluid, and gray matter. The neonatal AAL-aligned brain parcellation with 90 nodes was applied to the preprocessed fMRI data. Mean time courses of each node pair were correlated, and correlation coefficients were Fisher transformed, generating one 90x90 resting-state functional connectivity matrix per individual.

Brain age

Predictive models of an infant’s PMA were built with connectome-based predictive modeling (CPM) using structural and functional connectomes82. Predictive models were trained for term and preterm infant groups separately. For each model, the feature was selected from structural or functional connectomes and threshold at p = 0.05, with sex, brain volume, and head motion controlled. 10-fold cross-validation was performed. The infants were randomly divided into ten subgroups, among which nine subgroups were used as training and one subgroup as a testing group. Model training involves feature selection of relative brain features within the training group using Pearson’s correlation. The brain features (e.g., edge strength in a connectome) significantly correlated (p < 0.05) with the postmenstrual ages were retained and separated into a positive network (i.e., edges positively associated with PMA) and a negative network (i.e., edges negatively associated with PMA). Next, the selected features for each individual were summed into a single number. Linear regression was then used to model this summary score and the phenotype in the training group. Finally, this model was applied to the testing group. This process was repeated iteratively, with each subgroup being the testing group once, generating a predicted result for each individual in the dataset. We repeated each prediction process 100 times and averaged the predicted results as the brain ages. Brain age gap (BAG) was determined by subtracting the actual postmenstrual age from the predicted postmenstrual age, serving as an indicator of whether the predicted brain age appears older (age gap > 0) or younger (age gap < 0) than their actual ages. Sex and PMA were regressed from the BAGs to adjust for the mean bias in the brain age prediction. Analyses with other covariates regressed were shown in the supplementary information.

To calculate network ages, connectomes were separated into eight canonical functional networks34: visual, somatomotor, frontoparietal, default mode, dorsal attention, ventral attention, limbic, and subcortical networks (see Table S5). For each network, the predicted PMA was generated based only on the connections within this network using the same CPM procedure described above. Similarly, we predict PMA using only the connections between two canonical networks. For validation purposes, we repeated the prediction process with support vector machines, and results were provided in supplementary information Tables S14.

Perinatal exposures

The influence of several perinatal exposures on infant brain development was investigated, as summarized in Tables 2 and S11. Maternal physical health included body mass index (BMI), the occurrence of high blood pressure (i.e., pre-eclampsia, Hemolysis, Elevated Liver enzymes, and Low Platelets, or pregnancy-induced hypertension), and gestational diabetes. Maternal mental health included postnatal depression screened by the Edinburgh Postnatal Depression Scale (EPDS)83 and maternal history of mental health problems. Maternal substance use included the use of alcohol and tobacco during pregnancy. Maternal demographics included maternal age at expected delivery and education level. For the continuous measures (maternal age, BMI, EPDS level, alcohol, and smoking use level), Pearson’s correlations were used to quantify the association between the measures and infant brain age gaps. For the binary measures (psychological history, high blood pressure, gestational diabetes, and the use of recreational drugs), two-sample t-tests were used to test the effect on infant brains. The t-statistics were then transformed into r-values for comparison across measures. All p-values were corrected for multiple comparisons with the Benjamini–Hochberg false discovery rate (FDR) method.

Table 2 Maternal characteristics

Toddler outcomes

Four commonly-used behavioral measures were collected during the follow-up visits at 18 months (Table 1). Bayley Scales Of Infant and Toddler Development Third Version (BSID-III)36 evaluates three areas of development: cognitive, language, and motor. Child Behavior Checklist (CBCL)37 assesses the child’s psychological risks in internalizing problems, summing the anxious/depressed, withdrawn-depressed, and somatic complaints scores, and externalizing problems, including rule-breaking and aggressive behaviors. The Early Childhood Behavior Questionnaire (ECBQ) measures a toddler’s emotional and behavioral regulation skills through parents’ reports38. Quantitative Checklist for Autism in Toddlers (Q-CHAT) evaluates the risk in the social-emotional performance during toddlerhood39. Pearson’s correlations between these measures and BAGs were calculated. All p-values were corrected for multiple comparisons with the Benjamini–Hochberg false discovery rate (FDR) method.

Reporting summary

Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.