# Positive affect, surprise, and fatigue are correlates of network flexibility

## Abstract

Advances in neuroimaging have made it possible to reconstruct functional networks from the activity patterns of brain regions distributed across the cerebral cortex. Recent work has shown that flexible reconfiguration of human brain networks over short timescales supports cognitive flexibility and learning. However, modulating network flexibility to enhance learning requires an understanding of an as-yet unknown relationship between flexibility and brain state. Here, we investigate the relationship between network flexibility and affect, leveraging an unprecedented longitudinal data set. We demonstrate that indices associated with positive mood and surprise are both associated with network flexibility – positive mood portends a more flexible brain while increased levels of surprise portend a less flexible brain. In both cases, these relationships are driven predominantly by a subset of brain regions comprising the somatomotor system. Our results simultaneously suggest a network-level mechanism underlying learning deficits in mood disorders as well as a potential target – altering an individual’s mood or task novelty – to improve learning.

## Introduction

The human brain is a complex network composed of neural elements and their interconnections with one another1, 2. One approach for interrogating the brain’s network organization is via the so-called resting state fMRI paradigm, wherein blood oxygen level dependent (BOLD) signals are recorded from subjects in the absence of any explicit task instructions. The functional connectivity (FC) between pairs of brain regions is estimated as the statistical interdependency – e.g. temporal correlation, coherence, mutual information, etc. – of spontaneous fluctuations in their BOLD time series, and can be interpreted as a measure of communication between brain regions3, 4. FC networks can be constructed by calculating FC for all pairs of brain regions. The result is a square matrix whose elements represent the magnitude of FC between each pair of regions.

Recent work has shown that FC network organization fluctuates over timescales of seconds to minutes5,6,7, opening the possibility of studying the time-varying properties of FC networks by tracking the instantaneous communication patterns among brain regions8,9,10,11. One means of characterizing dynamic FC networks is by their community structure12,13,14, which refers to decompositions of a network into densely-interconnected sub-networks or “communities”15, 16. In the context of FC networks, communities represent collections of brain regions that tend to preferentially connect to (communicate with) one another, while weakly connecting to the rest of the brain17,18,19. The community structure of dynamic networks, then, tracks the ongoing formation and dissolution of communities over time20, 21. Such a measure makes it possible to identify the brain’s temporal core and periphery of flexible brain regions that tend to change their community assignment over time versus inflexible ones that maintain a consistent assignment22.

Intriguingly, network flexibility has been shown to correlate with both learning rate and cognitive flexibility12, 23. These abilities are not static but can vary considerably over time and as a function of an individual’s affective state. For example, learning often shows an “inverted-U” relationship with arousal, with optimal learning at moderate levels of arousal24. Together, these findings imply that the influence of affective state on learning and cognition may involve modulations of brain network flexibility. However, virtually nothing is known about such modulations.

A potential simple and intuitive affect-related driver of daily variations in brain network flexibility is mood25. Mood can fluctuate normally over time scales ranging from minutes to weeks. Moreover, mood can influence learning, for example by biasing the perception of reward outcomes26. These biases are thought to arise from neurophysiological changes in neurotransmitter systems linked to arousal27. A second potential driver of fluctuations in network flexibility is surprise, which refers to acute mismatches between expectation and reality28. Surprise plays a key role in memory formation29, associative learning30, error correction31, and the allocation of attentional resources32. However, the network-level mechanisms of these processes in the human brain remain largely unknown.

We hypothesized that different affective components would be associated with enhanced brain network flexibility, potentially explaining the observations that more flexible brains display greater cognitive flexibility and better learning12, 23 and may be related to attentional state33. To address this hypothesis, we leveraged data from the MyConnectome Project, which included extensive longitudinal neuroimaging and behavioral data from a single subject acquired over a period of approximately one year34, 35. We extracted two affect-related indices from the behavioral data – one tracked the subject’s mood while the other tracked surprise – and showed that these indices were correlated with global network flexibility, a relationship that was driven primarily by the flexibility of the somatomotor network. These results simultaneously suggest a network-level mechanism underlying learning deficits in mood disorders as well as a potential target – altering an individual’s mood or state of surprise – to improve learning.

## Results

To address the hypothesis that network flexibility is associated with mood, we analyzed data collected as part of the MyConnectome Project, which includes extensive longitudinal neuroimaging and behavioral data from a single participant acquired over a period of approximately one year34, 35. As part of the imaging protocol, the participant underwent multiple resting state functional magnetic resonance imaging (fMRI) scans. Using a novel, participant-specific parcellation, the cerebral cortex was divided into 630 non-overlapping regions. Each of these regions was also assigned to a cognitive system, explicitly representing a category of cognitive function (Fig. S1).

Using these data, we estimated network flexibility for each region and on average across the brain. This entailed first dividing regional fMRI BOLD time series into non-overlapping windows. Within each window, we estimated functional connectivity between all pairs of brain regions using a magnitude-squared wavelet coherence12. The result was an ordered set of functional connectivity matrices, each of which represented a layer in a multi-layer network representation21. Functional connectivity measures the strength of a statistical relationship between brain regions’ activity over time and is usually interpreted as the propensity with which two brain regions communicate with one another4. In line with this interpretation, each layer in the multi-layer representation can be viewed as an estimate of the instantaneous communication pattern among brain regions8. Next, we used a community detection algorithm to partition brain regions into communities across layers (windows)20 (see Fig. 1 for a schematic illustrating the processes of network construction, multi-layer network model, community detection, and flexibility estimation). Intuitively, communities can be thought of as segregated sub-networks: brain regions assigned to the same community are more likely to be strongly connected to one another compared to regions assigned to different communities19. In the context of human brain networks, communities represent the boundaries between cognitive sub-systems14 and are believed to promote functional specialization17. Based on these detected community assignments, we calculated the flexibility of each brain region as the fraction of times that its community assignment changed from one layer to the next12. Flexible brain regions were those that frequently changed their community assignment from one layer to the next, whereas inflexible brain regions maintained consistent community assignments across layers. We repeated this analysis for all scan sessions.

### Somatomotor, visual, and fronto-parietal systems are inflexible but variable from day to day

We first sought to determine which regions of the brain were flexible versus inflexible, and which regional flexibility values varied appreciably across scan sessions. We observed that mean and standard deviation of flexibility across scan session fell within a narrow range for most brain regions (Fig. 2A,B). A small number of regions, however, including components of visual, fronto-parietal, and somatomotor systems, possessed lower mean flexibility and greater variability of flexibility than the rest of the brain (Fig. 2C). To quantify these observations and to make concrete statements about specific brain systems, we aggregated regional flexibility by cognitive system and found that these same systems had mean flexibilities much lower than expected by chance (permutation test, z FP2 = −6.52, p = 3.44 × 10−11; Z SMN  = −4.53, p = 3.00 × 10−6; z VIS2 = −8.52, p < 10−15; FDR-controlled, d = 0.001) (Fig. 2D). Similarly, the quotidian variability of SMN and VIS2 were much greater than expected by chance (permutation test, z SMN  = 13.45, p < 10−15; z VIS2 = 7.93, p < 10−15; false discovery rate controlled at d = 0.001) (Fig. 2E). These observations corroborated earlier analyses of these data in which somatomotor and visual systems exhibited the greatest variability in their connectivity patterns across scan sessions estimated outside of mesoscale network statistics34. The presence of high quotidian variability in relatively rigid regions suggests the presence of a strong energetic constraint on network dynamics. Rigid regions are strongly functionally connected to one another, requiring high metabolic resources36; if these resources are not required by the cognitive tasks of a particular day, strong coupling might be used sparingly and transiently, possibly leading to high levels of network flexibility.

### Dimension reduction and correlation of PANAS-X scores with global flexibility

Concurrent with the collection of neuroimaging data, the participant also underwent a battery of behavioral testing. These tests included the administration of a standard mood questionnaire (the expanded Positive and Negative Affect Schedule; PANAS-X)37, which tallied subjective ratings across 60 mood terms using a 0–5 Likert scale (See Supplementary Table S1 for a complete list of all terms). We calculated the correlation of ratings across data collection sessions and observed that many of the terms were highly correlated with one another, suggesting that the data could be represented with fewer dimensions. We interrogated this structure using principal components analysis, which is a dimensionality reduction technique that generated a set of mutually orthogonal principal components, loadings of PANAS-X terms onto components, and the percent variance accounted for by each component. We tested the hypothesis that flexibility is associated with mood by calculating the Pearson’s correlation of global flexibility, the average flexibility across all brain regions, with each of the principal components, the first (PC1) and fourth (PC4) of which exhibited statistically significant correlations (Pearson correlation: $$\hat{r}(P{C}_{1},F)=0.289$$, $$p=0.013$$; $$\hat{r}(P{C}_{4},F)=-0.407$$, $$p=3.5\times {10}^{-4}$$; Spearman correlation: $$\hat{\rho }(P{C}_{1},F)=0.203$$, $$p=0.084$$; $$\hat{\rho }(P{C}_{4},F)=-0.400$$, $$p=0.0006$$) (Fig. 3A,C,D). PC1 accounted for ≈33 percent of the variance (Fig. 3B). The top five terms, in terms of the loading magnitude onto PC1, were “happy”, “enthusiastic”, “confident”, “cheerful”, and “delighted”. The bottom five were “downhearted”, “blue”, “irritable”, “ashamed”, and “upset”. Because of its apparent sensitivity to emotional valence, we termed the first principal component the “positivity index” (PI) (Fig. 3C). PC4 accounted for ≈6 percent of the variance. The top loadings were “suprised”, “amazed”, and “astonished”, leading us to term this component the “surprise index” (SI) (Fig. 3D).

### Correlation of global flexibility with positivity and surprise indices is driven by somatomotor system

We observed that global flexibility was correlated with both positivity and surprise indices. Which brain regions drive these correlations? To address this question we calculated the correlation of regional flexibility scores, measurements of how frequently each brain region changes its community assignment across windows, with both positivity and surprise indices. We observed that the flexibility of regions comprising the somatomotor system exhibited significant positive correlations with the positivity index (permutation test, z PI  = 8.49, p < 10−15) (Fig. 4A,B). Similarly, we observed that the flexibility of somatomotor regions were also anti-correlated with the surprise index (permutation test, z SI  = −8.76, p < 10−15) (Fig. 4C,D). The spatial specificity of these relationships complement prior work linking heightened motor activations with positive mood38 and work demonstrating a slowing down of action/motor processing in response to unexpected and surprising events39.

We also observed that two cognitive systems exhibited significant anti-correlations with the positivity and surprise indices. The dorsal attention system (DAN) was anti-correlated with the positivity index (z DAN  = −4.16, p = 1.56 × 10−5, FDR-controlled, d = 0.001), and the cingulo-opercular (CO) system was correlated with the surprise index (z CO  = 4.08, p = 2.26 × 10−5, FDR-controlled, d = 0.001). These results suggest that relative stability in higher-order cognitive systems affiliated with online control is accompanied by positive mood and decreased levels of surprise, offering a dynamic complement to the known relationship between control performance and affect40.

These results were corroborated by a series of additional analyses (See Supplementary Information). First, the correlations of PI and SI with flexibility were robust to variation in the parameters of our community detection method (Fig. S2). Second, these results were not driven by anomalous data points and data collection sessions (Fig. S3) and were not likely to have been observed given a random ordering of data collection sessions (Fig. S4). Third, we also observed consistent correlations when we focused on the relationship of flexibility to individual PANAS-X terms and pre-defined “affect classes” (Figs S5S7)41. Finally, we tested the robustness of our results after controlling for in-scanner head motion (Fig. S8) as well as psychophysiological and other nuisance variables (Fig. S9). We also observed similar findings using window sizes of different durations (Fig. S11). In general, these supplementary analyses buttress the finding of a significant positive association between network flexibility and PI, and a negative association between network flexibility and SI.

### Discounting fatigue as a potential driver of flexibility

Initial analyses of MyConnectome Project data described an effect wherein visual and somatomotor variability could be explained on the basis of fatigue34, a finding that has been reported elsewhere42. Accordingly, we assessed whether the correlations of positivity and surprise with flexibility could be driven by fatigue. As a measure of fatigue, we combined the PANAS-X categories “sleepy”, “tired”, “sluggish”, and “drowsy” into a “fatigue” affect score41. This score was correlated with both the positivity and surprise indices ($$\hat{r}(fatigue,PI)=-0.48$$, p = 1.82 × 10−5; $$\hat{r}(fatigue,SI)=-0.32$$, p = 0.0057). To test whether the observed correlation of PI and SI with global flexibility could be attributed to fatigue, we regressed fatigue from both indices and calculated the correlation of global flexibility with the residuals (Fig. 5). We observed that after regressing out fatigue from the positivity index, the residuals were no longer correlated with global flexibility at a statistically significant level ($$\hat{r}(F,PI\backslash fatigue)=0.07$$, p = 0.541), indicating that the correlation of PI and flexibility could be attributed to fatigue, in agreement with extant literature. On the other hand, after regressing fatigue from the surprise index, we observed that the residuals were still correlated with flexibility ($$\hat{r}(F,SI\backslash fatigue)=0.276$$, p = 0.018). Collectively, these results indicate that fatigue and affect (both level of positivity and surprise) represent powerful potential drivers of network flexibility. They also suggest that positivity may be confounded with the subject’s fatigue level, making it difficult to disambiguate whether positivity makes an independent contribution to network flexibility. Surprise, on the other hand, was still significantly associated with flexibility, even after controlling for fatigue, suggesting that it may independently drive flexibility.

## Discussion

The relationship between affect and flexibility suggests a potential network-level mechanism for learning deficits observed in mood disorders43, and the dependence of those deficits on cognitive flexibility44. In these individuals, the development of pharmacological and stimulation-based interventions to alter brain network flexibility is therefore of particular interest. For example, brain network flexibility can be altered through modulation of NMDA receptor function45. However, an arguably more powerful approach might be to target states of arousal, which are known to be altered in mood disorders46, implicated in learning25, and modulated by norepinephrine systems25. There is some preliminary evidence that arousal modulates network connectivity26, but further work is needed to understand the patterns and dynamics of these network modulations and their relationship to mood.

We observed that the subject’s level of surprise was negatively correlated with flexibility, indicating that decreased surprise is accompanied by increased network variability. This observation is similar to how complex motor behaviors are learned; during early learning when the movement is novel and unfamiliar, there is sometimes a “freezing” period during which only a small number of the system’s degrees of freedom are actively manipulated; with increased familiarity, those components are gradually “freed” and can be incorporated into the movement pattern47, 48. Here, we speculate that the relationship of surprise to flexibility is analogous to the relationship of novelty to motor variability. Indeed, surprise and novelty are sometimes viewed as related concepts49, and furthermore, our findings directly implicate the somatomotor network as the system that most closely tracks surprise. To investigate the complicated relationship of flexibility, learning, and surprise, future work could involve the study of motor learning paradigms similar to those described elsewhere12 but supplemented with administration of PANAS-X questionnaires to track surprise and other affective components, particularly contrasting effects with and without positive(negative) mood induction.

An alternative hypothesis is that the negative correlation of surprise and flexibility reflects the “inverted-U” relationship of learning with arousal and surprise. Here, it may be the case that self-reports of surprise fall on the right side of the “U” and correspond to the high end of arousal, which can lead to increased levels of distraction that hamper learning24. Future work is needed to compare these two hypotheses.

Our observations can also inform the development of educational interventions to enhance learning. Intuitively, our results support the notion that by altering mood, one might alter brain network flexibility, and therefore predispose the brain to learn quickly in subsequent tasks. Such an outcome would directly fulfill the goals of personalized neuroeducation50: the use of neuroscientific information to inform educational practices tuned to individual students. Potentially powerful modulations could include simple mental exercises, which are easily translated into educational settings. For example, self-affirmation tasks have been shown to parametrically alter brain activity51 to a degree that predicts individual differences in future behavior52. Future work could define a carefully titrated library of mental tasks that modulate brain network flexibility (and subsequent learning) in a predictable fashion by modulating mood.

While our study informs our understanding of how the human brain is related to human behavior, it is also important to bear in mind that extrapolating our findings beyond the present study is hampered by the fact that we study data recorded from one subject. Indeed, recent studies have shown that the modular and system-level neural architecture of the brain varies across individuals in idiosyncratic ways53,54,55, suggesting the possibility that network flexibility could do the same. Future studies should investigate whether the findings reported here are general and broadly applicable to large populations of individuals, or whether they apply more narrowly to the individual studied here.

Finally, our results inform the field of network neuroscience56, more broadly, where the typical analysis has sought network features that can be used to classify brains at the population level – e.g. healthy versus pathological57,58,59, young versus old60, 61, or task versus task-free62. While such classifications have provided insight into the average network organization of the human brain, they nonetheless overlook potentially meaningful individual variation63. Indeed, recent work has demonstrated that functional brain networks encode nuanced, personalized features of an individual64, 65 that moreover can change with an individual’s cognitive state66. Our results build on and contribute to this growing body of literature, identifying network flexibility in the somatomotor cortex as a potential neuromarker of mood. With personalized medicine and healthcare increasingly becoming a reality, such subject-level markers may serve as important measures to facilitate diagnosis, target interventions, and monitor disease progression or response to treatment67.

## Materials and Methods

### MyConnectome data

All data and cortical surface files are freely available and were obtained from the MyConnectome Project’s data-sharing webpage (http://myconnectome.org/wp/data-sharing/). Specifically, we studied pre-processed parcel fMRI time series for scan sessions 14–104. Details of the pre-processing procedure have been described elsewhere34, 35. Each session consisted of 518 time points during which the average fMRI BOLD signal was measured for N = 630 parcels or regions of interest (ROIs). With a TR of 1.16 s, the analyzed segment of each session was approximately 10 minutes long. In addition to fMRI data, we also examined behavioral data available on the same webpage. The behavioral data included additional biometric information, such as blood pressure and sleep quality as well as variations in temperature and weather (See Supplementary Table 2 for a complete list). We analyzed only PANAS-X terms, a set of emotional terms that the subject rated on a 0–5 Likert scale. Usually the PANAS-X test includes 60 terms. Only 57 were used as part of our analysis; the terms “bashful”, “timid”, and “shy” had ratings of zero for the entire duration of the experiment.

### Principal component analysis

Our analysis focused on the n = 73 scan sessions for which both resting-state fMRI data and all p = 57 PANAS-X terms were available. We standardized each category to have zero mean and unit variance. We represented the full set as the matrix, $${\bf{X}}\in {{\mathbb{R}}}^{n\times p}$$, which we submitted to a principal component analysis (PCA). Essentially, PCA takes a data matrix and linearly factorizes it by creating a set of orthogonal principal components, subject to the condition that each successive component has the greatest possible variance. Each component is a linear combination of the original data variables.

Specifically, we performed PCA using a singular value decomposition (SVD)68 which deconstructs X according to the equation:

$${\bf{X}}={\bf{US}}{{\bf{V}}}^{T}$$
(1)

where $${\bf{U}}\in {{\mathbb{R}}}^{n\times n}$$ and $${\bf{V}}\in {{\mathbb{R}}}^{p\times n}$$ contain the left and right singular vectors and where $${\bf{S}}\in {{\mathbb{R}}}^{p\times p}$$ is the diagonal matrix of singular values. Importantly, U and V have rank equal to that of X. The ith principal component, then, is the ith column of U. The corresponding column of V gives weights that indicate the extent to which each PANAS-X category contributed to that component. Similarly, squaring the corresponding singular element of S gives the magnitude of variance accounted for by that component.

### Dynamic network construction and community detection

We sought a division of brain regions into communities, which are thought to reflect the brain’s functional sub-systems19. We divided the parcel time series into T = 14 windows of 37 time points (TRs) each (≈43 seconds in length). This particular window length was chosen for several reasons. First, recent work has emphasized that short window lengths (much less than 40 s) may result in time-varying FC matrices in which the connectivity pattern is driven predominantly by sampling variability rather than true fluctuations in network organization69, 70. Accordingly, one of our aims was to ensure that the length of our windows met this minimum requirement. Second, rather than estimate FC using linear correlations of BOLD activity, we used wavelet coherence, a measure that has at least as much behavioral and neurobiological relevance as linear correlation71 but benefits from longer samples72. Finally, we wanted to ensure that whatever window length we selected would evenly divide into the 518 samples (TRs) collected for each scan session. Collectively, these three factors – methodological and practical – motivated our selection of the 37 TR window size.

For each window, we calculated the wavelet coherence matrix, $${\bf{C}}\in {{\mathbb{R}}}^{N\times N}$$ 73. Each element, C ij , represented the magnitude squared coherence of the scale two Daubechies wavelet (length 4) decomposition of the windowed time series obtained from regions i and j (http://www.atmos.washington.edu/wmtsa/)12. We examined two frequency ranges: 0.125–0.25 Hz, the results of which we describe in the main text, and 0.0625–0.125 Hz12, 23, which are covered in the supplementary materials (Fig. S10).

Each dynamic network was treated as a layer in a multi-layer network, $${\mathscr{C}}=\{{{\bf{C}}}_{1}\ldots {{\bf{C}}}_{14}\}$$ 74. To detect the temporal evolution of modules, we maximized the multi-layer modularity20, which seeks the assignment of all brain regions in all layers to modules such that:

$$Q(\gamma ,\omega )=\frac{1}{2\mu }\sum _{ijsr}[({C}_{ijs}-\gamma {P}_{ijs})]\delta ({G}_{is},{G}_{js})+\delta (i,j)\cdot \omega ]\delta ({G}_{is},{G}_{jr})$$
(2)

is maximized. In this expression, C ijs is the coherence of regions i and j in layer s. The tensor P ijs is the expected coherence in an appropriate null model. Specifically, we choose $${P}_{ijs}=\frac{{k}_{is}{k}_{js}}{2{m}_{s}}$$, which is a multi-layer extension of the common configuration model (see Refs. 75,76,77 for further discussions on the choice of null model). The parameter, γ, scales the relative contribution of the expected connectivity and effectively controls the number of modules detected within a given layer. The other free parameter, ω, defines the weight of the inter-layer edges that link each node i to itself across layers. Effectively, the value of ω determines the consistency of multi-layer modules; when its value is large (small) relative to the intralayer links, the detected modules will tend to be more (less) similar to one another across layers. For this reason, ω is sometimes referred to as the temporal resolution parameter 21. In the main text, we fix these parameters to the commonly used default values of γ = ω = 121.

We use a Louvain-like locally greedy algorithm to maximize the multi-layer modularity, Q(γ, ω)78 (typical output is show in Fig. S1). Due to near-degeneracies in the modularity landscape79 and stochastic elements in the optimization algorithm80, the output typically varies from one run to another. For this reason, rather than focus on any single run or the consensus communities over many runs81, we characterized the statistical properties of 50 runs of the algorithm, which correspond to 50 optimizations of the multi-layer modularity. Specifically, we calculated all network statistics, including network flexibility, for each run of the community detection algorithm and subsequently averaged those statistics over the 50 runs to obtain an estimate of their mean value.

#### Regional and global flexibility

The output of the Louvain-like locally greedy algorithm is a partition, $${\bf{G}}\in {{\mathbb{R}}}^{N\times T}$$, whose element $${G}_{i,r}\in \{1\ldots c\}$$ is the community to which brain region i in layer r is assigned in that optimization. The multi-layer modularity maximization simultaneously assigns brain regions in all layers to communities so that community labels are consistent across layers, thus circumventing the commonly studied community matching problem. Given G, we can calculate each brain region’s flexibility score:

$${f}_{i}=1-\frac{1}{T-1}\sum _{s=1}^{T-1}\delta ({G}_{i,s},{G}_{i,s+1}),$$
(3)

which counts the fraction of times that brain region i changes its community assignment in successive layers. Flexibility is normalized so that scores near zero and one correspond to brain regions whose community assignments are highly consistent and highly variable, respectively, across layers. Flexibility can also be averaged over all brain regions to obtain the global flexibility of the whole brain, $$F=\frac{1}{N}{\sum }_{i=1}^{N}{f}_{i}$$. Both regional and global flexibility scores were calculated separately for each of the 50 modular partitions obtained from the Louvain-like algorithm and averaged across optimizations.

Intuitively, the flexibility measure serves as an indicator of community stability across layers, which represent time, in this case. Regional flexibility scores are bounded between 0 and 1; a value near 0 implies that a node’s community assignment varies little over the course of a scan session while a value close to 1 implies that a node’s community assignment is highly variable. The global flexibility score can be interpreted similarly.

## References

1. 1.

Bullmore, E. & Sporns, O. Complex brain networks: graph theoretical analysis of structural and functional systems. Nature Reviews Neuroscience 10, 186–198 (2009).

2. 2.

Sporns, O. Networks of the Brain (MIT press, 2011).

3. 3.

Friston, K. J. Functional and effective connectivity: a review. Brain connectivity 1, 13–36 (2011).

4. 4.

Park, H.-J. & Friston, K. Structural and functional brain networks: from connections to cognition. Science 342, 1238411 (2013).

5. 5.

Allen, E. A. et al. Tracking whole-brain connectivity dynamics in the resting state. Cerebral cortex bhs352 (2012).

6. 6.

Zalesky, A., Fornito, A., Cocchi, L., Gollo, L. L. & Breakspear, M. Time-resolved resting-state brain networks. Proceedings of the National Academy of Sciences 111, 10341–10346 (2014).

7. 7.

Betzel, R. F., Fukushima, M., He, Y., Zuo, X.-N. & Sporns, O. Dynamic fluctuations coincide with periods of high and low modularity in resting-state functional brain networks. NeuroImage 127, 287–297 (2016).

8. 8.

Hutchison, R. M. et al. Dynamic functional connectivity: promise, issues, and interpretations. Neuroimage 80, 360–378 (2013).

9. 9.

Calhoun, V. D., Miller, R., Pearlson, G. & Adal, T. The chronnectome: time-varying connectivity networks as the next frontier in fmri data discovery. Neuron 84, 262–274 (2014).

10. 10.

Kopell, N. J., Gritton, H. J., Whittington, M. A. & Kramer, M. A. Beyond the connectome: the dynome. Neuron 83, 1319–1328 (2014).

11. 11.

Zhang, J. et al. Neural, electrophysiological and anatomical basis of brain-network variability and its characteristic changes in mental disorders. Brain 139, 2307–2321 (2016).

12. 12.

Bassett, D. S. et al. Dynamic reconfiguration of human brain networks during learning. Proceedings of the National Academy of Sciences 108, 7641–7646 (2011).

13. 13.

Mattar, M. G., Betzel, R. F. & Bassett, D. S. The flexible brain. Brain 139, 2110–2112 (2016).

14. 14.

Mattar, M. G., Cole, M. W., Thompson-Schill, S. L. & Bassett, D. S. A functional cartography of cognitive systems. PLoS Comput Biol 11, e1004533 (2015).

15. 15.

Fortunato, S. Community detection in graphs. Physics Reports 486, 75–174 (2010).

16. 16.

Newman, M. E. Communities, modules and large-scale structure in networks. Nature Physics 8, 25–31 (2012).

17. 17.

Power, J. D. et al. Functional network organization of the human brain. Neuron 72, 665–678 (2011).

18. 18.

Yeo, B. T. et al. The organization of the human cerebral cortex estimated by intrinsic functional connectivity. Journal of Neurophysiology 106, 1125–1165 (2011).

19. 19.

Sporns, O. & Betzel, R. F. Modular brain networks. Annual Review of Psychology 67 (2016).

20. 20.

Mucha, P. J., Richardson, T., Macon, K., Porter, M. A. & Onnela, J.-P. Community structure in time-dependent, multiscale, and multiplex networks. Science 328, 876–878 (2010).

21. 21.

Bassett, D. S. et al. Robust detection of dynamic community structure in networks. Chaos: An Interdisciplinary Journal of Nonlinear Science 23, 013142 (2013).

22. 22.

Bassett, D. S. et al. Task-based core-periphery organization of human brain dynamics. PLoS Comput Biol 9, e1003171 (2013).

23. 23.

Braun, U. et al. Dynamic reconfiguration of frontal brain networks during executive cognition in humans. Proceedings of the National Academy of Sciences 112, 11678–11683 (2015).

24. 24.

Yerkes, R. M. & Dodson, J. D. The relation of strength of stimulus to rapidity of habit-formation. Journal of Comparative Neurology and Psychology 18, 459–482 (1908).

25. 25.

Critchley, H. D. Neural mechanisms of autonomic, affective, and cognitive integration. Journal of Comparative Neurology 493, 154–166 (2005).

26. 26.

Eldar, E., Rutledge, R. B., Dolan, R. J. & Niv, Y. Mood as representation of momentum. Trends in Cognitive Sciences 20, 15–24 (2016).

27. 27.

Joshi, S., Li, Y., Kalwani, R. M. & Gold, J. I. Relationships between pupil diameter and neuronal activity in the locus coeruleus, colliculi, and cingulate cortex. Neuron 89, 221–234 (2016).

28. 28.

Ekman, P. E. & Davidson, R. J. The nature of emotion: Fundamental questions (Oxford University Press, 1994).

29. 29.

Ranganath, C. & Rainer, G. Neural mechanisms for detecting and remembering novel events. Nature Reviews Neuroscience 4, 193–202 (2003).

30. 30.

Fletcher, P. et al. Responses of human frontal cortex to surprising events are predicted by formal associative learning theory. Nature neuroscience 4, 1043–1048 (2001).

31. 31.

Rumelhart, D. E., Hinton, G. E. & Williams, R. J. Learning internal representations by error propagation. Tech. Rep., DTIC Document (1985).

32. 32.

Itti, L. & Baldi, P. F. Bayesian surprise attracts human attention. In Advances in neural information processing systems, 547–554 (2005).

33. 33.

Shine, J. M., Koyejo, O. & Poldrack, R. A. Temporal metastates are associated with differential patterns of time-resolved connectivity, network topology, and attention. Proceedings of the National Academy of Sciences www.pnas.org/cgi/doi/10.1073/pnas.1604898113 (2016).

34. 34.

Laumann, T. O. et al. Functional system and areal organization of a highly sampled individual human brain. Neuron 87, 657–670 (2015).

35. 35.

Poldrack, R. A. et al. Long-term neural and physiological phenotyping of a single human. Nature Communications 6 (2015).

36. 36.

Liang, X., Zou, Q., He, Y. & Yang, Y. Coupling of functional connectivity and regional cerebral blood flow reveals a physiological basis for network hubs of the human brain. Proc Natl Acad Sci USA 110, 1929–1934 (2013).

37. 37.

Watson, D., Clark, L. A. & Tellegen, A. Development and validation of brief measures of positive and negative affect: the panas scales. Journal of Personality and Social Psychology 54, 1063 (1988).

38. 38.

Adolphs, R. Neural systems for recognizing emotion. Current opinion in neurobiology 12, 169–177 (2002).

39. 39.

Wessel, J. R. & Aron, A. R. Unexpected events induce motor slowing via a brain mechanism for action-stopping with global suppressive effects. The Journal of Neuroscience 33, 18481–18491 (2013).

40. 40.

Williams, C. K., Grierson, L. E. & Carnahan, H. Colour-induced relationship between affect and reaching kinematics during a goal-directed aiming task. Exp Brain Res 212, 555–561 (2011).

41. 41.

Watson, D. & Clark, L. A. The PANAS-X: Manual for the positive and negative affect schedule-expanded form (University of Iowa, 1999).

42. 42.

Tagliazucchi, E. & Laufs, H. Decoding wakefulness levels from typical fmri resting-state data reveals reliable drifts between wakefulness and sleep. Neuron 82, 695–708 (2014).

43. 43.

Chrobak, A. A. et al. Implicit motor learning in bipolar disorder. Journal of Affective Disorders 174, 250–256 (2015).

44. 44.

Papmeyer, M. et al. Neurocognition in individuals at high familial risk of mood disorders with or without subsequent onset of depression. Psychological Medicine 45, 3317–3327 (2015).

45. 45.

Braun, U. et al. Dynamic brain network reconfiguration as a potential schizophrenia genetic risk mechanism modulated by nmda receptor function. Proceedings of the National Academy of Sciences 113, 12568–12573 (2016).

46. 46.

Hegerl, U. & Hensch, T. The vigilance regulation model of affective disorders and adhd. Neuroscience & Biobehavioral Reviews 44, 45–57 (2014).

47. 47.

Bernstein, N. A. The co-ordination and regulation of movements (Pergamon Press, 1967).

48. 48.

Vereijken, B., Emmerik, R. E.v., Whiting, H. & Newell, K. M. Free (z) ing degrees of freedom in skill acquisition. Journal of motor behavior 24, 133–142 (1992).

49. 49.

Barto, A., Mirolli, M. & Baldassarre, G. Novelty or surprise? Frontiers in psychology 4, 907 (2013).

50. 50.

Devonshire, I. M. & Dommett, E. J. Neuroscience: viable applications in education? Neuroscientist 16, 349 (2010).

51. 51.

Cascio, C. N. et al. Self-affirmation activates brain systems associated with self-related processing and reward and is reinforced by future orientation. Social Cognitive and Affective Neuroscience nsv136 (2015).

52. 52.

Falk, E. B. et al. Self-affirmation alters the brain’s response to health messages and subsequent behavior change. Proceedings of the National Academy of Sciences 112, 1977–1982 (2015).

53. 53.

Gordon, E. M. et al. Individual-specific features of brain systems identified with resting state functional correlations. NeuroImage (2016).

54. 54.

Wang, D. et al. Parcellating cortical functional networks in individuals. Nature neuroscience 18, 1853–1860 (2015).

55. 55.

Langs, G. et al. Identifying shared brain networks in individuals by decoupling functional and anatomical variability. Cerebral Cortex bhv189 (2015).

56. 56.

Medaglia, J. D., Lynall, M. E. & Bassett, D. S. Cognitive network neuroscience. J Cogn Neurosci 27, 1471–1491 (2015).

57. 57.

Fornito, A., Zalesky, A. & Breakspear, M. The connectomics of brain disorders. Nature Reviews Neuroscience 16, 159–172 (2015).

58. 58.

Bassett, D. S., Nelson, B. G., Mueller, B. A., Camchong, J. & Lim, K. O. Altered resting state complexity in schizophrenia. Neuroimage 59, 2196–2207 (2012).

59. 59.

Sacchet, M. D., Prasad, G., Foland-Ross, L. C., Thompson, P. M. & Gotlib, I. H. Elucidating brain connectivity networks in major depressive disorder using classification-based scoring. Proc IEEE Int Symp Biomed Imaging 2014, 246–249 (2014).

60. 60.

Meunier, D., Achard, S., Morcom, A. & Bullmore, E. Age-related changes in modular organization of human brain functional networks. Neuroimage 44, 715–723 (2009).

61. 61.

Di Martino, A. et al. Unraveling the miswired connectome: a developmental perspective. Neuron 83, 1335–1353 (2014).

62. 62.

Cole, M. W., Bassett, D. S., Power, J. D., Braver, T. S. & Petersen, S. E. Intrinsic and task-evoked network architectures of the human brain. Neuron 83, 238–251 (2014).

63. 63.

Barch, D. M. et al. Function in the human connectome: task-fmri and individual differences in behavior. Neuroimage 80, 169–189 (2013).

64. 64.

Finn, E. S. et al. Functional connectome fingerprinting: identifying individuals using patterns of brain connectivity. Nature Neuroscience (2015).

65. 65.

Smith, S. M. et al. A positive-negative mode of population covariation links brain connectivity, demographics and behavior. Nature Neuroscience 18, 1565–1567 (2015).

66. 66.

Zhao, C. et al. The reorganization of human brain networks modulated by driving mental fatigue. IEEE J Biomed Health Inform Epub ahead of print (2016).

67. 67.

Poldrack, R. A. & Farah, M. J. Progress and challenges in probing the human brain. Nature 526, 371–379 (2015).

68. 68.

Eckart, C. & Young, G. The approximation of one matrix by another of lower rank. Psychometrika 1, 211–218 (1936).

69. 69.

Zalesky, A. & Breakspear, M. Towards a statistical test for functional connectivity dynamics. Neuroimage 114, 466–470 (2015).

70. 70.

Leonardi, N. & Van De Ville, D. On spurious and real fluctuations of dynamic functional connectivity during rest. Neuroimage 104, 430–436 (2015).

71. 71.

Bassett, D. S., Yang, M., Wymbs, N. F. & Grafton, S. T. Learning-induced autonomy of sensorimotor systems. Nature neuroscience 18, 744–751 (2015).

72. 72.

Zhang, Z., Telesford, Q. K., Giusti, C., Lim, K. O. & Bassett, D. S. Choosing wavelet methods, filters, and lengths for functional brain network construction. arXiv preprint arXiv:1512.07596 (2015).

73. 73.

Zhang, Z., Telesford, Q. K., Giusti, C., Lim, K. O. & Bassett, D. S. Choosing wavelet methods, filters, and lengths for functional brain network construction. PLoS One 11, e0157243 (2016).

74. 74.

Muldoon, S. F. & Bassett, D. S. Network and multilayer network approaches to understanding human brain dynamics. Philosophy of Science In Press (2016).

75. 75.

Betzel, R. F. et al. The modular organization of human anatomical brain networks: Accounting for the cost of wiring. Network Neuroscience 1, 1 DOI:http://doi.org/10.1162/NETN_a_00002.

76. 76.

Bassett, D. S., Owens, E. T., Porter, M. A., Manning, M. L. & Daniels, K. E. Extraction of force-chain network architecture in granular materials using community detection. Soft Matter 11, 2731–2744 (2015).

77. 77.

Papadopoulos, L., Puckett, J., Daniels, K. E. & Bassett, D. S. Evolution of network architecture in a granular material under compression. Physical Review E,  94(3), 032908.

78. 78.

Jutla, I. S., Jeub, L. G. & Mucha, P. J. A generalized louvain method for community detection implemented in matlab. URL http://netwiki.amath.unc.edu/GenLouvain (2011).

79. 79.

Good, B. H., de Montjoye, Y.-A. & Clauset, A. Performance of modularity maximization in practical contexts. Physical Review E 81, 046106 (2010).

80. 80.

Blondel, V. D., Guillaume, J.-L., Lambiotte, R. & Lefebvre, E. Fast unfolding of communities in large networks. Journal of Statistical Mechanics: Theory and Experiment 2008, P10008 (2008).

81. 81.

Lancichinetti, A. & Fortunato, S. Consensus clustering in complex networks. Scientific reports 2 (2012).

## Acknowledgements

We thank Tyler Moore for helpful discussions and Russell Poldrack for providing additional imaging resources. RFB and DSB acknowledge support from the John D. and Catherine T. MacArthur Foundation, the Alfred P. Sloan Foundation, the Army Research Laboratory and the Army Research Office through contract numbers W911NF-10-2-0022 and W911NF-14-1-0679, the National Institute of Mental Health (2-R01-DC-009209-11), the National Institute of Child Health and Human Development (1R01HD086888-01), the Office of Naval Research, and the National Science Foundation (BCS-1441502, BCS-1430087, and CAREER PHY-1554488). JIG acknowledges support from the National Science Foundation (NSF-1533623). TDS was supported by the National Institute of Mental Health (K23MH098130 and R01MH107703).

## Author information

Authors

### Contributions

R.F.B. and D.S.B. analyzed data. All authors wrote manuscript.

### Corresponding author

Correspondence to Danielle S. Bassett.

## Ethics declarations

### Competing Interests

The authors declare that they have no competing interests.

Publisher's note: Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

## Rights and permissions

Reprints and Permissions

Betzel, R.F., Satterthwaite, T.D., Gold, J.I. et al. Positive affect, surprise, and fatigue are correlates of network flexibility. Sci Rep 7, 520 (2017). https://doi.org/10.1038/s41598-017-00425-z

• Accepted:

• Published:

• ### Reconfigurations within resonating communities of brain regions following TMS reveal different scales of processing

• Javier O. Garcia
• , Arian Ashourvan
• , Steven M. Thurman
• , Ramesh Srinivasan
• , Danielle S. Bassett
•  & Jean M. Vettel

Network Neuroscience (2020)

• ### Resting state functional network switching rate is differently altered in bipolar disorder and major depressive disorder

• Shaoqiang Han
• , Qian Cui
• , Xiao Wang
• , Liang Li
• , Di Li
• , Zongling He
• , Xiaonan Guo
• , Yun‐Shuang Fan
• , Jing Guo
• , Wei Sheng
• , Fengmei Lu
•  & Huafu Chen

Human Brain Mapping (2020)

• ### Impact of childhood adversity on network reconfiguration dynamics during working memory in hypogonadal women

• Sheila Shanmugan
• , Wen Cao
• , Theodore D. Satterthwaite
• , Mary D. Sammel
• , Arian Ashourvan
• , Danielle S. Bassett
• , Kosha Ruparel
• , Ruben C. Gur
• , C. Neill Epperson

Psychoneuroendocrinology (2020)

• ### Temporal fluctuations in the brain’s modular architecture during movie-watching

• Richard F. Betzel
• , Lisa Byrge
• , Farnaz Zamani Esfahlani
•  & Daniel P. Kennedy

NeuroImage (2020)

• ### Temporal sequences of brain activity at rest are constrained by white matter structure and modulated by cognitive demands

• Eli J. Cornblath
• , Arian Ashourvan
• , Jason Z. Kim
• , Richard F. Betzel
• , Rastko Ciric
• , Graham L. Baum
• , Xiaosong He
• , Kosha Ruparel
• , Tyler M. Moore
• , Ruben C. Gur
• , Raquel E. Gur
• , Russell T. Shinohara
• , David R. Roalf
• , Theodore D. Satterthwaite
•  & Danielle S. Bassett

Communications Biology (2020)