<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Cross Atlas Remapping via Optimal Transport (CAROT): Creating connectomes for different atlases when raw data is not available</title></titleStmt>
			<publicationStmt>
				<publisher>Medical Image Analysis</publisher>
				<date>12/01/2023</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10504907</idno>
					<idno type="doi">10.1016/j.media.2023.102864</idno>
					<title level='j'>Medical image analysis</title>
<idno>1361-8415</idno>
<biblScope unit="volume"></biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Javid Dadashkarimi</author><author>Amin Karbasi</author><author>Qinghao Liang</author><author>Matthew Rosenblatt</author><author>Stephanie Noble</author><author>Maya Foster</author><author>Raimundo Rodriguez</author><author>Brendan Adkinson</author><author>Jean Ye</author><author>Huili Sun</author><author>Chris Camp</author><author>Michael Farruggia</author><author>Link Tejavibulya</author><author>Wei Dai</author><author>Rongtao Jiang</author><author>Angeliki Pollatou</author><author>Dustin. Scheinost</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Open-source, publicly available neuroimaging datasets -whether from large-scale data collection efforts or pooled from multiple smaller studies -offer unprecedented sample sizes and promote generalization efforts. Releasing data can democratize science, increase the replicability of findings, and lead to discoveries. Partly due to patient privacy, computational, and data storage concerns, researchers typically release preprocessed data with the voxelwise time series parcellated into a map of predefined regions, known as an atlas. However, releasing preprocessed data also limits the choices available to the end-user. This is especially true for connectomics, as connectomes created from different atlases are not directly comparable. Since there exist several atlases with no gold standards, it is unrealistic to have processed, open-source data available from all atlases. Together, these limitations directly inhibit the potential benefits of open-source neuroimaging data. To address these limitations, we introduce Cross Atlas Remapping via Optimal Transport (CAROT) to find a mapping between two atlases. This approach allows data processed from one atlas to be directly transformed into a connectome based on another atlas without the need for raw data access. To validate CAROT, we compare reconstructed connectomes against their original counterparts (i.e., connectomes generated directly from an atlas), demonstrate the utility of transformed connectomes in downstream analyses, and show how a connectome-based predictive model can generalize to publicly available data that was processed with different atlases. Overall, CAROT can reconstruct connectomes from an extensive set of atlases -without needing the raw data -allowing already processed connectomes to be easily reused in a wide range of analyses while eliminating redundant processing efforts. We share this tool as both source code and as a stand-alone web application (http://carotproject.com/).]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.">Introduction</head><p>A connectome -a matrix describing the connectivity between any pair of brain regions -is a popular approach used to model the brain as a graph-like structure <ref type="bibr">(Sporns et al., 2004;</ref><ref type="bibr">Bassett and Bullmore, 2006;</ref><ref type="bibr">Bullmore and Sporns, 2009)</ref>. They are created by parcellating the brain into distinct areas using an atlas (i.e., the nodes of a graph) and estimating the connections between these regions (i.e., the edges Nevertheless, the need for an atlas to create a connectome hinders comparisons across studies and replication and generalization efforts. Different atlases divide the brain into different regions of varying size and topology. Thus, connectomes created from different atlases are not directly comparable. In other words, simply comparing the results from two independent studies that use different atlases is challenging. Further, several atlases exist with no gold standards <ref type="bibr">(Arslan et al., 2018)</ref>, and more are being developed yearly. Currently, no solutions exist to extend previous results and potential biomarkers to a connectome generated from a different atlas, limiting the broader use of potential connectome-based biomarkers.</p><p>Transforming an existing connectome into one generated from a different atlas would help these efforts and increase the utility of existing connectomes. For example, large-scale projects -like the Human Connectome Project (HCP) <ref type="bibr">(Van Essen et al., 2013)</ref>, the Adolescent Brain Cognitive Development (ABCD) study <ref type="bibr">(Casey et al., 2018)</ref>, and the UK Biobank <ref type="bibr">(Sudlow et al., 2015)</ref> -share fully processed connectomes. However, the released connectomes for each project are based on different atlases, preventing these datasets from being combined without reprocessing data from thousands of participants. Smaller labs might not have the resources to store and reprocess these data from scratch <ref type="bibr">(Horien et al., 2021)</ref>. Finally, due to privacy concerns of being able to identify a participant based on unprocessed data, some datasets are only released as fully processed connectomes <ref type="bibr">(Yan et al., 2019)</ref>. Critically, in this case, it is not possible to go to the data to create connectomes from another atlas. Thus, algorithms to map and transform connectomes have applications for preserving participant privacy and democratizing data access, as well as improving the generalizability of scientific findings.</p><p>To this aim, we propose Cross Atlas Remapping via Optimal Transport (CAROT), which uses optimal transport theory, or the mathematics of converting a probability distribution from one set to another, to find an optimal mapping between two atlases. CAROT is designed for functional connectomes based on functional magnetic imaging (fMRI) data. It allows a connectome constructed from one atlas to be directly transformed into a connectome based on a different atlas without needing to access or preprocess the raw data. We define raw data as data in any form other than fully preprocessed timeseries from an atlas, which is the final form of the data used to create a connectome. Fully preprocessed timeseries from an atlas have several benefits over other intermediate forms derived from a connectomic processing pipeline. As these data consist of only 200 -500 timeseries, they require less storage than voxel-wise or vertex-wise preprocessed data in common space (1 -3 MB compared to 500 -1000 MB per individual). These data are also not identifiable if privacy concerns exist.</p><p>First, in a training sample with fMRI time series data from two different atlases, we find a mapping by solving the Monge-Kantorovich transportation problem <ref type="bibr">(Kantorovich, 1942)</ref>. Then, by employing this optimal mapping, time series data based on the first atlas (from individuals independent of the training data) can be reconstructed into connectomes based on the second atlas without ever needing to be preprocessed. To validate CAROT, we compare reconstructed connectomes against their original counterparts (i.e., connectomes generated directly from an atlas), demonstrate the utility of transformed connectomes in downstream analyses, and show how a connectome-based predictive model can be generalized to publicly available data preprocessed with different atlases. Overall, CAROT can reconstruct connectomes from an extensive set of atlases without ever needing the raw dataenabling comparison across connectome-based results from different atlases and the reuse of already processed connectomes in a wide range of downstream analyses.</p><p>This work builds upon two conference papers presented at the 2021 and 2022 International Conference on Medical Image Computing and Computer Assisted Intervention (MICCAI) <ref type="bibr">(Dadashkarimi et al., 2021</ref><ref type="bibr">(Dadashkarimi et al., , 2022))</ref>. The conference papers present our initial results using optimal transport to map and transform connectomes from different atlases.</p><p>We expand our previous results by presenting an extensive set of validation studies, increasing the number of atlases and datasets tested, and sharing this tool as source code and a stand-alone web application (<ref type="url">http://carotproject.com/</ref>).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Theory and calculations</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1.">Optimal transport</head><p>The optimal transport problem solves how to transport resources from one location &#120572; to another &#120573; while minimizing the cost &#119862; <ref type="bibr">(Tolstoi, 1930;</ref><ref type="bibr">Hitchcock, 1941;</ref><ref type="bibr">Koopmans, 1949;</ref><ref type="bibr">Gangbo and McCann, 1996)</ref>. It has been used for contrast equalization <ref type="bibr">(Delon, 2004)</ref>, image matching <ref type="bibr">(Li et al., 2013)</ref>, image watermarking <ref type="bibr">(Mathon et al., 2014</ref>), text classification <ref type="bibr">(Huang et al., 2016)</ref>, and music transportation <ref type="bibr">(Flamary et al., 2016)</ref>. Optimal transport is one of the few methods that provides a well-defined distance metric when the supports of the distributions are different. Other mapping approaches, such as Kullback-Leibler divergence, do not make this guarantee.</p><p>The original formulation of the optimal transport problem is known as the Monge problem. Assuming we have some resources &#119909; 1 , &#8230; , &#119909; &#119899; in location &#120572; and some other resources &#119910; 1 , &#8230; , &#119910; &#119898; in location &#120573;, we specify weight vectors &#119886; and &#119887; over these resources and define matrix &#119862; as a measure of pairwise distances between points &#119909; &#119894; &#8712; &#120572; and comparable points &#57920; (&#119909; &#119894; ). The Monge problem aims to solve the following optimizing problem <ref type="bibr">(Monge, 1781)</ref>:</p><p>where the push forward operator &#9839; indicates that mass from &#120572; moves towards &#120573; assuming that weights absorbed in &#119887; &#119895; = &#8721; &#57920; (&#119909; &#119894; )=&#119910; &#119895; &#119886; &#119894; . An assignment problem when the number of elements in the measures is not equal is a special case of this problem, where each point in &#120572; can be assigned to several points in &#120573;.</p><p>As a generalization of the Monge problem, the Kantorovich relaxation solves the mass transportation problem using a probabilistic approach in which the amount of mass located at &#119909; &#119894; potentially dispatches to several points in the target <ref type="bibr">(Kantorovich, 1942</ref>). An admissible solution for Kantorovich relaxation is defined as &#57920; &#8712; R &#119899;&#215;&#119898; + indicating the amount of mass being transferred from location &#119909; &#119894; to &#119910; &#119895; by &#57920; &#119894;,&#119895; :</p><p>where 1 represents a vector of all 1's. An optimum solution is obtained by solving the following problem for a given &#119862; &#8712; R &#119899;&#215;&#119898; <ref type="bibr">(Rubner et al., 2000)</ref>:</p><p>While a unique solution is not guaranteed <ref type="bibr">(Peyr&#233; et al., 2019)</ref>, an optimal solution exists (see proof in <ref type="bibr">Birkhoff, 1946;</ref><ref type="bibr">Bertsimas and Tsitsiklis, 1997)</ref>. Kantorovich and Monge's problems are equivalent under certain conditions (see proof <ref type="bibr">in Brenier, 1991)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2.">Cross Atlas Remapping via Optimal Transport (CAROT)</head><p>CAROT operates by transforming time series data from one atlas (labeled the source atlas) into time series from an unavailable atlas (labeled the target atlas). This transformation is a spatial mapping between the two atlases. Next, the corresponding functional connectomes can be estimated using standard approaches (e.g., full or partial correlation). Transforming the time series data rather than connectomes themselves has two benefits. First, this results in a lower dimensional mapping, which is more robust to estimate. Second, connectomes can be constructed with standard methods (like correlation), guaranteeing properties like semi-positive definite. Direct mapping between connectomes may not guarantee this property. Formally, let us assume we have training time series data consisting of &#119879; time points from the same individuals but from two different atlases (atlas &#119979; &#120003; with &#119899; regions and atlas &#119979; &#120002; with &#119898; regions). Additionally, let &#120583; &#119905; &#8712; R &#119899; and &#120584; &#119905; &#8712; R &#119898; to be the vectorized brain activity at single time point &#119905; based on atlases &#119979; &#120003; and &#119979; &#120002; , respectively. We normalize these vectors, to sum up to one using the softmax function, as we are only concerned about the mass. For a fixed cost matrix &#119862; &#8712; R &#119899;&#215;&#119898; , which measures the pairwise distance between regions in &#119979; &#120002; and &#119979; &#120003; , we aim to find a mapping &#57920; &#8712; R &#119899;&#215;&#119898; that minimizes transportation cost between &#120583; &#119905; and &#120584; &#119905; :</p><p>in which &#57920; &#8712; R &#119899;&#119898; is vectorized version of &#57920; such that the &#119894; + &#119899;(&#119895; -1)'s element of &#57920; is equal to &#57920; &#119894;&#119895; and &#119860; is defined as:</p><p>(5)</p><p>&#57920; represents the optimal way of transforming the brain activity data from &#119899; regions into &#119898; regions. Thus, by applying &#57920; to every timepoint from the time series data of the source atlas, we can estimate the time series data of the target atlas. As solving this large linear program is computationally hard <ref type="bibr">(Dantzig, 1983)</ref>, we use the entropy regularization, which gives an approximation solution with the complexity of &#57915;(&#119899; 2 log(&#119899;)&#120578; -3 ) for &#120598; = <ref type="bibr">(Peyr&#233; et al., 2019)</ref>, and instead solve the following:</p><p>Specifically, we use the Sinkhorn algorithm -an iterative solution for Eq. ( <ref type="formula">6</ref>) <ref type="bibr">(Altschuler et al., 2017)</ref> -to find &#57920; . For training data with &#119878; participants and &#119870; time points per participant, first, we estimate the optimal mapping &#57920; &#119904;,&#119896; , independently, for time point &#119896; for a given participant &#119904; using Eq. ( <ref type="formula">6</ref>). Next, we average &#57920; &#119904;,&#119896; overall time points and participants to produce a single optimal mapping &#57920; in the training data (e.g., &#57920; = 1</p><p>). For the cost matrix &#119862;, we used a distance metric (labeled functional distance) that is based on the similarity of pairs of time series from the different atlases:</p><p>where &#119880; &#119909; and &#119873; &#119909; are time series from &#119979; &#120002; and &#119979; &#120003; and &#120588;(&#119880; &#119909; , &#119873; &#119910; ) is Spearman correlation between them. To increase a reliable estimation of &#119862;, we calculate the time series correlation independently for each individual in the training data and average over these correlations.</p><p>The functional distance was used over Euclidean distance between nodes for two main reasons: (&#119894;) functional distance does not require having access to the atlas or node locations, which provides greater flexibility should an unknown and unavailable atlas be used, and (&#119894;&#119894;) spatial proximity in the brain does not guarantee a similar function.</p><p>For example, the medial prefrontal nodes of the default mode network are more correlated with nodes in the posterior cingulate cortex than other nodes in the frontal lobe. Nevertheless, we formally compare the performance of functional and Euclidean distances.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">Material and methods</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1.">Evaluation datasets</head><p>We evaluated CAROT on six prominent functional atlases from the literature using three datasets, the Human Connectome Project (HCP), the REST-Meta-MDD Consortium, and the Yale Low-Resolution Controls Dataset.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1.1.">Atlases</head><p>The Shen atlas <ref type="bibr">(Shen et al., 2013)</ref> was created using functional connectivity data from 45 adult participants. The 268-node atlas was constructed using a group-wise spectral clustering algorithm (derived from the N-cut algorithm) and covers the entire cortex, sub-cortex, and cerebellum. The Craddock atlas <ref type="bibr">(Craddock et al., 2012)</ref> was created using functional connectivity data from 41 adult participants. The 200node atlas was constructed using an N-cut algorithm and covers the entire cortex, sub-cortex, and cerebellum. The Schaefer atlas <ref type="bibr">(Schaefer et al., 2018)</ref> was created using functional connectivity data from 744 adult participants from the Genomics Superstruct Project <ref type="bibr">(Holmes et al., 2015)</ref>. The 400-node atlas was constructed using a gradient-weighted Markov Random Field (gwMRF) model, covering only the cortex. The Brainnetome atlas <ref type="bibr">(Fan et al., 2016)</ref> was created using structural connectivity data from 40 adult participants from the HCP. The 246-node atlas was constructed using a tractography-based approach and covers the cortex and sub-cortex. While it was created with structural connectivity, the Brainnetome atlas is suited for functional studies. The Dosenbach atlas <ref type="bibr">(Dosenbach et al., 2010)</ref> was created from metaanalyses of task-related fMRI studies and consists of 160 nodes that cover the cortex, cerebellum, and a few sub-cortical nodes. The Power atlas <ref type="bibr">(Power et al., 2011)</ref> was created by combining the meta-analytical approach of the Dosenbach atlas with areal boundary detection based on functional connectivity data. The 264-node atlas covers the cortex, sub-cortex, and cerebellum.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1.2.">HCP participants</head><p>We used behavioral and functional imaging data from this data set as previously described <ref type="bibr">(Gao et al., 2019)</ref>. We restricted our analyses to those subjects who participated in all nine fMRI conditions (seven tasks, two rest), whose mean frame-to-frame displacement was less than 0.1 mm and whose maximum frame-to-frame displacement was less than 0.15 mm, and for whom IQ measures were available (n=515; 241 males; ages 22-36+). The HCP minimal preprocessing pipeline was used on these data, which includes artifact removal, motion correction, and registration to common space <ref type="bibr">(Glasser et al., 2013)</ref>. All subsequent preprocessing was performed in BioImage Suite <ref type="bibr">(Joshi et al., 2011)</ref> and included standard preprocessing procedures, including removal of motion-related components of the signal; regression of mean time courses in white matter, cerebrospinal fluid, and gray matter; removal of the linear trend; and low-pass filtering.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1.3.">REST-meta-MDD</head><p>Fully processed data was downloaded from <ref type="url">http://rfmri.org/RESTmeta-MDD</ref>. Full details about the dataset have been previously published elsewhere <ref type="bibr">(Yan et al., 2019)</ref>. We used data from 21 of the 24 sites. Two sites were removed due to a large imbalance between male and female participants (i.e., &lt; 30% male or female; sites 2 and 12). One site was removed as self-reported sex was not provided (site 4). Briefly, the data was processed as follows. First, the initial 10 volumes were discarded, and slice-timing correction was performed. Then, the time series of images for each subject were realigned using a six-parameter linear transformation. After realignment, individual T1weighted images were co-registered to the mean functional image using a six-degrees-of-freedom linear transformation without re-sampling and then segmented into gray matter, white matter, and cerebrospinal fluid. Finally, transformations from individual native space to MNI space were computed with the Diffeomorphic Anatomical Registration Through Exponentiated Lie algebra (DARTEL) tool. To minimize head motion confounds, the Friston 24-parameter model was regressed from the data. Scrubbing (removing time points with FD&gt;0.2 mm) was also utilized to verify results using an aggressive head motion control strategy. Other sources of spurious variance (global, white matter, and CSF signals) were also removed from the data through linear regression. Additionally, linear trend were included as a regressor to account for drifts in the blood oxygen level dependent (BOLD) signal. Temporal bandpass filtering (0.01-0.1 Hz) was performed on all time series.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1.4.">Yale participants</head><p>In addition, we used resting-state data collected from 100 participants at the Yale School of Medicine. This dataset included 50 females (age=33.3&#177;12.3) and 50 males (age=34.9&#177;10.1) with eight functional scans (48 min total). The dataset and processing details can be found in <ref type="bibr">Scheinost et al. (2014)</ref>. Briefly, standard preprocessing procedures were applied to these data. Structural scans were skull stripped using an optimized version of the FMRIB's Software Library (FSL) pipeline. Slice time and motion correction were performed in SPM8. The remainder of image preprocessing was performed in BioImage Suite. The data was cleaned by regressing nuisance variables (motion parameters, drift terms, and the mean time courses of the white matter, cerebrospinal fluid, and gray matter signals and band-pass filtering) and was nonlinearly registered to the MNI template.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1.5.">Generating connectomes</head><p>After processing, the Shen, Schaefer, Craddock, Brainnetome, Power, and Dosenbach atlases were applied to the preprocessed fMRI data to create mean time series for each node. For each atlas and dataset, connectomes were generated by calculating the Pearson's correlation between each pair of these mean time series and then tasking the Fisher transform of these correlations. Connectomes reconstructed by CAROT were also generated using Pearson's Correlation.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2.">Evaluation overview</head><p>We performed several evaluations of CAROT. First, we performed a baseline evaluation of CAROT, investigating the similarity of the original and reconstructed connectomes, the impact of free parameters (e.g., the number of participants used to train CAROT), and the number of available source atlases. Second, we investigated how reconstructed connectomes perform in standard downstream analyses (i.e., do reconstructed connectomes give similar neuroscience results as the original connectomes?). Finally, we present a real-world evaluation of how CAROT can generalize a preexisting connectome-based predictive model when data from the required atlas is unavailable.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3.">Baseline evaluation of CAROT</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3.1.">Similarity between the original and reconstructed connectomes</head><p>We compared reconstructed connectomes to their original counterparts using HCP data. We partitioned our data into a 25&#8725;75 split, where 25% of the individuals are used to estimate the optimal mapping &#57920; and 75% are used to evaluate the reconstructed connectomes. Reconstructed connectomes were created using single and multiple source atlases. To evaluate the similarity between CAROT-reconstructed and original connectomes, the upper triangles of the connectomes were vectorized and correlated with Spearman's rank correlation. We also present the mean square error (MSE) and the Frobenius norm between CAROT-reconstructed and original connectomes.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3.2.">Comparison with k-nearest neighbor mapping</head><p>Given the similarities between the optimal transport problem and the k-nearest neighbor problem, we compared CAROT to a simplified approach based on mapping the atlas pairs using k-nearest neighbors, where &#119896; = 1 and &#119896; = 5. We tested Euclidean and functional distances for this approach.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3.3.">Evaluation of free parameters</head><p>We investigated the sensitivity of CAROT to the number of time points and number of participants used to find the mappings and the value of &#120598; in the Sinkhorn approximation. Using the same 25&#8725;75 split of the HCP participants for training and testing as above, we varied the number of time points used from 100 to 1100 in increments of 100, the number of participants from 100 to 515 in increments of 100, and &#120598; from 0.01 to 10 in increments of 1.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3.4.">Extending CAROT for multiple atlases</head><p>A vital drawback of the single-source optimal transport is that it relies on a single pair of source and target atlases (i.e., one source atlas and one target atlas), which ignores additional information when multiple source atlases exist. As preprocessed data is often released with time series data from multiple atlases <ref type="bibr">(Yan et al., 2016)</ref>, we investigated using these additional data to better reconstruct connectomes from an unavailable atlas. Previously, in a conference proceeding <ref type="bibr">(Dadashkarimi et al., 2022)</ref>, we combined information from multiple source atlases by using a larger cost matrix generated from stacking the set of region centers in each source atlas. In general, assume we have paired timeseries, from the same person, but from &#119896; different source atlases with a total of &#119899; &#119904; regions (where &#119899; &#119904; = &#119899; 1 +&#119899; 2 +..+&#119899; &#119896; from source atlas &#119979; &#120003; 1 with &#119899; 1 regions, &#119979; &#120003; 2 with &#119899; 2 regions, .., &#119979; &#120003; &#120000; with &#119899; &#119896; regions) and a target atlas &#119979; &#120002; with &#119898; regions, lets define &#120583; &#119905; &#8712; R &#119899; &#119904; and &#120584; &#119905; &#8712; R &#119898; to be the distribution of brain activity at single time point &#119905; based on atlases &#119979; &#120008; and &#119979; &#120002; :</p><p>and &#119862; &#119894;,&#119895; is based on the similarity of pairs of time series from nodes &#119894; and &#119895; from different atlases. Eq. ( <ref type="formula">6</ref>) can then be solved using this new cost matrix &#119862;. However, this approach is time-consuming to solve. Instead, we applied CAROT to transform time series data from &#119873; source atlases into the time series data for the target atlas. This process results in &#119873; different estimates of the target atlas's time series data. Next, the transformed time series data were averaged across all source atlases, improving the estimated time series data of the source atlas. Finally, a single connectome for the target atlas was created (Fig. <ref type="figure">1</ref>). Further, we investigated the impact of using a smaller number of source atlases by only including &#119896; random source atlases when creating a connectome for the target atlas. This process was repeated with 100 iterations over &#119896; =2-6.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3.5.">Generalizing mappings across datasets</head><p>We investigated if CAROT mappings trained in one dataset generalize to other datasets. In other words, we tested if CAROT can be trained once (for example, using the HCP) and then applied to any new datasets without the need to rerun CAROT (for example, the Yale dataset). First, we trained CAROT using only the HCP dataset. Then, we reconstructed connectomes using the Yale dataset using these &#57920; 's. Spearman's rank correlation between the upper triangles of the connectomes was used to assess the similarity between the reconstructed and original connectomes.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.4.">Evaluation of downstream analyses</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.4.1.">Consistency of aging results</head><p>We tested whether the reconstructed connectomes produced consistent neuroscience results compared to the original connectomes. First, we used 25% of the HCP participants to train CAROT. Next, using the original and reconstructed connectomes for the remaining 75% of participants, we calculated the association between connectomes and age using mass uni-variate, edge-wise correlations. Results were thresholded at &#119875; &lt; 0.05, corrected for multiple comparisons using the Network-based Statistic (NBS) <ref type="bibr">(Zalesky et al., 2010)</ref>. To assess whether the overlap of the significant edges found using the original and reconstructed connectomes was statistically significant (i.e., edgelevel), we calculated the probability of the overlap being due to chance using the hypergeometric cumulative distribution:</p><p>,</p><p>where &#119865; is the probability of drawing up to &#119894; of a possible &#119870; items in &#119873; drawings without replacement from a group of &#119872; objects. The &#119901;-value for the significance of overlap is then calculated as 1 -&#119865; . We also assess the similarity of results at the node-level by summing over all significant edges for a node (i.e., the network theory measure degree) and correlating these maps for results from the original and reconstructed connectomes.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.4.2.">IQ prediction</head><p>To show that meaningful brain-phenotype association are retained in reconstructed connectomes, we used reconstructed connectomes to predict fluid intelligence using connectome-based predictive modeling (CPM) <ref type="bibr">(Shen et al., 2017)</ref>. We partitioned the HCP dataset into three groupings: &#119892; 1 , consisting of 25% of the participants; &#119892; 2 , consisting of 50% of the participants; and, &#119892; 3 , consisting of the final 25% of the participants. In &#119892; 1 , we trained CAROT for each source and target atlas pair. We then applied the learned &#57920; on &#119892; 2 and &#119892; 3 to estimate connectomes for each target atlas, resulting in seven connectomes for each atlas (five reconstructed connectomes based on a single source atlas, one reconstructed connectome based on all source atlases, and the original connectome). Finally, we trained a CPM model of fluid intelligence for each set of connectomes using &#119892; 2 and tested this model in &#119892; 3 . Fluid intelligence was quantified using a 24-item version of the Penn Progressive Matrices test. Spearman correlation between observed and predicted values was used to evaluate prediction performance. This procedure was repeated with 100 random splits of the data into three groups.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.4.3.">Identification rate</head><p>We investigated if the individual uniqueness of connectomes is retained in reconstructed connectomes by identifying individuals scanned on repeated days <ref type="bibr">(Finn et al., 2015)</ref>. As mentioned above, we used the HCP data and a 25&#8725;75 split to create reconstructed connectomes based on all available source atlases. In an iterative process, one individual's connectome was selected from the target set and compared against each of the connectivity matrices in the database to find the matrix that was maximally similar. Spearman correlation between the target connectome and each in the database was used to assess similarity. A score of 1 was assigned if the predicted identity matched the true identity, or 0, if it did not. Each target connectome was tested against the database in an independent trial. Connectomes generated from the day 1 resting-state data were used as the target set, and connectomes generated from the day 2 resting-state data were used as the database. We performed this identification procedure for the original and reconstructed connectomes independently. We used permutation testing to generate a null distribution to determine if identification rates were achieved at above-chance levels. Specifically, participants' identities were randomly shuffled and identification was performed with these shuffled labels. Identification rates obtained using the correct labels were then compared to this null distribution to determine significance.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.5.">Real-world evaluation</head><p>In this evaluation, we generalized a sex classification model (using 100 adults collected at the Yale School of Medicine and created with the Shen atlas) to the REST-Meta-MDD dataset <ref type="bibr">(Yan et al., 2016)</ref>, which only provides preprocessed time series data from the Dosenbach, Power, and Craddock atlases. First, we trained the sex classification model using the Yale dataset's resting-state data from 100 individuals (50 males). We trained a &#120001; 2 -penalized logistic regression model with 10-fold cross-validation to classify self-reported sex. Then, we used &#57920; estimated from the HCP to transform the publicly available preprocessed data (i.e., time series data from the Dosenbach, Power, and Craddock atlases) from the REST-Meta-MDD dataset into the Shen atlas. Data from each source atlas were combined to create a single connectome based on the Shen atlas for the 1005 (585 females) health controls. Finally, the sex classification model created in the Yale dataset was applied to these reconstructed Shen connectomes.  </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.">Results</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1.">Baseline evaluation of CAROT</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1.1.">Reconstructed connectomes are similar to original connectomes</head><p>As shown in Table <ref type="table">1</ref>, the correlation between the reconstructed connectomes and their original counterparts depends on the atlas pairing, with more similar atlases appearing to have higher correlations. For instance, a strong correlation is seen while transforming data from the Craddock atlas to the Shen atlas (&#120588; = 0.48, &#119901; &lt; 0.001). Both atlases are based on clustering time series fMRI data using variants of the Ncut algorithm. In contrast, a weaker correlation exists for transforming data from the Dosenbach atlas (which was constructed based on a metaanalysis of task activations) to the Shen atlas (&#120588; = 0.24, &#119901; &lt; 0.001). Table <ref type="table">S1</ref> and Table <ref type="table">S2</ref> shows the similarity between reconstructed and original connectomes using MSE and the Frobenius norm. Finally, the similarity between the reconstructed and original connectomes was much lower when using Euclidean distance (Fig. <ref type="figure">S1</ref>).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1.2.">Comparison with k-nearest neighbor mapping</head><p>Results using a k-nearest neighbor mapping with &#119896; = 1 are shown in Table <ref type="table">S1</ref> for Euclidean distance and Table <ref type="table">S3</ref> functional distance. Results using a k-nearest neighbor mapping with &#119896; = 5 are shown in Table <ref type="table">S2</ref> for Euclidean distance and Table <ref type="table">S4</ref> functional distance. In all cases, results are worse than CAROT.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1.3.">Using multiple atlases improves CAROT</head><p>Overall, we observed a considerable improvement when including data from multiple source atlases. In every case, using all available data produced more similar connectomes to their original counterparts (all &#120588; &#8242; &#119904; &gt; 0.50; Fig. <ref type="figure">2</ref>). For most atlases, explained variance is more than tripled using CAROT with multiple source atlases compared to using a single source atlas. As shown in Fig. <ref type="figure">2</ref>, while the similarity between reconstructed and original connectomes increases as the number of source atlases increases, strong correlations (e.g., &#120588; &gt; 0.6) can be observed with as little as two or three source atlases, suggesting that a small number of atlases may be sufficient for most applications. Results from averaging time series data were similar to the procedure presented in <ref type="bibr">Dadashkarimi et al. (2022)</ref>. Fig. <ref type="figure">S2</ref> and Fig. <ref type="figure">S3</ref> shows the similarity between reconstructed and original connectomes using MSE and the Frobenius norm.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1.4.">CAROT is insensitive to parameter choices</head><p>No clear pattern of performance change was observed across the tested parameter range, suggesting that CAROT is not affected by the number of frames and participants, and the range of &#120598;'s (Fig. <ref type="figure">S4</ref>). However, using only 100 participants and 100 time points significantly reduced the processing time from 2,975 s to 467 s (&#119901; &lt; 0.05).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1.5.">Mappings generalize across datasets</head><p>When applying the mapping trained in the HCP dataset to the Yale dataset, we observed a strong correspondence between the reconstructed connectomes and their original counterparts with &#120588; &#8242; &#119904; &gt; 0.50 (Shen: &#120588; = 0.59; Schaefer: &#120588; = 0.66; Craddock: &#120588; = 0.71; Brainnetome: &#120588; = 0.54; Power: &#120588; = 0.50; Dosenbach: &#120588; = 0.54). Notably, these correlations are in the same range as those observed when we applied these mappings to the HCP data (i.e., the same dataset used for training the mappings). Together, these results exhibit that mappings can be trained in one dataset and applied to another.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2.">Evaluation of reconstructed connectomes in downstream analyses</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2.1.">Similar patterns of aging are found with reconstructed connectomes</head><p>At the edge level, the reconstructed connectomes for all atlases produced aging results that significantly overlapped with the results from using the original connectomes (&#119901; &lt; 0.00001). Similarly, node-level Fig. <ref type="figure">3</ref>. Reconstructed connectomes give similar aging results as the original connectomes. The top row shows the nodes with the largest number of edges significantly associated with age for original connectomes from the HCP created with the Shen atlas. The bottom row shows the same but using reconstructed Shen connectomes. These spatial maps correlate at &#119903; = 0.61, suggesting that analyses with the reconstructed connectomes produce comparable neuroscientific insights as analyses with the original connectomes. correlations were all significant (&#119903; &#8242; &#119904; &gt; 0.60, &#119901; &#8242; &#119904; &lt; 0.001). Fig. <ref type="figure">3</ref> shows a representative example of node-level results between the reconstructed and original connectomes for the Shen atlas.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2.2.">Reconstructed connectomes predict IQ</head><p>In all cases, connectomes reconstructed using all source atlases performed as well in prediction (i.e., similar correlations between observed and predicted values) as the original connectomes (Fig. <ref type="figure">4A</ref>). The reconstructed connectomes using all source atlases performed better than the original connectomes for the Schaefer and Power atlases. As these atlases displayed the lowest initial prediction (see the red vertical line in Fig. <ref type="figure">4A</ref>), incorporating information from atlases that better predict IQ increases the ability of the reconstructed Schaefer and Power atlases to predict IQ. Similar to other analyses, connectomes reconstructed from a single atlas varied in prediction performance depending on the combination of source and target atlases.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2.3.">Reconstructed connectomes are unique to an individual</head><p>For all analyses, the identification of individuals from their connectomes demonstrated a high success rate that was significantly greater than chance (5%; &#119901; &lt; 0.001; based on permutation testing). (Fig. <ref type="figure">4B</ref>). Reconstructed connectomes performed slightly better than the originals (original connectomes: mean rate=79%; reconstructed connectomes: mean rate=90%). Overall, these results suggest that the reconstructed connectomes retain similar levels of individual differences as their original connectome counterparts.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.3.">CAROT facilitates external validation of connectome-based predictive models</head><p>Overall, the sex classification model demonstrated significant classification accuracy in the Yale dataset (Accuracy = 60.5% &#177; 6%; Naive model accuracy = 50%; &#120594; 2 = 5.8; &#119901; = 0.03). and the REST-Meta-MDD dataset (Accuracy = 66.5%; Naive model accuracy = 52.3%; &#120594; 2 = 13.9; &#119901; = 0.0002) when using the reconstructed connectomes. To better contextualize this result, we created connectomes for the Dosenbach, Power, and Craddock atlases in the Yale dataset, created a sex classification model for connectome type, and generalized these models to the REST-Meta-MDD dataset. The generalization accuracy of reconstructed connectomes (Shen: 66.5%) was numerically superior to the generalization accuracies based on original connectomes (Dosenbach: 59.6%, Power: 59.0%, and Craddock: 64.5%), suggesting that using CAROT and reconstructed connectomes perform as well as original connectomes in generalizing a preexisting predictive model.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.4.">Software availability and implementation</head><p>To facilitate open science and the broader adoption of CAROT, we have created <ref type="url">http://carotproject.com/</ref>. This web application allows end-users to convert time series data from the Shen, Schaefer, Craddock, Brainnetome, Power, and Dosenbach atlases to connectomes for any of the other atlases. As a web application, it works without software installation and across multiple platforms (e.g., Windows, Linux, Ma-cOS, Android). The only requirement is a modern web browser, such as Google Chrome. Please note that any data used on <ref type="url">http://carotproject. com/</ref> remains on the local computer and is never uploaded or stored on a remote server. In addition, we provide the CAROT software and associated canonical mapping as opensource at <ref type="url">https://github.com/ dadashkarimi/carot/</ref>.</p><p>Specifically, we provide functionality: (&#119894;) to generate the cost matrix based on the functional distance for time series data from two different atlases; (&#119894;&#119894;) to generate the mapping &#57920; between two atlases based on the cost matrix defined above; and (&#119894;&#119894;&#119894;) to convert time series data from one or more source atlases to connectomes based on a target atlas. In addition, we provide canonical mappings based on the HCP data to map between every pair of the Shen, Schaefer, Craddock, Brainnetome, Power, and Dosenbach atlases. Based on the results present here, these mappings should work in other datasets, saving researchers the need to regenerate these mappings for themselves. We will look to provide mappings between additional atlases as they become available. CAROT is implemented in Python 3, building on the Python Optimal Transport (POT) toolbox <ref type="bibr">(Flamary and Courty, 2017)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.">Discussion and conclusions</head><p>Neuroimaging is at a crossroads, facing a need to increase replication efforts and use larger-than-ever samples <ref type="bibr">(Yarkoni, 2009;</ref><ref type="bibr">Szucs and Ioannidis, 2020;</ref><ref type="bibr">Marek et al., 2022)</ref>. These are tough challenges for functional connectomics, where connectomes created from different atlases are incomparable. As such, processed connectomes or connectomic results from different atlases must be reprocessed from raw data. Here, we introduced and validated CAROT, a method that will allow us to overcome the limitation of not being able to combine connectomes and results from different atlases. CAROT allows functional connectomes from different atlases to be transformed into a standard atlas and combined in downstream analyses. CAROT relies on optimal transport to find a frame-to-frame mapping of fMRI time series data used to create functional connectomes for a missing atlas. We show that these reconstructed connectomes are highly similar to the original ones and perform similarly in downstream analyses. Specifically, reconstructed connectomes retain sufficient individual differences to predict IQ and uniqueness to identify individuals. Finally, we provide a real-world example of how a connectome-based predictive model (based on the Shen atlas) can be generalized to open-source, preprocessed data that was not processed with the Shen atlas.</p><p>Critically, the mappings between connectomes are general to the dataset used to create the mappings. As such, a single set of canonical or gold-standard mappings can be trained with one dataset and distributed to work in new datasets without retraining the mappings. Accordingly, we have released initial mappings based on the HCP data to map between every pair of the Shen, Schaefer, Craddock, Brainnetome, Power, and Dosenbach atlases as part of our software. We hope that CAROT and <ref type="url">http://carotproject.com/</ref> will save researchers time and effort by eliminating data reprocessing and increasing the ease of performing mega-analysis and external validation efforts.</p><p>Across analyses, we show that CAROT produces reconstructed connectomes that achieve similar results in IQ prediction and fingerprinting as connectomes created directly from the data. This observation holds across a range of atlases that differ in their construction and constituent brain regions. While atlas pairs that are more similar in terms of their construction and coverage produced better pair-wise mappings (e.g., the Craddock and Shen atlases were created with Ncut algorithms and cover the cortex, sub-cortex, and cerebellum <ref type="bibr">Shen et al., 2013;</ref><ref type="bibr">Craddock et al., 2012)</ref>, using multiple source atlases is even better. Likely, combining transformed time series averages out the minor idiosyncrasies in the individual mappings between atlas pairs, producing more stable results. Overall, when using multiple source atlases, CAROT is robust to differences between the source and target atlases.</p><p>While including all available data generated the most similar connectomes, a strong correspondence between reconstructed and original connectomes was observed when as few as 2 or 3 different source atlases were used. This suggests that an exhaustive list of every possible atlas does not need to be released but rather only including a few different atlases could vastly increase the utility of any released preprocessed data. Balancing the utility of released data and the effort to release it is a delicate task. If the data is not in a convenient form for end-users, it will not be used and if the effort is too high to share data, data will not be shared. We believe that CAROT can help balance these considerations by increasing the utility of the shared data with only a slight increase in effort for sharing the data.</p><p>Given that multiple source atlases produce more robust results, we encourage future studies to release preprocessed data from a few atlases. Not only does this increase the chances that the needed atlas is available for an end-user, but it also better facilitates the use of the data when the needed atlas is unavailable. Some open-source datasets release data from multiple atlases (e.g., REST-Meta-MDD). That CAROT performs better with multiple atlases may be relevant for large-scale projects, like ABCD and UK Biobank, that share raw data and curated releases. Given that these datasets range in the several thousands of participants, curated data from multiple atlases further facilitates the use of this data by smaller labs and research groups with a more expansive range of atlases and tools. Additionally, CAROT may help with connectome-based meta analyses, of which there are few, by allowing results to be pooled across studies. Coordinate-based meta analyses are popular for task activation and brain morphometry studies <ref type="bibr">(Laird et al., 2005;</ref><ref type="bibr">Yarkoni et al., 2011;</ref><ref type="bibr">Eickhoff et al., 2009)</ref> and are possible as most neuroimaging studies rely on a common template (i.e., the MNI template). This common template allows for spatial comparisons and pooling of results across different studies.</p><p>There are a few notable strengths and limitations of CAROT. First, CAROT appears to be robust to the choices of algorithmic parameters such as the number of fMRI frames, the sample size used for training, the choice of cost matrix, and the equation used to solve the optimal transport problem. We showed that the method is not sensitive to parameter search in part due to the large amount of spatial and temporal autocorrelation in fMRI data <ref type="bibr">(Shinn et al., 2021)</ref>, which allows something as complex as a connectome to be compactly parameterized. In an earlier MICCAI work <ref type="bibr">(Dadashkarimi et al., 2022)</ref>, we solved more complex joint optimization problems across all atlases. In this work, we instead average the resulting time series from CAROT. The averaging approach is less time-consuming and produces similar results. The main use case of CAROT is to harmonize connectomes across shared data. While there are some scenarios where CAROT would be useful for labs using their own datasets (e.g., the voxel/vertex-wise processed data is lost or delete), most will be able to directly calculate a connectome from the raw data.</p><p>Future work includes generalizing CAROT to other functional time series data -such as electroencephalography (EEG), functional nearinfrared spectroscopy (fNIRS), or even wide-field CA2+ imaging data in mice <ref type="bibr">(Lake et al., 2020)</ref> -where spatial and temporal autocorrelation patterns will be different. One limitation is that since CAROT is based on time series data, it is only appropriate for functional connectomes. Nevertheless, the ''missing atlas'' problem also exists for structural connectomes, for which no solution exists. Hence, the problem still exists for studies looking to uncover structure-function relationships at the connectome level. However, perhaps CAROT based on Euclidean distance rather than functional distance may be a reasonable approach to map between atlases used to create structural connectomes as well as map between different atlases used in morphometric analyses (such as the Desikan-Killiany and Destrieux atlases used in FreeSurfer). While we tested CAROT with an extensive range of atlases, we could not test CAROT in every functional atlas, as there are many. Nevertheless, given the range in atlas size (200-500 nodes) and atlas coverage (whole-brain and cortical only), we expect CAROT to work well for modern atlases not tested here and look to update CAROT when a new generation of brain atlases emerges.</p><p>In sum, CAROT allows a connectome generated based on one atlas to be directly transformed into a connectome based on another without needing raw data. These reconstructed connectomes are similar to and, in downstream analyses, behave like the original connectomes created from the raw data. Using CAROT on preprocessed open-source data will increase its utility, accelerate the use of big data, and help make generalization and replication efforts easier.</p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="4" xml:id="foot_0"><p>log(&#119899;) &#120578;</p></note>
		</body>
		</text>
</TEI>
