{'fraction_non_alphanumeric': 0.031957306545283316, 'fraction_numerical': 0.011866269031549208, 'mean_word_length': 5.310618066561014, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Quantifying the Reconfiguration of Intrinsic Networks during Working Memory

Rapid, flexible reconfiguration of connections across brain regions is thought to underlie successful cognitive control. Two intrinsic networks in particular, the cingulo-opercular (CO) and fronto-parietal (FP), are thought to underlie two operations critical for cognitive control: task-set maintenance/tonic alertness and adaptive, trial-by-trial updating. Using functional magnetic resonance imaging, we directly tested whether the functional connectivity of the CO and FP networks was related to cognitive demands and behavior. We focused on working memory because of evidence that during working memory tasks the entire brain becomes more integrated. When specifically probing the CO and FP cognitive control networks, we found that individual regions of both intrinsic networks were active during working memory and, as expected, integration across the two networks increased during task blocks that required cognitive control. Crucially, increased integration between each of the cognitive control networks and a task-related, non-cognitive control network (the hand somatosensory-motor network; SM) was related to increased accuracy. This implies that dynamic reconfiguration of the CO and FP networks so as to increase their inter-network communication underlies successful working memory.


Introduction
Humans are remarkably adaptable due, in part, to the flexibility with which different brain regions and functional networks are engaged when confronted with a constantly changing environment. It has been hypothesized that the pattern of interactions across neural regions is critical for cognition [1,2]. These theories emphasize the existence of rapid and transient changes in connections across neurons due to changes in one's current environment. It has been demonstrated that such rapid changes in neural communication are detectable using functional MRI (fMRI), as measured both when participants are at rest [3,4] and when they are engaged in a specific task [5,6].
In the current study, we sought to elucidate how brain networks adaptively change in a rapid, transient manner in response to changing cognitive demands. Network organization was quantified using functional connectivity analyses with fMRI data. There is currently a large focus on studying low-frequency (,.1 Hz) bloodoxygen-level-dependent (BOLD) fMRI fluctuations that are observed while an individual is at rest. Brain regions that are functionally connected at rest are thought to reflect an intrinsic state, with the implication that intrinsic connectivity may underlie or predict numerous qualities of an individual, from cognitive ability [7][8][9] to disease state [10] to age [11]. Such intrinsic networks are reliable both within individuals [12] and across populations [13].
Several intrinsic networks that have been reliably detected are thought to be related to cognitive control, or the ability to flexibly adapt thoughts and behavior in a goal-directed manner through processes such as selective attention, maintenance, updating, and the inhibition of irrelevant information. Many intrinsic cognitive control networks have been identified; in the current study we focused on two such networks: the cingulo-opercular (CO; thought to underlie task-set maintenance and tonic alertness) and the fronto-parietal (FP; thought to underlie adaptive, trial-by-trial updating) networks [7,14]. The purported roles of these networks in cognitive control have been inferred mainly from previous studies examining the functions of individual regions within each network, as opposed to examining network interactions (for a rare exception, see: [15]).
While most research probing intrinsic networks has focused on the resting state, some studies have investigated intrinsic network organization during task performance. Overall, whole-brain intrinsic network organization as measured during rest seems to remain fairly similar when participants are engaged in cognitive tasks [16], although the degree of similarity is different for different areas of the brain (i.e., multimodal association areas have been found to display more similar functional connectivity with the rest of the brain during task as compared to rest than subcortical and primary motor areas [17]). When honing in on task-relevant intrinsic networks, there is some evidence that they encompass more regions during task as compared to rest [18].
No existing study examining intrinsic networks during a task has focused on specific cognitive control networks, or probed how intrinsic network reconfiguration during tasks contributes to performance. The goal of the current study, therefore, was three-fold: 1) to investigate functional connectivity of the intrinsic CO and FP networks during cognitive control; 2) to determine how these groups of regions, acting as networks, reconfigure from intrinsic connectivity patterns when confronted with a specific cognitive environment; and 3) how that reconfiguration relates to cognitive control ability. Specifically, we quantified how intrinsic network connectivity changed during a task that tapped working memory (WM) function. Based on workspace theories of cognition [19], we theorized that these two intrinsic networks, which are distinct at rest [7], would become more integrated under conditions requiring increased cognitive control. We chose to probe this pattern of reconfiguration during WM because of previous findings using magnetoencephalography that the entire brain becomes more globally efficient, and therefore more integrated, with increased WM demands [20].

Ethics Statement
All procedures were approved by the University of California, Berkeley Committee for the Protection of Human Subjects. All participants provided written informed consent.
Participants 39 healthy young adults (age range 18-29, 30 female) recruited for three separate studies (two of which have been published: [21,22]) were included in this analysis. Participants were excluded from the original studies for any history of neurological or psychiatric disorders, an episode of loss of consciousness, use of psychotropic drugs, a history of substance abuse, MRI contraindications, or, for Study 1, abnormal or infrequent menstrual cycles or use of a hormonal birth control. All participants completed more than one session; only data from their first session were included here.
The procedure of the first session differed for each of the three studies. Participants of Study 1 completed two cognitive control tasks, always in the same order: first an N-back WM task with 0-, 2-, and 3-back blocks, then the Selective WM task analyzed here. It is important to note that data from the N-back task were analyzed using the same methods as detailed below, with equivalent results. They are not discussed further because of the small number of participants with complete N-back data (n = 15) and therefore limited power to detect significant results. After the cognitive control tasks, participants completed functional localizers and a resting state scan. Participants of Study 2 completed a resting state scan, followed by the Selective WM task analyzed here, and concluded the session with a second resting state scan and a functional localizer. Participants of Study 3 completed only the Selective WM task. While the research questions were different for each of the three studies, it is not expected that the specific procedures influenced functional connectivity during or performance on the Selective WM task.
For the current analyses, participants were included only if they met the following criteria: complete datasets (i.e., no incomplete scans or missing behavior), minimal motion during fMRI scans, acceptable task performance, and functional connectivity values that were not outliers. Data was considered complete only if both behavioral and neuroimaging data existed for at least 3 complete runs of each task condition (see below task description for details). Minimal motion was defined as no spikes greater than 2 mm. Acceptable task performance was defined a priori as: 1) response rate of at least 85%; and 2) accuracy or median response time (RT) within two standard deviations of the group mean in any condition. Outliers for functional connectivity values were defined a priori as average connectivity greater than two standard deviations from the group mean.
These inclusion criteria resulted in 15 participants from Study 1, 16 participants from Study 2, and 8 participants from Study 3, for a total of 39 participants.

Experimental Task
Data from a Selective WM task were analyzed here. The task consisted of 16 (Study 1) or 20 (Studies 2 and 3) runs of approximately two minutes each ( Figure 1). It was a modified 1back task with high demands on selective attention. Participants were presented with a series of face or scene images that appeared sequentially. Each image was on the computer monitor for 600 ms. There was a jittered delay between consecutive images (randomly ordered: 2400, 4400, or 6400 ms) to allow for eventrelated analyses. Each run contained 20 trials (10 faces and 10 scenes in pseudo-random order). There were four task conditions that differed in WM load: 'Categorize', 'Select Faces', 'Select Scenes', and 'Select Both'. Participants responded to each stimulus with one of two buttons using the index and middle fingers of their right hand. During Categorize runs, participants indicated whether the stimulus was a face (left button press) or a scene (right button press). During Select Faces runs, participants were instructed to attend only to face stimuli and indicated whether each face matched the previous face (right button press). Nonmatch face stimuli and unattended trials (all scenes) were responded to with a left button press. During Select Scenes runs, participants were instructed to attend only to scene stimuli and indicated whether each scene matched the previous scene (right button press). Non-match scene stimuli and unattended trials (all faces) were responded to with a left button press. Because WM load was comparable for Select Faces and Select Scenes runs, these were combined and referred to as 'Select Relevant' runs. During Select Both runs, participants were instructed to attend to both the face and scene stimuli and indicated whether the current stimulus matched the previous stimulus of the same type (i.e., whether the current face matched the previous face and whether the current scene matched the previous scene; right button press). All nonmatches were responded to with a left button press.

fMRI Data Acquisition and Processing
Imaging data were collected on two identical 3-Tesla Siemens MAGNETOM Trio whole-body MR scanners (data for Study 1 were collected at the University of California, San Francisco Neuroscience Brain Imaging Center; data for Studies 2 and 3 were collected at the University of California, Berkeley Brain Imaging Center). A 12-channel head coil was used for all studies. Wholebrain functional data (1824 volumes for Study 1; 2280 volumes for Studies 2 and 3) were acquired using a T2*-weighted echo-planar imaging (EPI) pulse sequence using GRAPPA with acceleration factor 2 for Study 1 (TE = 27 ms), and no parallel imaging for Studies 2 (TE = 24 ms) and 3 (TE = 32 ms). All studies collected 18 axial slices parallel to the AC-PC line (interleaved for Studies 1 and 3; descending for Study 2). Slices were 5 mm thick for Studies 1 and 2, and 3 mm thick for Study 3 (interslice distance = 0.50 mm, TR = 1000 ms, FA = 62u, matrix 64 6 64 for all studies). The field of view was 225 mm for Studies 1 and 2 and 230 mm for Study 3. A high-resolution T1-weighed structural 3D MP-RAGE was also acquired for all studies (160 slices, slice thickness 1 mm, TR = 2300 ms, TE = 2.98 ms, FA = 9u, matrix 256 6 256, field of view 256 mm). An LCD projector backprojected visual stimuli onto a screen mounted to the RF coil. E-Prime software (Psychology Software Tools, Pittsburgh, PA) was used to present stimuli and record responses and latencies via a fiber-optic motor response recording device.
Processing was carried out using FSL 4.1 (FMRIB's Software Library: www.fmrib.ox.ac.uk/fsl). Images were corrected for motion using MCFLIRT and the brain was extracted from the skull using BET.

Univariate fMRI Data Analysis
The univariate analyses were conducted under the assumptions of the general linear model (GLM) in FSL 4.1 using FEAT (version 5.98). Images were spatially smoothed with a 5 mm FWHM isotropic Gaussian kernel and temporally filtered with a high-pass filter (100 sec cutoff). Time-series statistical analyses were carried out using FILM with local autocorrelation correction (Gaussianweighted least squares straight line fitting, with sigma = 33.0 s). Individual events were modeled for correct face and scene stimuli separately for each block, using two regressors: one of constant duration (the duration was defined as the average correct RT for that event-type) and one that was RT-modulated (the duration of each event was the RT for that particular trial). In this manner, all effects that were due purely to differences in RT could be controlled for. Each event was defined as a delta function. All regressors of interest were created by convolving each event of interest with a canonical (double-gamma) hemodynamic response function [23]. In addition to regressors of interest, incorrect and missed trials, estimated motion parameters, and temporal deriv-atives for each regressor were included as nuisance regressors. Linear contrasts were performed for the comparison of interest.
To determine whether regions involved in each contrast were specific to the conditions examined or general to cognitive control, we conducted two cognitive control-related contrasts. First, we examined the parametric condition effect (referred to as the 'linear effect'): the linear increase across Categorize, Select Relevant, and Select Both trials. Next, we examined the difference between trials requiring WM and all other trials within the WM blocks (referred to as the 'WM effect'): all Select Both trials (faces and scenes) + relevant Select Relevant trials (faces in Select Faces blocks and scenes in Select Scenes blocks) -irrelevant Select Relevant trials (scenes in Select Faces blocks and faces in Select Scenes blocks).
A two-step registration process was applied using FSL 4.19s FLIRT module for linear registration. EPI functional images were first registered to the high-resolution structural image (7 degrees of freedom), then the structural image was registered to standard MNI152 space (12 degrees of freedom). These transformation matrices were combined to provide the transform from EPI to MNI space, which was applied to the results from the above analyses.
Data were combined across runs for each participant using a fixed-effects model, and then modeled using mixed effects at the group level with FEAT's FLAME model (Stage 1 only). Outlier deweighting was performed using a mixture modeling approach [24]. Results were thresholded at a whole-brain level using clusterbased Gaussian random field theory, with a cluster-forming threshold of z . 2.3 and a whole-brain corrected cluster significance level of p ,.05.

Selection of Regions of Interest
Intrinsic network regions of interest (ROIs) were taken from four separate networks identified during rest utilizing graph theoretical techniques and as reported by Dosenbach and colleagues [7] and Power and colleagues [25]. Our analyses focused on the ROIs of the CO and FP cognitive control networks [7]. To test whether results were specific to the cognitive control networks, we additionally included ROIs from two non-cognitive control networks [25]: a task-related network (the hand somatosensory-motor network [SM]) and a non-task-related network (the auditory network [AU]) ( Figure 2; Table 1). The original CO and FP ROI coordinates were reported in Talairach space; thus they were transformed to MNI space using the Matlab function tal2 mni.m for the current study (the other network ROI coordinates were originally reported in MNI space). Intrinsic ROIs were created by defining 6 mm radius spheres around the center MNI coordinates of each of the ROIs. The CO network consisted of seven ROIs distributed throughout the anterior prefrontal cortex, anterior cingulate cortex, anterior insula/frontal operculum, and thalamus. The FP network consisted of eleven ROIs distributed throughout dorsal prefrontal cortex, midcingulate cortex, intraparietal regions, and precuneus. The originallyreported SM network consisted of 30 ROIs; due to a slightly limited field of view in the data analyzed here, 12 ROIs that were not within the functional data for all participants were not included, leaving 18 ROIs distributed throughout supplementary motor cortex, precentral gyrus, postcentral gyrus, and superior parietal cortex. The AU network consisted of 13 ROIs distributed throughout temporal cortex, ventral parietal cortex, and parietal and occipital operculum.

Multivariate Functional Connectivity Analysis
To calculate the task-related functional connectivity specifically for each condition of interest, we implemented a beta-series correlational analysis [26] using least squares estimation (as described by Mumford and colleagues [27]). Briefly, we modeled each event of interest with a separate GLM with two regressors: 1) the event and 2) all other trials and all nuisance regressors. This resulted in a parameter estimate (beta value) for each trial that was robust to collinearity caused by trials in close proximity to each other. An average beta value across all voxels within each intrinsic ROI was calculated, and all average beta values were temporally sorted across all events for a given condition (i.e., correct Select Both trials). A correlation between the sorted beta values (a betaseries) for each pair of ROIs was calculated, resulting in a 49649 connectivity matrix for each condition of interest. The correlation coefficients were standardized into z-scores in order to allow for statistical conclusions to be made from the magnitudes of the correlations.
To determine average network connectivity, all correlations within each network (referred to as within CO , within FP , within SM , and within AU functional connectivity) and involving ROI pairs that spanned two networks (referred to, for example, as between COFP or between FPSM functional connectivity) were averaged. For between-network connectivity, all possible pairs of ROIs that included regions from two different networks were averaged. So as to not artificially inflate average connectivity due to proximity, the correlation between any pair of regions within 20 mm from each other was not included in any of the averages [25].
Because the CO and FP networks in which we were interested are hypothesized to be cognitive control networks, we focused our analyses on trials with the highest cognitive control demands (Select Both face/scene trials). We also probed the trials with minimal cognitive control demands (Categorize face/scene trials) as a non-cognitive control comparison.

Overlap between Group Activation Maps and Intrinsic Networks
First, we conducted univariate group analyses to determine whether the regions comprising the CO and FP intrinsic cognitive control networks were involved in a task that engages WM. Since our aim was to determine the role of these networks in cognitive control, we conducted two group analyses: the first focused on regions whose activity increased linearly with increased cognitive control demands (linear effect; Categorize trials , Select Relevant trials , Select Both trials) and the second contrasted all trials requiring WM with all other trials (WM effect; all relevant trials [in Select Both and Select Relevant blocks] -all irrelevant trials [in Select Relevant blocks]) (Figure 3a,b). Both contrasts showed similar significant group maps, although, as expected, there were some contrast-specific differences, including differences in extent, as well. This indicates that similar regions are involved in different aspects of cognitive control during the Selective WM task. To examine how each group map related to the intrinsic CO and FP networks, we focused our analyses on the conjunction between the two. The linear effect involved 2 CO ROIs (in the anterior insula/ frontal operculum) and 4 FP ROIs (in the dorsal frontal cortex and intraparietal sulcus). When assessing the WM effect, the same 2 CO ROIs, as well as 3 others (in the anterior cingulate cortex and thalamus), and the same 4 FP ROIs were engaged (Figure 3c). Therefore, despite evidence that the CO and FP cognitive control networks are dissociable at rest [7,28], there was engagement of regions from both intrinsic networks during both cognitive control contrasts. This result is in line with previous research demonstrating the co-activation of regions in the CO and FP networks during a range of cognitive tasks [29][30][31]. ROIs were defined from two cognitive control networks [7] and two non-cognitive control networks [25]. Red spheres (7) are regions of the cingulo-opercular (CO) network, blue spheres (11) are regions of the fronto-parietal (FP) network, green spheres (18)

Task-Related Connectivity of Intrinsic Networks
To examine network reconfiguration during cognitive control, we took advantage of the beta-series correlation method [26,27]. This allowed us to extract connectivity information specifically from individual trials with the highest and the lowest cognitive control demands. We calculated average connectivity within and between the intrinsic CO and FP networks during task performance. Since our aim was to investigate the relationship between within-network and between-network connectivity, we compared total within CO&FP connectivity (the average of within CO connec-tivity and within FP connectivity) and between COFP connectivity. This allowed us to determine whether there was a difference in overall within-versus between-network connectivity during trials with high cognitive control demands (Select Both trials) as compared to trials with minimal cognitive control demands (Categorize trials). We found greater within-as compared to between-network connectivity for Select Both (t(38) = 2.15, corrected p ,.038) and for Categorize (t(38) = 5.41, corrected p ,.0001) trials, FDR-corrected for 2 comparisons. Critically, when directly comparing within CO&FP -between COFP for Select Both as compared to Categorize trials, we found that the difference significantly decreased during Select Both trials (paired t(76) = 2.32, p = .02; Figure 4). In other words, during conditions with high cognitive control demands, between-network connectivity significantly increased relative to within-network connectivity. This pattern of results was specific to the cognitive-control networks: there was no increase of between-relative to withinnetwork connectivity for any other pair of networks during cognitive control (COSM, COAU, FPSM, FPAU, or SMAU; all ps ..20).

Relationships between Task-Related Connectivity and Performance
Last, we examined the relationship between task-related functional connectivity of the intrinsic networks and task accuracy. Once again, we focused on the task conditions with the highest cognitive control demands (Select Both trials). Because we found that between-cognitive control network connectivity increased during Select Both trials, we limited our analyses to betweennetwork connectivity of task-relevant networks (FDR-corrected for three multiple comparisons). While between COFP network connectivity and accuracy were not correlated (corrected p = .29), participants who were more accurate had greater connectivity between each cognitive control network and the non-cognitive control, task-related network (significant between COSM connectivity and accuracy correlation: r = 0.40, corrected p = .03; strong trend between FPSM connectivity and accuracy correlation: r = 0.32, corrected p = .07; Figure 5a,b). This relationship was specific to connectivity with the hand somatosensory-motor taskrelated network. Correlations relating accuracy to connectivity  . Average within CO&FP and between COFP network connectivity during the Selective WM task. A comparison of network connectivity during Categorize (minimal cognitive control) and Select Both (high cognitive control) trials revealed that while average within CO&FP connectivity did not change, the relative contribution of average between COFP connectivity increased with increased cognitive control demands. doi:10.1371/journal.pone.0106636.g004 with the non-task-related auditory network (between COAU and between FPAU ) were non-significant (both ps corrected for two posthoc comparisons ..12).

Discussion
The goal of this study was to examine how the intrinsic CO and FP networks reconfigured during cognitive control and how changes in network organization were beneficial to performance. We found that the intrinsic cognitive control networks became more integrated with each other during conditions of increased cognitive control demands (i.e., functional connectivity between regions spanning the two networks increased) and, crucially, that increased integration between the cognitive control networks and other functional networks involved during cognitive control (i.e., functional connectivity between regions spanning each of the cognitive control networks and the non-cognitive control, taskrelated SM network) was related to successful cognitive control.
First, consistent with previous results from fMRI studies of resting state data [7,15,28], we observed that the intrinsic CO and FP networks were functionally connected in our participants, and that within-network connectivity was significantly higher than between-network connectivity, validating the existence of these networks in our participants.
We also observed that the Selective WM task engaged regions in both the intrinsic CO and FP networks, a result consistent with the literature concluding that these networks are involved in cognitive control [7,29,32] and are typically co-activated during cognitive control tasks [30,31]. Critically, while two different cognitive control contrasts engaged a different subset of CO and FP ROIs, there was a high degree of overlap and both contrasts engaged regions that spanned both intrinsic networks. There is evidence that these are distinct networks at rest [7], and lesion work suggests that they may even operate independently [28]. However, during performance of our WM task when a high level of cognitive control was required, both networks were not only involved [30], but interacted with each other more so than during a condition with minimal cognitive control demands [15].
While within CO&FP connectivity was consistently higher than between COFP connectivity during all task blocks, the difference was smaller during trials requiring the greatest cognitive control. This finding indicates that greater integration between distinct cognitive control networks occurred during increased cognitive control demands. Further, relating connectivity strength to behavior revealed that the magnitude of integration between each cognitive control network and the non-cognitive control, task-related network (SM) was critical for successful task performance. Participants who were more accurate on trials with high cognitive control demands (Select Both trials) displayed greater integration between the CO and SM networks, and between the FP and SM networks. This was despite the fact that between COSM and between FPSM connectivity did not increase during Select Both trials relative to Categorize trials. This may be because while increased CO-FP integration is a universal component of cognitive control (i.e., it increases in all participants), increased integration between cognitive control networks (CO and FP) and noncognitive control, task-related networks (i.e., SM) is a key mechanism underlying individual differences in cognitive control ability. It should be noted that while the magnitude of the between COSM connectivity correlation with accuracy was numerically larger than the magnitude of the between FPSM connectivity correlation with accuracy, the correlations were not significantly different from each other (z = 0.92, p = .36). These results imply that not only is communication among cognitive control networks important for WM, but communication between cognitive control networks and other task-related networks, such as the SM network in the Selective WM task, is critical as well.
This increased integration underlying increased performance has been previously observed, with greater integration across the entire brain underlying increased IQ across individuals [9], increased behavioral performance on a continuous performance task [33], and increased speed on an N-back WM task [20]. This study complements and extends those findings in two ways. First, it demonstrates that this observed increase in integration may be localized to task-relevant networks, given that integration with a non-task-related network (AU) was not increased with increased cognitive control demands, nor was it related to performance. Prior results indicating increased global integration related to better performance may therefore have been driven by changes in integration specific to cognitive control and other task-related networks. Second, it implies that intrinsic cognitive control networks, detected at rest, play a core role in the actual execution of cognitive control, since during cognitive control both a selective increase in integration between the CO and FP cognitive control networks, as well as a positive relationship between CO/FP integration with the non-cognitive control but task-related SM network and performance, was observed. While the current study cannot speak to the directionality of these results, future research should examine whether the cognitive control networks cause changes in non-cognitive control, task-related networks during cognitive control, and if that causality influences cognitive control performance.
These findings are consistent with ''workspace'' theories that propose that better performance on cognitively demanding tasks requires the brain to transiently become more globally efficient (more integrated), even though it is more costly metabolically (i.e., it takes more energy to send information across longer connections), as compared to rest or less cognitively-demanding environments [19,20]. Such rapid alterations in functional connections in response to changes in cognitive demands have been theorized to be a crucial aspect of cognition [1,2]. We have demonstrated that not only is increased integration, as measured by functional connectivity using fMRI, observed in situations with increased cognitive control demands, but that intrinsic cognitive control networks are a core aspect of this integration.
In conclusion, we have provided evidence that reconfiguration of intrinsic cognitive control networks occurs in an adaptive manner so as to address current cognitive demands, as reflected in relationships with successful performance. Importantly, our results directly support the assumption that both the intrinsic CO and FP networks underlie cognitive control during task performance. Future work exploring the mechanisms that explain how these networks interact during cognitive performance, both with each other and with other intrinsic networks, and whether they cause task-specific changes in other networks, will be useful in gaining a more complete view of how the intrinsic brain reconfigures to adapt to one's current environment.