Abstract
Memory is a crucial cognitive function that deteriorates with age. However, this ability is normally assessed using cognitive tests instead of the architecture of brain networks. Here, we use reservoir computing, a recurrent neural network computing paradigm, to assess the linear memory capacities of neural-network reservoirs extracted from brain anatomical connectivity data in a lifespan cohort of 636 individuals. The computational memory capacity emerges as a robust marker of aging, being associated with resting-state functional activity, white matter integrity, locus coeruleus signal intensity, and cognitive performance. We replicate our findings in an independent cohort of 154 young and 72 old individuals. By linking the computational memory capacity of the brain network with cognition, brain function and integrity, our findings open new pathways to employ reservoir computing to investigate aging and age-related disorders.
Similar content being viewed by others
Introduction
The human brain is a complex system of anatomically interconnected regions. The resulting network, the connectome1, is responsible for the transmission of signals across different brain regions, allowing them to interact and exchange information1. These dynamic interactions generate complex patterns of functional activity that are closely associated with our behavior and cognitive functions2,3. In young healthy individuals, such interactions feature a non-random efficient organization, which optimally balances the network’s ability to process information through a small number of designated paths between distant regions on the one hand, and many local connections between neighboring regions on the other hand, achieving a delicate balance between global and local information processing4. However, this optimal organization becomes impaired as aging progresses5,6, being associated with a decreased capacity to efficiently transmit information, as well as with a decline in the number and integrity of anatomical connections7,8,9. Altogether, such changes hinder the communication between brain regions, ultimately contributing to the cognitive decline associated with aging6,9.
Until now, the precise impact of these changes on the computational capacity of the human brain to process, learn, and to encode temporally varying external stimuli has remained elusive. Here we use reservoir computing10—a machine-learning framework that can reproduce the functional dynamics of biological networks11,12,13,14—to characterize how the cognitive function of the human brain deteriorates with aging.
A reservoir computer is a recurrent neural-network model. It consists of a reservoir of artificial neurons, which are nonlinear computational nodes10. The reservoir receives inputs in the form of time series, and the network output is trained to encode different representations of these signals. The linear memory capacity15,16 of this model measures how well the network manages to encode the input signal in its reservoir. This computational memory capacity is determined by training the network output to reproduce delayed input time series and comparing the delayed input with the reservoir output, either across all reservoir nodes (global memory capacity) or across a select subset (regional memory capacity). A high memory capacity indicates that the network has high capacity to remember and process the temporal information contained in the input signal.
Here, we evaluate the computational memory capacity of anatomical brain connectomes in a lifespan cohort of 636 individuals between 18 and 88 years old. We model the reservoir nodes to represent different brain regions and constrain their inter-regional connectivity by the individual anatomical brain connectomes using diffusion-weighted imaging. Then, framing the connectomes as computational reservoirs, we examine their ability to replicate random time-dependent input signals. We determine how the computational memory capacity of such brain-inspired reservoirs depends on the connection densities of the underlying connectomes and find that there is an optimal density to predict an individual’s age. We replicate our findings in an independent cohort of young and old individuals. To assess the clinical implications of our findings, we test whether the computational memory capacity is associated with cognitive performance and different brain imaging measures derived from gray-matter atrophy, anatomical and functional connectivity, as well as the integrity of locus coeruleus, a small subcortical nucleus that is responsible for most of the noradrenergic neurotransmission in the brain. Our underlying hypothesis is that the computational memory capacity of the anatomical network is associated with individual cognitive performance and neuroimaging measures of brain structure and function. Our analysis shows that the computational memory capacity is a sensitive imaging biomarker for predicting age-related changes, with important implications for understanding, and potentially diagnosing and treating neurological disorders.
Results
Evaluation of the brain memory capacity
To test this hypothesis, we measured the memory capacity of 636 individuals from the Cambridge Centre for Ageing and Neuroscience (Cam-CAN) cohort17 (https://www.cam-can.org) who underwent diffusion-weighted imaging (DWI) and neuropsychological testing. For each individual, the whole-brain anatomical connectivity networks were obtained by applying deterministic streamline tractography to multi-shell diffusion-weighted data and extracting the mean fractional anisotropy (FA) values between each pair of brain regions from the automated anatomical labeling atlas18 in order to define the edge’s values. Since the resulting networks can have a different number of connections (network density) across individuals19, and given there is currently no consensus on which density is best20, we performed our analysis across a range of network densities to ensure a meaningful comparison across individuals at different ages in which all connectomes had the same number of connections19,20.
To measure the computational memory capacity of the individual connectomes, we used reservoir computing to simulate a representation of the propagation of random time-dependent signals through the anatomical connections of the brain of each subject (Fig. 1A). After letting this signal propagate through the reservoir (representing the anatomical brain networks) and activate its nodes (representing the brain regions), we recorded the activity series of the brain regions (the output signal in Fig. 1A) and fed them to a linear unit that was subsequently trained to reproduce a delayed representation of the input signal (Fig. 1B). We evaluated the global memory capacity of the whole network by using the activation time series of all reservoir nodes, whereas we defined the regional memory capacities as the ability to reproduce the delayed input signal using only the activation time series of single brain regions. The validity of this method to measure regional memory capacity was confirmed by an additional analysis we performed (lesional memory capacity; Supplementary Methods 1 and Supplementary Fig. 1), which quantifies the memory capacity of a region as the change in the network’s global memory capacity after the removal of that region and all its connections from the network.
A Brain reservoir computing architecture with uniform random signals applied to all nodes. We recorded the reservoir’s output as an activity series for the calculation of global and regional memory capacity. B Using this output, we trained the reservoir to reconstruct delayed representations of the input signals (\(\tau=\) 1 − 35). C Similarity between the reconstructed and actual input signals was measured using Pearson’s correlation coefficient for each τ. D Pearson’s correlation coefficient as a function of \(\tau\); the memory capacity was measured between \(\tau=\) 6 − 35 (dark-gray area). E Differences in global memory capacity between older (54–88 years, n = 333) and younger (18–53 years, n = 303) individuals. Gray dots show differences as a function of network density; 95% CI are shown in orange. F–H Correlation between global memory capacity and age at low, medium, and high densities, respectively. In all cases, y-axis shows AUC values, gray dots indicate individual subjects, dashed lines represent best model fit, and orange areas show 95% CI. Boxplots display AUC of the global memory capacity values for young (n = 303, orange) and old (n = 333, red) subjects. They show the median (center line) and the mean (colored center circles) of each group, the box boundaries extend to the 25th and 75th percentiles of the sample with whiskers indicating non-outlier data. I Regional memory capacity as a function of age, with negative correlations in blue and positive in red. Only regions passing correction for multiple comparison (FDR < 0.05) are shown. Brighter colors and larger spheres indicate higher absolute correlation. J Multilayer perceptron trained to predict age using global and regional memory capacity. K Predicted vs. true age for the best prediction (correlation coefficient 0.78); dashed line represents best model fit, shaded red area indicates 95% CI for predictions, and gray dots denote individual subjects on the test set. The brain surfaces are based on the MNI152 template93,94,95. Source data for Fig. 1 is provided as a Source Data file.
For each time delay \(\tau\), we plotted the delayed representation of the input signal at that delay versus the corresponding prediction signal made by the reservoir. Such representations are illustrated in Fig. 1C for delays of \(\tau=\) 1 (red) to \(\tau=\) 35 (gray), where the delays denote the number of steps used to construct the representation of the input signal to be memorized. The degree to which the reservoir prediction approximates the delayed representation signal can be calculated using the Pearson’s correlation coefficient between the two signals; the reservoir’s forgetting curve (Fig. 1D) summarizes these correlation coefficients as a function of the time delay.
The memory capacity is calculated by summing the correlation coefficients in the forgetting curve across different delays, which reflects the total ability of the nodes to encode the temporal properties of the external stimuli15. The reservoir’s forgetting curve (Fig. 1D) demonstrates that the network almost perfectly memorizes the input signals at small delays (between 1 and 5). We focused our analyses on the second part of the curve and evaluated the computational memory capacity at delays ranging between 6 and 35, since the network’s ability to perfectly memorize the signal at small delays did not change with aging (Supplementary Methods 2, Supplementary Figs. 2 and 3), while the network was unable to memorize the input signal at larger delays.
Memory capacity during aging
The connectome of older individuals shows lower computational memory capacity
We assessed the relationship between memory capacity and age by dividing the cohort using the mean age of the sample into two groups, young (18–53 years old) and old (54–88 years old) individuals, and comparing their memory capacity across different network densities using nonparametric permutation tests. Figure 1E shows the differences between the two groups as a function of density and the corresponding confidence intervals. It shows a significant decrease in the network’s memory capacity in the older compared to younger individuals across the entire density range (pmin < 10−4). Interestingly, these differences were smaller at low densities when only the strongest 10% connections were retained in the network, but progressively increased with higher network density, when weaker connections were additionally included in the network (Fig. 1E). The differences had a large effect size (Cohen’s d > 0.8) and were even more pronounced when comparing more extreme age groups, i.e., with increasing age gaps between the two groups (Supplementary Methods 3 and Supplementary Fig. 4). Furthermore, they remained unchanged after changing the threshold of 53 years by several different thresholds (39–70 years) to place individuals in the young and old groups (Supplementary Methods 4 and Supplementary Fig. 5).
To confirm the findings showing that the memory capacity decreases in old individuals, we divided the complete density range into low (2–10%, Fig. 1F), medium (11–20%, Fig. 1G), and high (21–30%, Fig. 1H) densities and calculated the area under the curve (AUC) by integrating the memory capacity values across all density values in each category. These AUC values were then used as dependent variables in separate linear models, with age as the independent variable and sex as a covariate. The analyses showed that age was the best predictor of memory capacity at high densities (10.9% explained variance, page < 10−15), surpassing the predictive power of the models using low (3.98% explained variance, page = 0.04) and medium densities (6.87% explained variance, page < 10−12). The high-density connectomes consist of the strong connections present at low and medium densities, added to a set of weaker connections that are present at high densities, but not at low and medium densities. Therefore, these findings show that the age-related reductions in memory capacity are most evident when an increasing number of weak connections are present in the network. This suggests that the more peripheral network connections of the network are most vulnerable to age-related effects, in line with previous studies5,21. Motivated by these interesting findings, we focused the rest of our analyses only on the high-density memory capacity. Moreover, we conducted additional analyses to assess whether topological measures or FA values explained the relationship between memory capacity and age. Our findings showed that, while these measures partially mediated the relationship, memory capacity provided independent information about connectome changes throughout aging (Supplementary Methods 5,6 and 7, Supplementary Figs. 6,7 and 8).
Computational memory capacity of frontal and parietal regions declines with aging
We investigated the impact of aging on the memory capacity of individual brain regions by assessing the correlation between regional memory capacity and age, using sex as a covariate. After controlling for multiple comparisons, our findings showed that most regions exhibited a decreasing memory capacity with age, with the strongest decline being observed in lateral frontal regions, followed by the middle and anterior cingulate, the precuneus, and the inferior parietal gyri (Fig. 1I). These regions overlap with some of the most connected brain areas of the default-mode network22, and therefore receive a high number of weak connections with increasing network density. Interestingly, we also observed that a few regions showed a positive correlation with age, such as the Heschl’s and parahippocampal gyri, potentially indicating a compensatory phenomenon that occurs during clinically normal aging as evidenced by previous reports showing such effects in these regions as a mechanism to cope with changes in other brain areas23,24,25,26.
Computational memory capacity is an accurate predictor of individual age
To establish the ability of global and regional memory capacity to predict age, we built a multilayer perceptron deep learning model27 (Fig. 1J) with four hidden layers (with 256, 512, 512, and 256 artificial neurons). More details about model selection are shown in Supplementary Methods 8 and Supplementary Table 1. An unbiased age prediction was ensured by subdividing the dataset into train (n = 508), validation (n = 64) and test (n = 64) sets with similar age distributions. The model performance was evaluated by calculating the Pearson’s correlation coefficient between the true individual age and the predicted age, where a higher correlation indicates a better model performance. Implementing a 10-fold cross-validation procedure, we found that this model showed a high correlation between the true and predicted individual age of 0.72 \(\pm\) 0.04, where the best prediction is shown in Fig. 1K. This demonstrates that memory capacity can be used to make highly accurate predictions of an individual’s age, being therefore a robust imaging biomarker that tracks age-related changes.
Associations between memory capacity, neuroimaging measures of brain structure and function, and cognition
Global and regional memory capacities are associated with measures of structural integrity and functional activation
Several positive associations were observed for functional connectivity networks extracted by applying independent component analysis to decompose the resting-state fMRI data of the cohort into 42 independent components. Based on their spatiotemporal resemblance to well-known resting-state networks28,29, we selected 9 components for further analysis. These components represented the medial and lateral visual, default-mode, dorsal attention, right attention, left attention, salience, sensorimotor and temporal (auditory) networks (Fig. 2A). After correcting for multiple comparisons, we observed a significant positive association between global memory capacity and functional connectivity within these networks (Fig. 2A): the bilateral occipital cortex for medial (p < 0.036) and lateral visual (p < 0.013) networks, the bilateral precentral and superior frontal gyrus for the sensorimotor network (p < 0.001), the right dorsolateral prefrontal cortex for the right attention network (p < 0.034), the right intraparietal sulcus for the dorsal attention network (p < 0.009), and the right superior temporal sulcus for the auditory network (p < 0.036).
A Spatial maps of the ICA components corresponding to (from top to bottom) medial visual, lateral visual, sensorimotor, temporal, right attention, and dorsal attention networks (left). The colored areas in the right panel showed significant positive association between global memory capacity and functional connectivity within the corresponding networks. Only networks that showed significant associations after correcting for multiple comparisons are shown overlaid on the MNI152 structural template93,94,95. B Visualization of white matter tracts that showed positive association between global memory capacity and FA values. The underlying FA template was created from the average of MNI-registered FA volumes from 20 representative Cam-CAN subjects under 36 years of age. We also used the tbss_fill command in FSL on the FA results, which thickens the thresholded stats image and allows for better visualization of the results. C Regions that had significant interaction between regional memory capacity and age in a linear model where the intensity of the locus coeruleus was used as a dependent variable. The average gray matter probability map (MNI152 template)93,94,95,96 shows only the regions with significant interactions after correcting for multiple comparisons (FDR < 0.05) in red. Plot of locus coeruleus intensity as a function of age for superior frontal gyrus, for different levels of memory capacity measured across the sample (level 1: mean memory capacity, yellow; level 2: 2 standard deviations above the mean, gray; level 3: 2 standard deviations below the mean, red). The plotted values are the z-scores of the corresponding raw locus coeruleus intensity values, shaded areas indicate 95% CI for predictions. Source data for Fig. 2 is provided as a Source Data file.
In contrast to the voxel-wise analyses of gray matter volume, which did not show any significant associations with global or regional memory capacity, we found widespread positive correlations between FA values and global memory capacity (p < 0.05, corrected for multiple comparisons). These associations were strongest in the bilateral superior longitudinal fascicles connecting the parieto-occipital and frontal cortices, but were also present in the genu and splenium of the corpus callosum, the optic radiations, the right inferior longitudinal tract, uncinate fascicles, and the right corticospinal tract (Fig. 2B).
Finally, we examined whether the global memory capacity was associated with the signal intensity of the locus coeruleus assessed on magnetization transfer imaging. The locus coeruleus is a small nucleus in the brainstem that sends connections to many cortical and subcortical regions, playing a key role in several cognitive and behavioral functions30,31. Previous studies have shown that its integrity changes with age, which could affect the brain connectivity patterns and lead to cognitive decline over the course of aging31,32. Using linear models, we tested whether the global memory capacity could predict locus coeruleus intensity, which is a measure of its structural integrity31, in the entire cohort. These analyses did not show any significant relationships. However, when using regional memory capacity as a predictor of the locus coeruleus intensity, we found several significant interactions between age and regional memory capacity values in frontal, temporal, occipital, parietal, and subcortical regions after correcting for multiple comparisons (Fig. 2C, Supplementary Methods 9 and Supplementary Fig. 9), such that higher memory capacity values were associated with smaller decline in locus coeruleus intensity with age.
Higher global and regional memory capacities are associated with better cognition
To investigate whether global and regional memory capacity were associated with cognitive domains, such as global cognition, memory, executive functions, visuospatial abilities and psychomotor speed beyond the effects of age, sex and education, we applied partial least squares regressions. We found that regional memory capacity in the middle and inferior occipital gyri, lingual gyrus, fusiform gyrus, Heschl’s gyrus, postcentral gyrus, supplementary motor area, gyrus rectus, thalamus, and putamen were all significant predictors of global cognition (Fig. 3A). Memory was best explained by the global memory capacity, as well as by the regional memory capacity in the middle occipital gyrus, gyrus rectus, fusiform gyrus, and inferior parietal gyrus (Fig. 3B). Visual short-term memory, a test measuring both visuospatial abilities and memory, was explained by the gyrus rectus, inferior frontal gyrus (pars orbitalis), superior frontal gyrus, lingual gyrus, and paracentral lobule (Fig. 3C). The inferior frontal gyrus (pars orbitalis), lingual gyrus, superior parietal gyrus, medial orbital gyrus, and putamen were all associated with executive functions (Fig. 3D). Finally, psychomotor speed was best explained by the inferior frontal gyrus (pars orbitalis), postcentral gyrus, and middle occipital gyrus (Fig. 3E). Further details are shown in Supplementary Methods 10 and Supplementary Fig. 10.
Visualization of regions whose regional memory capacity was a significant predictor of the individual performance on cognitive tests that measured: A global cognition, B memory, C visual short-term memory, D executive function, and E psychomotor speed. The significant regions are shown in red, overlayed on an average gray matter probability map (MNI152 template)93,94,95,96. Source data for Fig. 3 is provided as a Source Data file.
Replication in an independent cohort
To assess the generalizability of our findings, we evaluated the association between computational memory capacity and aging in an independent cohort, the Leipzig Cohort for Mind-Body-Emotion Interactions33 (LEMON) study of 154 young and 72 old clinically normal individuals. Similar to our previous results, the global memory capacity was lower in old individuals across the complete density range (Fig. 4A), with larger differences specifically observed for high densities (Fig. 4B, Supplementary Methods 11, and Supplementary Fig. 11). To evaluate the classification performance of global and regional memory capacity in discriminating young from old individuals, we used a deep-learning model27. We evaluated the performance of this model using the receiver operator characteristic (ROC) curve, which plots the true positive rate versus the false positive rate as a function of the threshold for classification. We observed that, across 10 cross-validations, the classifier showed a high discriminative accuracy with an AUC of 0.908 ± 0.054 (Fig. 4C), being able to correctly classify 80.3% of the old and 92.7% of the young individuals (Fig. 4D). These findings, in addition to our earlier results, support the important role played by memory capacity in predicting age-related changes.
A Differences in global memory capacity between older (n = 72) and younger (n = 154) individuals. The black dots represent differences as a function of network density, while the 95% CI are shown in orange. B Boxplots of the global memory capacity at high density values for young (n = 154, orange) and old (n = 72, red) subjects. The boxplots show the median (center line) and the mean (colored center circles) of each group, the box boundaries correspond to the 25th and 75th percentiles of the sample with whiskers indicating non-outlier data. C The receiver operator characteristic (ROC) curve obtained for classification of young vs. old individuals using network and regional memory capacity at high densities (average AUC of 0.908). The red line denotes the mean curve over 10 cross validations and the gray shaded area denotes the standard error of the mean at each point. D Confusion matrix for the binary classifier on the test set, showing the percentage correct/wrong classification of old and young individuals across 10 cross-validations, normalized considering each row of the matrix. Source data for Fig. 4 is provided as a Source Data file.
Discussion
Memory decline is an important aspect of aging that has led many studies to investigate its underlying causes and potential remedies34. Memory has been commonly evaluated in clinical settings using cognitive tests that involve memorizing and retrieving information35. Here, instead, we explore memory from a different perspective, as the computational capacity of an anatomical brain network to remember or reproduce time-dependent external signals. We achieved this by interpreting the anatomical network as a reservoir computer, a machine-learning concept10 that permits us to analyze how information flows between regions in the anatomical network, quantifying this ability through the memory capacity measure. The memory capacity declines with aging, allowing us to classify younger vs. older adults with high accuracy and, even, to predict individual ages. Furthermore, beyond the effects of age, we show that memory capacity is associated with white matter, locus coeruleus integrity, and resting-state functional activation signals, therefore relating the computation capability with empirically obtained measures of brain structure and function. Finally, we demonstrate that the computational memory capacity is associated with individual cognitive performance in several domains, including memory. Our findings, summarized in Fig. 5, shed light on the computational measures of brain function that may become important non-invasive imaging biomarkers of aging and provide mechanistic insights into brain network memory.
The computational memory capacity decreases with aging (Created in BioRender. Mijalkov, M. 2025 https://BioRender.com/l54p851), with the strongest effects being observed in frontal and parietal regions (Created in BioRender. Mijalkov, M. 2025 https://BioRender.com/p48p972). Furthermore, the memory capacity showed significant associations with brain function (Created in BioRender. Mijalkov, M. 2025 https://BioRender.com/n07i150), structure (Created in BioRender. Mijalkov, M. 2025 https://BioRender.com/c23d438), integrity of locus coeruleus (Created in BioRender. Mijalkov, M. (2025) https://BioRender.com/h54q798; Created in BioRender. Mijalkov, M. 2025 https://BioRender.com/r26i595), as well as cognitive performance in multiple domains (Created in BioRender. Mijalkov, M. 2025 https://BioRender.com/e65y790).
Previous studies have shown that reservoir computing can offer biologically relevant insights into the performance of anatomical networks on simulated cognitive tasks11,13. However, they have left unanswered the question regarding whether the computational memory capacity calculated within this framework has any clinical relevance and whether it is associated with the individual performance in different cognitive tests. By showing that the global memory capacity of the anatomical network decreases with aging, especially at high network densities, our findings suggest that the decline in memory capacity with aging is driven by the weaker connections of the brain network, which may be more vulnerable to aging. To confirm the presence of specific aging effects affecting these connections, we assessed how the memory capacity of different regions changed with age. We observed that the regions that featured the strongest memory capacity decline belonged to the frontal and parietal cortex, in line with earlier studies reporting that frontal and parietal areas are vulnerable to aging6,36. Specifically, a strong decrease was observed in the anterior cingulate cortex, which is known to play an important role in executive functions, such as decision-making, error detection, and emotion regulation37,38. Furthermore, memory capacity also decreased in medial parietal areas, including the precuneus. The precuneus is a central hub in the brain, being able to integrate information from many areas, which provides it with an ability to perform a wide range of functions including visuo-spatial imagery, episodic memory retrieval, and cognitive control39. A decrease of memory capacity in these regions indicates a reduced capacity to integrate information from multiple brain regions, which could lead to a decline in complex cognitive functions, including intelligence40. Moreover, the simultaneous decrease of memory capacity in both of these regions could also reflect reductions in anterior-to-posterior connectivity observed in the default mode network during aging41.
Interestingly, we also observed that the memory capacity increased with age in the parahippocampal and Heschl’s gyri. The parahippocampal gyrus is part of the parahippocampal cortex, which is a component of a large network that connects temporal, parietal, and frontal regions42. It has been implicated in various cognitive functions, but most consistently in episodic memory and visuospatial processing42. Considering the highly interconnected nature of the parahippocampal cortex, the observed memory capacity increases in the parahippocampal gyrus could represent an attempt to maintain overall network performance by over-recruiting hetero-modal regions in order to compensate for the loss of function in other regions that are part of this network. This tendency to over-recruit functional systems at the expense of their functional specialization has been previously observed in older individuals in temporal areas, and can be partly explained by the age-related decline in white matter integrity23,24,43,44. Furthermore, the increase of memory capacity in Heschl’s gyrus is in line with previous studies showing that older adults need to recruit additional resources to cope with an increased hearing effort25,26, which could manifest as increased memory capacity in this region.
An important finding from our study is that the regional and global memory capacity accurately predicts the individual age in a lifespan cohort of healthy individuals using a deep learning model, which reached a high correlation between true and predicted age of up to 0.78. To assess the generalizability of our findings, we replicated them in an independent cohort consisting of two groups of young and old individuals. We found that memory capacity was able to obtain high classification accuracy with an average AUC of 0.91. Furthermore, across 10 cross-validations, the model was able to classify correctly 93% of the young and 80% of the old individuals. These findings indicate that the memory capacity variability is higher in older individuals than in younger ones, as reflected in the lower classification accuracy for old individuals, which is consistent with previous findings showing a higher variability in cognitive performance in old individuals45.
In order to directly examine the relationship between cognitive performance and memory capacity at the level of the whole brain and of individual brain regions beyond the effects of age, sex and education, we applied a partial least squares analysis. We measured memory function by the face recognition test, since age-related decline in face recognition and memory are closely related17. We found that memory function was associated with global memory capacity. Furthermore, it was associated with the regional memory capacity of occipital regions, gyrus rectus, fusiform gyrus, and inferior parietal gyrus. These regions are involved in visual and emotional processing, memory, and multisensory integration of facial stimuli46,47,48. In fact, the regional memory capacity of occipital regions were significant predictors of scores across all tasks, reflecting the visual component of each test17. We used the hotel task to assess executive function, which involves complex planning, multitasking and adaptation. We found that executive function was related to regional memory capacity in regions involved in different aspects of executive function, including the superior parietal gyrus, which is involved in spatial attention, working memory, and goal updating49,50. Psychomotor speed, measured by the “choice” response time task, was explained by the regional memory capacity of the inferior frontal and the postcentral gyrus, which are involved in language, inhibition, attentional control, somatosensory processing, proprioception, and sensory-motor integration51,52. Visual short-term memory was associated with the regional memory capacity of the gyrus rectus, paracentral lobule, and inferior and superior frontal gyri. Although these regions have not been directly associated with visual short-term memory, this finding could reflect the involvement of other domain-general brain regions, as well as the activation of the frontal-parietal network while performing visual short-term memory tasks53,54. Finally, we measured global cognition using the proverbs test, which was explained by multiple regions that are all involved in different aspects of cognition, such as visual processing, sensory-motor integration, language, memory, and executive function. Our results suggest that cognitive performance is linked to the computational ability both at the global and regional levels, and that different aspects of cognition rely on different brain regions that enable the perception, representation, manipulation, and integration of information across domains and modalities25,46,47,52,55,56.
The global memory capacity was also associated with higher FA values in several white-matter tracts that have been shown to mediate complex cognitive tasks, which can be interpreted as preserved integrity of white matter fibers in these bundles57. Higher global memory capacity was related to preserved integrity in the bilateral superior longitudinal fascicles connecting parieto-occipital with frontal regions, which plays an important role in language, attention, memory, and emotions58,59. In addition, we found that memory capacity was associated with the integrity of the genu and splenium of the corpus callosum. The genu and splenium play an important role in integrating information from different brain regions by making extensive connections with frontal regions (the genu) and occipital-parietal and temporal cortex (the splenium), being essential for interhemispheric communication across different brain regions60.
We also investigated the relationship between global memory capacity and voxel-wise functional activation within resting-state functional MRI networks. We found that increased memory capacity was associated with increased functional activation in regions belonging to the sensorimotor, frontoparietal, dorsal attention, auditory, as well as medial and lateral visual networks29,61. This shows that the computational capability of the network is not specific to any particular function, but rather reflects more general widespread functional connectivity patterns. Therefore, the link between network memory capacity and functional activation, which is an emergent property of the anatomical connectome that can be measured empirically, highlights the importance of computational capacity as an inherent property of brain networks.
Finally, to gain insights into how memory capacity is related to other important measures of brain integrity and function, we assessed its association with the signal intensity of the locus coeruleus. The locus coeruleus is a small subcortical brain structure that modulates various cognitive and behavioral functions, including executive functions, attention, and memory, through the release of norepinephrine, a key neuromodulator in the brain62. It is connected to almost all brain regions, shaping and coordinating widespread neural activity30. Aging has been previously associated with changes in locus coeruleus integrity, which can be measured as signal hypointensities in locus coeruleus contrast magnetic resonance sequences such as magnetization transfer imaging30,32. These changes have been shown to be associated with changes in cognitive performance, especially in older adults30,31. Here, we examined whether memory capacity has a role in modulating the observed changes in locus coeruleus integrity with age. We found an interaction between regional memory capacity values and age in the predictions of locus coeruleus intensity, such that high memory capacity values were associated with slower decline in locus coeruleus intensity with increasing age. This effect was observed for various frontal, parietal, occipital, and temporal regions, as well as for the thalamus and putamen. Our findings are consistent with the widespread projections of the locus coeruleus throughout the brain, suggesting that the improved noradrenergic transmission, as facilitated by the higher locus coeruleus integrity, allows for a higher computational capability of the brain network.
Our study has some limitations that should be considered when interpreting our results. Specifically, we used cross-sectional data from two independent cohorts to test the age-related associations between memory capacity and different empirical measures. This design did not allow us to test the causal relationships between memory capacity and these parameters or whether memory capacity could predict cognitive trajectories over time. Since longitudinal studies could offer additional insights about aging trajectories compared to cross-sectional studies63, future studies are needed to test the predictive value of memory capacity. From a methodological point of view, since our main objective was to show that memory capacity is a marker for aging, we used a homogeneous activation function for all brain regions to allow for easier interpretation of our results. Testing our findings for region-dependent activation functions was beyond the scope of the current work; however, it could allow building more complex models to investigate the role of each individual region in the computational capabilities of the brain network.
Despite these limitations, we have demonstrated that the computational capability of the brain anatomical network, measured by its memory capacity, is an important imaging biomarker for aging that can predict individual age with high accuracy. Moreover, we show that memory capacity, which has traditionally been considered as an abstract computational property of a network, is associated with brain structure, function, and cognitive performance, offering new insights into how the brains of older individuals decline. This study opens new avenues for applying reservoir computing to study the properties of brain networks, by establishing the link between computational capacity and the empirically measured parameters in clinical settings.
Methods
Participants
A total of 636 healthy participants from the Cam-CAN database17 (Table 1) aged from 18 to 88 years were included in this study. All subjects underwent a brain imaging protocol that included diffusion-weighted imaging, resting-state functional MRI, and magnetization transfer imaging. In addition, a subsample of 462 participants completed a comprehensive assessment of cognitive functions, specifically, global cognition (proverb comprehension task17,64), memory (face recognition: familiar faces task17,65), visual short-term memory (visual short-term memory task17,66), executive function (hotel task17,67), and psychomotor speed (“choice” response time task17). To assess the reproducibility of the memory capacity results, we repeated the main analyses using the data of 226 participants from the LEMON cohort33 who also underwent diffusion-weighted imaging and were divided into 154 young (20–40 years, 109 male, 45 female) and 72 old (55–80 years, 36 male, 36 female) individuals. Both cohorts obtained written informed consent from all participants. The Cam-CAN cohort study was conducted in compliance with the Helsinki Declaration, and has been approved by Cambridgeshire 2 Research Ethics Committee (reference number: 10/H0308/50). The LEMON cohort study was also carried out in accordance with the Helsinki Declaration and the study protocol was approved by the ethics committee at the medical faculty of the University of Leipzig (reference number 154/13-ff). We did not use any additional data or re-contact the participants and signed data use agreements to analyze the data.
Reservoir computing
We employed reservoir computing to evaluate the capacity of the anatomical networks to retain the temporal features of an input signal. Reservoir computers have three components: an input layer, a reservoir, and a readout layer. The readout layer used linear units, while reservoir nodes were tanh units. Here, a random input time series, \({u}(t)\), was generated for 20,000 time steps \(t\). At each time step, the signal \(u(t)\) was independently sampled from a uniform distribution in the interval (0, 1). Following the standard approach for reservoir computing, we fed the same time series to all reservoir nodes10,15, multiplying it by an input vector \({{{{\bf{W}}}}}_{{{{\rm{in}}}}}\) of size\(\,{N}_{r}\times 1\), where \({N}_{r}\) denotes the number of nodes in the reservoir, each associated to a different anatomical region. We randomly assigned the components of \({{{{\bf{W}}}}}_{{{{\rm{in}}}}}\) from the standard normal distribution.
Reservoir internal connections \({{{\bf{W}}}}\), of size \({N}_{r}\times {N}_{r}\), were derived from the individual diffusion-weighted imaging scans. To ensure a meaningful comparison across different individuals, we kept only a proportion of the network’s strongest connections (1–30% density in steps of 1%, while keeping the connectivity strength of individual connections), and compared the reservoir performance across this range of connection densities. We scaled the weights of all connectivity matrices by dividing them to the matrix largest singular value (spectral normalization) to ensure stable reservoir dynamics and better performance16, however, we found that the performance of the model was robust against the variation of this parameter. Further details regarding the choice of the normalization parameter are presented in Supplementary Methods 12, Supplementary Table 2, and Supplementary Fig. 12.
The reservoir dynamics was governed by the following model:
where \({{{\bf{r}}}}(t)\) is a vector of size \({N}_{r}{\times }1\) that represents the reservoir states at time \(t\) and the \(\tanh\) activation function is applied element wise. As \({{{\bf{W}}}}\) represents the brain connectome derived from diffusion-weighted images, it is a symmetric matrix containing only positive connections. In summary, the reservoir states at time \(t+1\) are nonlinearly influenced by the input, and the weighted sum of the previous reservoir states. We initialized the reservoir states with \({{{\bf{r}}}}(t)=0\), resulting in an initial transient activity of the system that was not related to the input. Therefore, we discarded the initial 5% time steps of the input, and the recorded reservoir states, in all cases.
The output prediction from the reservoir can be obtained as:
where \(\hat{{{{\bf{y}}}}}={\left[\hat{y}\left(t\right),\hat{y}\left(t-1\right)\ldots \hat{y}\left(1\right)\right]}^{{{{\rm{T}}}}}\) is a vector of temporally concatenated output values with dimension of \({n}_{{signal}}\,\times \,1\), and \({n}_{{signal}}\) is the length of the time activation course of each node. \({{{\bf{R}}}}\) is a \({N}_{r}\,\times \,{n}_{{signal}}\,\) matrix, where each column contains the activation states r(t) for all nodes at different time steps. To calculate regional memory capacity, \({{{\bf{R}}}}\) is instead a \(1\,\times \,{n}_{{signal}}\) vector, and the output prediction is computed for each node independently.
Training the model entails calculating \({{{{\bf{W}}}}}_{{{{\rm{out}}}}}\), which is done in the following manner10:
In the above, \({{{{\bf{R}}}}}^{{{{\rm{T}}}}}\) denotes the transpose of \({{{\bf{R}}}}\), \({{{{\bf{X}}}}}_{{{{\rm{R}}}}}\) represents the Moore-Penrose pseudoinverse10 of \({{{{\bf{RR}}}}}^{{{{\rm{T}}}}}\), and \({{{{\bf{y}}}}}_{{{{\rm{\tau }}}}}\,\) is the array of delayed input signals as described in the following section.
Memory capacity
To compute the linear memory capacity of the reservoir, the network is trained to reproduce delayed representations of the input signal15. Specifically, \({y}_{\tau }(t)\,=\,u(t-\tau )\), where \(\tau\) represents the amount of time steps \({y}_{\tau }(t)\) is delayed with respect to the input signal. Therefore, for each time delay \(\tau\), the reservoir is independently trained to predict \({y}_{\tau }(t)\). The memory capacity of the reservoir is then calculated by evaluating the Pearson’s correlation coefficient, \(\rho\), between the reservoir output, \({\hat{y}}_{\tau }(t)\), and the delayed input signal, \({y}_{\tau }(t)\):
In this work, we evaluated the memory capacity in the range \(\tau=\) 6 to \(\tau=\) 35. We used this interval for \(\tau\) since at lower \(\tau\) values the network was able to memorize the input signals almost perfectly regardless of age, while it failed to do so for values of \(\tau\) larger than 35. The memory capacity values were calculated as an average from 10 trials, where in each trial we used different realization of the random input signals and \({{{{\bf{W}}}}}_{{{{\rm{in}}}}}\).
Age prediction
The deep-learning method used for the prediction of age was a multilayer perceptron, a widely used neural network architecture that consists of an input and output layers connected nonlinearly by hidden layers and trained using error backpropagation27,68. Here, we used a neural network consisting of four hidden layers with 256, 512, 512, and 256 nodes (Fig. 1J). To prevent model overfitting, we applied dropout regularizations with a 10% rate (1 out of 10 inputs were randomly dropped during training) between the hidden layers. The densely connected output layer was activated with a linear (in the case of regression predictions) or sigmoid (in the case of classification predictions) functions. The model performance was assessed using 10-fold cross validation. For each fold of the cross validation, the input data was divided into training, validation, and test datasets (80%, 10%, and 10%) and normalized (between 0 and 1). The multilayer perceptron was trained to minimize the mean absolute error (for the regression task or age predictions in the Cam-CAN cohort) or binary cross entropy loss (for the binary classification task or the young versus old subjects classification in the LEMON cohort), using the Adam optimizer with a learning rate of 5 × 10-4 and batch size of 64 during 100 epochs. For each fold, we chose the final model with the lowest validation loss and evaluated its performance on the previously separated test data.
Image acquisition
In the Cam-CAN cohort, the images were collected at a single site using a 3 T Siemens TIM Trio scanner with a 32-channel head coil. The diffusion weighted data was acquired with a twice-refocused-spin-echo sequence, with 30 gradient directions for b-values \(1000\) and \(2000{{{\rm{s}}}}\,{{{{\rm{mm}}}}}^{-2}\), while three images were acquired using a b-value of \(0\). The following parameters were used:\(\,{TE}=104\,{{{\rm{ms}}}}\), \({TR}=9100\,{{{\rm{ms}}}}\), field of view \(\left({FOV}\right)=192\,{{{\rm{mm}}}}\times 192\,{{{\rm{mm}}}}\), voxel size\(\,=2\times 2\times 2\,{{{{\rm{mm}}}}}^{3}\), 66 axial slices, GRAPPA acceleration factor \(2\). The T1-weighted scans were acquired using a MPRAGE sequence with parameters:\(\,{TR}=2250\,{{{\rm{ms}}}}\), \({TE}=2.99\,{{{\rm{ms}}}}\), \({FOV}=256\,{{{\rm{mm}}}}\times 240\,{{{\rm{mm}}}}\times 192\,{{{\rm{mm}}}}\), voxel size \(=1\times 1\times 1\,{{{{\rm{mm}}}}}^{3}\), GRAPPA factor \(2\). The resting-state functional MRI images were acquired with an echo planar imaging (EPI) sequence: \({TR}=1970\,{{{\rm{ms}}}}\), \({TE}=30\,{{{\rm{ms}}}}\), \({FOV}=192\,{{{\rm{mm}}}}\times 192\,{{{\rm{mm}}}}\), voxel size \(=3\, \times \, 3\times \, 4.44\,{{{{\rm{mm}}}}}^{3}\), \(261\) volumes, each containing \(32\) axial slices of thickness \(3.7\,{{{\rm{mm}}}}\). Magnetization Transfer Ratio (MTR) images were obtained from two MT-prepared Spoiled Gradient (SPGR) sequences: \({TR}=30\,{{{\rm{ms}}}}\) (or \({TR}=50\,{{{\rm{ms}}}}\) if SAR surpassed limits), \({TE}=5\,{{{\rm{ms}}}}\), \({FOV}=192\,{{{\rm{mm}}}}\times 192\,{{{\rm{mm}}}}\), voxel size \(=1.5\times 1.5\times 1.5\,{{{{\rm{mm}}}}}^{3}\), bandwidth \(=190{{{\rm{Hz}}}}/{{{\rm{px}}}}\). The applied pulse was a Gaussian RF pulse with an offset frequency of \(1950\,{{{\rm{Hz}}}}\) and duration \(9984{{{\rm{\mu }}}}{{{\rm{s}}}}\) (\({{{\rm{bandwidth}}}}=375\,{{{\rm{Hz}}}}\), \({{{\rm{flip\; angle}}}}=500^\circ\)). Regarding the LEMON cohort, the diffusion weighted data were acquired with multi-band accelerated sequence and an in-plane GRAPPA (acceleration factor \(2\)). The parameters were as follows: \(88\) axial slices, voxel size\(\,=1.7\, \times \, 1.7\times \, 1.7\,{{{\rm{m}}}}{{{{\rm{m}}}}}^{3}\), \(60\) gradient directions, b-value of \(1000{{{\rm{s}}}}\,{{{{\rm{mm}}}}}^{-2}\), \({TR}=7000\,{{{\rm{ms}}}}\), \({TE}=80\,{{{\rm{ms}}}}\), \({FA}=90^\circ\), \({FOV}=220\,{{{\rm{mm}}}}\), in addition to \(7\) images acquired using a b-value of \(0\). More details are available in17,33.
Preprocessing of diffusion-weighted scans
The DWI images from both cohorts were preprocessed simultaneously with the same pipeline in order to ensure consistency. The imaging data was preprocessed using FSL69 (v6.0.7, https://fsl.fmrib.ox.ac.uk/fsl/fslwiki). It was corrected for motion and eddy current using EDDY70 and skull stripped using BET71, both of which are distributed with FSL, and then diffusion tensors were fit to the data using dtifit. Using the fitted tensors, we derived FA maps for each individual.
Preprocessing of functional MRI scans
We preprocessed the functional scans from the Cam-CAN dataset using a standard pipeline in fMRIPrep72 (v20.2.4, https://fmriprep.org/en/stable/). We first removed the first two volumes to allow for steady state magnetization, followed by correcting the images for motion and slice timing effects. The functional images were then skull-stripped and, using a two-stage registration approach with Freesurfer73 (v7.4.1) and ANTs74 (v2.4.4), co-registered to a standard \({2}{{{{\rm{mm}}}}}\) resolution MNI152 template space. The resulting images additionally underwent motion correction using the Friston-24 head motion model75 and nuisance regression to remove confounding signals from the white matter and cerebrospinal fluid. The resulting volumes were spatially smoothed using an isotropic Gaussian kernel with \({6}{{{{\rm{mm}}}}}\) FWHM.
Delineation of the locus coeruleus and obtaining locus coeruleus contrast intensity values
To derive a measure of locus coeruleus (LC) integrity for each participant, we used the magnetization transfer-weighted (MTW) images from the Cam-CAN cohort, which were shown to reflect age-related differences in LC integrity76. After skull stripping the MTW images using FSL BET71, we used bias field correction and nonlinear registration as implemented in ANTs74 to transform them to MNI space. We extracted average LC signal intensity values from a group consensus mask76. To calculate LC contrast, we first delineated a reference region in the pons77 and calculated the LC contrast as\(\,({S}_{{LC}}-{S}_{{ref}})/{S}_{{ref}}\), where \({S}_{{LC}}\) denotes the mean signal from the LC and \({S}_{{ref}}\) is the mean signal from the pontine reference region.
Calculation of whole-brain anatomical connectivity networks
We calculated the connectivity networks using a deterministic tractography pipeline78, implemented in DSI Studio (v2023.07.08, http://dsi-studio.labsolver.org), by performing fiber tracking on the individual FA maps. Anatomical connectivity was defined as the number of streamlines connecting each pair of the regions defined by the automated anatomical labeling atlas18. We thresholded the resulting connectivity networks by keeping only the connections with a coefficient of variation equal to or below the 10th percentile across the sample population19. We analyzed connectivity networks between 94 regions, excluding all regions within the cerebellum and upper cervical spinal cord since they were not fully covered by the fMRI acquisition used in the Cam-CAN cohort. To evaluate the robustness of our findings against different preprocessing pipelines, we replicated our results using probabilistic tractography to build the anatomical connectivity networks (Supplementary Methods 13 and Supplementary Fig. 13).
Tract-based spatial statistics
In order to assess how memory capacity correlates with white matter integrity, we conducted a regression analysis using tract-based spatial statistics (TBSS) as implemented in FSL79. First, FA volumes of each participant were re-aligned to the FMRIB template in MNI space using nonlinear registration with FSL FNIRT. Then, a mean FA volume was derived by calculating the average of all participants’ FA images. The mean FA volume was thresholded at FA value of 0.2 and skeletonized to represent the center of the white matter tracts. The template-aligned FA volumes of all participants were then projected to this mean FA skeleton. The relationship between global memory capacity and diffusion parameters was assessed using a general linear model (GLM) approach, with age and biological sex included as confound regressors in the model. The GLM was fitted voxel-wise and statistical inference was performed using a non-parametric permutation test as implemented in FSL randomise80. The spatial relationship between voxels was taken into account by carrying out threshold-free cluster enhancement (TFCE) with 2D optimization81. Correction for multiple comparisons was performed by controlling the family wise error rate (p < 0.05).
Group independent component analysis
The spatiotemporal properties of resting-state networks (RSNs) vary with age61, so we used a reference group of 125 participants under 36 years of age82 to derive a spatial template for well-known resting-state networks to assess the relationship between global memory capacity and voxel-wise functional connectivity within these networks. Group-average resting-state network maps from the template cohort were obtained using temporal concatenation ICA as implemented in FSL MELODIC83 (v3.15). The number of components was determined automatically using the Laplacian approximation to the posterior distribution of the model order. Independent component spatial maps were thresholded by fitting a Gaussian-Gamma mixture-model to the Z-transformed intensity value histogram. Components were chosen for further analysis based on their spatiotemporal resemblance of known resting state networks28,29. Individual versions of group-level resting-state network maps identified from the group ICA analysis were estimated using dual regression84. The relationship between global memory capacity and functional connectivity was assessed voxel-wise for each RSN separately using a GLM-based non-parametric permutation approach similarly to the DTI analysis, with FSL randomize, controlling for age and biological sex. The analysis was constrained to the area under the thresholded group-average network maps.
Statistical analysis
We assessed the statistical significance of the differences between old and young individuals by nonparametric permutation tests with 10,000 permutations, which were considered significant for a two-tailed test of the null hypothesis at p < 0.05. We used area under the curve (AUC) analysis to summarize the memory capacity of each individual across low, medium, and high densities. This approach considers the complete density range, and therefore, is less sensitive to the thresholding process. We obtained an AUC estimate for each category by numerically integrating memory capacity values over the corresponding density range, yielding 3 memory capacity values per individual. Each of the 3 values were included as dependent values in separate linear models, with age as independent values. All analysis used sex as a covariate. To evaluate the relation between cognition and memory capacity, we used partial least squares analysis. It is a statistical technique that linearly decomposes the predictor and predicted variable matrix into latent variables (LVs), which are linear combinations of the original variables that are optimized so that the covariance between the resulting predictor and predicted matrix components (factors and loadings) is maximal85. We fitted a separate model for each cognitive test, which included age, sex, education, and global and regional memory capacity as predictors. The optimal number of LVs was 5 for memory, visual short-term memory, and psychomotor speed scores, while it was 4 for global cognition and executive function. Each variable’s contribution to the prediction was quantified using variable importance in the projection (VIP) scores. VIP scores were calculated by summing the partial least squares weights over latent variables (LVs), and weighting them by the variance explained by each LV. Variables were considered to be significant contributors to the prediction if their VIP score was greater than unity86.
Reporting summary
Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.
Data availability
The data used in this study was obtained from Cambridge Centre for Ageing and Neuroscience (Cam-CAN) cohort17 (https://www.cam-can.org/). As a replication cohort, we used the Leipzig Mind-Brain-Body Dataset—LEMON33, which can be accessed at https://openneuro.org/datasets/ds000221/versions/00002. Both cohorts are open-access and require an application for access. Source data are provided with this paper.
Code availability
The reservoir computing paradigm and memory capacity were calculated using a modified version of BRAPH 2.087 using the pipeline “Memory Capacity”. BRAPH software can be freely downloaded from http://braph.org/ (https://github.com/braph-software/BRAPH-2), along with detailed user manuals of how to upload and analyze the data. The modified version of BRAPH 2.0 is hosted on https://github.com/braph-software/MemoryCapacity88. All deep learning methods were developed in Python (v3.8.10, https://www.python.org/) using the following open-source packages: Pandas89 (v1.5.3) and Numpy90 (v1.21.3) for data handling and Scikit-learn91 (v1.2.1) and TensorFlow (v2.7.0-gpu, Keras based)92 for neural network development and evaluation.
References
Sporns, O., Tononi, G. & Kötter, R. The human connectome: a structural description of the human brain. PLoS Comput. Biol. 1, e42 (2005).
van den Heuvel, M. P., Mandl, R. C. W., Kahn, R. S. & Hulshoff Pol, H. E. Functionally linked resting-state networks reflect the underlying structural connectivity architecture of the human brain. Hum. Brain Mapp. 30, 3127–3141 (2009).
van den Heuvel, M. P. & Hulshoff Pol, H. E. Exploring the brain network: a review on resting-state fMRI functional connectivity. Eur. Neuropsychopharmacol. 20, 519–534 (2010).
Bullmore, E. & Sporns, O. The economy of brain network organization. Nat. Rev. Neurosci. 13, 336–349 (2012).
Gong, G. et al. Age- and gender-related differences in the cortical anatomical network. J. Neurosci. 29, 15684–15693 (2009).
Damoiseaux, J. S. Effects of aging on functional and structural brain connectivity. NeuroImage 160, 32–40 (2017).
Lebel, C. et al. Diffusion tensor imaging of white matter tract evolution over the lifespan. NeuroImage 60, 340–352 (2012).
Yap, Q. J. et al. Tracking cerebral white matter changes across the lifespan: insights from diffusion tensor imaging studies. J. Neural Transm. 120, 1369–1395 (2013).
O’Sullivan, M. et al. Evidence for cortical “disconnection” as a mechanism of age-related cognitive decline. Neurology 57, 632–638 (2001).
Lukoševičius, M. & Jaeger, H. Reservoir computing approaches to recurrent neural network training. Comput. Sci. Rev. 3, 127–149 (2009).
Damicelli, F., Hilgetag, C. C. & Goulas, A. Brain connectivity meets reservoir computing. PLoS Comput. Biol. 18, e1010639 (2022).
Sumi, T. et al. Biological neurons act as generalization filters in reservoir computing. Proc. Natl. Acad. Sci. USA 120, e2217008120 (2023).
Suárez, L. E., Richards, B. A., Lajoie, G. & Misic, B. Learning function from structure in neuromorphic networks. Nat. Mach. Intell. 3, 771–786 (2021).
Hellyer, P. J., Clopath, C., Kehagia, A. A., Turkheimer, F. E. & Leech, R. From homeostasis to behavior: Balanced activity in an exploration of embodied dynamic environmental-neural interaction. PLoS Comput. Biol. 13, e1005721 (2017).
Jaeger, H. Short term memory in echo state networks. (2001).
Storm, L., Gustavsson, K. & Mehlig, B. Constraints on parameter choices for successful time-series prediction with echo-state networks. Mach. Learn. Sci. Technol. 3, 045021 (2022).
Shafto, M. A. et al. The Cambridge Centre for Ageing and Neuroscience (Cam-CAN) study protocol: a cross-sectional, lifespan, multidisciplinary examination of healthy cognitive ageing. BMC Neurol. 14, 204 (2014).
Rolls, E. T., Huang, C.-C., Lin, C.-P., Feng, J. & Joliot, M. Automated anatomical labelling atlas 3. NeuroImage 206, 116189 (2020).
Roberts, J. A., Perry, A., Roberts, G., Mitchell, P. B. & Breakspear, M. Consistency-based thresholding of the human connectome. NeuroImage 145, 118–129 (2017).
Tantardini, M., Ieva, F., Tajoli, L. & Piccardi, C. Comparing methods for comparing networks. Sci. Rep. 9, 17557 (2019).
Otte, W. M. et al. Aging alterations in whole-brain networks during adulthood mapped with the minimum spanning tree indices: the interplay of density, connectivity cost and life-time trajectory. NeuroImage 109, 171–189 (2015).
Broyd, S. J. et al. Default-mode brain dysfunction in mental disorders: a systematic review. Neurosci. Biobehav. Rev. 33, 279–296 (2009).
Goh, J. O. & Park, D. C. Neuroplasticity and cognitive aging: the scaffolding theory of aging and cognition. Restor. Neurol. Neurosci. 27, 391–403 (2009).
Deng, L. et al. Age-related compensatory reconfiguration of PFC connections during episodic memory retrieval. Cereb. Cortex NY 31, 717–730 (2020).
Fitzhugh, M. C., Hemesath, A., Schaefer, S. Y., Baxter, L. C. & Rogalsky, C. Functional connectivity of Heschl’s gyrus associated with age-related hearing loss: a resting-state fMRI study. Front. Psychol. 10, 2485 (2019).
Erb, J. & Obleser, J. Upregulation of cognitive control networks in older adults’ speech comprehension. Front. Syst. Neurosci. 7, 116 (2013).
LeCun, Y., Bengio, Y. & Hinton, G. Deep learning. Nature 521, 436–444 (2015).
Griffanti, L. et al. Hand classification of fMRI ICA noise components. NeuroImage 154, 188–205 (2017).
Smith, S. M. et al. Correspondence of the brain’s functional architecture during activation and rest. Proc. Natl. Acad. Sci. USA 106, 13040–13045 (2009).
Dániel, V. et al. Age-related differences in the functional topography of the locus coeruleus: implications for cognitive and affective functions. eLife 12, RP87188 (2023).
Liu, K. Y. et al. Noradrenergic-dependent functions are associated with age-related locus coeruleus signal intensity differences. Nat. Commun. 11, 1712 (2020).
Manaye, K. F., McIntire, D. D., Mann, D. M. A. & German, D. C. Locus coeruleus cell loss in the aging human brain: a non-random process. J. Comp. Neurol. 358, 79–87 (1995).
Babayan, A. et al. A mind-brain-body dataset of MRI, EEG, cognition, emotion, and peripheral physiology in young and old adults. Sci. Data 6, 180308 (2019).
Park, D. C. & Festini, S. B. Theories of memory and aging: a look at the past and a glimpse of the future. J. Gerontol. Ser. B 72, 82–90 (2017).
McDermott, K. B. & Roediger, H. L. Memory (Encoding, Storage, Retrieval). Biswas-Diener R Diener E Eds Noba Textb. Ser. Psychol. DEF Publ.
Sullivan, E. V. & Pfefferbaum, A. Diffusion tensor imaging and aging. Neurosci. Biobehav. Rev. 30, 749–761 (2006).
Pardo, J. V. et al. Where the brain grows old: decline in anterior cingulate and medial prefrontal function with normal aging. NeuroImage 35, 1231–1237 (2007).
Bush, G. et al. Cognitive and emotional influences in anterior cingulate cortex. Trends Cogn. Sci. 4, 215–222 (2000).
Cavanna, A. E. & Trimble, M. R. The precuneus: a review of its functional anatomy and behavioural correlates. Brain 129, 564–583 (2006).
Jung, R. E. & Haier, R. J. The Parieto-Frontal Integration Theory (P-FIT) of intelligence: converging neuroimaging evidence. Behav. Brain Sci. 30, 135–154 (2007).
Raichle, M. E. The Brain’s default mode network. Annu. Rev. Neurosci. 38, 433–447 (2015).
Aminoff, E. M., Kveraga, K. & Bar, M. The role of the parahippocampal cortex in cognition. Trends Cogn. Sci. 17, 379–390 (2013).
Snytte, J. et al. Volume of the posterior hippocampus mediates age-related differences in spatial context memory and is correlated with increased activity in lateral frontal, parietal and occipital regions in healthy aging. NeuroImage 254, 119164 (2022).
Martins, R., Joanette, Y. & Monchi, O. The implications of age-related neurofunctional compensatory mechanisms in executive function and language processing including the new temporal hypothesis for compensation. Front. Hum. Neurosci. 9, 221 (2015).
Hertzog, C., Kramer, A. F., Wilson, R. S. & Lindenberger, U. Enrichment effects on adult cognitive development: can the functional capacity of older adults be preserved and enhanced? Psychol. Sci. Public Interest 9, 1–65 (2008).
Rehman, A. & Al Khalili, Y. Neuroanatomy, Occipital Lobe. in StatPearls StatPearls Publishing, Treasure Island (FL), (2023).
Weiner, K. S. & Zilles, K. The anatomical and functional specialization of the fusiform gyrus. Neuropsychologia 83, 48–62 (2016).
Singh-Curry, V. & Husain, M. The functional role of the inferior parietal lobe in the dorsal and ventral stream dichotomy. Neuropsychologia 47, 1434–1448 (2009).
Wang, J. et al. Convergent functional architecture of the superior parietal lobule unraveled with multimodal neuroimaging approaches. Hum. Brain Mapp. 36, 238–257 (2015).
Alahmadi, A. A. S. Investigating the sub-regions of the superior parietal cortex using functional magnetic resonance imaging connectivity. Insights Imaging 12, 47 (2021).
Hartwigsen, G., Neef, N. E., Camilleri, J. A., Margulies, D. S. & Eickhoff, S. B. Functional segregation of the right inferior frontal gyrus: evidence from coactivation-based parcellation. Cereb. Cortex 29, 1532–1546 (2019).
DiGuiseppi, J. & Tadi, P. Neuroanatomy, Postcentral Gyrus. in StatPearls (StatPearls Publishing, Treasure Island (FL), 2023).
Duncan, J. & Owen, A. M. Common regions of the human frontal lobe recruited by diverse cognitive demands. Trends Neurosci 23, 475–483 (2000).
Cowan, N. et al. On the capacity of attention: Its estimation and its role in working memory and cognitive aptitudes. Cognit. Psychol. 51, 42–100 (2005).
Hwang, K., Bertolero, M. A., Liu, W. B. & D’Esposito, M. The human thalamus is an integrative hub for functional brain networks. J. Neurosci. 37, 5594–5607 (2017).
Nachev, P., Kennard, C. & Husain, M. Functional role of the supplementary and pre-supplementary motor areas. Nat. Rev. Neurosci. 9, 856–869 (2008).
Winston, G. P. The physical and biological basis of quantitative parameters derived from diffusion MRI. Quant. Imaging Med. Surg. 2, 25465–25265 (2012).
Kamali, A., Flanders, A. E., Brody, J., Hunter, J. V. & Hasan, K. M. Tracing superior longitudinal fasciculus connectivity in the human brain using high resolution diffusion tensor tractography. Brain Struct. Funct. 219, 269–281 (2014).
Janelle, F., Iorio-Morin, C., D’amour, S. & Fortin, D. Superior longitudinal fasciculus: a review of the anatomical descriptions with functional correlates. Front. Neurol. 13, (2022).
Fabri, M. & Polonara, G. Functional topography of human corpus callosum: an fMRI mapping study. Neural Plast. 2013, e251308 (2013).
Mowinckel, A. M., Espeseth, T. & Westlye, L. T. Network-specific effects of age and in-scanner subject motion: a resting-state fMRI study of 238 healthy adults. NeuroImage 63, 1364–1373 (2012).
Mather, M. & Harley, C. W. The locus coeruleus: essential for maintaining cognitive function and the aging brain. Trends Cogn. Sci. 20, 214–226 (2016).
Pfefferbaum, A. & Sullivan, E. V. Cross-sectional versus longitudinal estimates of age-related changes in the adult brain: overlaps and discrepancies. Neurobiol. Aging 36, 2563–2567 (2015).
Hodges, J. R. Neurological aspects of dementia and normal aging. Dement. Norm. Aging Camb. Univ. Press 118, 129 (1994).
Germine, L. T. & Hooker, C. I. Face emotion recognition is related to individual differences in psychosis-proneness. Psychol. Med. 41, 937–947 (2011).
Zhang, W. & Luck, S. J. Discrete fixed-resolution representations in visual working memory. Nature 453, 233–235 (2008).
Shallice, T. & Burgess, P. W. Deficits in strategy application following frontal lobe damage in man. Brain 114, 727–741 (1991).
Mehlig, B. Machine Learning with Neural Networks: An Introduction for Scientists and Engineers. (Cambridge University Press, 2021).
Jenkinson, M., Beckmann, C. F., Behrens, T. E. J., Woolrich, M. W. & Smith, S. M. FSL. NeuroImage 62, 782–790 (2012).
Andersson, J. L. R. & Sotiropoulos, S. N. An integrated approach to correction for off-resonance effects and subject movement in diffusion MR imaging. NeuroImage 125, 1063–1078 (2016).
Jenkinson, M., Pechaud, M. & Smith, S. BET2 - MR-Based Estimation of Brain, Skull and Scalp Surfaces.
Esteban, O. et al. fMRIPrep: a robust preprocessing pipeline for functional MRI. Nat. Methods 16, 111–116 (2019).
Dale, A. M., Fischl, B. & Sereno, M. I. Cortical surface-based analysis: I. Segmentation and surface reconstruction. NeuroImage 9, 179–194 (1999).
Avants, B. B. et al. The Insight ToolKit image registration framework. Front. Neuroinformatics 8, 44 (2014).
Friston, K. J., Williams, S., Howard, R., Frackowiak, R. S. J. & Turner, R. Movement-Related effects in fMRI time-series. Magn. Reson. Med. 35, 346–355 (1996).
Liu, K. Y. et al. In vivo visualization of age-related differences in the locus coeruleus. Neurobiol. Aging 74, 101–111 (2019).
Dordevic, M. et al. Optimal cut-off value for locus coeruleus-to-pons intensity ratio as clinical biomarker for Alzheimer’s disease: a pilot study. J. Alzheimers Dis. Rep. 1, 159–167 (2017).
Yeh, F.-C., Verstynen, T. D., Wang, Y., Fernández-Miranda, J. C. & Tseng, W.-Y. I. Deterministic diffusion fiber tracking improved by quantitative anisotropy. PLoS ONE 8, e80713 (2013).
Smith, S. M. et al. Tract-based spatial statistics: voxelwise analysis of multi-subject diffusion data. NeuroImage 31, 1487–1505 (2006).
Winkler, A. M., Ridgway, G. R., Webster, M. A., Smith, S. M. & Nichols, T. E. Permutation inference for the general linear model. NeuroImage 92, 381–397 (2014).
Smith, S. M. & Nichols, T. E. Threshold-free cluster enhancement: addressing problems of smoothing, threshold dependence and localisation in cluster inference. NeuroImage 44, 83–98 (2009).
Van Essen, D. C. et al. The WU-minn human connectome project: an overview. NeuroImage 80, 62–79 (2013).
Beckmann, C. F. & Smith, S. M. Probabilistic independent component analysis for functional magnetic resonance imaging. IEEE Trans. Med. Imaging 23, 137–152 (2004).
Nickerson, L. D., Smith, S. M., Öngür, D. & Beckmann, C. F. Using dual regression to investigate network shape and amplitude in functional connectivity analyses. Front. Neurosci. 11, 115 (2017).
Abdi, H. & Williams, L. J. Partial Least Squares Methods: Partial Least Squares Correlation and Partial Least Square Regression. in Computational Toxicology: Volume II (eds. Reisfeld, B. & Mayeno, A. N.) 549–579 (Humana Press, Totowa, NJ, 2013). https://doi.org/10.1007/978-1-62703-059-5_23.
Chong, I.-G. & Jun, C.-H. Performance of some variable selection methods when multicollinearity is present. Chemom. Intell. Lab. Syst. 78, 103–112 (2005).
Mijalkov, M. et al. BRAPH: A graph theory software for the analysis of brain connectivity. PLoS ONE 12, e0178798 (2017).
Mijalkov, M. et al. BRAPH 2.0 Memory Capacity. Zenodo https://doi.org/10.5281/ZENODO.14616012 (2025).
McKinney, W. Data Structures for Statistical Computing in Python. in 56–61 (Austin, Texas, 2010). https://doi.org/10.25080/Majora-92bf1922-00a.
Harris et al. Array programming with NumPy. Nature 585, 357–362 (2020).
Pedregosa, F. et al. Scikit-learn: Machine Learning in Python. Mach. Learn. PYTHON.
Abadi, M. et al. {TensorFlow}: A System for {Large-Scale} Machine Learning. in 265–283 (2016).
Fonov, V. et al. Unbiased average age-appropriate atlases for pediatric studies. NeuroImage 54, 313–327 (2011).
Fonov, V., Evans, A., McKinstry, R., Almli, C. & Collins, D. Unbiased nonlinear average age-appropriate brain templates from birth to adulthood. NeuroImage 47, S102 (2009).
Collins, D. L., Zijdenbos, A. P., Baaré, W. F. C. & Evans, A. C. ANIMAL+INSECT: Improved Cortical Structure Segmentation. in Information Processing in Medical Imaging (eds. Kuba, A., Šáamal, M. & Todd-Pokropek, A.) 210–223 (Springer, Berlin, Heidelberg, 1999). https://doi.org/10.1007/3-540-48714-X_16.
Smith, S. M. et al. Advances in functional and structural MR image analysis and implementation as FSL. NeuroImage 23, S208–S219 (2004).
Acknowledgements
This work was supported by a Swedish Research Council grant (#2022-01108); Alzheimer Foundation; Brain Foundation (#2022-014); by European Union – NextGenerationEU and the Romanian Government, under National Recovery and Resilience Plan for Romania, contract no. 760250/28.12.2023, cod PNRR-C9-I8-CF109/31.07.2023, through the Romanian Ministry of Research, Innovation and Digitalization, within Component 9, Investment I8 ; Strategic Research Area Neuroscience (StratNeuro); KI Consolidator grant, Center for Medical Innovation (CIMED); Konung Gustaf V:s och Drottning Victorias Stiftelse; Foundation for Geriatric Diseases at Karolinska Institutet; Gamla Tjänarinnor; Stohnes Foundation; Lars Hiertas Memorial Foundation obtained by J.B.P. or M.M. Additionally, H.Z. (Henrik Zetterberg) is a Wallenberg Scholar supported by grants from the Swedish Research Council (#2022-01018 and #2019-02397), the European Union’s Horizon Europe research and innovation programme under grant agreement No 101053962, Swedish State Support for Clinical Research (#ALFGBG-71320), the Alzheimer Drug Discovery Foundation (ADDF), USA (#201809-2016862), the AD Strategic Fund and the Alzheimer’s Association (#ADSF-21-831376-C, #ADSF-21-831381-C, and #ADSF-21-831377-C), the Bluefield Project, the Olav Thon Foundation, the Erling-Persson Family Foundation, Stiftelsen för Gamla Tjänarinnor, Hjärnfonden, Sweden (#FO2022-0270), the European Union’s Horizon 2020 research and innovation programme under the Marie Skłodowska-Curie grant agreement No 860197 (MIRIADE), the European Union Joint Programme—Neurodegenerative Disease Research (JPND2021-00694), the National Institute for Health and Care Research University College London Hospitals Biomedical Research Centre, and the UK Dementia Research Institute at UCL (UKDRI-1003). The data analysis was enabled by resources provided by the National Academic Infrastructure for Supercomputing in Sweden (NAISS), partially funded by the Swedish Research Council through grant agreement no. 2022-06725. Figures 1, 2A, C, and 3 used the MNI152 template: Copyright (C) 1993–2004 Louis Collins, McConnell Brain Imaging Centre, Montreal Neurological Institute, McGill University.
Funding
Open access funding provided by Karolinska Institute.
Author information
Authors and Affiliations
Contributions
M.M.: conceptualization, formal analysis, methodology, visualization, writing—original draft, review and editing. LS: methodology. BZG: formal analysis—age prediction. DV: formal analysis and data preprocessing. A.C.G.: visualization, software. E.G.R. and Y.W.C.: software. G.V.: ideation, conceptualization, methodology, writing—review and editing. JBP: conceptualization, methodology, funding, writing—original draft, review and editing. M.M., L.S., B.Z.G., D.V., Z.X., A.C.G., J.S., Y.W.C., H.Z. (Hang Zhao), E.G.R., M.P., S.G.P., M.K., P.S., H.Z. (Henrik Zetterberg), H.J., K.L., D.B., B.M., G.V., J.B.P. reviewed and edited the manuscript.
Corresponding authors
Ethics declarations
Competing interests
H.Z. (Henrik Zetterberg) has served at scientific advisory boards and/or as a consultant for Abbvie, Acumen, Alector, Alzinova, ALZPath, Annexon, Apellis, Artery Therapeutics, AZTherapies, Cognito Therapeutics, CogRx, Denali, Eisai, Nervgen, Novo Nordisk, Optoceutics, Passage Bio, Pinteon Therapeutics, Prothena, Red Abbey Labs, reMYND, Roche, Samumed, Siemens Healthineers, Triplet Therapeutics, and Wave, has given lectures in symposia sponsored by Alzecure, Biogen, Cellectricon, Fujirebio, Lilly, and Roche, and is a co-founder of Brain Biomarker Solutions in Gothenburg AB (BBS), which is a part of the GU Ventures Incubator Program (outside submitted work). The other co-authors declare no competing interests.
Peer review
Peer review information
Nature Communications thanks Michael Breakspear, Robert Leech, and the other, anonymous, reviewer for their contribution to the peer review of this work. A peer review file is available.
Additional information
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Source data
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Mijalkov, M., Storm, L., Zufiria-Gerbolés, B. et al. Computational memory capacity predicts aging and cognitive decline. Nat Commun 16, 2748 (2025). https://doi.org/10.1038/s41467-025-57995-0
Received:
Accepted:
Published:
Version of record:
DOI: https://doi.org/10.1038/s41467-025-57995-0
This article is cited by
-
The efficacy of reminiscence therapy on the cognition of older patients with cognitive impairment or dementia: a meta-analysis based on regulatory factors
Aging Clinical and Experimental Research (2026)







