Skip to main content
eLife logoLink to eLife
. 2021 Mar 8;10:e64058. doi: 10.7554/eLife.64058

The neural basis of intelligence in fine-grained cortical topographies

Ma Feilong 1, J Swaroop Guntupalli 2, James V Haxby 1,
Editors: Floris P de Lange3, Thomas Yeo4
PMCID: PMC7993992  PMID: 33683205

Abstract

Intelligent thought is the product of efficient neural information processing, which is embedded in fine-grained, topographically organized population responses and supported by fine-grained patterns of connectivity among cortical fields. Previous work on the neural basis of intelligence, however, has focused on coarse-grained features of brain anatomy and function because cortical topographies are highly idiosyncratic at a finer scale, obscuring individual differences in fine-grained connectivity patterns. We used a computational algorithm, hyperalignment, to resolve these topographic idiosyncrasies and found that predictions of general intelligence based on fine-grained (vertex-by-vertex) connectivity patterns were markedly stronger than predictions based on coarse-grained (region-by-region) patterns. Intelligence was best predicted by fine-grained connectivity in the default and frontoparietal cortical systems, both of which are associated with self-generated thought. Previous work overlooked fine-grained architecture because existing methods could not resolve idiosyncratic topographies, preventing investigation where the keys to the neural basis of intelligence are more likely to be found.

Research organism: Human

Introduction

Intelligent thought is the product of efficient neural information processing, but the neural architecture that makes some brains capable of quick wit and deep insight, while others struggle with simple problems, remains an open question. Previous work on the neural basis of intelligence has focused on coarse-grained features of brain anatomy and function, such as the size and shape of the brain and its parts (e.g., Cox et al., 2019; Luders et al., 2007; Schmitt et al., 2019) or the size and strength of connections between large cortical fields (e.g., Dubois et al., 2018; Finn et al., 2015; Kong et al., 2019; Shen et al., 2017). Neural information processing, however, is embedded in fine-grained, topographically organized population responses (Haxby et al., 2014; Haxby et al., 2001). Functional connectivity varies vertex-by-vertex (Guntupalli et al., 2018), and even neuron-by-neuron (Park et al., 2017), to support such information processing. Therefore, fine-grained functional connectivity depicts in detail how information is exchanged and processed between cortical regions, in contrast to coarse-grained region-by-region connectivity, which depicts the overall synchronization between regions. We investigated whether individual differences in general intelligence are a function of information embedded in fine-grained cortical architecture.

Fine-grained patterns of activity and connectivity can be studied with functional magnetic resonance imaging (fMRI), but the topographies of these patterns are idiosyncratic, impeding study of their role in the neural basis of individual differences in cognitive ability. We used hyperalignment (Feilong et al., 2018; Guntupalli et al., 2018; Guntupalli et al., 2016; Haxby et al., 2020; Haxby et al., 2011) to resolve the interindividual variation of fine-grained topographies of functional connectivity. Hyperalignment remixes the connectivity profiles of loci in a cortical field into a high-dimensional common space to maximize the similarity across brains in fine-grained, vertex-by-vertex patterns. Individual variations in the residuals around common fine-grained patterns are more reliable than individual variations around common coarse-grained patterns after resolving idiosyncratic topographies with hyperalignment (Feilong et al., 2018). We found that predictions of general intelligence based on fine-grained (vertex-by-vertex) patterns of connectivity were markedly stronger than predictions based on coarse-grained (region-by-region) patterns. Intelligence was best predicted by fine-grained connectivity in the default and frontoparietal cortical systems, both of which are associated with self-generated thought. These results demonstrate that the neural mechanisms of intelligence reside more in fine-grained interactions of cortical regions than in synchronization of oscillations in large cortical fields.

Results

We used data from 876 participants of the Human Connectome Project (HCP) (Van Essen et al., 2013). Each participant had about 47 min of task fMRI data, collected during the performance of seven tasks, 1 hr of resting-state fMRI data, and scores on 10 cognitive tests. We used connectivity hyperalignment (Guntupalli et al., 2018) to factor out idiosyncrasies in fine-grained topographies and model information encoded in local functional connectivity patterns that is shared across brains. We hyperaligned both the HCP task fMRI and resting fMRI datasets. Connectivity hyperalignment projects idiosyncratic cortical topographies for individual brains into a common model connectivity space in which the patterns of connectivity across vertices in a cortical field with connectivity targets elsewhere in the brain are maximally similar across brains. We measured general intelligence (Spearman, 1904) as a general factor based on 10 cognitive test scores included in the HCP database (Dubois et al., 2018).

For each of the 360 cortical regions, from a parcellation tailored to the HCP dataset (Glasser et al., 2016), we computed fine-grained task fMRI and resting fMRI connectivity profiles for each individual (Figure 1). The connectivity profile for each cortical vertex differs from profiles for other vertices in the region with a granularity in the common model space that is equivalent to spatial variation across cortical loci within individual brains (Guntupalli et al., 2018). We factored out the effect of coarse-grained connectivity by subtracting the mean connectivities between pairs of regions (coarse-grained connectivity profiles; Figure 1, middle row) from the vertex-wise connectivities (full fine-grained connectivity profiles; Figure 1, top row), to examine the predictive power of fine-grained connectivity unconfounded with prediction based on coarse-grained connectivity. These residual fine-grained connectivity profiles were used throughout the analysis, and we refer to them as fine-grained connectivity profiles for short. Results based on these residual profiles were very similar to those based on full fine-grained connectivity profiles (Appendix 1—figure 2). We calculated coarse-grained connectivity on the same hyperaligned data used for calculation of fine-grained connectivity (see Appendix 1—figure 2).

Figure 1. Schematic illustration of coarse- and fine-grained functional connectivity.

Figure 1.

Each brain region (e.g., area 150 shown here) comprises multiple cortical vertices (on average 165). Correlations between their time series and time series for all 59,412 vertices in the whole cortex form that region’s full fine-grained connectivity matrix (top row). The fine-grained connectivity profiles for 360 brain regions each have approximately 10 million such correlations. The coarse-grained connectivity profile for the same region (middle row) comprises the average functional connectivity between all of the vertices in that region and all of the vertices in each of the 360 brain regions. Thus, the coarse-grained connectivity profiles for 360 brain regions each have 360 mean correlations. The residual fine-grained connectivity profile (bottom row) for each region is obtained by subtracting the mean correlation for a pair of regions (e.g., regions 1 and 150) from the full fine-grained connectivity profile for that pair and is, thus, unconfounded with coarse-grained functional connectivities. We refer to these unconfounded profiles as fine-grained connectivity profiles for short.

We built prediction models based on regional connectivity profiles using cross-validated principal component regression with ridge regularization. We divided the data into k test participants from one family (k = 1–6) and the remaining 876 - k training set participants (Figure 2). Thus, each test participant’s intelligence was predicted using regression weights derived from other participants’ data. We assessed the performance of these models using a coefficient of determination (R2), which denotes the percent of intelligence score variance accounted for (VAF) by the prediction models. We made separate prediction models for hyperaligned fine-scale task and resting connectivity, coarse-grained task and resting connectivity, and non-hyperaligned fine-scale task and resting connectivity.

Figure 2. Schematic illustration of analysis pipeline.

Figure 2.

We used a leave-one-family-out cross-validation scheme. For each data fold, we built a prediction model based on the training subjects' data (yellow color) to predict general intelligence (g) from the connectivity profile of a cortical region and applied the model to test subjects' connectivity profiles to predict their general intelligence scores (steps 1 and 2). We aggregated predicted and actually measured g across all cross-validation folds to assess model performance with cross-validated R2 (step 3) and repeated this procedure for other cortical regions' connectivity profiles (step 4). After the entire pipeline, we obtained an R2 for each of the 360 cortical regions, which stands for the amount of variance in g that can be accounted for by the region's connectivity profile. We repeated the pipeline for different kinds of connectivity profiles (spatial granularity, dataset, and alignment method) and compared them systematically (Figure 3, Figure 4, Figure 5), and these repetitions only differ in the connectivity profiles fed into the pipeline.

Hyperaligned fine-grained versus coarse-grained connectivity profiles

Regional hyperaligned fine-grained task and resting connectivity profiles were highly predictive of general intelligence (Figure 3A, Figure 4A) and accounted for twice as much variance in general intelligence compared to coarse-grained connectivity profiles (Figure 3B, C, Figure 4B, C).

Figure 3. Predicting general intelligence based on regional task functional magnetic resonance imaging (fMRI) connectivity profiles.

Figure 3.

Prediction based on hyperaligned fine-grained (A) and coarse-grained (B) connectivity profiles, assessed by the variance in general intelligence accounted for. The scatterplot (C) shows that predictions based on hyperaligned fine-grained profiles accounted for more variance in all 360 regions of interest (ROIs). Prediction models based on each region's fine-grained hyperaligned task functional connectivity profile accounted for 1.85 (95% CI: [1.70, 2.05]) times more variance in general intelligence on average than did models based on coarse-grained functional connectivity profiles. Each circle is a cortical region, and the color of each circle corresponds to the cortical system where it resides, using the same color scheme as in (E). Dashed lines denote average difference in R2 (gray) or identical R2 (black). (D) The 30 regions whose hyperaligned fine-grained connectivity best predicted general intelligence are colored as in (A) and (B). The default mode network is outlined in red, and the frontoparietal network is outlined in orange (Yeo et al., 2011). (E) Proportion of vertices in these regions that are in seven cortical systems delineated with resting state fMRI functional connectivity (Yeo et al., 2011).

Prediction of intelligence based on task fMRI connectivity profiles

On average across all cortical regions, prediction models based on hyperaligned fine-grained task fMRI connectivity accounted for 27.3% of variance in general intelligence (min: 11.2%; max: 38.9%). In other words, the correlation between predicted and measured intelligence scores ranged from r = 0.34 in the least predictive brain region to r = 0.62 in the most predictive brain region. By contrast, prediction models based on coarse-grained task fMRI connectivity (Figure 3B) accounted on average for only 14.9% of variance (min: 3.3%; max: 26.5%), which is only 54.2% (95% CI: [48.7%, 58.8%]) of VAF by hyperaligned fine-grained connectivity overall. VAF by hyperaligned fine-grained task connectivity was higher than VAF by coarse-grained connectivity in all 360 ROIs (Figure 3C). These results suggest that the information encoded in fine-grained interaction patterns between brain regions affords markedly stronger predictions of intelligence than the information in coarse-grained patterns.

The 30 most predictive regions (Figure 3D, E; 33.8–38.9% VAF) were in bilateral inferior parietal cortex (15 regions), bilateral medial and superior prefrontal cortex (11 regions), bilateral medial parietal (2 regions), and bilateral posterior lateral temporal cortex (2 regions). The cortices in these regions were predominantly part of the default mode and frontoparietal systems (38.9% and 34.5% of cortical vertices, respectively) with small portions in the ventral and dorsal attention systems (11.3% and 10.6%, respectively; Figure 3D, E; Yeo et al., 2011). Assignment to cortical systems in a different parcellation tailored to the Glasser parcellation (Ji et al., 2019) similarly revealed the dominant role played by the default and frontoparietal systems (Appendix 1—figure 11).

Prediction of intelligence based on resting fMRI connectivity profiles

Prediction of general intelligence based on resting fMRI connectivity showed a similar advantage for hyperaligned fine-grained profiles, relative to coarse-grained profiles (Figure 4), but performance was substantially lower than for task fMRI connectivity, consistent with previous reports (Greene et al., 2018; Jiang et al., 2020). Models based on hyperaligned fine-grained resting fMRI connectivity accounted on average for 19.8% of variance (Figure 4A; min: 4.7%; max: 31.2%), whereas models based on coarse-grained connectivity accounted on average for 8.1% of variance (Figure 4B; min: −1.2%; max: 17.4%), which is only 40.5% [CI: 34.2%, 45.8%] of VAF by hyperaligned fine-grained resting connectivity. Hyperaligned fine-grained resting fMRI connectivity, compared to coarse-grained resting fMRI connectivity, accounted for more variance in all 360 ROIs (Figure 4C). The vertices of 30 regions whose resting hyperaligned fine-grained connectivity was most predictive of general intelligence (25.3–31.2% VAF) had a distribution that was similar to that for hyperaligned task connectivity, sharing 68.3% of cortical vertices (compare Figure 3D, Figure 4D), with vertices mostly in the default mode network (49.0%) and smaller parts in the frontoparietal (19.4%), dorsal attention (15.8%), and ventral attention (10.0%) systems (Figure 4E; see also Appendix 1—figure 11).

Figure 4. Predicting general intelligence based on regional hyperaligned resting functional magnetic resonance imaging (fMRI) connectivity profiles.

Figure 4.

Prediction based on fine-grained (A) and coarse-grained (B) connectivity profiles. The scatterplot (C) shows that regional predictions based on hyperaligned fine-grained profiles accounted for more variance in all 360 ROIs. Prediction models based on each region's fine-grained hyperaligned resting functional connectivity profile accounted for 2.48 (95% CI: [2.18, 2.93]) times more variance in general intelligence on average than did models based on coarse-grained functional connectivity profiles. Each circle is a cortical region, and the color of each circle corresponds to the cortical system where it resides, using the same color scheme as in (E). Dashed lines denote average difference in R2 (gray) or identical R2 (black). (D) The 30 regions whose hyperaligned fine-grained connectivity best predicted general intelligence are colored as in (A) and (B). The default mode network is outlined in red, and the frontoparietal network is outlined in orange (Yeo et al., 2011). (E) Proportion of vertices in these regions that are in seven cortical systems delineated with resting state fMRI functional connectivity (Yeo et al., 2011).

Consistent with previous reports (Greene et al., 2018; Jiang et al., 2020), task fMRI connectivity was significantly more predictive of general intelligence than was resting fMRI connectivity for both hyperaligned fine-grained data (difference = 7.6% VAF; 95% CI: [5.3%, 9.9%]) and coarse-grained data (difference = 6.8% VAF; 95% CI: [5.0%, 8.6%]). Task connectivity accounted for more variance than did resting connectivity in 358 of 360 ROIs for hyperaligned fine-grained data and in 343 of 360 ROIs for coarse-grained data (Appendix 1—figure 1).

Hyperaligned versus MSM-aligned fine-grained connectivity profiles

To test the efficacy of hyperalignment for revealing predictive individual differences in fine-grained connectivity topographies, we trained another set of models based on fine-grained functional connectivity of data without hyperalignment. These data were aligned with multimodal surface matching (MSM) (Robinson et al., 2014). Models based on MSM-aligned fine-grained task connectivity and resting connectivity accounted for, on average across ROIs, 17.6% (min: 5.1%; max: 28.7%) and 11.1% (min: 0.8%; max: 22.5%), respectively, of variance in general intelligence, which was 64.3% (95% CI: [59.9%, 68.3%]) and 56.0% (95% CI: [49.7%, 61.7%]) of that accounted for by models using hyperaligned data (Figure 5). Predictions based on hyperaligned fine-grained task connectivity were better than predictions based on MSM-aligned fine-grained connectivity in all 360 regions (Figure 5C). Predictions based on hyperaligned fine-grained resting connectivity were better than predictions based on MSM-aligned fine-grained connectivity in 357 of 360 regions (Figure 5D). The difference in model performance was larger for brain regions with more functional topographic idiosyncrasy for both task and resting connectivity (r = 0.435 and 0.425, respectively, < 10−14), with two- to threefold increases in VAF in the most idiosyncratic regions. As for hyperaligned fine-scale connectivity and coarse-scale connectivity, MSM-aligned fine-scale task connectivity was more predictive of intelligence than was MSM-aligned fine-scale resting connectivity (difference = 6.5% VAF; 95% CI: [5.0%, 8.0%]; Appendix 1—figure 1C). Consistent with our previous findings (Feilong et al., 2018), these results show that hyperalignment factors out idiosyncrasies in functional topography to reveal how individuals differ in information encoded in fine-grained cortical functional architecture.

Figure 5. Predicting general intelligence based on multimodal surface matching (MSM)-aligned fine-grained connectivity profiles.

Figure 5.

Prediction based on task functional magnetic resonance imaging (fMRI) (A) and resting fMRI (B) connectivity. Scatterplots compare regional predictions based on MSM-aligned to predictions based on hyperaligned task connectivity (C) and resting connectivity (D) data (comparison to results in Figure 3A , Figure 4A).

Discussion

The results show that individual differences in fine-grained patterns of functional connectivity are a markedly better predictor of general intelligence than are coarse-grained patterns, indicating that differences in cortical architecture that underlie inter-individual variation in the efficiency of information processing are more evident at the same spatial scale as topographic patterns that encode information. Discovering the dominant role of fine-grained connectivity patterns in the neural basis of intelligence required a method that resolves individual differences in these idiosyncratic patterns, a method that was not available prior to hyperalignment (Feilong et al., 2018; Guntupalli et al., 2018; Guntupalli et al., 2016; Haxby et al., 2020; Haxby et al., 2011; Nastase et al., 2020).

Differences in intelligence are indexed by tests of the ability to understand and manipulate information embedded in the meanings of words, logical relations, and visual patterns. We predicted that differences in performance would be more related to the fine-grained topographic patterns that represent these kinds of information than to coarse-grained patterns that blur fine distinctions. The results confirm our hypothesis. Hyperaligned, fine-grained, vertex-by-vertex connectivity patterns accounted for 1.85–2.48 times more variance in general intelligence than did coarse-grained, region-to-region connectivity patterns.

To examine the predictive power of fine-grained connectivity unconfounded with coarse-grained connectivity, we built models using the residual fine-grained connectivity profiles. In separate analyses, we built models on the full fine-grained patterns and found that adding coarse-grained information contributed little to VAF (Appendix 1—figure 2), underscoring the stronger role that fine-grained cortical architecture plays in the neural basis of intelligence than that played by coarse-grained architecture.

Functional connectivity shows fine-grained variation vertex-by-vertex within a cortical field (Guntupalli et al., 2018) and even neuron-by-neuron within an fMRI voxel (Park et al., 2017). Transmission of information between cortical fields, therefore, involves more than simple synchronization of global activity. Information is transformed, as evidenced by changes in the representational geometries that are embedded in the fine-grained structure of local topographies (Connolly et al., 2016; Guntupalli et al., 2017; Kriegeskorte et al., 2008). Our results indicate that investigating the efficiency of information processing should focus on fine-grained patterns of connectivity that support information processing.

Hyperalignment resolves functional topographic idiosyncrasies at both coarse and fine spatial scales (see Jiahui et al., 2020 for an example of aligning functional topographies), which is critical for assessing individual differences in information processing. Alternatively, individualized parcellations (e.g., Kong et al., 2019; Glasser et al., 2016) can be used to resolve coarse-scale topographic idiosyncrasies, which also improves prediction performance (Kong et al., 2021). However, the improvement for coarse-grained functional connectivity was smaller than for fine-grained functional connectivity in predicting general intelligence (Appendix 1—figure 2).

Previous work could not reveal the role that information embedded in fine-scale topographies plays in the neural basis of intelligence because individual differences in information were concealed by idiosyncrasies in fine-scale topographies that could not be aligned with prior methods. Hyperalignment resolves the shared information embedded in idiosyncratic topographies, making it possible to investigate these individual differences (Feilong et al., 2018). Fine-grained information in hyperaligned data accounted for 1.56–1.79 times more individual variation in intelligence than did fine-grained information in non-hyperaligned data.

Results also show that fMRI data collected during performance of cognitive tasks better predict intelligence than resting state fMRI data, consistent with previous reports (Greene et al., 2018; Jiang et al., 2020). Previous studies used whole-brain, coarse-grained connectivity for prediction. Here, we show that the added predictive power of task fMRI data, relative to resting fMRI data, extends to both hyperaligned and MSM-aligned fine-grained connectivity patterns.

Our results show further that the neural basis of intelligence resides mostly in the fine-grained structure of connectivity in the default mode and frontoparietal networks (Buckner et al., 2008; Raichle et al., 2001; Yeo et al., 2011). Small parts of the most predictive regions were in the dorsal and ventral attention networks, and an even smaller proportion was in the visual system. The most predictive brain regions did not encroach on the systems for auditory, somatosensory, motor, or limbic function. The predominance of the default mode network was found for both task connectivity and resting connectivity, suggesting that the efficiency of these connections is evident in both. A strong role for the frontoparietal network was more evident in task connectivity, suggesting that the efficiency of this system’s connections is better revealed during performance of tasks that increase its activity.

The predominant role of the default and frontoparietal systems in our results suggests that intelligence rests on self-generated and stimulus-independent thinking (Andrews-Hanna et al., 2014; Buckner et al., 2008; Dixon et al., 2018; Raichle et al., 2001), or on the apperceptive mass that provides the foundation and context for perception and thought (Raichle, 2006), for finding correct solutions to problems and generating novel insights. The functions of the default system are mostly ill-defined because it does not respond to features of external stimuli in a consistent way (Andrews-Hanna et al., 2014; Buckner et al., 2008; Golland et al., 2007). Although default system activity during movie watching and in the resting state is idiosyncratic, it is highly correlated across default areas (Buckner et al., 2008; Golland et al., 2007) and has a fine-scale structure that can be modeled with hyperalignment (Feilong et al., 2018; Guntupalli et al., 2018), indicating that this activity has structure and meaning. It has been associated with thinking about others’ mental states (Buckner et al., 2008; Frith and Frith, 1999; Gobbini et al., 2007; Saxe and Kanwisher, 2003), activation of person knowledge about familiar others (Gobbini and Haxby, 2007), autobiographical memory and envisioning the future (Addis et al., 2007), as well as other aspects of internally driven cognition. The most predictive regions overlapped only a portion of the default network involving primarily the dorsal medial subsystem with smaller parts in the core subsystem (Andrews-Hanna et al., 2014; Andrews-Hanna et al., 2010). The dorsal medial subsystem has been associated with mentalizing, social cognition, story comprehension, and semantic conceptual processing (Andrews-Hanna et al., 2014).

The frontoparietal system may similarly reflect the role of self-directed thought in the neural basis of general intelligence. Dixon et al., 2018 have identified a subdivision of the frontoparietal network that interacts primarily with the default mode system. They propose that this part of the frontoparietal system is involved in the regulation of introspective processes.

The efficiency of the default system apparently rests more on fine-grained features of its functional connectivity than on coarse-grained functional connectivity. The bases for the organization of its fine-grained topographies and the transformations of representational geometries between default regions are unknown, but the keys to understanding the neural basis of intelligent thought may reside in the information processing embedded in these topographies.

Materials and methods

Dataset

We used data from the Human Connectome Project (HCP) (Van Essen et al., 2013) for our analysis. The final S1200 data release of the HCP Young Adult dataset contains multimodal MR imaging and behavioral data from 1206 participants that are 22–35 years old. This includes about 1 hr of resting-state fMRI data (four runs, 14.5 min each), 47 min of task fMRI data (seven tasks, two runs each), and extensive cognitive tests for each participant. Out of the 1206 participants, 888 have complete task and resting fMRI data, 1181 have complete scores of 10 cognitive tests, and 876 participants have both. In our analysis, we always used as many participants with complete data as possible to maximize statistical power. That is, we used data from the 1181 participants to derive the general intelligence score, data from the 888 participants to derive hyperalignment models and compute topographic idiosyncrasy, and data from the overlapping 876 participants for prediction analysis.

We used a multimodal cortical parcellation tailored to this dataset (Glasser et al., 2016) to delineate cortical regions and compute connectivity targets for hyperalignment as described below. This parcellation is usually labeled as ‘Q1-Q6_RelatedParcellation210’ or ‘210P’ in the HCP dataset, and sometimes referred to as HCP MMP 1.0.

Measuring general intelligence

General intelligence is a common factor, often referred to as g, underlying all cognitive abilities (Spearman, 1904). In this study, we measured general intelligence as the general factor obtained based on 10 cognitive test scores using a factor analysis with a bi-factor model (Dubois et al., 2018). These cognitive tests (Barch et al., 2013) include those from the NIH Toolbox for Assessment of Neurological and Behavioral Function (http://www.nihtoolbox.org) and additional computerized tests (Bilker et al., 2012; Gur et al., 2010), covering a range of memory, attention, language, and reasoning abilities. General intelligence can be accurately and consistently identified through different test batteries (Johnson et al., 2008; Johnson et al., 2004), and our findings are robust over choices of intelligence measures (Appendix 1—figures 6 and 7). For this dataset, the general factor of intelligence was derived from the code of Dubois et al., 2018, and it accounts for 58% of the covariance structure of cognitive tasks (Dubois et al., 2018).

MRI acquisition

MRI data were acquired with a Siemens 3 T Skyra MRI scanner and a 32-channel head coil at Washington University (Van Essen et al., 2013). The scanner was customized with a gradient coil and gradient power. Each subject has 2 T1w and 2 T2w scans with 0.7 mm isotropic voxels, which were used to reconstruct high-resolution cortical surfaces.

Functional MRI data were acquired with a repetition time (TR) of 0.72 s, 2 mm isotropic voxels, and a multi-band acceleration factor of 8. Every volume comprised 72 slices with 208 × 180 mm2 field of view each. Half of the fMRI runs were scanned with the LR phase encoding direction, and the other half were with RL. Spin-echo field maps were collected along with the fMRI data that allow susceptibility distortion correction.

Resting fMRI data were acquired with four runs of 1200 TRs each. Each of the seven tasks were acquired with two runs, and the duration of each run varied across tasks (min: 176 TRs; max: 405 TRs). In total, for each participant, 57.6 min of resting fMRI data and 46.6 min of task fMRI data were acquired. See Uğurbil et al., 2013 for additional details of MRI acquisition.

MRI preprocessing

We used the same standard procedure to preprocess fMRI data for all task and resting fMRI data. Our preprocessing was based on the minimally preprocessed version of the dataset (Glasser et al., 2013), where data had been corrected for distortion and head motion, and aligned to a standard cortical surface mesh using MSM (Robinson et al., 2014), which aims to match multimodal properties across individuals while preserving topology. These data were labeled as ‘MSMAll’ in the HCP data files, and we refer to them as ‘MSM’ for short.

We first normalized all fMRI data to percent signal change units, then used linear regression to remove nuisance components from them. These nuisance components include six motion parameters and their derivatives, five principal components from white matter and cerebrospinal fluid (Behzadi et al., 2007), global signal, and polynomial trends up to the third order. The white matter and cerebrospinal fluid components were extracted from volumetric data based on eroded anatomical masks. Both the regressors and data were low-pass filtered with a Gaussian kernel (standard deviation = 1 TR) prior to regression. These preprocessing steps were analogous to previous work (Dubois et al., 2018; Finn et al., 2015; Greene et al., 2018; Shen et al., 2017).

Hyperalignment

We performed hyperalignment using these preprocessed data to align the fine-grained cortical functional architecture across individuals and obtained two sets of hyperaligned data (one based on task fMRI data, one based on resting fMRI data) besides the original MSM-aligned dataset. Specifically, we used connectivity hyperalignment (Guntupalli et al., 2018) to align fine-grained cortical functional architecture across individuals. We used regional average time series of the 360-region multimodal cortical parcellation (Glasser et al., 2016) as connectivity targets. For each of the 59,412 cortical vertices, we computed its connectivity profile as the correlations between its own time series and the 360 regional average time series. Therefore, each connectivity profile is a vector comprising 360 correlation coefficients. In each brain region, we derived a transformation matrix for each individual using these connectivity profiles, which remixes each individual's vertices into a common set of model dimensions through an improper rotation of a high-dimensional space. Each model dimension has similar functional properties across individuals instead of the same anatomical position, and these model dimensions together constitute a common model space. The common model space is usually instantiated as a reference brain, where each vertex corresponds to a model dimension. The information content in each individual's data—the configuration of connectivity vectors in the high-dimensional feature space—is perfectly preserved during the rotation, whereas how and where this information is encoded in idiosyncratic topographies is factored out into the transformation matrix.

In this study, hyperalignment was performed for each brain region separately (i.e., in a similar manner to Haxby et al., 2011 rather than Guntupalli et al., 2016), and the transformation was constrained to be an improper rotation (i.e., rotation that allows reflection) with no scaling. This was to strictly ensure that the information content within a brain region was identical before and after hyperalignment, and only the cortical topography of the information was changed (i.e., better aligned). Searchlight hyperalignment (Guntupalli et al., 2016) allows information to be moved in and out of a brain region to some extent, which is preferable in general because the same function does not always reside in the same anatomical region for all participants (Eickhoff et al., 2018). However, in this case it can make it difficult to interpret the results. For example, an improvement of prediction performance after searchlight hyperalignment can be caused by better alignment of information in a region, but it can also be caused by additional information moved into the region or noise moved out of the region.

We used the HCP task fMRI dataset to derive the hyperalignment common model and transformations (i.e., to train hyperalignment) when we analyzed the task fMRI data, and resting fMRI dataset when we analyzed the resting fMRI data. Therefore, the task and resting fMRI datasets remain independent throughout the analysis. It is possible to train hyperalignment using one dataset and apply it to another, and such results are summarized in Appendix 1—figure 2.

Functional connectivity profiles

We used functional connectivity profiles to depict a brain region's functional interactions with the entire cerebral cortex. These connectivity profiles are different from the connectivity profiles used in connectivity hyperalignment as described above.

For each of 360 cortical regions, we computed a fine-grained connectivity matrix for each participant (Figure 1, top row), which comprises pairwise interactions between all vertices in the region (165 vertices on average) and all vertices of the cerebral cortex (59,412 vertices). We vectorized this connectivity matrix to form a long vector comprising millions of connectivity strengths (9.8 million on average across all regions), which we refer to as the participant's full fine-grained connectivity profile of the region. This fine-grained connectivity profile depicts in detail the region's information exchange with the rest of the cortex, and it contains information encoded in fine-grained connectivity patterns up to the same resolution as the input fMRI data (2 mm for this dataset).

To separate information encoded in different spatial scales, we split the full fine-grained connectivity profile into a coarse-grained connectivity profile and a residual fine-grained connectivity profile. The coarse-grained connectivity profile for a given region is a vector comprising 360 elements, where each element is the average connectivity strength between all cortical vertices in this region and all vertices in another region (Figure 1, middle row). Similar to previous work (Dubois et al., 2018; Finn et al., 2015; Shen et al., 2017), coarse-grained connectivity profiles depict the information exchange between a pair of regions with a single connectivity strength. A residual fine-grained connectivity profile comprises pattern residuals obtained by subtracting the mean connectivity with each region (an element of the coarse-grained connectivity profile) from each element of the vertex-by-vertex connectivity pattern with the region (part of the full fine-grained connectivity profile). Because a coarse-grained connectivity profile comprises region-by-region averages of the corresponding fine-grained connectivity profile, a regression model using coarse-grained connectivity profile (expanded to the same size as the fine-grained connectivity profile) as the independent variable and fine-grained connectivity profile as the dependent variable will always have a slope of 1. Therefore, the difference between the two profiles is also the residual of the regression model. Similar to a full fine-grained connectivity profile, a residual fine-grained connectivity profile comprises millions of elements, and the only difference is that these elements are connectivity residuals instead of connectivities. In other words, a residual fine-grained connectivity profile contains only fine-scale information instead of combined fine- and coarse-scale information.

The analysis involves data aligned in three different ways: MSM, hyperalignment based on task fMRI data, and hyperalignment based on resting fMRI data. For each alignment method, we computed these three kinds of connectivity profiles for each participant and each region. The results of fine-grained connectivity profiles reported in the main text are based on residual fine-grained connectivity profiles, and similar results were obtained using full fine-grained connectivity profiles (Appendix 1—figure 2).

Topographic idiosyncrasy

We measured the level of each region's functional topographic idiosyncrasy as the average dissimilarity of hyperalignment transformation matrices across participant pairs for that region, after correcting for region size. Specifically, for each brain region, we computed the Frobenius norm of the difference between the two transformation matrices for each pair of participants and averaged it across all participant pairs to obtain an average matrix dissimilarity (i.e., average difference matrix norm) for the region. The 360 cortical regions differ in size (measured as the number of vertices in each region). As a result, transformation matrices also differ in size for different regions, and the average matrix norm was predominantly determined by region size. Across all 360 regions, the average matrix norm and the square root of region size had a correlation of r > 0.9999. To remove the confounding effects of region size, we fit a linear regression model across the 360 regions using sqrt(region size) as the independent variable and the average matrix dissimilarity as the dependent variable. We used the residual of the linear regression model to depict the heterogeneity of a region's functional topography across individuals.

We performed hyperalignment twice in our analysis—once using task fMRI data, once using resting fMRI data—and therefore obtained two sets of transformation matrices for each region. Topographic idiosyncrasy indices based on each of the two sets are essentially identical (r = 0.960, = 4 × 10−200). When we analyzed task fMRI data, we used topographic idiosyncrasy based on task fMRI (Figure 5C), and when we analyzed resting fMRI data, we used that based on resting fMRI (Figure 5D).

Cross-validation scheme

We used leave-one-family-out cross-validation (Dubois et al., 2018) to assess prediction models. The 876 participants were from 411 families, and each family had 2.13 members on average (range: 1–5; with 103 participants with no other family members and 177, 107, 22, and 2 families with 2–5 participants, respectively). Therefore, this cross-validation scheme divided the entire dataset into 411 folds. Each time we leave out a family of k individuals (i.e., related to each other) as test data, and use the remaining 876 - k individuals (i.e., not related to test participants) as training data to train the model. We repeated this procedure, each time using a different family as test data. Therefore, after looping through all families, each individual's general intelligence score was predicted by a model trained with unrelated individuals.

For each cross-validation fold (i.e., each family as test data), we further split the training data into three sub-folds and used nested cross-validation to choose the optimal model parameters. In other words, model parameters were always chosen based only on training data.

To test the robustness of our prediction models against particular ways of splitting data, we replicated our analysis using an alternative cross-validation scheme. Instead of the leave-one-family-out cross-validation, we repeated tenfold cross-validation 50 times, and each time the data was split randomly into 10 chunks in a different way. To accommodate the family structure of the dataset, we ensured that each time individuals from the same family were always in the same chunk. The average model performance across the 50 repetitions was highly similar to that based on leave-one-family-out cross-validation across all regions and connectivity profile types (Appendix 1—figure 8), suggesting that our prediction model performance evaluation was accurate and unbiased.

Regression models

We used principal component regression with ridge regularization to predict general intelligence based on functional connectivity. First, we used principal component analysis (PCA) to derive principal components (PCs) from functional connectivity patterns based on training data. Dimensions in the PC space capture principal ways that individuals’ connectivity profiles differ. Thus, the connectivity profile for a region in each training set participant was transformed into a set of scores across PC dimensions. Then, we trained a ridge regression model to predict general intelligence based on these PC scores. The PCA and ridge regression models were then applied to test data to obtain the model predicted general intelligence scores. Model parameters (the number of PCs and the regularization parameter) were always chosen using nested cross-validation as stated above. Candidate model parameters were distributed evenly on a logarithmic scale. Choices for the number of PCs were 10, 20, 40, 80, 160, 320, and all PCs (i.e., no dimensionality reduction). The maximum number of PCs was usually 360 for coarse-grained connectivity profile and 876k for fine-grained connectivity profile. Choices for the regularization parameter α were 81 values from 10−20 to 1020.

Model evaluation

We evaluated our models using the cross-validated coefficient of determination (R2). R2 denotes the percent of variance in general intelligence that was accounted for (VAF) by prediction models. The formula is

R2=1i(yiy^i)2i(yi y¯i, train)2

where yi is the measured score for subject i, y^i is the model predicted score for subject i, and y¯i,train is the prediction by the null model. The prediction of the null model is simply the average score of all training data, and thus it does not use any information from the features (fine- or coarse-grained functional connectivity in this case) at all. R2 maximizes at 100%, which means perfect prediction; 0 means model performance is only the same as the null model. In rare cases, cross-validated R2 can also be negative, which suggests the model performance is even worse than the null model.

To assess model performance against chance, we used permutation testing to create a null distribution of R2. The HCP dataset has subjects that are from the same family, and they are more likely to have similar general intelligence scores compared with non-related subjects (Plomin and Deary, 2015). Therefore, the subject labels are not fully exchangeable, and we used multi-level block permutation (Winkler et al., 2015) to resolve the issue. With this hierarchical permutation approach, the data exchangeability is properly modeled, providing more accurate estimates of false positive rates.

For each of the 2160 conditions (360 brain regions × 3 connectivity profile types × 2 fMRI data types), we ran a permutation test by training and evaluating prediction models 100 times based on shuffled subject labels. Each time, we permuted general intelligence scores across the entire dataset in the beginning and re-ran the entire prediction pipeline with these permuted scores. That is, for each cross-validation fold, we chose the optimized parameters using a nested cross-validation based on the training participants and their permuted scores, and used these parameters to train a new model based on the entire training set, which was used to predict the scores of the left-out family. After looping through all cross-validation folds (i.e., all families), we assessed model performance based on the permuted scores. In other words, we repeated the entire process—including parameter optimization, prediction, and model evaluation—using permuted general intelligence score as the target variable instead of the original general intelligence score.

Across conditions (Appendix 1—figure 4), the maximum R2 of all 100 permutations was less than the value obtained with the prediction model (i.e., p < 0.01) for all models based on hyperaligned fine-grained connectivity or on MSM-aligned fine-grained task connectivity and for all models based on coarse-scale connectivity or on MSM-aligned fine-grained resting connectivity that had an R2 over 1.3%.

Estimating confidence intervals

We used bootstrap tests to estimate confidence intervals (CIs) for contrasts between VAF by different prediction models. In each of the 1,000,000 repetitions, we randomly sampled a group of 876 individuals used for model evaluation by sampling with replacement from the 876 original individuals. In other words, in each bootstrapped sample, a participant might be selected once, multiple times, or not selected at all. For each bootstrapped sample, we computed VAF differences and VAF ratios. The 95% CI of a difference or ratio is estimated as the 2.5th and 97.5th percentiles of the difference or ratio from the bootstrapped samples (i.e., the sampling distribution of the difference or ratio estimated by bootstrapping participants). The bootstrapping procedure used here only affects the participants used for model evaluation (i.e., the test set), and the model used to predict a participant's score was always trained with the same training set (i.e., participants who are not from the same family as the test participant). This was because prediction performance depends on training sample size (Appendix 1—figure 8), and duplicate instances in the training data do not have the same effect on machine learning algorithms as ‘real’ new data (e.g., noise from two duplicate instances are not independent), which makes the bootstrapped sample no longer representative of the population. Therefore, we only bootstrapped the participants used for model evaluation, so that the sampling distribution is not biased by training sample size or dependency.

Pearson correlation

We used the Pearson correlation coefficient to assess the relationship between regional topographic idiosyncrasy and the difference in prediction performance based on hyperaligned and MSM-aligned data (Figure 5C, D), and the relationship between the square root of a region's size and the average transformation matrix dissimilarity. In both cases, n (the number of regions) is always 360, and the degrees of freedom is always 358.

Dice coefficient

We used the Dice, 1945 similarity coefficient to quantify the amount of overlap between the 30 most predictive regions based on task fMRI data and those based on resting fMRI data. The formula is

DSC =2|AB||A|+|B|

where A is the set of vertices covered by the 30 most predictive regions based on task fMRI data, and B is that based on resting fMRI data. |⋅| denotes set cardinality. DSC is short for Dice similarity coefficient.

Overlap with cortical systems

The cerebral cortex can be divided into seven cortical systems based on functional connectivity (Yeo et al., 2011). For each of the 360 regions, we computed the percentage of vertices belonging to each of the seven systems as the number of vertices belonging to the system divided by the total number of vertices in the region. For the 30 most predictive regions, we computed the percentage of vertices across all 30 regions that belonged to each system (Figure 3E, Figure 4E). Similar results were found with an alternative division into 12 cortical systems by Ji et al., 2019 (see Appendix 1—figure 11). In the scatterplots (Figure 3C, Figure 4C), each region was assigned to one of the cortical systems, which is the system that had the largest amount of vertices in the region.

Software used

We implemented our analysis using Python and Python packages including NumPy (https://numpy.org/), SciPy (https://www.scipy.org/), and NiBabel (https://nipy.org/nibabel/). The code for performing hyperalignment and nuisance regression was adapted from PyMVPA (http://www.pymvpa.org/) (Hanke et al., 2009).

Acknowledgements

We thank Guo Jiahui, Samuel Nastase, Jeremy Huckins, and Maria Ida Gobbini for helpful comments, suggestions, and discussion. We also thank Yaroslav Halchenko for support with software. Data were provided by the Human Connectome Project, WU-Minn Consortium (principal investigators: David Van Essen and Kamil Ugurbil; 1U54MH091657) funded by the 16 NIH Institutes and Centers that support the NIH Blueprint for Neuroscience Research; and by the McDonnell Center for Systems Neuroscience at Washington University. This work was supported with funds from NSF grants 1607845 and 1835200.

Appendix 1

Supplemental material

Comparison of predictions based on task fMRI and resting fMRI data

Appendix 1—figure 1. Scatterplots comparing variance accounted for by regional prediction models using task functional magnetic resonance imaging (fMRI) and resting fMRI connectivity.

Appendix 1—figure 1.

(A) Hyperaligned, fine-grained connectivity. (B) Coarse-grained connectivity. (C) Multimodal surface matching-aligned fine-grained connectivity. Each circle represents one region. The color of each circle corresponds to the cortical system that each region is part of (based on a plurality of vertices), using the same color scheme as in Figure 3D and Figure 4D.

Results showed that task fMRI data produced better predictions of general intelligence than did resting fMRI for hyperaligned residual fine-grained, coarse-grained, and MSM-aligned residual fine-grained connectivity.

Comparison of alignments and predictions based on single task connectivity

Appendix 1—figure 2. Histograms of variance accounted for by predictions of general intelligence using different functional magnetic resonance imaging connectivity datasets and different alignment methods.

Appendix 1—figure 2.

(A) Prediction based on residual fine-grained connectivity. (B) Predictions based on coarse-grained connectivity. (C) Predictions based on full fine-grained connectivity, which includes information in both fine-grained and coarse-grained patterns. CHA: connectivity hyperalignment.

Connectivity hyperalignment based on task fMRI data produced stronger predictions of general intelligence based on task connectivity than did connectivity hyperalignment based on resting fMRI data. Predictions based on resting connectivity were equivalent for connectivity hyperalignment based on task fMRI and resting fMRI. Prediction based on hyperaligned residual fine-grained connectivity and on hyperaligned full fine-grained connectivity profiles (A and C) were essentially identical.

Hyperalignment transformations remix the time series for cortical vertices, which alters the mean of correlations between the vertices of two regions, namely, the coarse-scale functional connectivity between these regions (B). Analyses of hyperaligned fine-grained connectivity profiles all used the coarse-grained connectivity profiles calculated on the same hyperaligned data for comparison. In practice, the effect of calculating coarse-grained connectivity profiles on task hyperaligned task fMRI, hyperaligned resting fMRI, and MSM-aligned fMRI is small and does not affect the results of these analyses (Appendix 1—figure 2).

Predicting intelligence based on connectivity during single tasks

Appendix 1—figure 3. Histograms of variance accounted for by regional prediction models based on connectivity calculated from functional magnetic resonance imaging (fMRI) during single tasks.

Appendix 1—figure 3.

For every single fMRI task (4.2–9.7 min), fine-scale hyperaligned connectivity data produced better predictions of general intelligence than did coarse-scale connectivity. The strongest predictions from single task fMRI were obtained from data during performance of the working memory (WM), language, and social cognition tasks.

Null distribution of model performance based on permutation testing

Appendix 1—figure 4. Permutation testing. For each of the 2160 conditions (360 brain regions × 3 connectivity profile types × 2 functional magnetic resonance imaging data types), we ran a permutation test by training and evaluating prediction models 100 times based on shuffled subject labels. (A) and (B) show results based on task fMRI data and resting fMRI data, respectively.

Appendix 1—figure 4.

For 2148 out of 2160 conditions (99.4%), the actual R2 was larger than all 100 permuted R2s. For the remaining 12 conditions, the actual R2 was close to 0 (all <1.3%). In other words, for any model that had an R2 of at least 1.3%, it is also larger than the maximum R2 of all 100 permutations (i.e., p < 0.01).

Distribution of model parameter choices based on nested cross-validation

Appendix 1—figure 5. Distribution of regularization parameters α and number of principal components (PCs) for prediction models.

Appendix 1—figure 5.

For each kind of functional magnetic resonance imaging (fMRI) data (A: task fMRI; B: resting fMRI) and each kind of connectivity profile (hyperaligned fine-grained, multimodal surface matching-aligned fine-grained, coarse-grained), we summarize the distribution of model parameters (the regularization parameter, α, and the number of PCs) across all cross-validation folds (411 families × 360 regions = 147,960). The maximum number of PCs was usually 360 for coarse-grained connectivity profile and close to 876 for fine-grained connectivity profile (depending on training sample size). Models trained on fine-grained connectivity profiles (left and middle columns) tend to use less regularization (smaller αs) and more PCs compared with models trained on coarse-grained connectivity profiles (right column), especially models trained on hyperaligned fine-grained connectivity profiles. More PCs used by the model suggest that there are more dimensions in the connectivity profiles that are related to general intelligence, and less regularization suggests these PCs contain more signal relative to noise.

Predicting alternative measures of intelligence

Appendix 1—figure 6. Predicting alternative measures of intelligence based on connectivity profiles.

Appendix 1—figure 6.

Our prediction models and connectivity profiles can also be trained to predict other measures of intelligence, such as fluid intelligence measured with the Penn Matrices (A, variable ‘PMAT24_A_CR’ in the dataset) and general intelligence measured as the cognitive function composite score of the NIH Toolbox (B, ‘CogTotalComp_Unadj’). Similar to the results of the main paper (shown here as C for comparisons), predictions based on fine-grained hyperaligned connectivity profiles account for approximately two times more variance in intelligence compared with coarse-grained connectivity profiles for task functional magnetic resonance imaging (fMRI) data, and three times more for resting fMRI data. The four columns on the left side are based on connectivity profiles computed from task fMRI data, and the four on the right from resting fMRI data. For each kind of data, we computed fine-grained connectivity profiles based on three different alignment methods (multimodal surface matching, hyperalignment based on resting fMRI data, and hyperalignment based on task fMRI data), which we colored as blue, orange, and red, respectively. The orange and red colors denote the kind of data used to derive hyperalignment transformations. In the results shown in this figure, they may not be the same as data used to compute connectivity profiles.

Appendix 1—figure 7. Predicting alternative intelligence measures based on regional hyperaligned fine-grained task functional magnetic resonance imaging connectivity profiles.

Appendix 1—figure 7.

Regional connectivity profiles that were more predictive of factor analysis-based general intelligence scores were more likely to be more predictive of matrix reasoning-based fluid intelligence scores (top row, r = 0.92) and NIH Toolbox-based general intelligence scores (bottom row, r = 0.96). This suggests that our results were robust over intelligence measure choices.

Alternative cross-validation schemes and the effect of training sample size

Appendix 1—figure 8. Comparison between cross-validation schemes.

Appendix 1—figure 8.

We replicated our analysis using the tenfold cross-validation scheme (repeated for 50 times) and compared model performance based on tenfold cross-validation (average across 50 repetitions) with that based on leave-one-family-out cross-validation (A, C). Each dot denotes a brain region, and error bars denote the standard deviation of R2 across the 50 repetitions. All dots were close to the identity line (gray dotted line), which indicates that model performance was highly similar for leave-one-family-out cross-validation and tenfold cross-validation. On average across all regions, model performance based on leave-one-family-out cross-validation was slightly higher than that based on tenfold cross-validation, which was likely driven by the difference in training sample size (i.e., approximately 90% versus 99.8% of the entire dataset). This was confirmed by additional analysis showing further reduction of model performance based on smaller k values and correspondingly smaller training sample sizes (B, D; k = 2, 3, or 5 for k-fold cross-validation; training data was 50%, 66.7%, and 80% of the entire dataset, respectively).

Appendix 1—figure 9. Overestimation of model performance due to lack of data independence.

Appendix 1—figure 9.

We trained new prediction models based on the k-fold cross-validation scheme, but without controlling for family structure. That is, for each testing participant, other members from the same family might be in training data. Compared with the k-fold results that controlled for family structure (Appendix 1—figure 8; dashed lines in this figure), results without controlling for family structure consistently overestimate model performance (average R2 difference across regions: 0.9–2.1%; solid lines in this figure). This demonstrates the necessity of ensuring data independence between training and testing data to avoid biased model evaluations (see Varoquaux et al., 2017 for a similar issue with leave-one-trial-out). Specifically, training and testing data should not have members from the same family.

The effect of hyperparameter choices on model performance

Appendix 1—figure 10. The effect of hyperparameter choices on prediction performance.

Appendix 1—figure 10.

Besides using fine-tuned hyperparameters based on nested cross-validation (rightmost columns in gray), we trained prediction models based on another eight sets of hyperparameter choices. These eight sets of hyperparameters are combinations of four levels of dimensionality reduction (80 principal components [PCs], 160 PCs, 320 PCs, or all PCs) and two levels of regularization (α = 0.1 or α = 10−20). These hyperparameter levels are the levels most frequently chosen based on nested cross-validation (Appendix 1—figure 5). The histograms denote R2 distribution across brain regions, and horizontal bars are the average R2 across regions. For prediction models based on coarse-grained connectivity profiles, regularization is critical for prediction model performance, and with insufficient regularization models overfit dramatically with more PCs. When the regularization is large enough, the model performance slightly increases with higher number of PCs. For prediction models based on fine-grained connectivity profiles, model performance is hardly affected by regularization level and consistently increases with higher number of PCs. This suggests that PCs based on fine-grained connectivity profiles contain more information related to individual differences in intelligence and less noise. Note that even with only 80 PCs prediction models based on hyperaligned fine-grained connectivity profiles still account for approximately two times more variance than those based on coarse-grained connectivity profiles.

Alternative definition of cortical networks

Appendix 1—figure 11. Proportion of vertices of the 30 most predictive regions in 12 cortical networks defined in Ji et al., 2019.

Appendix 1—figure 11.

(A) The 30 regions that are most predictive of general intelligence based on hyperaligned fine-grained task functional magnetic resonance imaging (fMRI) connectivity are in the default (34.0% of vertices in the 30 regions), frontoparietal (33.0%), cingulo-opercular (20.2%), dorsal attention (5.7%), and visual 2 (6.7%) networks. (B) The 30 regions that are most predictive of general intelligence based on hyperaligned fine-grained resting fMRI connectivity are in the default (39.3%), frontoparietal (22.5%), cingulo-opercular (14.4%), dorsal attention (13.9%), visual 2 (4.9%), language (2.8%), and visual 1 (1.7%) networks. The 12 cortical networks are defined based on Ji et al., 2019. Note that different cortical network parcellations are in agreement with each other in general, and the proportion of cortical vertices in these 12 networks is similar to the proportion in the seven cortical systems based on Yeo et al., 2011. Most of the vertices are in default, frontoparietal, and dorsal attention networks based on both Yeo et al., 2011 and Ji et al., 2019; some regions in the ventral attention network based on Yeo et al., 2011 are labeled as cingulo-opercular in Ji et al., 2019.

Assessing the effects of head motion

The level of in-scanner head motion (usually measured as framewise displacement [FD]) is correlated with many subject measures, and participants who move more in the scanner are more likely to have lower cognitive test scores (Siegel et al., 2017). Therefore, when the connectivity pattern is affected by motion-related artifacts, it is possible for prediction models to take advantage of these spurious patterns and predict these subject measures to some extent. For the dataset used in this study, the correlation between g and FD is r(874) = −0.29, < 10−18, which means a perfect head motion predictor can account for 8.6% of variance in general intelligence (Appendix 1—figure 12A). To assess the influence of head motion on our prediction models, we performed two additional analyses.

Appendix 1—figure 12. Prediction performance based on a low head motion sub-sample.

Appendix 1—figure 12.

General intelligence has a moderate correlation with head motion (A), and a ‘motion detector’ can predict general intelligence to some extent. To assess the effect of head motion variation on prediction performance, we trained another set of models based on a sub-sample of participants with minimal head motion (framewise displacement <0.15 mm, n = 437, B), and another 10 sets of models based on control sub-samples (see C for an example control sub-sample). The control sub-samples had similar general intelligence variation but larger head motion variation compared with the low-motion sub-sample (D). Prediction performance was similar between the low-motion sub-sample and the control sub-samples (E), suggesting larger variation in head motion level (while keeping sample size constant) has little effect on the prediction performance for general intelligence.

In the first analysis, we created a low-motion sub-sample of the dataset and evaluated prediction performance based on this sub-sample. This sub-sample comprises participants whose average FD is less than 0.15 mm across all fMRI runs and has a sample size of 437. Because sample size has a great influence on prediction performance (Appendix 1—figure 8), we created 10 control sub-samples. These control sub-samples have the same sample size and almost identical mean and standard deviation of g as the low-motion sub-sample (Appendix 1—figure 12D), but have the full spectrum of head motion (C). Therefore, if the prediction models take advantage of the correlation between g and head motion to predict g, we expect the model performance based on the control sub-samples to outperform the low-motion sub-sample.

Across all three kinds of connectivity profiles (coarse-grained, MSM-aligned fine-grained, hyperaligned fine-grained) and two kinds of fMRI data (task fMRI, resting fMRI), we observed no difference in prediction performance between models based on the low-motion sub-sample and models based on control sub-samples (all > 0.11; Appendix 1—figure 12E). This suggests that head motion has little influence on the performance of our prediction models.

Note that in the low-motion sub-sample, small variation in head motion still exists (Appendix 1—figure 12D) and is slightly correlated with g (r = −0.14). Therefore, it is possible for a prediction model to take advantage of motion-related connectivity patterns and account for up to 1.9% of variance in g if it can detect motion from functional connectivity perfectly. To further assess the effect of head motion, we performed a second analysis in a more strict way.

In the second analysis, we regressed out FD from functional connectivity profiles and used the residual profiles to build our prediction models. This allows us to completely remove the variance in functional connectivity that covariates with head motion. Traditionally certain preprocessing pipelines are used to mitigate the effects of head motion on functional connectivity and reduce the prediction performance overestimation caused by head motion (Siegel et al., 2017; Ciric et al., 2017; Ciric et al., 2018). However, it is unclear which preprocessing pipeline is most effective in removing motion-related artifacts in fine-grained connectivity and it is practically challenging to compute fine-grained functional connectivity using multiple preprocessing pipelines. Therefore, we chose to use regression to remove covariation between functional connectivity and head motion. Note that regression is an aggressive approach and will also remove variance in ‘true’ functional connectivity that covariates with FD. As a result, the maximal possible R2 is no longer 100% but rather 91.4% because the 8.6% of variance in g that covaries with FD can never be accounted for by these residual profiles.

To account for the effect of the new R2ceiling, we trained another 100 sets of prediction models, where each set was based on functional connectivity residuals after regressing out a random variable that had the same level of correlation with g (i.e., r = 0.29), and therefore had the same R2 ceiling. For simplicity, we will refer to these models as control models and the models based on regressing out FD as FD-residual models. With these models, it is possible to separate the effect of R2 ceiling by comparing original models and control models, and the effect specific to head motion by comparing control models with FD-residual models.

Compared with the original models, control models had lower R2, and the difference was 2.8%, 3.1%, and 4.2% for coarse-grained, MSM-aligned fine-grained, and hyperaligned fine-grained connectivity profiles respectively based on task fMRI data; the difference was 1.9%, 2.5%, and 3.9% respectively based on resting fMRI data. This demonstrates that regressing out variables correlating with g from functional connectivity profiles will reduce model performance in general. Note that the R2 difference was larger for connectivity profiles that are more predictive of g (e.g., hyperaligned fine-grained connectivity profiles for both task and resting fMRI data), suggesting that high-performance models are more influenced by the R2 ceiling, probably because their performances are closer to the ceiling.

FD-residual models had lower R2 compared with these control models, and the difference was 2.5%, 2.8%, and 2.7% respectively based on task fMRI data, and 1.3%, 2.0%, and 1.1% respectively based on resting fMRI data (Appendix 1—figure 13). These results suggest that head motion has a small (1.1–2.8%) but statistically significant effect on predicting g based on functional connectivity. Based on resting fMRI data, the effect of head motion was smaller for fine-grained connectivity profiles that are hyperaligned compared with those MSM-aligned (ΔR2 = 0.9%, p=0.01). This suggests that using functional connectivity based on hyperaligned data may reduce the influence of head motion on prediction models.

Appendix 1—figure 13. Regressing out head motion from functional connectivity.

Appendix 1—figure 13.

We regressed out head motion (measured as framewise displacement) from functional connectivity profiles and built prediction models based on the residual connectivity profiles, and compared their performance with 100 sets of control models. Each dot is a brain region, and error bars denote the standard deviation across 100 control model sets. For each set of control models, a random variable that has the same level of correlation with g was regressed out from functional connectivity profiles instead of head motion to control for the effect of lower R2 ceiling caused by regression. Compared with the control models, models based on regressing out head motion had slightly lower performance (range: 1.1–2.8%), as demonstrated by that the dots are slightly below the diagonal in general. This difference suggests that the shared variance between functional connectivity and head motion may cause a slight overestimation of model performance. However, the effect is small and cannot explain the difference between models based on different types of connectivity profiles.

Funding Statement

The funders had no role in study design, data collection and interpretation, or the decision to submit the work for publication.

Contributor Information

James V Haxby, Email: james.v.haxby@dartmouth.edu.

Floris P de Lange, Radboud University, Netherlands.

Thomas Yeo, National University of Singapore, Singapore.

Funding Information

This paper was supported by the following grants:

  • National Science Foundation 1607845 to James V Haxby.

  • National Science Foundation 1835200 to James V Haxby.

Additional information

Competing interests

No competing interests declared.

Author contributions

Conceptualization, Software, Formal analysis, Validation, Visualization, Methodology, Writing - original draft, Writing - review and editing.

Conceptualization, Software, Methodology, Writing - original draft, Writing - review and editing.

Conceptualization, Funding acquisition, Visualization, Methodology, Writing - original draft, Project administration, Writing - review and editing.

Ethics

Human subjects: Human research participants in the Human Connectome Project gave written informed consent for their participation in accordance with guidelines at participating institutions.

Additional files

Transparent reporting form

Data availability

The Human Connectome Project data can be downloaded from its database (https://db.humanconnectome.org/data/projects/HCP_1200). Code for the analysis is available at (https://github.com/feilong/IDM_pred copy archived at https://archive.softwareheritage.org/swh:1:rev:ab3f031ab42909774d02f770f4a94d6a2b045eff/.

The following previously published dataset was used:

Van Essen DC, Smith SM, Barch DM, Behrens TEJ, Yacoub E, Ugurbil K, WU-MinnHCP Consortium 2013. Human Connectome Project. ConnectomeDB. S1200

References

  1. Addis DR, Wong AT, Schacter DL. Remembering the past and imagining the future: common and distinct neural substrates during event construction and elaboration. Neuropsychologia. 2007;45:1363–1377. doi: 10.1016/j.neuropsychologia.2006.10.016. [DOI] [PMC free article] [PubMed] [Google Scholar]
  2. Andrews-Hanna JR, Reidler JS, Sepulcre J, Poulin R, Buckner RL. Functional-anatomic fractionation of the brain's default network. Neuron. 2010;65:550–562. doi: 10.1016/j.neuron.2010.02.005. [DOI] [PMC free article] [PubMed] [Google Scholar]
  3. Andrews-Hanna JR, Smallwood J, Spreng RN. The default network and self-generated thought: component processes, dynamic control, and clinical relevance. Annals of the New York Academy of Sciences. 2014;1316:29–52. doi: 10.1111/nyas.12360. [DOI] [PMC free article] [PubMed] [Google Scholar]
  4. Barch DM, Burgess GC, Harms MP, Petersen SE, Schlaggar BL, Corbetta M, Glasser MF, Curtiss S, Dixit S, Feldt C, Nolan D, Bryant E, Hartley T, Footer O, Bjork JM, Poldrack R, Smith S, Johansen-Berg H, Snyder AZ, Van Essen DC, WU-Minn HCP Consortium Function in the human connectome: task-fmri and individual differences in behavior. NeuroImage. 2013;80:169–189. doi: 10.1016/j.neuroimage.2013.05.033. [DOI] [PMC free article] [PubMed] [Google Scholar]
  5. Behzadi Y, Restom K, Liau J, Liu TT. A component based noise correction method (CompCor) for BOLD and perfusion based fMRI. NeuroImage. 2007;37:90–101. doi: 10.1016/j.neuroimage.2007.04.042. [DOI] [PMC free article] [PubMed] [Google Scholar]
  6. Bilker WB, Hansen JA, Brensinger CM, Richard J, Gur RE, Gur RC. Development of abbreviated nine-item forms of the raven's standard progressive matrices test. Assessment. 2012;19:354–369. doi: 10.1177/1073191112446655. [DOI] [PMC free article] [PubMed] [Google Scholar]
  7. Buckner RL, Andrews-Hanna JR, Schacter DL. The brain's default network: anatomy, function, and relevance to disease. Annals of the New York Academy of Sciences. 2008;1124:1–38. doi: 10.1196/annals.1440.011. [DOI] [PubMed] [Google Scholar]
  8. Ciric R, Wolf DH, Power JD, Roalf DR, Baum GL, Ruparel K, Shinohara RT, Elliott MA, Eickhoff SB, Davatzikos C, Gur RC, Gur RE, Bassett DS, Satterthwaite TD. Benchmarking of participant-level confound regression strategies for the control of motion artifact in studies of functional connectivity. NeuroImage. 2017;154:174–187. doi: 10.1016/j.neuroimage.2017.03.020. [DOI] [PMC free article] [PubMed] [Google Scholar]
  9. Ciric R, Rosen AFG, Erus G, Cieslak M, Adebimpe A, Cook PA, Bassett DS, Davatzikos C, Wolf DH, Satterthwaite TD. Mitigating head motion artifact in functional connectivity MRI. Nature Protocols. 2018;13:2801–2826. doi: 10.1038/s41596-018-0065-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
  10. Connolly AC, Sha L, Guntupalli JS, Oosterhof N, Halchenko YO, Nastase SA, di Oleggio Castello MV, Abdi H, Jobst BC, Gobbini MI, Haxby JV. How the human brain represents perceived dangerousness or "Predacity" of Animals. The Journal of Neuroscience. 2016;36:5373–5384. doi: 10.1523/JNEUROSCI.3395-15.2016. [DOI] [PMC free article] [PubMed] [Google Scholar]
  11. Cox SR, Ritchie SJ, Fawns-Ritchie C, Tucker-Drob EM, Deary IJ. Structural brain imaging correlates of general intelligence in UK biobank. Intelligence. 2019;76:101376. doi: 10.1016/j.intell.2019.101376. [DOI] [PMC free article] [PubMed] [Google Scholar]
  12. Dice LR. Measures of the amount of ecologic association between species. Ecology. 1945;26:297–302. doi: 10.2307/1932409. [DOI] [Google Scholar]
  13. Dixon ML, De La Vega A, Mills C, Andrews-Hanna J, Spreng RN, Cole MW, Christoff K. Heterogeneity within the frontoparietal control network and its relationship to the default and dorsal attention networks. PNAS. 2018;115:E1598–E1607. doi: 10.1073/pnas.1715766115. [DOI] [PMC free article] [PubMed] [Google Scholar]
  14. Dubois J, Galdi P, Paul LK, Adolphs R. A distributed brain network predicts general intelligence from resting-state human neuroimaging data. Philosophical Transactions of the Royal Society B: Biological Sciences. 2018;373:20170284. doi: 10.1098/rstb.2017.0284. [DOI] [PMC free article] [PubMed] [Google Scholar]
  15. Eickhoff SB, Constable RT, Yeo BTT. Topographic organization of the cerebral cortex and brain cartography. NeuroImage. 2018;170:332–347. doi: 10.1016/j.neuroimage.2017.02.018. [DOI] [PMC free article] [PubMed] [Google Scholar]
  16. Feilong M, Nastase SA, Guntupalli JS, Haxby JV. Reliable individual differences in fine-grained cortical functional architecture. NeuroImage. 2018;183:375–386. doi: 10.1016/j.neuroimage.2018.08.029. [DOI] [PubMed] [Google Scholar]
  17. Finn ES, Shen X, Scheinost D, Rosenberg MD, Huang J, Chun MM, Papademetris X, Constable RT. Functional connectome fingerprinting: identifying individuals using patterns of brain connectivity. Nature Neuroscience. 2015;18:1664–1671. doi: 10.1038/nn.4135. [DOI] [PMC free article] [PubMed] [Google Scholar]
  18. Frith CD, Frith U. Interacting minds--a biological basis. Science. 1999;286:1692–1695. doi: 10.1126/science.286.5445.1692. [DOI] [PubMed] [Google Scholar]
  19. Glasser MF, Sotiropoulos SN, Wilson JA, Coalson TS, Fischl B, Andersson JL, Xu J, Jbabdi S, Webster M, Polimeni JR, Van Essen DC, Jenkinson M, WU-Minn HCP Consortium The minimal preprocessing pipelines for the human connectome project. NeuroImage. 2013;80:105–124. doi: 10.1016/j.neuroimage.2013.04.127. [DOI] [PMC free article] [PubMed] [Google Scholar]
  20. Glasser MF, Coalson TS, Robinson EC, Hacker CD, Harwell J, Yacoub E, Ugurbil K, Andersson J, Beckmann CF, Jenkinson M, Smith SM, Van Essen DC. A multi-modal parcellation of human cerebral cortex. Nature. 2016;536:171–178. doi: 10.1038/nature18933. [DOI] [PMC free article] [PubMed] [Google Scholar]
  21. Gobbini MI, Koralek AC, Bryan RE, Montgomery KJ, Haxby JV. Two takes on the social brain: a comparison of theory of mind tasks. Journal of Cognitive Neuroscience. 2007;19:1803–1814. doi: 10.1162/jocn.2007.19.11.1803. [DOI] [PubMed] [Google Scholar]
  22. Gobbini MI, Haxby JV. Neural systems for recognition of familiar faces. Neuropsychologia. 2007;45:32–41. doi: 10.1016/j.neuropsychologia.2006.04.015. [DOI] [PubMed] [Google Scholar]
  23. Golland Y, Bentin S, Gelbard H, Benjamini Y, Heller R, Nir Y, Hasson U, Malach R. Extrinsic and intrinsic systems in the posterior cortex of the human brain revealed during natural sensory stimulation. Cerebral Cortex. 2007;17:766–777. doi: 10.1093/cercor/bhk030. [DOI] [PubMed] [Google Scholar]
  24. Greene AS, Gao S, Scheinost D, Constable RT. Task-induced brain state manipulation improves prediction of individual traits. Nature Communications. 2018;9:1–13. doi: 10.1038/s41467-018-04920-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
  25. Guntupalli JS, Hanke M, Halchenko YO, Connolly AC, Ramadge PJ, Haxby JV. A model of representational spaces in human cortex. Cerebral Cortex. 2016;26:2919–2934. doi: 10.1093/cercor/bhw068. [DOI] [PMC free article] [PubMed] [Google Scholar]
  26. Guntupalli JS, Wheeler KG, Gobbini MI. Disentangling the representation of identity from head view along the human face processing pathway. Cerebral Cortex. 2017;27:46–53. doi: 10.1093/cercor/bhw344. [DOI] [PMC free article] [PubMed] [Google Scholar]
  27. Guntupalli JS, Feilong M, Haxby JV. A computational model of shared fine-scale structure in the human connectome. PLOS Computational Biology. 2018;14:e1006120. doi: 10.1371/journal.pcbi.1006120. [DOI] [PMC free article] [PubMed] [Google Scholar]
  28. Gur RC, Richard J, Hughett P, Calkins ME, Macy L, Bilker WB, Brensinger C, Gur RE. A cognitive neuroscience-based computerized battery for efficient measurement of individual differences: standardization and initial construct validation. Journal of Neuroscience Methods. 2010;187:254–262. doi: 10.1016/j.jneumeth.2009.11.017. [DOI] [PMC free article] [PubMed] [Google Scholar]
  29. Hanke M, Halchenko YO, Sederberg PB, Hanson SJ, Haxby JV, Pollmann S. PyMVPA: a Python toolbox for multivariate pattern analysis of fMRI data. Neuroinformatics. 2009;7:37–53. doi: 10.1007/s12021-008-9041-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
  30. Haxby JV, Gobbini MI, Furey ML, Ishai A, Schouten JL, Pietrini P. Distributed and overlapping representations of faces and objects in ventral temporal cortex. Science. 2001;293:2425–2430. doi: 10.1126/science.1063736. [DOI] [PubMed] [Google Scholar]
  31. Haxby JV, Guntupalli JS, Connolly AC, Halchenko YO, Conroy BR, Gobbini MI, Hanke M, Ramadge PJ. A common, High-Dimensional model of the representational space in human ventral temporal cortex. Neuron. 2011;72:404–416. doi: 10.1016/j.neuron.2011.08.026. [DOI] [PMC free article] [PubMed] [Google Scholar]
  32. Haxby JV, Connolly AC, Guntupalli JS. Decoding neural representational spaces using multivariate pattern analysis. Annual Review of Neuroscience. 2014;37:435–456. doi: 10.1146/annurev-neuro-062012-170325. [DOI] [PubMed] [Google Scholar]
  33. Haxby JV, Guntupalli JS, Nastase SA, Feilong M. Hyperalignment: modeling shared information encoded in idiosyncratic cortical topographies. eLife. 2020;9:e56601. doi: 10.7554/eLife.56601. [DOI] [PMC free article] [PubMed] [Google Scholar]
  34. Ji JL, Spronk M, Kulkarni K, Repovš G, Anticevic A, Cole MW. Mapping the human brain's cortical-subcortical functional network organization. NeuroImage. 2019;185:35–57. doi: 10.1016/j.neuroimage.2018.10.006. [DOI] [PMC free article] [PubMed] [Google Scholar]
  35. Jiahui G, Feilong M, Visconti di Oleggio Castello M, Guntupalli JS, Chauhan V, Haxby JV, Gobbini MI. Predicting individual face-selective topography using naturalistic stimuli. NeuroImage. 2020;216:116458. doi: 10.1016/j.neuroimage.2019.116458. [DOI] [PubMed] [Google Scholar]
  36. Jiang R, Zuo N, Ford JM, Qi S, Zhi D, Zhuo C, Xu Y, Fu Z, Bustillo J, Turner JA, Calhoun VD, Sui J. Task-induced brain connectivity promotes the detection of individual differences in brain-behavior relationships. NeuroImage. 2020;207:116370. doi: 10.1016/j.neuroimage.2019.116370. [DOI] [PMC free article] [PubMed] [Google Scholar]
  37. Johnson W, Bouchard TJ, Krueger RF, McGue M, Gottesman II. Just one g: consistent results from three test batteries. Intelligence. 2004;32:95–107. doi: 10.1016/S0160-2896(03)00062-X. [DOI] [Google Scholar]
  38. Johnson W, Nijenhuis Jte, Bouchard TJ. Still just 1 g: consistent results from five test batteries. Intelligence. 2008;36:81–95. doi: 10.1016/j.intell.2007.06.001. [DOI] [Google Scholar]
  39. Kong R, Li J, Orban C, Sabuncu MR, Liu H, Schaefer A, Sun N, Zuo XN, Holmes AJ, Eickhoff SB, Yeo BTT. Spatial topography of Individual-Specific cortical networks predicts human cognition, personality, and emotion. Cerebral Cortex. 2019;29:2533–2551. doi: 10.1093/cercor/bhy123. [DOI] [PMC free article] [PubMed] [Google Scholar]
  40. Kong R, Yang Q, Gordon E, Xue A, Yan X, Orban C, Zuo X-N, Spreng N, Ge T, Holmes A, Eickhoff S, Yeo BTT. Individual-Specific Areal-Level parcellations improve functional connectivity prediction of behavior. bioRxiv. 2021 doi: 10.1101/2021.01.16.426943. [DOI] [PMC free article] [PubMed]
  41. Kriegeskorte N, Mur M, Bandettini P. Representational similarity analysis - connecting the branches of systems neuroscience. Frontiers in Systems Neuroscience. 2008;2:4. doi: 10.3389/neuro.06.004.2008. [DOI] [PMC free article] [PubMed] [Google Scholar]
  42. Luders E, Narr KL, Bilder RM, Thompson PM, Szeszko PR, Hamilton L, Toga AW. Positive correlations between corpus callosum thickness and intelligence. NeuroImage. 2007;37:1457–1464. doi: 10.1016/j.neuroimage.2007.06.028. [DOI] [PMC free article] [PubMed] [Google Scholar]
  43. Nastase SA, Liu YF, Hillman H, Norman KA, Hasson U. Leveraging shared connectivity to aggregate heterogeneous datasets into a common response space. NeuroImage. 2020;217:116865. doi: 10.1016/j.neuroimage.2020.116865. [DOI] [PMC free article] [PubMed] [Google Scholar]
  44. Park SH, Russ BE, McMahon DBT, Koyano KW, Berman RA, Leopold DA. Functional subpopulations of neurons in a macaque face patch revealed by Single-Unit fMRI mapping. Neuron. 2017;95:971–981. doi: 10.1016/j.neuron.2017.07.014. [DOI] [PMC free article] [PubMed] [Google Scholar]
  45. Plomin R, Deary IJ. Genetics and intelligence differences: five special findings. Molecular Psychiatry. 2015;20:98–108. doi: 10.1038/mp.2014.105. [DOI] [PMC free article] [PubMed] [Google Scholar]
  46. Raichle ME, MacLeod AM, Snyder AZ, Powers WJ, Gusnard DA, Shulman GL. A default mode of brain function. PNAS. 2001;98:676–682. doi: 10.1073/pnas.98.2.676. [DOI] [PMC free article] [PubMed] [Google Scholar]
  47. Raichle ME. The brain’s Dark Energy. Science. 2006;314:1249–1250. doi: 10.1126/science.1134405. [DOI] [PubMed] [Google Scholar]
  48. Robinson EC, Jbabdi S, Glasser MF, Andersson J, Burgess GC, Harms MP, Smith SM, Van Essen DC, Jenkinson M. MSM: a new flexible framework for multimodal surface matching. NeuroImage. 2014;100:414–426. doi: 10.1016/j.neuroimage.2014.05.069. [DOI] [PMC free article] [PubMed] [Google Scholar]
  49. Saxe R, Kanwisher N. People thinking about thinking people. the role of the temporo-parietal junction in "theory of mind". NeuroImage. 2003;19:1835–1842. doi: 10.1016/S1053-8119(03)00230-1. [DOI] [PubMed] [Google Scholar]
  50. Schmitt JE, Neale MC, Clasen LS, Liu S, Seidlitz J, Pritikin JN, Chu A, Wallace GL, Lee NR, Giedd JN, Raznahan A. A comprehensive quantitative genetic analysis of cerebral surface area in youth. The Journal of Neuroscience. 2019;39:3028–3040. doi: 10.1523/JNEUROSCI.2248-18.2019. [DOI] [PMC free article] [PubMed] [Google Scholar]
  51. Shen X, Finn ES, Scheinost D, Rosenberg MD, Chun MM, Papademetris X, Constable RT. Using connectome-based predictive modeling to predict individual behavior from brain connectivity. Nature Protocols. 2017;12:506–518. doi: 10.1038/nprot.2016.178. [DOI] [PMC free article] [PubMed] [Google Scholar]
  52. Siegel JS, Mitra A, Laumann TO, Seitzman BA, Raichle M, Corbetta M, Snyder AZ. Data quality influences observed links between functional connectivity and behavior. Cerebral Cortex. 2017;27:4492–4502. doi: 10.1093/cercor/bhw253. [DOI] [PMC free article] [PubMed] [Google Scholar]
  53. Spearman C. "General Intelligence," Objectively Determined and Measured. The American Journal of Psychology. 1904;15:201–292. doi: 10.2307/1412107. [DOI] [Google Scholar]
  54. Uğurbil K, Xu J, Auerbach EJ, Moeller S, Vu AT, Duarte-Carvajalino JM, Lenglet C, Wu X, Schmitter S, Van de Moortele PF, Strupp J, Sapiro G, De Martino F, Wang D, Harel N, Garwood M, Chen L, Feinberg DA, Smith SM, Miller KL, Sotiropoulos SN, Jbabdi S, Andersson JL, Behrens TE, Glasser MF, Van Essen DC, Yacoub E, WU-Minn HCP Consortium Pushing spatial and temporal resolution for functional and diffusion MRI in the human connectome project. NeuroImage. 2013;80:80–104. doi: 10.1016/j.neuroimage.2013.05.012. [DOI] [PMC free article] [PubMed] [Google Scholar]
  55. Van Essen DC, Smith SM, Barch DM, Behrens TE, Yacoub E, Ugurbil K, WU-Minn HCP Consortium The WU-Minn human connectome project: an overview. NeuroImage. 2013;80:62–79. doi: 10.1016/j.neuroimage.2013.05.041. [DOI] [PMC free article] [PubMed] [Google Scholar]
  56. Varoquaux G, Raamana PR, Engemann DA, Hoyos-Idrobo A, Schwartz Y, Thirion B. Assessing and tuning brain decoders: cross-validation, caveats, and guidelines. NeuroImage. 2017;145:166–179. doi: 10.1016/j.neuroimage.2016.10.038. [DOI] [PubMed] [Google Scholar]
  57. Winkler AM, Webster MA, Vidaurre D, Nichols TE, Smith SM. Multi-level block permutation. NeuroImage. 2015;123:253–268. doi: 10.1016/j.neuroimage.2015.05.092. [DOI] [PMC free article] [PubMed] [Google Scholar]
  58. Yeo BT, Krienen FM, Sepulcre J, Sabuncu MR, Lashkari D, Hollinshead M, Roffman JL, Smoller JW, Zöllei L, Polimeni JR, Fischl B, Liu H, Buckner RL. The organization of the human cerebral cortex estimated by intrinsic functional connectivity. Journal of Neurophysiology. 2011;106:1125–1165. doi: 10.1152/jn.00338.2011. [DOI] [PMC free article] [PubMed] [Google Scholar]

Decision letter

Editor: Thomas Yeo1
Reviewed by: Janine Diane Bijsterbosch2, Evan Gordon3

In the interests of transparency, eLife publishes the most substantive revision requests and the accompanying author responses.

Acceptance summary:

In this work, Feilong and colleagues investigated the degree to which the strength of functional connectivity is predictive of general intelligence, and the degree to which that predictive power is improved using hyperalignment procedures. More specifically, the authors showed a two-fold increase in variance explained in general intelligence when using fine-grained hyperaligned connectivity compared with coarse-grained hyperaligned connectivity. This is a very clearly written paper that presents an important result, which has the potential of great impact on the field of behavioral prediction.

Decision letter after peer review:

Thank you for submitting your article "The neural basis of intelligence in fine-grained cortical topographies" for consideration by eLife. Your article has been reviewed by three peer reviewers, one of whom is a member of our Board of Reviewing Editors, and the evaluation has been overseen by Floris de Lange as the Senior Editor. The following individuals involved in review of your submission have agreed to reveal their identity: Janine Diane Bijsterbosch (Reviewer #2); Evan Gordon (Reviewer #3).

The reviewers have discussed the reviews with one another and the Reviewing Editor has drafted this decision to help you prepare a revised submission.

As the editors have judged that your manuscript is of interest, but as described below that additional experiments are required before it is published, we would like to draw your attention to changes in our revision policy that we have made in response to COVID-19 (https://elifesciences.org/articles/57162). First, because many researchers have temporarily lost access to the labs, we will give authors as much time as they need to submit revised manuscripts. We are also offering, if you choose, to post the manuscript to bioRxiv (if it is not already there) along with this decision letter and a formal designation that the manuscript is "in revision at eLife". Please let us know if you would like to pursue this option. (If your work is more suitable for medRxiv, you will need to post the preprint yourself, as the mechanisms for us to do so are still in development.)

Summary:

In this work, Feilong and colleagues use the Human Connectome Project fMRI data to investigate the degree to which the strength of functional connectivity is predictive of general intelligence, and the degree to which that predictive power is improved using the hyperalignment procedures their lab has developed. More specifically, the authors predict general intelligence using either coarse-grained functional connectivity (based on 360 ROIs) or fine-grained functional connectivity (vertex-wise) after hyperalignment. The results show a two-fold increase in variance explained in general intelligence between coarse-grained and fine-grained connectivity. This is a very clearly-written paper that presents an important result, which has the potential of great impact on the field of behavioral prediction. However, the reviewers and editors do have some significant concerns with the predictive modeling presented in this work.

Essential revisions:

1) A major contribution of this study is the massive improvement in prediction performance using connectivity hyperalignment and fine-grained functional connectivity. As such it is important that code for this study be made publicly available, so that other researchers can test and replicate the authors' analyses under new conditions and datasets. Our understanding is that the connectivity hyperalignment code from the previous study (Guntupalli et al., 2018) is available in PyMVPA. However, our experience is that the code is not easy to use. As such, we believe it is important that the code specific to this study be made publicly available. More specifically, code utilized in this study to apply the existing connectivity hyperalignment code to the HCP dataset should be made available. Furthermore, code for computing fine-grained functional connectivity together with PCA+ridge regression and nested cross-validation should also be made available.

2) With regards to the leave-one-family-out nested cross-validation procedure, previous studies (e.g., Varoquaux et al., 2017) have suggested a single round of cross-validation can be sensitive to the particular split of the data. A more robust procedure would be to perform 10-fold nested cross-validation procedure 50 times. The prediction performance is then averaged across the 50 x 10 = 500 folds. In the case of the HCP data, care should be taken to handle family structure, i.e., within a single 10-fold nested cross-validation procedure, a family should not be split across the 10 folds. We believe that such a procedure is especially important for this study because the major result here is the huge improvement in prediction performance.

3) The authors should clarify what hyperparameters were tuned in their nested cross-validation. Our understanding is that the authors tune the number of PCA components and ridge regularization parameter. However, hyperalignment has a few hyperparameters as well. Did the authors use the exact same hyperalignment parameters as their previous studies? If so, this should be clearly stated in this study. If different hyperalignment parameters were used, then these hyperalignment hyperparameters should also be tuned within the nested cross-validation framework.

4) The residuals of fine-grained connectivity profiles were obtained after subtracting coarse-grain connectivity. Why was subtraction used here, rather than regressing out (i.e., orthogonalizing with respect to) the coarse-grained connectivity?

5) The authors have generally done a good job controlling for motion-related confounds, which can be a serious issue in the HCP data. In fact, Siegel et al., 2016, demonstrated that many behavioral measures, including intelligence, appeared to be spuriously related to motion effects. This is a particular concern for predictive modeling of the type done in the current work, as it is never clear when predictions are being made based on real aspects of the data vs. when predictions are being made based on intelligence-correlated motion artifact. However, the authors did not "scrub" their data (completely remove high-motion frames), as Siegel et al. did. This could be an issue, as Siegel et al. appeared to show that scrubbing by itself could remove a good portion of spurious behavioral covariance, and Ciric et al., 2017, showed that scrubbing removes different portions of the motion-related artifact than nuisance regression of the type performed by the authors does. Have the authors tested whether their strong FC-behavior predictive power survives more stringent removal of motion frames?

6) Glasser et al., 2016, showed that machine learning approaches could generate individual-specific versions of their parcellation in HCP data that were substantially variable across subjects (even after MSM alignment). This is, of course, a different approach to hyperalignment, at the parcel level rather than the fine-grained vertex level. Have the authors considered testing whether hyperalignment results in better predictive power than such individualized parcel estimates?

7) How does the bootstrapping handle the family structure in the data? If family structure is not taken into account, the authors should justify why that is the case.

8) The Materials and methods states that a linear regression model was used to control for area size in dissimilarity estimates. It would be useful to provide more details here please? For example, is the model fit across subjects or across regions within subject?

9) Some more details about the implementation of permutation testing of the model would be helpful. For example, was each model fully re-trained in each permutation, including the parameter optimization?

10) The fine-grained functional connectivity has richer features than coarse-grained, leading to higher dimensionality in the PCA step (Figure 3—figure supplement 5). We wonder if this might contribute to improved prediction accuracy. Related to this, it appears that there may also be a relationship between PCA dimensionality and regularization parameter, such that more regularization may be needed when more PCs are used in the model. It would be interesting to test the effect of fixing the PCA dimensionality (and perhaps also the regularization) across all models to control model complexity.

eLife. 2021 Mar 8;10:e64058. doi: 10.7554/eLife.64058.sa2

Author response


Essential revisions:

1) A major contribution of this study is the massive improvement in prediction performance using connectivity hyperalignment and fine-grained functional connectivity. As such it is important that code for this study be made publicly available, so that other researchers can test and replicate the authors' analyses under new conditions and datasets. Our understanding is that the connectivity hyperalignment code from the previous study (Guntupalli et al., 2018) is available in PyMVPA. However, our experience is that the code is not easy to use. As such, we believe it is important that the code specific to this study be made publicly available. More specifically, code utilized in this study to apply the existing connectivity hyperalignment code to the HCP dataset should be made available. Furthermore, code for computing fine-grained functional connectivity together with PCA+ridge regression and nested cross-validation should also be made available.

We thank the reviewers for bringing this up. We do plan to release the code and the derived data in full. We have prepared the code for prediction and cross-validation, as well as the data used in these steps, so that they will be released as soon as the final revision is accepted for publication. Researchers can use these resources to build their own prediction models and study other measures of interest.

Execution of the code for computing fine-grained functional connectivity together with performing PCA on functional connectivity usually requires a high-performance computing cluster due to the size of the dataset and the nature of fine-grained functional connectivity. We will also release the code for these steps to maximize the replicability, but the precomputed data is recommended for most users.

All code will be published openly, and derived data of the HCP dataset will be released according to the Data Use Terms of the dataset (https://www.humanconnectome.org/study/hcp-young-adult/document/wu-minn-hcp-consortium-open-access-data-use-terms).

2) With regards to the leave-one-family-out nested cross-validation procedure, previous studies (e.g., Varoquaux et al., 2017) have suggested a single round of cross-validation can be sensitive to the particular split of the data. A more robust procedure would be to perform 10-fold nested cross-validation procedure 50 times. The prediction performance is then averaged across the 50 x 10 = 500 folds. In the case of the HCP data, care should be taken to handle family structure, i.e., within a single 10-fold nested cross-validation procedure, a family should not be split across the 10 folds. We believe that such a procedure is especially important for this study because the major result here is the huge improvement in prediction performance.

We repeated our analysis using 50 repetitions of 10-fold cross-validation, and found very similar results as leave-one-family-out cross-validation. The small difference can be explained by the difference in training data size (90% vs. 99.8% of the dataset). We summarized these results (along with results based on 2-fold, 3-fold, and 5-fold) in Figure 3—figure supplement 8.

The issue with leave-one-trial-out cross-validation discussed in Varoquaux et al., 2017, was because trials from the same run were split between training and testing data during leave-one-trial-out cross-validation, even though they are not independent. We assessed a similar issue in the individual differences context, that is, allowing members from the same family to be split between training and testing data. We found a consistent overestimation of prediction performance when the family structure was not controlled. We added these results as Figure 3—figure supplement 9.

3) The authors should clarify what hyperparameters were tuned in their nested cross-validation. Our understanding is that the authors tune the number of PCA components and ridge regularization parameter. However, hyperalignment has a few hyperparameters as well. Did the authors use the exact same hyperalignment parameters as their previous studies? If so, this should be clearly stated in this study. If different hyperalignment parameters were used, then these hyperalignment hyperparameters should also be tuned within the nested cross-validation framework.

We used the same hyperparameters as in our previous studies. Specifically, we used the solution to the orthogonal Procrustes problem to derive the transformation matrices (i.e., an improper rotation in a high-dimensional space), which translates to “reflection=True, scaling=False” in PyMVPA terms. Other parameters are identical to the default parameters of PyMVPA's “Hyperalignment” class, except for that “zscore_common” was turned off because the input was connectivity rather than zscored response time series. We have expanded the corresponding subsection in the Materials and methods to explain the algorithm and parameter choices:

“In this study, hyperalignment was performed for each brain region separately (i.e., in a similar manner to Haxby et al., 2011 rather than Guntupalli et al., 2016), and the transformation was constrained to be an improper rotation (i.e., rotation that allows reflection) with no scaling. […] For example, an improvement of prediction performance after searchlight hyperalignment can be caused by better alignment of information in a region, but it can also be caused by additional information moved into the region or noise moved out of the region.”

4) The residuals of fine-grained connectivity profiles were obtained after subtracting coarse-grain connectivity. Why was subtraction used here, rather than regressing out (i.e., orthogonalizing with respect to) the coarse-grained connectivity?

In this special case, the residual obtained by subtraction is equivalent to the residual obtained by regression. We have added the following text to the Materials and methods to clarify this detail:

“Because a coarse-grained connectivity profile is comprised of region-by-region averages of the corresponding fine-grained connectivity profile, a regression model using coarse-grained connectivity profile (expanded to the same size as the fine-grained connectivity profile) as the independent variable and fine-grained connectivity profile as the dependent variable will always have a slope of 1. Therefore, the difference between the two profiles is also the residual of the regression model.”

5) The authors have generally done a good job controlling for motion-related confounds, which can be a serious issue in the HCP data. In fact, Siegel et al., 2016, demonstrated that many behavioral measures, including intelligence, appeared to be spuriously related to motion effects. This is a particular concern for predictive modeling of the type done in the current work, as it is never clear when predictions are being made based on real aspects of the data vs. when predictions are being made based on intelligence-correlated motion artifact. However, the authors did not "scrub" their data (completely remove high-motion frames), as Siegel et al. did. This could be an issue, as Siegel et al. appeared to show that scrubbing by itself could remove a good portion of spurious behavioral covariance, and Ciric et al., 2017, showed that scrubbing removes different portions of the motion-related artifact than nuisance regression of the type performed by the authors does. Have the authors tested whether their strong FC-behavior predictive power survives more stringent removal of motion frames?

We performed two additional analyses to assess the effect of motion on our prediction models, and added a new subsection “Assessing the effects of head motion” and two supplementary figures (Figure 3—figure supplement 12 and Figure 3—figure supplement 13).

In the first analysis, we created a low motion sub-sample (average FD < 0.15 mm) and compared prediction performance based on this sub-sample with 10 control sub-samples. Each control sub-sample had the same sample size and a similar distribution of intelligence as the low motion sub-sample, but the distribution of head motion was more similar to the entire sample (i.e., including large motion participants). Prediction performance was similar between the low motion sub-sample and the control sub-samples (Figure 3—figure supplement 12).

In the second analysis, we completely regressed out head motion (measured as FD) from the connectivity profiles and built the prediction models based on the residuals. Compared with the baseline (regressing out a random variable correlated with g), by regressing out FD from functional connectivity the average model performance across 360 regions dropped by 1.1% to 2.8% for different kinds of connectivity profiles (Figure 3—figure supplement 13).

Together these results demonstrate that functional connectivity patterns correlated with head motion may cause a small overestimation of model performance. However, this effect is small (ΔR2 = 1.1% to 2.8%) for our models and doesn't explain the large difference between different connectivity profile types.

6) Glasser et al., 2016, showed that machine learning approaches could generate individual-specific versions of their parcellation in HCP data that were substantially variable across subjects (even after MSM alignment). This is, of course, a different approach to hyperalignment, at the parcel level rather than the fine-grained vertex level. Have the authors considered testing whether hyperalignment results in better predictive power than such individualized parcel estimates?

Hyperalignment and individualized parcellations both can resolve idiosyncratic region boundaries on the anatomy (e.g., Jiahui et al., 2020). In this work (Figure 3—figure supplement 2) and our previous work (Feilong et al., 2018) we found that hyperalignment benefits individual differences analysis at both coarse and fine spatial scales, but the effect was much larger for fine-scale information than coarse-scale information. A very recent work, Kong et al., 2021, shows that individual-specific parcellations also improve prediction performance. Our prediction performance for fluid intelligence (Figure 3—figure supplement 6A) seems to surpass Kong et al., 2021 (Figure 11). However, many methodological details differ and a systematic comparison in future work is more appropriate for conclusions. We have added discussions on alternative approaches for aligning coarse-scale information:

“Hyperalignment resolves functional topographic idiosyncrasies at both coarse and fine spatial scales (see Jiahui et al., 2020, for an example of aligning functional regions), which is critical for assessing individual differences in information processing. […] However, the improvement for coarse-grained functional connectivity was smaller than for fine-grained functional connectivity in predicting general intelligence (Figure 3—figure supplement 2).”

7) How does the bootstrapping handle the family structure in the data? If family structure is not taken into account, the authors should justify why that is the case.

We ensured that the training data didn't contain participants from the same family as the test participant. Specifically, our bootstrapping procedure only resamples participants used for model evaluation, so that the sampling distribution is representative of the original training data amount. We have added a more detailed description of this procedure:

“The bootstrapping procedure used here only affects the participants used for model evaluation (i.e., the test set), and the model used to predict a participant's score was always trained with the same training set (i.e., participants who are not from the same family as the test participant). […] Therefore, we only bootstrapped the participants used for model evaluation, so that the sampling distribution is not biased by training sample size or dependency.”

8) The Materials and methods states that a linear regression model was used to control for area size in dissimilarity estimates. It would be useful to provide more details here please? For example, is the model fit across subjects or across regions within subject?

We averaged the matrix norm across all participant pairs for each region, and used the average in the regression model, so it is a single regression model across 360 brain regions. We have rewritten the description to clarify the details:

“We measured the level of each region's functional topographic idiosyncrasy as the average dissimilarity of hyperalignment transformation matrices across participant pairs for that region, after correcting for region size. […] We used the residual of the linear regression model to depict the heterogeneity of a region's functional topography across individuals.”

9) Some more details about the implementation of permutation testing of the model would be helpful. For example, was each model fully re-trained in each permutation, including the parameter optimization?

In each permutation, we permuted general intelligence scores using multi-level block permutation, and used these permuted scores for the entire process, including parameter optimization, model training, prediction, and evaluation. We have added the following text in the methods description to make it clearer:

“Each time, we permuted general intelligence scores across the entire dataset in the beginning, and re-ran the entire prediction pipeline with these permuted scores. […] In other words, we repeated the entire process – including parameter optimization, training, prediction, and model evaluation – using permuted general intelligence score as the target variable instead of the original general intelligence score.”

10) The fine-grained functional connectivity has richer features than coarse-grained, leading to higher dimensionality in the PCA step (Figure 3—figure supplement 5). We wonder if this might contribute to improved prediction accuracy. Related to this, it appears that there may also be a relationship between PCA dimensionality and regularization parameter, such that more regularization may be needed when more PCs are used in the model. It would be interesting to test the effect of fixing the PCA dimensionality (and perhaps also the regularization) across all models to control model complexity.

We trained another 8 sets of prediction models, each with a fixed hyperparameter combination, to assess the effect of hyperparameter choices. These 8 combinations are 4 levels of dimensionality reduction (80 PCs, 160 PCs, 320 PCs, or all PCs) × 2 levels of regularization (α = 0.1 or α = 10-20) that were most frequently chosen by nested cross-validation (Figure 3—figure supplement 5). We found that reducing the number of PCs reduced model performance for both coarse- and fine-grained connectivity profiles (except for overfit models due to insufficient regularization). However, even with the same number of PCs, prediction models based on hyperaligned fine-grained connectivity profiles still had a great advantage over those based on MSM-aligned fine-grained and coarse-grained connectivity profiles. We have added a new supplementary figure (Figure 3—figure supplement 10) to demonstrate the effect of hyperparameter choices.

Associated Data

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

    Data Citations

    1. Van Essen DC, Smith SM, Barch DM, Behrens TEJ, Yacoub E, Ugurbil K, WU-MinnHCP Consortium 2013. Human Connectome Project. ConnectomeDB. S1200

    Supplementary Materials

    Transparent reporting form

    Data Availability Statement

    The Human Connectome Project data can be downloaded from its database (https://db.humanconnectome.org/data/projects/HCP_1200). Code for the analysis is available at (https://github.com/feilong/IDM_pred copy archived at https://archive.softwareheritage.org/swh:1:rev:ab3f031ab42909774d02f770f4a94d6a2b045eff/.

    The following previously published dataset was used:

    Van Essen DC, Smith SM, Barch DM, Behrens TEJ, Yacoub E, Ugurbil K, WU-MinnHCP Consortium 2013. Human Connectome Project. ConnectomeDB. S1200


    Articles from eLife are provided here courtesy of eLife Sciences Publications, Ltd

    RESOURCES