Skip to main content

This is a preprint.

It has not yet been peer reviewed by a journal.

The National Library of Medicine is running a pilot to include preprints that result from research funded by NIH in PMC and PubMed.

bioRxiv logoLink to bioRxiv
[Preprint]. 2026 Sep 15:2025.12.09.693219. [Version 2] doi: 10.64898/2025.12.09.693219

Sharp and smooth state transitions during resting state brain dynamics

Luiz Pessoa 1,2,3, Xiaoyu Zhou 1
PMCID: PMC13596141  PMID: 42779576

Abstract

Resting-state fMRI is routinely described in terms of a small set of recurring whole-brain states. Far less is known about what happens between them. Two pictures compete. In one, the brain toggles: it switches between qualitatively distinct regimes, and a transition is a discrete event. In the other, apparent states are convenient labels applied to a continuous trajectory, and transitions are mostly boundaries imposed by the analyst rather than events in the brain. We adjudicated between them with a multi-level Switching Linear Dynamical System fit to Human Connectome Project data (N=500; 254 cortical and subcortical regions), in which every participant has their own equations of motion and switching parameters, tied to group-level parameters and estimated jointly with them. The model estimates the dynamics on either side of a boundary, so transitions can be characterized rather than merely counted. Transitions were structured and strongly heterogeneous. Four of the eight transitions examined reversed the estimated flow between two samples acquired 720 ms apart, two of them deeply, while others merely reoriented and were “one-sided”, with activity flat before the switch and changing only afterwards. Sharp and smooth transitions shared destination states and engaged overlapping networks, so the heterogeneity cannot be attributed simply to hemodynamic filtering. What predicted sharpness was the direction of travel, such that the brain drifts out of a dominant, long-dwell state regime and is sharply switched into it. To link these system-level dynamics to anatomy we introduce transition importance, which asks how much the model’s evidence for a particular switch depends on a region’s signal. The evidence accumulated over seconds before a switch, raising its odds by 1.8 to 3.2 times, and discharged immediately after. In several transitions the regions that steer a state shared no region with those that end it, so a region’s activity magnitude does not determine its contribution to system-level dynamics. Our findings suggest that spontaneous brain activity is organized as much by how the brain moves between configurations as by which ones it occupies, making transitions themselves an important target of study.

Introduction

Functional MRI acquired in the absence of tasks is now commonly described in terms of a limited set of recurring, whole-brain patterns, or states (Allen et al., 2012; Vidaurre et al., 2017; Greene et al., 2023). The claim is supported by methods that differ considerably in their assumptions, including sliding-window correlation plus clustering (Allen et al., 2012; Hutchison et al., 2013), Hidden Markov Models (Vidaurre et al., 2017, 2018a; Song et al., 2023), and co-activation pattern analyses (Liu et al., 2018; Karahanoğlu and Van De Ville, 2015; Peng et al., 2023; Gutierrez-Barragan et al., 2024; Lee et al., 2024). Although the specific state repertoires reported vary, the agreement across techniques is substantial, and the field has converged on a vocabulary of states, dwell times, occupancies, and transition probabilities.

Two rather different pictures of resting-state dynamics are compatible with the existing evidence. The first picture is that the brain toggles. On this view, large-scale activity settles into one of several quasi-stable configurations and leaves it abruptly, so that the change of configuration is fast relative to the time spent in either. This is the picture suggested by theoretical work on metastability, itinerancy among attractors, and heteroclinic dynamics (Rabinovich et al., 2006; Tognoli and Kelso, 2014; Miller, 2016; Deco and Jirsa, 2012; Cabral et al., 2014), and it has direct empirical precedent at finer spatial and temporal scales. Ensembles in sensory cortex progress through sequences of states whose boundaries are abrupt when examined on single trials but are smeared by averaging (Jones et al., 2007; Mazzucato et al., 2015; La Camera et al., 2019; Recanatesi et al., 2022). Magnetoencephalography analyzed with Hidden Markov Models reveals network states lasting 50–200 ms with fast onsets and offsets (Baker et al., 2014; Vidaurre et al., 2018b). And the nervous system demonstrably implements genuine toggles: cortical up and down states (Sanchez-Vives and McCormick, 2000), the mutually inhibitory flip-flop circuits that produce sharp sleep–wake transitions (Saper et al., 2010), and the nonlinear “ignition” posited by global workspace accounts of conscious access (Dehaene and Changeux, 2011).

The second picture is that resting-state dynamics is essentially continuous, and that states are a discretization of a smooth trajectory. Quasi-periodic patterns propagate across cortex over 10 to 30 seconds, carrying activity gradually from default-mode-like to task-positive-like configurations and back (Majeed et al., 2011; Keilholz et al., 2013; Keilholz, 2014). More strongly, Bolt et al. (2022) argue that much of the apparent richness of time-varying functional organization reduces to a small number of low-frequency spatiotemporal patterns and traveling waves. Relatedly, Raut et al. (2021) report that spontaneous fMRI fluctuations track global waves that propagate through neocortex, thalamus, striatum and cerebellum in step with arousal, and argue that these waves account for much of the observed functional connectivity structure. If that account is correct, the boundaries between states are placed by the analyst, and the transition matrix is largely a summary of the segmentation procedure.

A third line of work sits between the two pictures. Energy-landscape analyses fit a pairwise maximum-entropy model to fMRI data and describe brain activity as motion in a landscape whose local minima are discrete states, with the passage between basins treated as the object of interest (Watanabe et al., 2014; Ezaki et al., 2018). That description grants discrete states and continuous motion between them at the same time. It does not, however, say how long a passage takes, because the landscape is estimated from how often each pattern occurs rather than from the time course of a crossing.

The distinction between these two scenarios is not semantic. It matters mechanistically: a fast switch implicates competitive, quasi-bifurcation processes with a rapid change in the effective equations of motion, whereas a gradual traversal implicates propagation along a manifold under slowly varying drive. These call for different generative models (Deco and Jirsa, 2012; Khona and Fiete, 2022). It matters for interpretation: if transitions are not events, dwell times and transition probabilities inherit an arbitrary discretization, and their reported relationships to behavior and to clinical status are problematic (Lurie et al., 2020). And it matters for intervention: a growing literature identifies the regions whose stimulation would move the brain from one state to another, or computes the control energy required to do so (Gu et al., 2015, 2017; Deco et al., 2019; Cornblath et al., 2020). That enterprise presupposes that transitions are identifiable events with identifiable drivers.

The question is also genuinely difficult, and has proved contentious in adjacent domains. Whether parietal neurons ramp continuously toward a decision bound or step discretely between states was hampered by inspection of trial-averaged firing rates and benefited from explicit model comparison at the single-trial level (Latimer et al., 2015). The debate that followed (Shadlen et al., 2016; Latimer et al., 2016), and its eventual reformulation within switching state-space models that contain both possibilities as special cases (Zoltowski et al., 2020), is instructive. Averaging destroys the distinction in both directions: a population of sharp transitions with jittered onsets averages to a smooth ramp, and a genuinely gradual process can be made to look abrupt if the alignment marker is placed at the steepest point of change. Any test therefore has to be designed so that both answers remain available.

In resting-state fMRI, “transition” is almost always operationalized as a change in a state label. Hidden Markov Models supply transition probabilities but no description of the dynamics during the switch. Sliding-window methods blur across the switch by construction (Leonardi and Van De Ville, 2015). What has been missing is a framework in which the dynamics on either side of the boundary, and the change in those dynamics at the boundary, are themselves estimated quantities.

Here we use a Switching Linear Dynamical System (SLDS) (Ghahramani and Hinton, 2000; Barber, 2006; Smith et al., 2010; Linderman et al., 2017, 2019; Taghia et al., 2018) for this purpose (Fig. 1A). An SLDS estimates a set of latent variables that capture system dynamics in a space of much lower dimension than the data, a separate linear dynamical system for each state that specifies how the system evolves while in that state, and a probabilistic model of switching between states. Two features make it suited to the present question. First, the model supplies a segmentation that can be treated as an oracle: once time points are labeled, the measured fMRI signals around a labeled boundary can be examined directly, and they are free to be smooth or abrupt (Fig. 1B). Second, the model supplies an estimated flow — a vector field — whose change around the boundary can be quantified, and quantified in a graded manner, so that sharpness becomes a measured property of each transition pair.

Figure 1: SLDS framework.

Figure 1:

A. A Switching Linear Dynamical System (SLDS) was used to model fMRI resting-state time series data (Yt) from a set of cortical and subcortical brain regions of interest (ROIs). The model represents brain signals in terms of a set of latent variables (Xt). For each state k, the temporal evolution of the system is specified via a linear dynamical system. In the diagram, the system starts in state j (white star) and transitions to state k. In state i, the system evolves according to the dynamics matrix Ak. The model switches between states according to a Markovian process that determines the probability that the system is in state k at time t. Although the system’s trajectory lives in the latent space, it can be mapped back to the brain space via a linear projection learned from the data. B. The SLDS model segments the data into states, allowing us to study the dynamics of the transitions (actual data from the posterior cingulate cortex, PCC). Whereas one transition is visually fairly smooth, the other is considerably sharper, which can be quantified by the change in the vector fields around the time of transition.

The model used here is also a methodological advance. Group analyses of brain-state models are usually built by concatenating participants and fitting one model, so that the states and their dynamics are common to everyone and participants differ only in when each state occurs. We instead fit a multi-level SLDS, in which every participant has their own dynamics and transition parameters, tied to group-level parameters by a hierarchical prior and estimated jointly with them in a single pass, following the approach of Linderman et al. (2019) for hierarchical state-space models. The linear projection from latent space to the brain (Fig. 1) is shared, which keeps all participants in a common latent space and makes latent quantities comparable across them.

In the present study, we asked three questions. (1) How does brain activity evolve around state transitions, and is that evolution homogeneous across transition types? (2) Can transition sharpness be quantified in the dynamics themselves, and is any transition sharp enough to warrant the label “toggle”? (3) Which brain regions drive a given transition, and are they the same regions that steer the dynamics within the states involved? For the third question we developed a new region-level measure of transition importance, complementing the measure of within-state region dynamics importance we introduced previously (Misra and Pessoa, 2025). Because our parcellation included 54 subcortical regions alongside 200 cortical ones, subcortical contributions were estimated on the same footing as cortical ones.

Results

Dynamic states and their transitions

We fit a multi-level SLDS with six states (K=6) and ten latent dimensions (D=10) to Human Connectome Project resting-state data (N=500). To reduce overfitting and increase generalizability, both values were selected on a separate set of N=100 participants not used in any analysis reported below (Methods).

An SLDS model assigns state labels to each time point in a time series. For example, a short segment of fMRI data might be labeled as follows: …33355555116444…, where each time point is associated with a state (note that this short sequence is not representative of our results in which states typically last longer). SLDS states and state transitions are defined in a latent space of dimensionality (D = 10) considerably lower than that of the original brain data space (254 brain regions) (Fig. 1A). At each time point a single state is “active”. The generative model learned from the data estimates a dynamics matrix for each state that specifies how activity evolves during the state; specifically an equation that estimates signals at t+1 based on signals at t. Furthermore, based on the theory of linear systems, qualitative properties of temporal evolution depend on properties of the dynamics matrix. For example, the dynamics might be an attractor that converges to a fixed point. Formally, the type of dynamics is given by the eigenvalues of the dynamics matrix. Switching between states follows a Markov process whose transition probabilities are additionally modulated by the current latent position. Because the trajectory lives in a latent space, it is mapped back to the brain through a linear transformation (i.e., emission model) learned from the data.

All six estimated states were stable attractors at the group level (each p<0.05, corrected), so that in the absence of fluctuations in inputs or endogenous factors the system is predicted to settle into a particular configuration. Fig. 2 displays the mean activity of each state at “equilibrium” time (defined as the mean state duration plus three samples). We note briefly that the states were not in one-to-one correspondence with canonical large-scale networks (e.g., default, salience, etc.); to keep this study focused, we will not pursue this relationship here. Across states the SLDS accounted for 43% (State 6) to 57% (State 5) of the variance in one-step-ahead prediction. Activity maps at equilibrium were positively correlated among State 1, State 2 and State 3 and anticorrelated with State 4, State 5 and State 6 (Fig. S1), with the strongest anticorrelations involving the default-related State 3 and the attention/control-dominant State 5.

Figure 2: State activity maps.

Figure 2:

fMRI activity was determined based on mean activity at the region (ROI) level at “equilibrium” time (mean state duration plus three time steps). Activity was normalized (z-scored) for each region separately in each run; thus, positive and negative values should be interpreted relative to a region’s overall temporal mean. States are ordered by their mean duration. Maps are thresholded based on False Discovery Rate at 0.05 (6 states, 254 whole-brain regions). MNI coordinates are shown.

Transitions were structured rather than random. Of the 30 possible directed transitions, only 10 were statistically significant by a group permutation test (Fig. S2). State 1, which was occupied roughly half the time, transitioned reliably only to State 4 and State 5, while State 2, State 4 and State 5 reliably transitioned to State 1. Several transitions were unidirectional: notably, the attention/control-dominant State 5 transitioned to the default-related State 3, but not the reverse; State 3 instead transitioned to the sensorimotor-dominant State 4. The remainder of this paper concerns what happens during such state transitions.

Signal evolution around state transitions is heterogeneous

We first examined the measured fMRI signal in temporal windows centered on state transitions (Fig. 3; all 10 significant transitions in Fig. S3). This analysis uses the model only to place the boundary; the shape of the activity around that boundary is not constrained by the model and could have come out flat, monotone, or reversing.

Figure 3: Network activation changes around state transitions.

Figure 3:

A. Two transitions with sharp, toggle-like profiles: several canonical Yeo-17 networks reverse the sign of their activity change across the boundary. B. A smooth, “onesided” transition: activity is close to flat before the boundary and changes only afterwards. t=0 indicates the first time point of the new state. Line thickness indicates standard error of the mean across participants. All significant transitions are shown in Fig. S3.

Two transitions describe one extreme (Fig. 3A). To illustrate activity changes, we mapped the 200 cortical ROIs to Yeo-17 networks for labeling purposes and averaged signals across ROIs belonging to a given network. For State 5 ↦ State 3, DefaultA/B/C activity was decreasing before the transition and increasing after it, while DorsAttnA/B did the opposite; several networks thus reversed the sign of their signal evolution across the boundary. The same held for State 3 ↦ State 4, with SomMotA/B increasing and DefaultA/B/C decreasing. The clearest reversals were in DefaultA and ContB, whose curves for the two transitions cross around t=0.

State 1 ↦ State 4 illustrates the other extreme (Fig. 3B). Here activity was close to flat before the transition and changed only afterwards, in the same direction, for most networks — a “one-sided” profile. Inspection of all significant transitions (Fig. S3) showed that a preponderance of toggle-like reversals characterized State 3 ↦ State 2, State 3 ↦ State 4, and State 5 ↦ State 3, whereas one-sided profiles dominated State 1 ↦ State 4, State 1 ↦ State 5, and State 2 ↦ State 1, with the latter group nevertheless showing sharp reversals in individual networks (for example, ContB during State 1 ↦ State 4).

Two features of this comparison deserve emphasis. First, the transitions are averaged across instances and participants, and any jitter in the inferred boundary blurs the average. Averaging therefore biases the result toward smoothness, making the observed reversals conservative. Second, sharp and smooth transitions were not segregated by the networks involved. State 1 ↦ State 4 and State 3 ↦ State 4 share a destination state and both involve prominent somatomotor engagement, yet differ markedly in profile; State 2 ↦ State 1, State 4 ↦ State 1 and State 5 ↦ State 1 also share a destination state and also differ. Regional differences in hemodynamic response shape are therefore unlikely to account for the heterogeneity.

Quantifying change in dynamics at a state transition

The central goal of our study was to characterize state transitions. In particular, we sought to test whether some transitions were more toggle-like, signaling a change of dynamical regime, and others smoother, signaling a reorientation within a similar regime. The analyses above describe the fMRI signal around a transition but not how abruptly the dynamics change at the boundary.

We therefore turned to the vector field defined by the system (Fig. 1B): at every position in latent space, a vector giving the direction and magnitude of the expected one-step evolution (a particle placed at that position moves along that vector in one time step). The field was estimated empirically, from one-step differences of the inferred latent trajectory within local neighborhoods, separately at each time point relative to the transition (Methods). Two properties of this estimate matter for what follows. It is computed from the trajectory the system actually followed, and it is estimated separately at each time step so it is free to change gradually.

Fig. 4 shows fields projected onto two latent dimensions for two transitions (all significant transitions in Fig. S6). Consider State 3 ↦ State 4. For several time steps before the boundary the field pointed toward the attractor of the current state (red) and the system moved in that direction. At t=0, the crossing step, the field flipped, and thereafter it pointed toward the attractor of the new state (green). State 5 ↦ State 3 behaves the same way: the field before the boundary carries the system toward the attractor of State 5, and from the crossing step onward toward the attractor of State 3.

Figure 4: Quantifying the change in dynamics at a state transition.

Figure 4:

Vector fields estimated from one-step changes in latent state and projected onto two dimensions for visualization. Each panel is one time step; a displacement is labeled by the frame it arrives at, so t=0 is the step that crosses the boundary, from the last sample of the old state to the first sample of the new one (Methods). Red/green vectors represent the mean trajectory during the transition window (red: original state; green: new state). Red and green dots represent the point attractors. The grayscale values of the vectors are proportional to the number of data points that fall within the associated neighborhood, indicating data density at time t. Fig. S6 displays all statistically significant transitions.

Does the flow reverse?

To quantify state transitions, we created a transition sharpness index defined as the cosine similarity between the fields at adjacent time points (Fig. 1B). A negative value means that the estimated flow reversed direction between two samples acquired 720 ms apart. This is the natural instrument for the question we are asking for three reasons. It is a statement about direction alone and is unaffected by how fast the system happens to be moving, so it cannot be driven by one state being slower than another. It is resolved in time, so it says not only that the flow changed but when. And it inherits the two properties of the field estimate described (i.e., described from the trajectory the system actually followed; estimated at each time step), so it is not imposed by the model’s discrete architecture.

Transition sharpness was determined in the full ten-dimensional latent space (Methods; Fig. 5). Because a cosine between two noisy averages is pulled toward zero, each transition was also given a floor: the identical estimator applied to pseudo-transitions taken from the middle of long dwells of the same two states, so no change of rule occurs at a pseudo-transition. Two of the ten significant transitions, State 6 ↦ State 2 and State 6 ↦ State 5, are set aside here and in everything that follows. The floor requires eleven consecutive frames carrying a constant state label, and State 6, whose mean dwell is 2.9 s, cannot supply them. The measure is therefore reported for the remaining eight transitions. The results (Fig. 5) followed the same shape in every case. Away from the boundary the cosine sits between 0.64 and 0.96, close to the transition’s own floor, and it drops to a single-sample trough at t=0. Four transitions reversed: State 3 ↦ State 4, State 5 ↦ State 3, State 4 ↦ State 1 and State 5 ↦ State 1. State 3 ↦ State 2 fell to +0.09, while State 1 ↦ State 4, State 2 ↦ State 1 and State 1 ↦ State 5 remained clearly positive, a reorientation without reversal.

Figure 5: Does the dynamics flow reverse?

Figure 5:

For each of the transitions, the cosine similarity between the flow field at time t and the field one time step earlier, with neighborhoods defined by k-means in all ten latent dimensions (blue; shaded band is the 95% confidence interval from subject subsampling). As in Fig. 4, a displacement is labeled by the frame it arrives at, so t=0 is the step that crosses the boundary. Values in the shaded region below zero indicate that the estimated flow reversed direction between two samples acquired 720 ms apart; the value at the crossing step is printed in each panel, in red where the confidence interval lies entirely below zero. The dashed gray curve is the transition’s own reference floor: the identical estimator applied to pseudo-transitions in the middle of long dwells of the same two states, with the number of contributing points matched cell by cell and lag by lag. Bonferroni correction across 8 tests.

Note that the reversals are not symmetric between the two directions of a pair. Neither exit from the highoccupancy State 1 reversed the flow, at +0.35 for State 1 ↦ State 4 and +0.55 for State 1 ↦ State 5, whereas two of the three entries into it did, at −0.06 for State 4 ↦ State 1 and −0.08 for State 5 ↦ State 1; the third entry, State 2 ↦ State 1, did not, at +0.38. Whatever distinguishes a sharp transition from a smooth one is therefore not a property of the pair of states alone, but of the direction in which the pair is traversed.

The analyses above provide strong support for the existence of toggle-like transitions in the human brain as detected with functional MRI. To test the robustness and generality of our finding, we proceeded as follows. Transition sharpness was determined in the latent space. We reasoned that if the latent representation is a valid description of brain activation, we should obtain evidence of the transitions and their sharpness based on the original fMRI signal space, Y. Indeed, as described in Appendix B, the transition sharpness based on fMRI followed almost exactly the same ranking as the one in latent space. Evidence for toggle-like transitions in Fig. 5 was obtained with a model with six states. In supplementary analyses (Appendix C), we fit the data using K=8 states and evaluated transition sharpness. As before, we observed transitions of varying smoothness, including multiple that were toggle-like, where the field reversed at state transitions (but note that with 4 states no reversals were detected, although varying smoothness was observed). We also detected toggle-like transitions in supplementary analyses with data that did not remove the global signal (Appendix C). Taken together, these analyses further strengthen the evidence for the existence of sharp transitions in human fMRI resting data.

How much do the vector fields differ?

The cosine measure of transition sharpness determines whether the flow turned round. It does not say how much of the system’s motion was altered in turning. We addressed that second question with the field contrast: the distance between the vector fields of the origin and destination states, evaluated at the points the system actually traverses around the transition and averaged over them (Methods). It is computed in the full ten-dimensional latent space.

Across transitions, the field contrast ranged from 1.24 for State 2 ↦ State 1 to 2.11 for State 5 ↦ State 3, the largest exceeding the smallest by about 70%. Its two largest values, State 5 ↦ State 3 and State 3 ↦ State 4, belong to the two transitions whose flow reverses most deeply. The two measures therefore agree about which transitions alter the dynamics most.

Away from those extremes they agree only moderately. The rank correlation between the field contrast and the cosine index was ρ=-0.57 (n=8, exact p=0.15). The reason follows from what the field contrast measures. A distance between two vectors is symmetric for the two states it compares; the field contrast is blind by construction to the entry-versus-exit asymmetry reported above. Thus, the two measures are best read as answering different questions rather than as corroborating one another, and we rely on the cosine for the claim that some transitions are toggle-like.

One caveat belongs here rather than in the Discussion. Both measures contrast two states’ fields and are nonzero by construction whenever the states differ, so neither absolute value carries meaning on its own. What is interpretable is the spread across transition pairs. That spread is recovered by two analyses with different dependence on the model: the measured network time courses (Fig. 3), which use the model only for segmentation, and the time-resolved fields (Fig. 4), which use the inferred trajectory but not the state dynamics matrices. The field contrast adds a third view, and it agrees with the other two about the extremes.

Which regions drive a transition?

How strongly is the brain driven toward a switch, and when? At each moment, the model establishes how far the current whole-brain pattern points along the direction that favors state j over staying in state i. We call this the drive toward that switch. We evaluated it on the fMRI activity at each frame separately, so that it uses no information from any other time point (Methods). In the middle of a dwell (the midpoint of a state) it is essentially zero (leaving the odds of a switch at their usual value, the 1 line in Fig. 6). Over the four seconds before a state boundary it rises steadily, reaching its maximum on the last frame of the departing state. At that maximum the odds of that specific transition are between 1.8 and 3.2 times their mid-dwell value, largest for State 3 ↦ State 4 at 3.2 and State 5 ↦ State 3 at 2.5. It then falls back over the following seconds. Two qualifications are in order. The drive being elevated near a boundary is not by itself independent evidence that transitions are events, because the model places boundaries using this very quantity; what is not built in, and what the data determine, is that the drive sits at zero in mid-dwell, so that the brain is pushed toward no particular successor; that the buildup takes several seconds rather than appearing abruptly; and that it is discharged rather than sustained afterwards. And the size of the effect (e.g., a doubling to tripling of the odds) is not property of the fit.

Figure 6: The drive toward a state switch.

Figure 6:

For each of the transitions, the drive (over all regions) expressed as the odds of that switch relative to its mid-dwell value. Frame −1 is the last time point of the departing state. Each curve is referenced to its own mid-dwell level, measured at the midpoints of dwells; shaded bands are group level 95% bootstrap confidence intervals over the 500 participants. The axis is logarithmic in the odds, which makes the region shares of Fig. 7 additive.

The dynamics modeled by SLDS live in a latent space, and the states themselves are inherently multivariate. We hypothesized that some brain regions contribute to a state transition more than others. To recover the contribution of individual regions we developed a lesion-type analysis targeted at the SLDS transition model (Methods). The logic is as follows. The SLDS model estimates the odds of leaving state i for state j from the brain’s current configuration, which every region helps to specify. Removing the contribution of a single region m yields a counterfactual estimate of where the system is without letting region m inform it. The resulting change in the odds of the i↦j switch defines the transition importance of region m for that switch. Because signals contributing to a transition must precede it, importance maps were computed over the three samples preceding the state boundary.

Because the drive is a sum over regions, each region’s contribution is a share of it. The highest-ranked region accounted for between 1.4% and 3.6% of the drive toward its transition, which is relatively modest. Ten regions, however, carried between 13% and 24% of it depending on the transition, 22% for State 3 ↦ State 4 and 21% for State 5 ↦ State 3 (Fig. 7). About 5% of the parcellation therefore supplied around a fifth of everything pushing the brain toward a given switch.

Figure 7: How much of the drive individual regions account for.

Figure 7:

For each of the transitions, the share of the drive in the three time points before the boundary contributed by the single highest-ranked region and by the ten highest-ranked regions, out of all 254. Shares are computed from the same instances and the same window as Fig. 6. Transitions are ordered as in Fig. 6.

Fig. 8A shows importance maps for two transitions (all significant transitions in Fig. S4). For State 5 ↦ State 3 the strongest contributions came from default-mode regions, in particular the angular gyrus and posterior cingulate cortex. For State 3 ↦ State 4 the most important regions belonged to networks ContA and ContB, with a notable contribution from a DefaultA region as well. Thus different transitions out of, or into, structurally overlapping state configurations recruited distinguishable sets of regions. Notably, in the State 5 ↦ State 3 transition the most important regions were default-mode regions, and State 3 itself exhibited strong overlap with the default-mode networks, while State 5 overlapped with task-positive networks. For this transition, then, the regions carrying most influence over the switch were those characteristic of the state being entered (i.e., the future state) rather than of the state being left.

Figure 8: State transition importance.

Figure 8:

A. Importance maps for two transitions with sharp transition profiles. Maps thresholded against the null of equal importance across regions (False Discovery Rate at 0.05). The two transitions recruit distinguishable sets of regions: default-mode regions for State 5 ↦ State 3 and control-network regions for State 3 ↦ State 4. B. Importance time series around the transition, on the same frame axis as Fig. 6: frame 0 is the first sample of the new state and the dashed line marks frame −1, the last sample of the departing state. Each curve represents a brain region, with the top five highlighted. Importance rises steadily before the boundary, peaks on the last frame of the departing state, and falls immediately thereafter. The complete set of transition importance maps and importance time series for significant transitions are shown in Figs. S4 and S5.

The temporal profile of transition importance was equally informative (Fig. 8B; all transitions in Fig. S5). Computed in a sliding window, importance for the top-ranked regions rose steadily over the seconds preceding the boundary, peaked on the last frame of the departing state, and fell immediately thereafter. This profile was observed for all eight transitions investigated, and it is the regional counterpart of Fig. 6: the buildup and discharge established there for the whole brain was observed at the level of individual regions.

Regions that steer a state and regions that end it

Transition importance was developed here to quantify a region’s relative contribution to state change. In this section, we compared it directly against the measure of within-state region dynamics importance we developed previously (Misra and Pessoa, 2025), which quantifies how much the predicted one-step evolution of whole-brain activity changes when a region’s contribution is removed from the state’s dynamics matrix. The two measures ask different questions of the same model: which regions steer the trajectory while the system is in a state, and which regions push the system out of it.

Here, we ask the question of the relationship of these two types of region importance. Consider State 5 (Table S1). Within-state dynamics were dominated by dorsal attention and visual regions, consistent with the attention/control character of that state (see also Fig. 2). The regions that drove the State 5 ↦ State 3 transition, however, were default-mode regions, which were not prominent in State 5’s within-state dynamics. In other words, default-related regions accumulated influence over the course of an attention/control state and eventually terminated it, without being the regions that governed its internal evolution. Such dissociation is not universal. For State 3 ↦ State 4, control-network regions in the intraparietal sulcus and inferior parietal lobule contributed to the transition and were also among the most important regions for State 3’s within-state dynamics. Table 1 shows results for all eight transitions considered showing that the amount of overlap varies across transitions, with some of them exhibiting a pattern of dissociation between within and between region importance. For the two exits from State 1, the ten regions that steer the state have average ranks of 236 and 209 (of 254) for ending it, well past the 127.5 expected by chance, so the regions that hold the baseline regime together are among the last to break it (i.e., help transition from it). For State 3 the two sets largely coincide, at average ranks near 34 with three or four regions shared outright, so whether steering and ending are separable depends on the regime rather than on the measure.

Table 1: Do the regions that steer a state also end it?

For each transition, the 254 regions were ranked twice. The first ranking uses within-state region dynamics importance (Misra and Pessoa, 2025), which measures how much the predicted one-step evolution of whole-brain activity changes when a region’s contribution is removed; its ten highest-ranked entries are the regions that most steer that state. The second ranking uses transition importance for that specific switch (with rank 1 the region contributing most to the switch); its ten highest-ranked entries are the regions that most help end the state. The second column counts the regions common to the two top tens. The third column takes the ten steering regions and gives their mean rank in the transition importance ranking, so that a small value means the regions steering the state are also prominent in ending it, and a large value means they are among the last regions to end it. For example, the ten regions that steer State 5, listed in Table S1, occupy ranks 24 to 77 of 254 for ending it, an average of 46. Both rankings are averages over the 500 participants. Ten regions drawn at random average rank 127.5, and two unrelated top-ten lists share 0.39 regions on average and share none 66% of the time, so a zero in the second column is not by itself informative and the third column helps separate the cases. The relationship follows from the third column against a permutation null over regions: opposed when the steering ten fall near the bottom of the ending ranking, unrelated when they sit near the middle, and shared when they sit near the top. Transitions involving the rare state, State 6, are excluded, as elsewhere.

Transition Shared of top ten Average rank of the steering ten Relationship
State 1 ↦ State 4 0 236 opposed
State 1 ↦ State 5 0 209 opposed
State 5 ↦ State 1 0 121 unrelated
State 4 ↦ State 1 0 82 shared, weakly
State 5 ↦ State 3 0 46 shared
State 2 ↦ State 1 2 32 shared
State 3 ↦ State 4 4 34 shared
State 3 ↦ State 2 3 34 shared

Discussion

Studies of the resting state collectively indicate that it should be understood dynamically. Here we asked how the brain moves between resting-state configurations, and in particular whether that movement is toggle-like or gradual. The answer is that it is both, depending on which pair of states is considered. Three analyses support this conclusion, and they differ in how much they depend on the SLDS model. The measured activity of canonical networks around a state boundary reversed sign for some transitions and was flat before the boundary for others. The flow field estimated in latent space reversed direction between two samples acquired 720 ms apart for some transitions and merely reoriented for others. And the field contrast, a full-dimensional measure of how different the equations of motion of the origin and destination states are, varied across transitions by about 70∖% from smallest to largest,and agreed with the other two about which transitions alter the dynamics most. A new lesion-type measure then identified the regions that drive individual transitions, and showed that their influence accumulates over the seconds before the switch and dissipates immediately after it.

State transition sharpness: from toggle-like to smooth

We sought to test the hypothesis that, if brain states are a useful way to conceptualize fMRI activity during the resting state, transitions between them should be “non trivial”. Four of the eight transitions reversed the estimated flow between two adjacent samples acquired 720 ms apart: State 3 ↦ State 4, State 5 ↦ State 3, State 5 ↦ State 1 and State 4 ↦ State 1. Each cleared Bonferroni correction over the eight tests, the weakest at |z|=3.9. Two of the four were particularly pronounced: for State 3 ↦ State 4 and State 5 ↦ State 3 the cosine fell to −0.47 and −0.26, canonical networks reversed the sign of their activity change across the boundary, and the field contrast was largest. We called transitions of this type toggle-like. Multiple toggle-like transitions were also observed in supplementary analyses employing eight states, showing that this behavior did not depend on the particular six-state partition we utilized (Appendix C). Therefore, we propose that a description of fMRI resting-state dynamics in which all apparent state boundaries result from the modeling approach is incomplete. Our results thus help qualify a more continuous picture. Quasi-periodic patterns and low-frequency traveling waves account for a substantial share of timevarying functional organization (Majeed et al., 2011; Keilholz et al., 2013; Bolt et al., 2022), and our own smooth transitions (State 1 ↦ State 4 and State 1 ↦ State 5, the two exits from the high-occupancy State 1) are entirely consistent with such a description. But our results suggest it is not the entire story.

At the same time, BOLD is a low-pass filtered, slowly evolving signal, and the fastest change we can resolve is set by the sampling rate (TR = 0.72 s) and by the hemodynamic response, not by the underlying dynamics. Naturally, we cannot determine how fast the neural switch is; we can only say that at the fMRI timescale some transitions are as sharp as the measurement permits while others are not. Because sharp and smooth transitions shared destination states and engaged overlapping networks (most directly, State 1 ↦ State 4 and State 3 ↦ State 4 both terminate in a somatomotor-dominant state), the heterogeneity cannot be assigned to regional differences in hemodynamic properties (Handwerker et al., 2004). For additional control analyses ruling out hemodynamic explanations, see Appendix D.

What is the importance of transition sharpness? Mechanistically, a reversal of the flow between adjacent samples is what one expects from a competitive process in which the effective equations of motion change quickly: mutual inhibition between configurations, gating, or passage near a bifurcation. It is not what one expects from drift along a manifold under slowly varying dynamics. The two classes call for different generative models, and the empirical demonstration that both occur within a single resting-state session constrains that modeling (Deco and Jirsa, 2012; Cabral et al., 2014; Khona and Fiete, 2022). Practically, sharpness justifies the standard vocabulary of states. Dwell times and transition probabilities are interpretable as properties of the brain to the extent that the boundaries they are computed from correspond to events; where they do not, they are properties of the segmentation (Lurie et al., 2020). Our results suggest that this behavior is transition-specific and should not be assumed globally. Finally, the interventional program that asks which regions to stimulate in order to move the brain from one state to another (Gu et al., 2015, 2017; Deco et al., 2019; Cornblath et al., 2020) is best posed for those transitions that are more pronounced.

What distinguishes a sharp transition from a smooth one?

Having established that transitions differ, the natural question is what the difference reflects. It is not based on the distance between the states being joined. If it were, the transitions joining the most dissimilar activity configurations would be the sharpest but they are not: State 3 ↦ State 4 joins the most strongly anticor-related pair (r=-0.91) and reverses the flow most deeply, but State 1 ↦ State 5 joins a pair almost as strongly anticorrelated (r=-0.80) and is the smoothest transition measured; State 3 ↦ State 2, which joins two positively correlated configurations (r=0.39), falls between them.

We suggest that the direction of travel with respect to State 1 is an important factor. State 1 was occupied roughly half the time and resembles the long-dwell, high-occupancy “baseline” or hub-like regimes reported elsewhere (Song et al., 2023; Chen et al., 2022); it transitioned reliably only to State 4 and State 5. Leaving the state did no reverse the flow: State 1 ↦ State 5 at +0.55 was the highest cosine measured and State 1 ↦ State 4 at +0.35 was among the highest; these are both cases of a reorientation without reversal. Entering the state usually did: two of the three entries into State 1, State 5 ↦ State 1 and State 4 ↦ State 1, reversed the flow.

We thus suggest that the brain drifts out of the baseline regime and is switched into it, and that the toggle-like character of resting-state dynamics is concentrated in entries to the baseline regime and in transitions among the more differentiated regimes, such as default-related, attention/control-related, sensorimotor. The potential emerging picture is as follows: escape from a broad, strongly occupied attractor is slow (and possibly noise-driven), whereas convergence into it can be fast. This conjecture predicts that in a model with a finer state repertoire exits from the highest-occupancy state should not reverse the flow, while entries into it may. The eight-state model analysis (Appendix C) is consistent with this idea. There, neither exit from the dominant state there reversed the field, while of the four entries one does.

We also note that the two sharpest transitions both involve the default-related State 3, once as destination (State 5 ↦ State 3) and once as origin (State 3 ↦ State 4). Entries into and exits from the default-related state were thus the most abrupt events we observed. The antagonism between default-mode and attention/control systems is among the most reproducible findings in resting-state fMRI (Fox et al., 2005), and a competitive relationship of that sort would be anticipated to generate fast switches rather than gradual evolution. We are cautious here because global signal regression was applied during preprocessing and is known to affect anticorrelation structure (Saad et al., 2012; Chai et al., 2012). We note that the model fit without global signal regression still produced transitions that reverse the flow (Appendix C), so the phenomenon does not depend on that step.

Relation to prior work on time-varying functional organization

Several approaches support the view that resting fMRI signals alternate among a small number of whole-brain patterns. Sliding-window clustering revealed recurring connectivity states with non-random transitions and behaviorally relevant dwell times (Allen et al., 2012; Damaraju et al., 2014). Hidden Markov modeling showed that large-scale activity switches among a handful of metastates organized hierarchically in time (Vidaurre et al., 2017, 2018a; Song et al., 2023). Frame-wise co-activation analyses decompose BOLD time series into transient maps with characteristic temporal structure (Liu et al., 2018; Peng et al., 2023; Karahanoğlu and Van De Ville, 2015; Gutierrez-Barragan et al., 2024; Lee et al., 2024). Quasi-periodic pattern analysis identifies repeating spatiotemporal waveforms that explain a substantial share of resting functional connectivity structure (Keilholz et al., 2013; Keilholz, 2014), and recent work shows that much of that structure reduces to a small number of low-frequency spatiotemporal patterns and traveling waves (Bolt et al., 2022; Raut et al., 2021). These approaches have been applied to the same data and compared directly, and they do not produce identical state repertoires (Maltbie et al., 2022).

Our state repertoire is consistent with this body of work, and our finding that transitions are non-random reproduces one of its central results. Importantly, the present analysis adds to this literature a quantitative characterization of boundaries. Each of the methods above yields state labels, but do not estimate the dynamics on either side of a boundary. So they cannot determine the type of change experience at the boundary. That is precisely what the SLDS modeling framework provides, and allowed us to test the toggle-versus-smooth question. The finding that both regimes exist suggests that the discrete and continuous descriptions in the literature are not competitors so much as descriptions of different parts of the broader dynamic repertoire during the resting state.

A word about the model developed here. Every quantity reported above is an average over 500 participant-level fits rather than a summary of one concatenated time series. This follows from the multi-level formulation: subject-level dynamics are estimated with partial pooling toward the group, which is what makes per-participant dynamics estimable at all from roughly 4,800 frames each, while the shared emission model (i.e., latent state to brain linear transformation) keeps the latent space common so that vector fields and their angles can be compared across people. The cost of that choice is the assumption it rests on, namely that the mapping from latent space to regional activity does not vary across participants; relaxing it, and allowing individual differences in the emission model as well as in the dynamics, is a natural extension for future work.

Region contributions to transitions

The multivariate SLDS approach leaves open the question of which brain regions impact state transitions. The transition importance measure introduced here addresses this question explicitly. The definition employed is counterfactual: instead of asking how much a region’s activity changes, it asks how much the model’s evidence for a particular switch depends on considering a region’s signal.

We highlight two results here. First, transitions had identifiable and distinguishable regional drivers. Default-mode regions, chiefly angular gyrus and posterior cingulate cortex, drove State 5 ↦ State 3, whereas control-network regions in intraparietal sulcus and inferior parietal lobule drove State 3 ↦ State 4. Second, importance had a stereotyped time course: a steady rise before the boundary, a peak at the boundary, and an immediate fall. It is interesting to note that this is a “precursor signature” resembling early-warning indicators that precede regime shifts in other complex systems (Scheffer et al., 2009). Of course, determining critical slowing down or any specific bifurcation is particularly challenging given the hemodynamic timescale.

In our view, the dissociation between within-state dynamics importance and transition importance is the most relevant region-level result. In five of the eight transitions, the ten regions that steer the origin state’s internal evolution and the ten that drive the switch out of it share no region at all. How separable the two roles are depends more on the state being left than on the state being entered, though not without exception: the two exits from State 1 behave alike and the two from State 3 are nearly identical.

State 1 and State 3 mark the extremes, and they differ in anatomy as well as in degree. The internal dynamics of the high-occupancy State 1 are steered almost entirely from the striatum and thalamus, nine of its ten highest-ranked regions being subcortical, while the regions that end those transitions are cortical. In State 3 the same control regions in the intraparietal sulcus and inferior parietal lobule serve both roles, with four of the top ten common to the two lists. Exits from State 5 and State 4 fall in between, sharing no region while the steering set still sits in the upper half of the ending ranks.

We draw two conclusion here. Maintaining a regime and ending it are separable functional processes, and how separable they are is itself a property of the regime. More generally, we suggest that activity magnitude, the quantity almost universally mapped in fMRI, does not uniquely determine a region’s contribution to system-level dynamics. Functional MRI focuses on amplitude, and a region that changes its activity is interpreted as being involved. Neither of the two measures compared here is a measure of amplitude. Within-state dynamics importance asks how much the predicted evolution of whole-brain activity changes when a region is removed from the state’s dynamics matrix, and transition importance asks how much the model’s evidence for a particular switch depends on that region’s signal. In both cases a region enters through the alignment of its activity with a direction in the latent space, so a region can be strongly modulated and contribute little, or contribute substantially while being modulated weakly (Misra and Pessoa, 2025).

This point is echoed by a growing literature. Simulated lesions showed that the effect of removing a region on network dynamics follows from its position in the connectome rather than from its activity (Alstott et al., 2009), and control-theoretic work ranks regions by their capacity to move the system rather than by how much they respond (Gu et al., 2015; Deco et al., 2019). Possibly, the sharpest form of the argument comes from neural populations, where activity counts only insofar as it projects onto relevant directions. Signaling between cortical areas is confined to a low-dimensional communication subspace, so much of a “source” area’s activity never reaches its “target” (Semedo et al., 2019), and preparatory activity is arranged to lie in an output-null subspace, large in amplitude and without effect on movement (Kaufman et al., 2014). The same type of geometry operates here at the level of regions. A region moves a state switch only through the part of its activity that points along the direction separating the two states, and whatever is orthogonal to that direction leaves the switch untouched (formally, a region contributes its activity weighted by am, the projection of its emission loading onto the direction favoring state j over state i). What the present analysis adds is that the same region can occupy two roles within one model, steering a state and ending it, and that the two need not coincide. Amplitude maps remain a natural description of a region’s responds; they are not, on their own, a description of what it does to the system.

Limitations

Several limitations of the present work deserved explicit discussion. The model is phenomenological rather than mechanistic: it establishes that the brain switches among distinct dynamical regimes but does not address what biophysical processes cause those regimes or drive the switches. Linearity within states is a simplification adopted for tractability, while the attractor landscapes suggested by theoretical work are considerably more complex (Miller, 2016; Rabinovich et al., 2006). Our piecewise linear approximation captures recurring patterns in the BOLD signal without modeling the nonlinear computations that generate them, a reasonable assumption given the hemodynamic timescale. The attractor interpretation is model-relative: stability is established within each learned linear regime, and our results should be read as identifying effective attractors at the fMRI timescale (Khona and Fiete, 2022). Markovian switching ignores longer histories, which semi-Markov extensions could capture (Oh et al., 2008; Shappell et al., 2019). A Markov chain forces geometrically distributed dwell times, and modeling the sojourn distribution directly changes the dwell times recovered from resting fMRI (Shappell et al., 2019). The recovered repertoire depends on the number of states and latent dimensions; other choices could subdivide or merge the states reported here. Subcortical claims from this model also carry a caveat of scale: the 54 subcortical regions are 21% of the parcellation but carry 3.5% of the emission loading, so the latent space couples to them through a small fraction of its total weight. The striatal and thalamic steering of State 1 should be read against that baseline. Global signal regression was applied during preprocessing and can influence anticorrelations and dynamic estimates (Saad et al., 2012; Chai et al., 2012). Resting fMRI is sensitive to physiological and vigilance fluctuations, and simultaneous physiology, pupillometry or EEG would help dissociate neural from non-neural contributions (Tagliazucchi and Laufs, 2014; Wang et al., 2016).

Conclusions

Resting-state dynamics is neither a sequence of clean toggles nor a single smooth trajectory. Some transitions between whole-brain states are sharp at the limit of what fMRI can resolve, with the estimated flow reversing between adjacent samples (720 ms); others are gradual and one-sided. The heterogeneity is systematic, is unlikely to be attributable to hemodynamic filtering or to the discrete architecture of the model, and is recovered by analyses with different degrees of dependence on the model. Transitions have identifiable regional drivers whose influence accumulates before the switch and dissipates after it, and those drivers are not necessarily the regions that steer dynamics within the states involved. Treating state transitions as measurable dynamical objects, rather than as changes in a label, brings a set of questions about resting-state brain dynamics within empirical reach.

Methods

Data

We employed resting-state fMRI data from the Human Connectome Project 1200-subjects release, processed with the ICA-FIX pipeline (Smith et al., 2013). For each resting-state fMRI run we first normalized (z-scored) the ROI time series, and then regressed out the global signal (the mean across all ROIs at each time point) from each ROI time series (but see supplementary analyses). Motion correction was performed voxelwise by regressing out 12 nuisance variables (six motion parameters and their temporal derivatives) using AFNI’s 3dDeconvolve and 3dREMLfit programs (Cox, 1996). The repetition time was 720 ms.

HCP participants with 4 runs were considered. A set of n=100 participants was used for exploratory analysis and model selection, that is, to select the number of SLDS states (K=6) and the number of latent dimensions (D=10); some supplementary analyses were also performed with models with four and eight states. A model was then fit to a separate set of n=500 participants; all results reported here come from this model. We did not use all available HCP data because of the computational demands of estimating more than 500 participants; preliminary assessment indicated that SLDS model fits generated similar results after a sample size of approximately 200 participants.

ROI parcellation.

We used a 254-ROI whole-brain parcellation, combining the Schaefer–Yeo 200-ROI cortical parcellation (Schaefer et al., 2017) and the Tian 54-ROI subcortical parcellation (Tian et al., 2020). Canonical networks were based on the Yeo-17 parcellation (Yeo et al., 2011).

Model

A multi-level SLDS model was fit to the HCP resting-state data, following the general proposal of Linderman et al. (2019): the multi-level formulation allows one to simultaneously estimate both individual and group-level dynamics, enabling quantification of the variability of individual-level parameter estimates. The model comprises an SLDS component and a multi-level component.

SLDS component

The SLDS model includes three parts: dynamics, transition, and emission. A set of brain states is inferred from the multivariate time series data ytt=1T,yt∈RN (here N=254 ROI time series). Each state is associated with its own linear dynamics. The probability of a state transition at any time point depends on both the current state label (zt∈{1,…,K}) and the system’s current position in the continuous latent state space (xt∈RD). The emission model maps dynamics in latent space (RD) to activity in ROI space (RN), allowing model predictions to be visualized in the space of the brain.

  • Latent dynamics. For each state k, latent dynamics is modeled as a linear equation
    xt=Akxt-1+bk+ϵtd,ϵtd~N0,Σdk
    where Ak∈RD×D is the state dynamics matrix, bk∈RD is the state bias vector, and Σdk∈RD×D is the residual covariance matrix. Here D=10.
  • Transition between states. For any two states i,j, the transition probability is modeled as
    Pzt=j∣zt-1=i,xt-1∝explogQij+rjTxt-1
    where Q∈RK×K is the Markovian transition matrix and rj∈RD is the state recurrent coefficient acting on the latent continuous state x. The vector rj acts as a set of “weights” for state j: a strong match between the current latent position xt-1 and rj increases the probability of transitioning into state j. This mechanism allows the observed brain dynamics to directly influence and bias the latent state transitions, moving beyond purely fixed Markovian probabilities.
  • Emission model. The emission model links fMRI observations yt∈RN and latent state xt∈RD through a linear model:
    yt=Cxt+ϵte,ϵte~N0,Σe
    where C∈RN×D is the emission matrix and Σe∈RN×N is diagonal. The emission matrix is assumed unchanged across states.

Multi-level component

We assumed that each participant has their own dynamical system (i.e., parameters), and employed a multi-level Bayesian framework to estimate a group-level model while respecting participant-level variability. Each subject was associated with their own participant-level SLDS parameters Ak,bk,Σdk,Q,rk linked hierarchically to group-level SLDS parameters. Emission parameters (C and Σe) were assumed unchanged across subjects given that they do not model the underlying brain activity.

  • Hierarchical prior for intrinsic system parameters. Let θ denote the collection of all parameters of the dynamics and transition elements of an SLDS model:
    θ≔vecAk,bk,Σdk,rkk=1K,Q
    where vec stands for vectorizing. For a total of n subjects, we link the subject-level parameters to group-level ones by a hierarchical prior (using superscript i to denote subject index)
    πθ(i)∣η~N(η,λ⋅I),i=1⋯n
    where η denotes the group-level parameters corresponding to θ,I is the identity matrix, and λ determines how strongly subject-level parameters are linked to the group parameters (we used λ=0.1). The identity covariance prior indicates that no prior information is placed on the covariance structure among parameters. The hierarchical posterior f(θ∣η,y) is inferred based on fMRI data. Values of λ in the range 0.01 to 0.5 yielded qualitatively similar group-level SLDS results.
  • Emission parameters are shared across subjects. As the emission part of SLDS is more linked to mapping dynamics back to the brain space, and less about the intrinsic system being modeled (in latent space), we assumed that the emission parameters do not vary across subjects.

All group and subject level parameters were fitted jointly, yielding one group-level model and n subject-level models. The optimization procedure adapts the variational Laplace EM algorithm (Zoltowski et al., 2020) to support hierarchical Bayesian parameter fitting; for a related approach, see Linderman et al. (2019). Specifically, the EM procedure for SLDS (Zoltowski et al., 2020) was extended to account for the fMRI data structure: in the E-step (state update), the variational Laplace approximation was carried out individually using the current subject-level SLDS parameters to update latent states zt,xtt=1T per subject; in the M-step (parameter update), group-level and all subject-level SLDS parameters θ(i)i=1n,η,C,Σe were updated simultaneously. See Appendix A for details.

Parameter selection

A separate set of 100 participants was used to determine two key parameters of the model via 10-fold cross validation.

Number of states.

The information-theoretic measures Adjusted Rand Index and Normalized Mutual Information were used to quantify state consistency (i.e., the sequence of labels estimated by the model) among cross-validation fits, and to choose the number of states K (Vinh et al., 2010), similar to our previous paper for a task paradigm (Misra and Pessoa, 2025). Based on the consistency values at K=6 and their reasonable variability among different latent dimensions, we chose six states.

Number of latent dimensions.

To select the dimensionality of the latent space, we used an approach based on explained variance (one-step prediction accuracy of the dynamic model, under noiseless dynamics). Motivated by the R2-like measure previously defined for a linear dynamical system (Liégeois et al., 2019), for the SLDS case let

yˆt=CAzt-1C′^yt-1+Cbzt-1^

be the one-time-step model prediction of yt based on the previous state (C′ denotes the transpose of C). The prediction residual is ϵˆt=yt-yˆt, and the proportion of variance explained by the SLDS model is

R2≔1-varϵˆtFvarytF,

where ‖⋅‖F denotes the Frobenius norm. The increase in explained variance slowed down around D=10, while adding dimensions would considerably increase both memory and computational complexity OD2. Explained variance varied little with the number of states K.

Definitions and statistical approach

State activity maps.

Activity maps display, for each state, mean activity at “equilibrium” time, defined as the state mean duration plus 3 samples.

Network activity.

Networks were based on the Yeo-17 parcellation. Activity was defined by averaging the activity values of all ROIs within a given network.

Temporal activity during transition.

Brain activity was averaged across all state transition segments; t=0 denotes the transition time point, that is, the first sample of the new state.

Statistical approach.

We sought to perform statistical tests by considering individual participant-based variability. For results at the map level, individual-level maps were determined followed by a one- or two-sample t-test across participants. To control for multiple comparisons, we used a false discovery rate approach such that the expected proportion of false positives was controlled at 5% (Benjamini and Hochberg, 1995). Additional tests were also based on individual-level values; where appropriate, Bonferroni correction was applied based on the specific number of tests.

Testing stability of state dynamics.

Linear system dynamics is stable when all eigenvalues of the dynamics matrix lie within the unit circle (Luenberger, 1979). For each state, we tested for stability at the group level by using subject-level model values of the maximum eigenvalue norm (spectral radius) of the state dynamics matrix. For state k, let ρk≔max|λ|:λ∈σAk (σ denotes the set of eigenvalues), and ρk(i) denote the ρk value from the subject-level SLDS for subject i. Our test statistic was defined as T=n⋅ρˆk¯-1SDρˆk, where ρˆk¯ and SDρˆk are the sample mean and standard deviation of fitted subject-level values. In other words, H0:Eρˆk≥1 versus H1:Eρˆk<1. All state dynamics were stable at the group level (p<0.05, Bonferroni correction for K=6 states).

Transition matrix and statistical significance

Transition probabilities were computed from state label sequences at the individual level and averaged. To quantify state transitions, we were interested in occurrences of state i at time t followed by state j≠i at time t+1 (i.e., we were not interested in self-transitions). Entries {i,j},i≠j, indicate the probability of transitioning from state i to state j.

Statistical significance of state transitions was determined by a group permutation test (B=1000 permutations) as follows. For b=1,⋯,B: (Step 1) for every subject s, a randomized state label time series was generated by permuting the states by considering same-state segments (e.g., 114455 could be shuffled to 441155, 445511, etc.); (Step 2) for every subject s and transition i↦j(j≠i), compute the transition probability from the randomized state label time series, denoted Ps,i,j(b); (Step 3) denoting the observed transition probability by Ps,i,j(obs), compute for every subject and transition a z-score Zs,i,j=Ps,i,j(obs)-μs,i,j/σs,i,j, where μs,i,j and σs,i,j are the sample mean and standard deviation of the permuted probabilities; (Step 4) for every transition, perform a one-sample t-test on Zs,i,js=1n to test if they are greater than zero. Significance was determined at p<0.05 after Bonferroni correction for (K-1)×K state transitions.

Region dynamics importance

Following our prior work (Misra and Pessoa, 2025) we computed region dynamics importance. The SLDS model can be used to predict how fMRI brain signals evolve in one time step:

yˆt+1=AˆztROIyt+bˆztROI,

where AˆkROI≔CAkC′^ denotes the estimated dynamics matrix for state k in brain space RN, and bˆkROI≔Cbk^ denotes the estimated bias term in the same space.

We define the importance of the ith brain region at time t by evaluating the whole-brain activity difference at t+1 when zeroing out (“lesioning”) the ith column in AROI (the resulting matrix is denoted by AROI[:,-i]:

qˆt,i≔AˆztROI-AˆztROI[:,-i]yt=AˆztROIyt+bˆztROI-AˆztROI[:,-i]yt+bˆztROI=yˆt+1-yˆt+1(-i),

where ‖⋅‖ denotes the Euclidean norm in RN, and yˆt+1(-i) provides the estimated activity supposing region i is zeroed. Computing an importance value at each time point yields an “importance time series”, which was normalized (z-scored) for each run. Note that

qˆt,i=AˆztROI[:,i]⋅yt[i]=AˆztROI[:,i]⋅yt[i],

so that the measure takes into account both the activity of region i itself and the “effective connectivity” from region i to other brain regions.

Statistical test.

To threshold importance maps we tested against the null hypothesis that all regions have equal importance, by shuffling ROI labels. Let Qs,k,i denote region i’s importance in state k for subject s. For every state k, region i, and subject s: (Step 1) compute observed importance values Qs,k,iobs; (Step 2) for b=1,⋯,B(B=1000), generate a permutation πbs:{1,⋯,N}→{1,⋯,N}; (Step 3) z-score the observed importance value based on the range of values obtained by the permuted (“null”) values, Zs,k,i=Qs,k,iobs-μs,k,i/σs,k,i. Then (Step 4) test if the z-scored importance is greater than zero via a one-sample t-test on Zs,k,is=1n. Multiple comparison correction was applied for K states and N regions via false discovery rate control at 5%.

Region transition importance

The SLDS model estimates transition probabilities, which can be exploited to investigate the contribution of individual brain regions to state transitions. Recall that SLDS models a state transition i↦j as Pzt+1=j∣zt=i,xt∝explogQij+rjTxt. For a given state i we can define hˆi(⋅):RD→RK :

hˆi(x)[j]≔logQˆij+rˆjTx,j=1,⋯,K,

for a given system position x in latent space. Our goal is to quantify the importance of region m for state transition i↦j.

Step 1: Computing the latent position via leave-one-region-out projection.

At a given time t, an estimate of the system’s position in latent space is obtained via the emission model. Because the fitted emission matrix has orthonormal columns (Cˆ⊤Cˆ-Imax=1.1×10-15 for the model reported here), that estimate is the projection xˆt=Cˆ⊤yt, in which each region contributes an additive term cˆmyt[m] with cˆm=Cˆ[m,:]⊤. Lesion of region m is done by removing that region’s term,

xˆt(-m)≔Cˆ-m⊤yt,-m=xˆt-cˆmyt[m].

The goal is to isolate how much information ROI m uniquely contributes to the model’s tendency to leave state i for j. By dropping the term ROI m contributes, the method constructs a “counterfactual” latent xˆt(-m) built from the rest of the brain without letting ROI m influence the latent estimate. We note that this is not identical to re-solving the least-squares problem over the remaining regions: for the full orthonormal Cˆ the two coincide, but once a row is removed the reduced matrix is no longer orthonormal and the two estimates differ. The procedure used here, and in all results reported below, is the projection above.

Step 2: Computing the log-odds of the state transition probability.

At a given time t we measure the change in state transition probabilities resulting from lesion of region m by computing an instantaneous log-odds in favor of the transition i↦j versus staying in state i:

hˆij(-m)(t)≔hˆixˆt(-m)[j]-hˆixˆt(-m)[i],

which turns the lesioned latent estimate into a decision-relevant quantity: the instantaneous log-odds that the system leaves state i for j rather than remaining in i. Because the normalizing constant of the transition model is shared by all destinations, it cancels in this difference, so the quantity is an exact log-odds rather than an approximation (measured in nats and its exponential is an odds ratio). Using the difference puts the effect of ROI m on a relative scale, isolating how the lesioned evidence affects the transition versus stay option; higher values thus indicate a stronger immediate drive toward j under the lesion of region m.

Step 3: Averaging over all state transitions i↦j observed at time t.

Let Tc be the collection of all instances of state transitions i↦j observed in the time series at time t. We average these instances to compute

Hˇij(-m)≔1Tc∑t∈Tchˆij(-m)(t).

Definition.

We define region transition importance for region m as

TI^i↦j(m)≔1N∑n=1NHˇij(-n)-Hˇij(-m),

where the first term is the average across all ROIs. A positive TI value means that region m has above-average contribution for i↦j, such that lesion of region m tends to reduce transition probability.

Substituting Step 1 into Steps 2 and 3 gives a closed form. Writing y‾m for the mean activity of region m over the pre-transition window and instances,

TI^i↦j(m)=am(i,j)y‾m-1N∑n=1Nan(i,j)y‾n,am(i,j)≔rˆj-rˆi⊤cˆm.

Transition importance is therefore the pre-transition activity of each region, weighted by a purely geometric coefficient am that measures how far that region’s emission loading points along the direction favoring j over i, and then centered across regions. It is noteworthy that log Qˆij cancels identically, so the measure carries no information from the baseline transition matrix.

Transition importance map.

Transition importance maps were generated via a procedure similar to Step 3. Instead of considering values hˆij(-m) at just one time point t, we averaged time points across a window before the transition time: observations during three time steps, t∈[-3,-1], before the transition i↦j (considering other windows, such as t∈[-5,0], did not qualitatively change the result). To threshold the maps statistically we used the same testing procedure as for dynamics importance maps, testing against the null of equal importance across all regions. Multiple comparison correction was applied taking into account the number of transitions times the number of regions.

The drive toward a switch.

Region transition importance weights the activity of each region by am(i,j), and then centers those terms across regions. The centering is what makes the measure a comparison between regions, and it removes their total. Here we keep the total. Each region contributes am(i,j)yt[m]: its activity, weighted by how far its emission loading points along the direction that favors j over i. Summing the contributions of all N regions gives the drive toward the switch,

gi↦j(t)≔∑m=1Nam(i,j)yt[m]=rˆj-rˆi⊤Cˆ⊤yt.

The two expressions are equivalent but one describes it region by region, the other as a single projection of the whole-brain pattern onto the direction that favors j. Regions with positive terms push the system toward the switch, and regions with negative terms hold it back.

The model gives the instantaneous log-odds of switching rather than staying as logQˆij/Qˆii+gi↦j(t). The first term is a constant of the fitted model, and the second moves with the brain; g is the second alone. A value of zero therefore does not mean that the switch is impossible. It means that the current pattern is neutral, and leaves the odds at whatever the baseline transition matrix assigns them. Because g is in nats, exp(g) is the factor by which the current pattern multiplies those baseline odds.

We evaluated g on Cˆ⊤yt, the projection of the measured signal at frame t, rather than on the posterior latent trajectory. This is the estimate that region transition importance is built on, which is what makes the regional terms sum to g exactly. Because g is a log-odds and not a probability, we referenced the curves of Fig. 6 to a mid-dwell level rather than to zero: for each participant and transition we evaluated g at the midpoints of dwells of at least fifteen frames in the departing state, and subtracted that value. Confidence intervals are bootstrap intervals over participants (B=2,000), with the baseline subtracted inside each replicate. The regional shares of Fig. 7 are the same terms amy‾m, averaged over the window t∈[-3,-1] and the same instances, divided by their sum.

Quantifying transition dynamics via vector field contrast

Based on the state dynamics matrix Ak, we define a state-specific vector field representing how a point in state space flows under model dynamics. For any point x in the D-dimensional latent space belonging to discrete state z, the SLDS model specifies a one-step change as

Fˆz(x)≔Aˆzx+bˆz-x, (1)

that is, the expected evolution of the latent trajectory xt in one time step.

Field contrast.

To measure how different the equations of motion of two states are, we define a measure based on the L2 distance between the vector fields of the two states, origin and destination. For transition i↦j, the expected difference between the two vector fields Fi and Fj (estimated by Eq. 1) is estimated by the average Euclidean distance between vectors over sample points,

d2Fi,Fj^≔1Dij∑x∈DijFˆi(x)-Fˆj(x)2,

where Dij stands for a set of points x combining all state i points preceding state transition and all state j points post transition. We take d2Fi,Fj^ as the field contrast of the transition, computed per subject and per transition of interest. The quantity is a distance between two rules of motion evaluated where the system actually is; it says how much of the expected one-step displacement is altered when one rule replaces the other, and it says nothing about how long that replacement takes, which in an SLDS is one time step by construction. Being a distance between vectors, it also does not separate a change in the direction of the expected displacement from a change in its length.

The field contrast is defined in the full ten-dimensional latent space and was computed for the eight transitions reported here. The two transitions involving State 6 are excluded throughout: a state whose mean dwell is 2.9 s does not supply the eleven consecutive within-state frames the mid-dwell floor requires. We note that State 2 ↦ State 1 and the two State 6 transitions all showed weaker fMRI activity changes, smooth across most canonical networks (Fig. S3).

Vector field as a function of time.

Equation 1 defines a single vector field for a state. To describe the finer temporal evolution of vector fields, we consider a one-step difference:

dx(t)≔xt-xt-1. (2)

A one-step difference spans two frames and can be named after either of them; we name it after the frame it arrives at. Writing τ for the first frame carrying the new label, the displacement that crosses the boundary, xτ-xτ-1, is therefore dx(τ) and is assigned to time zero. Two considerations settle this choice. The switching model governs the step from xt-1 to xt by the state occupied at t, so the arriving frame is the one whose dynamics generate the step; and with this convention the time axis of the fields coincides with that of the activity analyses above, in which t=0 is the first sample of the new state. The alternative convention, naming a displacement after the frame it leaves, shifts every lag reported here by one and places the boundary-crossing step at s=-1.

To estimate the vector field at time s for transition i↦j, consider a local area ℬ in the state space centered at point a. We compute an average dx(t)¯ over all times positioned at time s during an i↦j transition period, and for which the latent trajectory xt enters the local area ℬ:

Fˆa,s≔1Bs∑t∈Bsdxt,

where Bs≔t:t=τ+s for some i↦j transition point τ,xt∈ℬ. Note that this field is estimated from the inferred latent trajectory rather than from the state dynamics matrices, and is therefore free to vary continuously in time.

2D visualization of vector fields.

To visualize Fˆ(a,s) in two dimensions, we sample points uniformly from a grid on the plane spanned by the first two latent dimensions determined by SLDS, which are of largest variance as well as of largest one-step predictive variance (R2). Let x2D denote the projection of a D-dimensional vector x onto this plane, and F2D denote the vector field after projection. For any grid point a=a1,a2, we collect time points for which the 2D projection of the latent trajectory xt2D enters a rectangular cell ℛ≔a1-δ1,a1+δ1×a2-δ2,a2+δ2 (where δ1 and δ2 determine the grid resolution) centered at a. The inferred 2D vector at a is determined by the average dx(t) over the collected time points:

Fˆ2D(a,s)≔1Rs∑t∈Rs(dxt)2D,

where Rs≔t:t=τ+s for some i↦j transition point τ,xt2D∈ℛ, and dx(t) is defined in Eq. 2. The notation (dx(t))2D means that the one-step difference dx(t) is first computed in the D-dimensional state space and then projected onto the 2D plane.

Cosine similarity between adjacent fields.

To characterize how quickly the flow reorients, we computed the cosine similarity between Fˆ(a,s) and Fˆ(a,s-1), that is, between the field at lag s and the field one time step earlier. This is the transition sharpness index. It was computed in the full D=10 latent space. The local areas ℬ were defined by k-means on the latent positions, using 121 clusters, the same number of cells as the 11 × 11 grid of the two-dimensional visualization above. The clustering was fitted once per transition, on that transition’s own pooled positions across all lags, and then held fixed: it defines the estimator’s neighborhoods, and is not re-estimated when the data are resampled. The field at lag s in neighborhood a is the mean of the ten-dimensional dx(t) over the points of that neighborhood. A neighborhood entered the average at lag s only if it held at least ten points at both s and s-1; sparse neighborhoods were dropped rather than imputed.

A floor for the cosine.

A cosine between two averages estimated from finite samples is attenuated toward zero, by an amount that depends on how many points contribute and how noisy they are. A value near zero is therefore not by itself evidence that the flow reversed. We measured the size of that attenuation directly rather than modeling it. For each transition i↦j we assembled a set of pseudo-transitions: time points in the middle of a dwell, with the state label constant over [τ-5,τ+5], drawn from both state i and state j. No change of rule occurs at such a point, so whatever the estimator returns there is attenuation and noise alone. The pseudo-transitions were then passed through the identical estimator, subsampled at random so that every (lag, neighborhood) pair carried exactly the same number of contributing points as the real data. The null therefore differs from the data in one respect only, namely that no transition occurs. We report both the observed cosine and this floor, and the excess of one over the other.

Confidence intervals and the criterion for a reversal.

Intervals were obtained by subsampling participants: 200 replicates, each drawing m=250 of the 500 participants without replacement and recomputing both the observed cosine and its count-matched floor on that subset, with the standard deviation across replicates scaled by m/n to give the standard error at the full sample size. We used subsampling rather than a with-replacement bootstrap because duplicating participants reduces the number of distinct points contributing to each neighborhood, which attenuates a cosine of two noisy averages in exactly the way described above; a percentile interval computed that way is displaced toward zero and can fail to contain the full-sample estimate.

A transition was counted as reversing the flow only when the 95% interval (cˆ±1.96SE) at the crossing step lay entirely below zero, and only when it also survived correction for the number of transitions examined. For the latter we treated the eight transitions as eight one-sided tests of H0:c≥0 with z=cˆ/SE, for which Bonferroni correction gives α=0.05/8=0.006 and a threshold of |z|=2.50. All four reversals cleared it, the weakest at |z|=3.9. Because the criterion is applied at a single lag fixed in advance, no further correction across lags is required, and the transitions are reported individually rather than pooled. We note that the standard errors are themselves estimated from 200 replicates, so the larger z values should be read as indicating that a reversal is far from the threshold rather than as exact tail probabilities.

State transition boundaries

Two kinds of quantity are plotted against a transition in this paper, and they mark the boundary at different places, as clarified here. A quantity defined at a single frame (network activity, the drive toward a switch, and region transition importance) is plotted against the frame index relative to the boundary. The boundary itself lies between two frames, so the last sample of the departing state is −1 and the first sample of the new state is 0, and a quantity that accumulates while the system is still in the departing state necessarily reaches its maximum at −1 (Figs. 6 and 8). A quantity defined on the step between two frames (the vector field and the cosine between adjacent fields) has no single frame to stand on, and we name each displacement by the frame it arrives at. The step that crosses the boundary runs from the last sample of the old state to the first sample of the new one, and is therefore labeled 0 (Figs. 4 and 5; the choice is justified in “Vector field as a function of time” below). The two conventions agree because the crossing step is precisely the step that arrives at frame 0: an accumulating quantity peaking at −1 and a flow reversing at 0 describe the same instant, the passage from the last sample of one state to the first sample of the next. Finally, note that nothing in this paper is resolved more finely than that single 720 ms step.

Do the regions that steer a state also end it?

Destination-averaged control.

Transition importance is defined for a directed transition, whereas dynamics importance is defined for a state, and three of the origin states have two significant exits. A mismatch between the two rankings could therefore reflect the destination-specificity of transition importance rather than any difference between steering a state and ending it. To test this, we collapsed each origin state’s exits into a single map, both as an unweighted mean over its transitions and as a mean weighted by the number of instances of each, and repeated the comparison against that state’s dynamics importance. State 2 and State 4 have one significant exit each, so for them the averaged map is the original one. The result did not change. State 1 shared none of its top ten and none of its top twenty with the averaged map, its steering regions ranking 201st to 254th of 254 for ending it; State 5 also shared none, ranking 25th to 125th; and State 3 shared four of ten and eleven of twenty, ranking 1st to 131st. We also compared the transition importance maps with each other. Two exits from the same state correlate at r=0.58 on average, barely above the r=0.44 of transitions that share no state at all, whereas the two directions of the same state pair correlate at r=0.94. Transition importance is therefore carried mainly by the pre-transition activity pattern, which the two directions of a pair share and which differs little between a state’s exits, so the comparison reported here does not depend on which destination is considered.

Supplementary Material

1

Acknowledgments

L.P. is supported by the National Institute of Mental Health (R01 MH071589). Data for this study were provided in part by the Human Connectome Project, WU-Minn Consortium (Principal Investigators: David Van Essen and Kamil Ugurbil; 1U54MH091657) funded by the 16 NIH Institutes and Centers that support the NIH Blueprint for Neuroscience Research; and by the McDonnell Center for Systems Neuroscience at Washington University. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

References

  1. Allen Elena A., Damaraju Eswar, Plis Sergey M., Erhardt Erik B., Eichele Tom, and Calhoun Vince D.. Tracking whole-brain connectivity dynamics in the resting state. Cerebral Cortex, 24(3):663–676, 2012. doi: 10.1093/cercor/bhs352. [DOI] [PMC free article] [PubMed] [Google Scholar]
  2. Alstott Jeffrey, Breakspear Michael, Hagmann Patric, Cammoun Leila, and Sporns Olaf. Modeling the impact of lesions in the human brain. PLoS Computational Biology, 5(6):e1000408, 2009. doi: 10.1371/journal.pcbi.1000408. [DOI] [PMC free article] [PubMed] [Google Scholar]
  3. Baker Adam P., Brookes Matthew J., Rezek Iead A., Smith Stephen M., Behrens Timothy, Probert Smith Penny J., and Woolrich Mark. Fast transient networks in spontaneous human brain activity. eLife, 3:e01867, 2014. doi: 10.7554/eLife.01867. [DOI] [PMC free article] [PubMed] [Google Scholar]
  4. Barber David. Expectation correction for smoothed inference in switching linear dynamical systems. Journal of Machine Learning Research, 7(89):2515–2540, 2006. [Google Scholar]
  5. Benjamini Yoav and Hochberg Yosef. Controlling the false discovery rate: A practical and powerful approach to multiple testing. Journal of the Royal Statistical Society Series B (Methodological), 57(1):289–300, 1995. [Google Scholar]
  6. Bolt Taylor, Nomi Jason S., Bzdok Danilo, Salas Jorge A., Chang Catie, Yeo B. T. Thomas, Uddin Lucina Q., and Keilholz Shella D.. A parsimonious description of global functional brain organization in three spatiotemporal patterns. Nature Neuroscience, 25(8):1093–1103, 2022. doi: 10.1038/s41593-022-01118-1. [DOI] [PubMed] [Google Scholar]
  7. Cabral Joana, Kringelbach Morten L., and Deco Gustavo. Exploring the network dynamics underlying brain activity during rest. Progress in Neurobiology, 114:102–131, 2014. [DOI] [PubMed] [Google Scholar]
  8. Chai Xiaoqian J., Castañón Alfonso N., Öngür Dost, and Whitfield-Gabrieli Susan. Anticorrelations in resting state networks without global signal regression. NeuroImage, 59(2):1420–1428, 2012. [DOI] [PMC free article] [PubMed] [Google Scholar]
  9. Chen Kaixin, Li Chuanjun, Sun Wei, Tao Yu, Wang Ruilin, Hou Wei, and Liu Dong-Qiang. Hidden Markov modeling reveals prolonged “baseline” state and shortened antagonistic state across the adult lifespan. Cerebral Cortex, 32(2):439–453, 2022. [DOI] [PubMed] [Google Scholar]
  10. Cornblath Eli J., Ashourvan Arian, Kim Jason Z., Betzel Richard F., Ciric Rastko, Adebimpe Azeez, Baum Graham L., He Xiaosong, Ruparel Kosha, Moore Tyler M., Gur Ruben C., Gur Raquel E., Shinohara Russell T., Roalf David R., Satterthwaite Theodore D., and Bassett Danielle S.. Temporal sequences of brain activity at rest are constrained by white matter structure and modulated by cognitive demands. Communications Biology, 3:261, 2020. doi: 10.1038/s42003-020-0961-x. [DOI] [PMC free article] [PubMed] [Google Scholar]
  11. Cox Robert W.. AFNI: software for analysis and visualization of functional magnetic resonance neuroimages. Computers and Biomedical Research, 29(3):162–173, 1996. [DOI] [PubMed] [Google Scholar]
  12. Damaraju Eswar, Allen Elena A., Belger Aysenil, Ford Judith M., McEwen Sarah, Mathalon Daniel H., Mueller Bryon A., Pearlson Godfrey D., Potkin Steven G., Preda Adrian, Turner Jessica A., Vaidya Jatin G., van Erp Theo G., and Calhoun Vince D.. Dynamic functional connectivity analysis reveals transient states of dysconnectivity in schizophrenia. NeuroImage: Clinical, 5:298–308, 2014. doi: 10.1016/j.nicl.2014.07.003. [DOI] [PMC free article] [PubMed] [Google Scholar]
  13. Deco Gustavo and Jirsa Viktor K.. Ongoing cortical activity at rest: Criticality, multistability, and ghost attractors. Journal of Neuroscience, 32(10):3366–3375, 2012. [DOI] [PMC free article] [PubMed] [Google Scholar]
  14. Deco Gustavo, Cruzat Josephine, Cabral Joana, Tagliazucchi Enzo, Laufs Helmut, Logothetis Nikos K., and Kringelbach Morten L.. Awakening: Predicting external stimulation to force transitions between different brain states. Proceedings of the National Academy of Sciences, 116(36):18088–18097, 2019. doi: 10.1073/pnas.1905534116. [DOI] [PMC free article] [PubMed] [Google Scholar]
  15. Dehaene Stanislas and Changeux Jean-Pierre. Experimental and theoretical approaches to conscious processing. Neuron, 70(2):200–227, 2011. doi: 10.1016/j.neuron.2011.03.018. [DOI] [PubMed] [Google Scholar]
  16. Dempster Arthur P., Laird Nan M., and Rubin Donald B.. Maximum likelihood from incomplete data via the EM algorithm. Journal of the Royal Statistical Society Series B (Methodological), 39(1):1–38, 1977. [Google Scholar]
  17. Ezaki Takahiro, Sakaki Michiko, Watanabe Takamitsu, and Masuda Naoki. Age-related changes in the ease of dynamical transitions in human brain activity. Human Brain Mapping, 39(6):2673–2688, 2018. doi: 10.1002/hbm.24033. [DOI] [PMC free article] [PubMed] [Google Scholar]
  18. Fox Michael D., Snyder Abraham Z., Vincent Justin L., Corbetta Maurizio, Van Essen David C., and Raichle Marcus E.. The human brain is intrinsically organized into dynamic, anticorrelated functional networks. Proceedings of the National Academy of Sciences, 102(27):9673–9678, 2005. doi: 10.1073/pnas.0504136102. [DOI] [PMC free article] [PubMed] [Google Scholar]
  19. Ghahramani Zoubin and Hinton Geoffrey E.. Variational learning for switching state-space models. Neural Computation, 12(4):831–864, 2000. doi: 10.1162/089976600300015619. [DOI] [PubMed] [Google Scholar]
  20. Greene Abigail S., Horien Corey, Barson Daniel, Scheinost Dustin, and Constable R. Todd. Why is everyone talking about brain state? Trends in Neurosciences, 46(7):508–524, 2023. doi: 10.1016/j.tins.2023.04.001. [DOI] [PMC free article] [PubMed] [Google Scholar]
  21. Gu Shi, Pasqualetti Fabio, Cieslak Matthew, Telesford Qawi K., Yu Alfred B., Kahn Ari E., Medaglia John D., Vettel Jean M., Miller Michael B., Grafton Scott T., and Bassett Danielle S.. Controllability of structural brain networks. Nature Communications, 6:8414, 2015. doi: 10.1038/ncomms9414. [DOI] [PMC free article] [PubMed] [Google Scholar]
  22. Gu Shi, Betzel Richard F., Mattar Marcelo G., Cieslak Matthew, Delio Philip R., Grafton Scott T., Pasqualetti Fabio, and Bassett Danielle S.. Optimal trajectories of brain state transitions. NeuroImage, 148:305–317, 2017. doi: 10.1016/j.neuroimage.2017.01.003. [DOI] [PMC free article] [PubMed] [Google Scholar]
  23. Gutierrez-Barragan Daniel, Ramirez Julian S. B., Panzeri Stefano, Xu Ting, and Gozzi Alessandro. Evolutionarily conserved fMRI network dynamics in the mouse, macaque, and human. Nature Communications, 15(1):8518, 2024. doi: 10.1038/s41467-024-52721-8. [DOI] [PMC free article] [PubMed] [Google Scholar]
  24. Handwerker Daniel A., Ollinger John M., and D’Esposito Mark. Variation of BOLD hemodynamic responses across subjects and brain regions and their effects on statistical analyses. NeuroImage, 21(4):1639–1651, 2004. doi: 10.1016/j.neuroimage.2003.11.029. [DOI] [PubMed] [Google Scholar]
  25. Hutchison R. Matthew, Womelsdorf Thilo, Allen Elena A., Bandettini Peter A., Calhoun Vince D., Corbetta Maurizio, Della Penna Stefania, Duyn Jeff H., Glover Gary H., Gonzalez-Castillo Javier, Handwerker Daniel A., Keilholz Shella, Kiviniemi Vesa, Leopold David A., de Pasquale Francesco, Sporns Olaf, Walter Martin, and Chang Catie. Dynamic functional connectivity: Promise, issues, and interpretations. NeuroImage, 80:360–378, 2013. doi: 10.1016/j.neuroimage.2013.05.079. [DOI] [PMC free article] [PubMed] [Google Scholar]
  26. Jones Lauren M., Fontanini Alfredo, Sadacca Brian F., Miller Paul, and Katz Donald B.. Natural stimuli evoke dynamic sequences of states in sensory cortical ensembles. Proceedings of the National Academy of Sciences, 104(47):18772–18777, 2007. doi: 10.1073/pnas.0705546104. [DOI] [PMC free article] [PubMed] [Google Scholar]
  27. Karahanoğlu Fikret I. and Van De Ville Dimitri. Transient brain activity disentangles fMRI resting-state dynamics in terms of spatially and temporally overlapping networks. Nature Communications, 6:7751, 2015. doi: 10.1038/ncomms8751. [DOI] [PMC free article] [PubMed] [Google Scholar]
  28. Kaufman Matthew T., Churchland Mark M., Ryu Stephen I., and Shenoy Krishna V.. Cortical activity in the null space: permitting preparation without movement. Nature Neuroscience, 17(3):440–448, 2014. doi: 10.1038/nn.3643. [DOI] [PMC free article] [PubMed] [Google Scholar]
  29. Keilholz Shella D.. The neural basis of time-varying resting-state functional connectivity. Brain Connectivity, 4(10):769–779, 2014. [DOI] [PMC free article] [PubMed] [Google Scholar]
  30. Keilholz Shella D., Magnuson Matthew E., Pan Wen-Ju, Willis Millicent, and Thompson Garth J.. Dynamic properties of functional connectivity in the rodent. Brain Connectivity, 3(1):31–40, 2013. [DOI] [PMC free article] [PubMed] [Google Scholar]
  31. Khona Mikail and Fiete Ila R.. Attractor and integrator networks in the brain. Nature Reviews Neuroscience, 23(12):744–766, 2022. doi: 10.1038/s41583-022-00642-0. [DOI] [PubMed] [Google Scholar]
  32. La Camera Giancarlo, Fontanini Alfredo, and Mazzucato Luca. Cortical computations via metastable activity. Current Opinion in Neurobiology, 58:37–45, 2019. doi: 10.1016/j.conb.2019.06.007. [DOI] [PMC free article] [PubMed] [Google Scholar]
  33. Latimer Kenneth W., Yates Jacob L., Meister Miriam L. R., Huk Alexander C., and Pillow Jonathan W.. Single-trial spike trains in parietal cortex reveal discrete steps during decision-making. Science, 349(6244):184–187, 2015. doi: 10.1126/science.aaa4056. [DOI] [PMC free article] [PubMed] [Google Scholar]
  34. Latimer Kenneth W., Yates Jacob L., Meister Miriam L. R., Huk Alexander C., and Pillow Jonathan W.. Response to comment on “single-trial spike trains in parietal cortex reveal discrete steps during decision-making”. Science, 351(6280):1406, 2016. doi: 10.1126/science.aad3596. [DOI] [PMC free article] [PubMed] [Google Scholar]
  35. Lee Kangjoo, Ji Jie Lisa, Fonteneau Clára, Berkovitch Lucie, Rahmati Masih, Pan Lining, Repovš Grega, Krystal John H., Murray John D., and Anticevic Alan. Human brain state dynamics are highly reproducible and associated with neural and behavioral features. PLOS Biology, 22(9):1–34, 2024. doi: 10.1371/journal.pbio.3002808. [DOI] [PMC free article] [PubMed] [Google Scholar]
  36. Leonardi Nora and Van De Ville Dimitri. On spurious and real fluctuations of dynamic functional connectivity during rest. NeuroImage, 104:430–436, 2015. doi: 10.1016/j.neuroimage.2014.09.007. [DOI] [PubMed] [Google Scholar]
  37. Liégeois Raphaël, Li Jingwei, Kong Ru, Orban Csaba, Van De Ville Dimitri, Ge Tian, Sabuncu Mert R., and Yeo B. T. Thomas. Resting brain dynamics at different timescales capture distinct aspects of human behavior. Nature Communications, 10(1):2317, 2019. doi: 10.1038/s41467-019-10317-7. [DOI] [PMC free article] [PubMed] [Google Scholar]
  38. Linderman Scott, Johnson Matthew, Miller Andrew, Adams Ryan, Blei David, and Paninski Liam. Bayesian learning and inference in recurrent switching linear dynamical systems. In Proceedings of the 20th International Conference on Artificial Intelligence and Statistics, volume 54 of Proceedings of Machine Learning Research, pages 914–922, 2017. [Google Scholar]
  39. Linderman Scott, Nichols Annika, Blei David, Zimmer Manuel, and Paninski Liam. Hierarchical recurrent state space models reveal discrete and continuous dynamics of neural activity in C. elegans. bioRxiv, 2019. doi: 10.1101/621540. [DOI] [Google Scholar]
  40. Liu Xiao, Zhang Nanyin, Chang Catie, and Duyn Jeff H.. Co-activation patterns in resting-state fMRI signals. NeuroImage, 180:485–494, 2018. [DOI] [PMC free article] [PubMed] [Google Scholar]
  41. Luenberger David G.. Introduction to Dynamic Systems: Theory, Models, and Applications. Wiley, 1979. [Google Scholar]
  42. Lurie Daniel J., Kessler Daniel, Bassett Danielle S., Betzel Richard F., Breakspear Michael, Kheilholz Shella, Kucyi Aaron, Liégeois Raphaël, Lindquist Martin A., McIntosh Anthony R., Poldrack Russell A., Shine James M., Thompson William H., Bielczyk Natalia Z., Douw Linda, Kraft Dominik, Miller Robyn L., Muthuraman Muthuraman, Pasquini Lorenzo, Razi Adeel, and et al. Questions and controversies in the study of time-varying functional connectivity in resting fMRI. Network Neuroscience, 4(1):30–69, 2020. [DOI] [PMC free article] [PubMed] [Google Scholar]
  43. Majeed Waqas, Magnuson Matthew, Hasenkamp Wendy, Schwarb Hillary, Schumacher Eric H., Barsalou Lawrence, and Keilholz Shella D.. Spatiotemporal dynamics of low frequency BOLD fluctuations in rats and humans. NeuroImage, 54(2):1140–1150, 2011. [DOI] [PMC free article] [PubMed] [Google Scholar]
  44. Maltbie Eric, Yousefi Behnaz, Zhang Xiaodi, Kashyap Amrit, and Keilholz Shella. Comparison of resting-state functional MRI methods for characterizing brain dynamics. Frontiers in Neural Circuits, 16:681544, 2022. [DOI] [PMC free article] [PubMed] [Google Scholar]
  45. Mazzucato Luca, Fontanini Alfredo, and La Camera Giancarlo. Dynamics of multistable states during ongoing and evoked cortical activity. Journal of Neuroscience, 35(21):8214–8231, 2015. doi: 10.1523/JNEUROSCI.4819-14.2015. [DOI] [PMC free article] [PubMed] [Google Scholar]
  46. Miller Paul. Itinerancy between attractor states in neural systems. Current Opinion in Neurobiology, 40:14–22, 2016. [DOI] [PMC free article] [PubMed] [Google Scholar]
  47. Misra Joyneel and Pessoa Luiz. Brain dynamics and spatiotemporal trajectories during threat processing. eLife, 14:RP102539, 2025. doi: 10.7554/eLife.102539.2. [DOI] [PMC free article] [PubMed] [Google Scholar]
  48. Oh Sang Min, Rehg James M., Balch Tucker, and Dellaert Frank. Learning and inferring motion patterns using parametric segmental switching linear dynamic systems. International Journal of Computer Vision, 77(1):103–124, 2008. doi: 10.1007/s11263-007-0062-z. [DOI] [Google Scholar]
  49. Peng Xiaowei, Liu Quanying, Hubbard Catie S., Wang Danhong, Zhu Wanwan, Fox Michael D., and Liu Hesheng. Robust dynamic brain coactivation states estimated in individuals. Science Advances, 9(3):eabq8566, 2023. doi: 10.1126/sciadv.abq8566. [DOI] [PMC free article] [PubMed] [Google Scholar]
  50. Rabinovich Mikhail I., Varona Pablo, Selverston Allen I., and Abarbanel Henry D. I.. Dynamical principles in neuroscience. Reviews of Modern Physics, 78(4):1213–1265, 2006. doi: 10.1103/RevModPhys.78.1213. [DOI] [Google Scholar]
  51. Raut Ryan V., Snyder Abraham Z., Mitra Anish, Yellin Dov, Fujii Naotaka, Malach Rafael, and Raichle Marcus E.. Global waves synchronize the brain’s functional systems with fluctuating arousal. Science Advances, 7(30):eabf2709, 2021. doi: 10.1126/sciadv.abf2709. [DOI] [PMC free article] [PubMed] [Google Scholar]
  52. Recanatesi Stefano, Pereira-Obilinovic Ulises, Murakami Masayoshi, Mainen Zachary, and Mazzucato Luca. Metastable attractors explain the variable timing of stable behavioral action sequences. Neuron, 110(1):139–153, 2022. doi: 10.1016/j.neuron.2021.10.011. [DOI] [PMC free article] [PubMed] [Google Scholar]
  53. Saad Ziad S., Gotts Stephen J., Murphy Kevin, Chen Gang, Jo Hang Joon, Martin Alex, and Cox Robert W.. Trouble at rest: how correlation patterns and group differences become distorted after global signal regression. Brain Connectivity, 2(1):25–32, 2012. [DOI] [PMC free article] [PubMed] [Google Scholar]
  54. Sanchez-Vives Maria V. and McCormick David A.. Cellular and network mechanisms of rhythmic recurrent activity in neocortex. Nature Neuroscience, 3(10):1027–1034, 2000. [DOI] [PubMed] [Google Scholar]
  55. Saper Clifford B., Fuller Patrick M., Pedersen Nigel P., Lu Jun, and Scammell Thomas E.. Sleep state switching. Neuron, 68(6):1023–1042, 2010. doi: 10.1016/j.neuron.2010.11.032. [DOI] [PMC free article] [PubMed] [Google Scholar]
  56. Schaefer Alexander, Kong Ru, Gordon Evan M., Laumann Timothy O., Zuo Xi-Nian, Holmes Avram J., Eickhoff Simon B., and Yeo B. T. Thomas. Local-global parcellation of the human cerebral cortex from intrinsic functional connectivity MRI. Cerebral Cortex, 28(9):3095–3114, 2017. doi: 10.1093/cercor/bhx179. [DOI] [PMC free article] [PubMed] [Google Scholar]
  57. Scheffer Marten, Bascompte Jordi, Brock William A., Brovkin Victor, Carpenter Stephen R., Dakos Vasilis, Held Hermann, van Nes Egbert H., Rietkerk Max, and Sugihara George. Early-warning signals for critical transitions. Nature, 461(7260):53–59, 2009. doi: 10.1038/nature08227. [DOI] [PubMed] [Google Scholar]
  58. Semedo João D., Zandvakili Amin, Machens Christian K., Yu Byron M., and Kohn Adam. Cortical areas interact through a communication subspace. Neuron, 102(1):249–259, 2019. doi: 10.1016/j.neuron.2019.01.026. [DOI] [PMC free article] [PubMed] [Google Scholar]
  59. Shadlen Michael N., Kiani Roozbeh, Newsome William T., Gold Joshua I., Wolpert Daniel M., Zylberberg Ariel, Ditterich Jochen, de Lafuente Victor, Yang Tianming, and Roitman Jamie. Comment on “single-trial spike trains in parietal cortex reveal discrete steps during decision-making”. Science, 351(6280):1406, 2016. doi: 10.1126/science.aad3242. [DOI] [PMC free article] [PubMed] [Google Scholar]
  60. Shappell Heather, Caffo Brian S., Pekar James J., and Lindquist Martin A.. Improved state change estimation in dynamic functional connectivity using hidden semi-Markov models. NeuroImage, 191:243–257, 2019. doi: 10.1016/j.neuroimage.2019.02.013. [DOI] [PMC free article] [PubMed] [Google Scholar]
  61. Smith Jason F., Pillai Ajay, Chen Kewei, and Horwitz Barry. Identification and validation of effective connectivity networks in functional magnetic resonance imaging using switching linear dynamic systems. NeuroImage, 52(3):1027–1040, 2010. [DOI] [PMC free article] [PubMed] [Google Scholar]
  62. Smith Stephen M., Beckmann Christian F., Andersson Jesper, Auerbach Edward J., Bijsterbosch Janine, Douaud Gwenaëlle, Duff Eugene, Feinberg David A., Griffanti Ludovica, Harms Michael P., Kelly Michael, Laumann Timothy, Miller Karla L., Moeller Steen, Petersen Steve, Power Jonathan, Salimi-Khorshidi Gholamreza, Snyder Abraham Z., Vu An T., Woolrich Mark W., and et al. Resting-state fMRI in the Human Connectome Project. NeuroImage, 80:144–168, 2013. [DOI] [PMC free article] [PubMed] [Google Scholar]
  63. Song Hayoung, Shim Won Mok, and Rosenberg Monica D.. Large-scale neural dynamics in a shared low-dimensional state space reflect cognitive and attentional dynamics. eLife, 12:e85487, 2023. doi: 10.7554/eLife.85487. [DOI] [PMC free article] [PubMed] [Google Scholar]
  64. Taghia Jalil, Cai Weidong, Ryali Srikanth, Kochalka John, Nicholas Jonathan, Chen Tianwen, and Menon Vinod. Uncovering hidden brain state dynamics that regulate performance and decision-making during cognition. Nature Communications, 9(1):2505, 2018. doi: 10.1038/s41467-018-04723-6. [DOI] [PMC free article] [PubMed] [Google Scholar]
  65. Tagliazucchi Enzo and Laufs Helmut. Decoding wakefulness levels from typical fMRI resting-state data reveals reliable drifts between wakefulness and sleep. Neuron, 82(3):695–708, 2014. doi: 10.1016/j.neuron.2014.03.020. [DOI] [PubMed] [Google Scholar]
  66. Tian Ye, Margulies Daniel S., Breakspear Michael, and Zalesky Andrew. Topographic organization of the human subcortex unveiled with functional connectivity gradients. Nature Neuroscience, 23(11):1421–1432, 2020. doi: 10.1038/s41593-020-00711-6. [DOI] [PubMed] [Google Scholar]
  67. Tognoli Emmanuelle and Scott Kelso J. A.. The metastable brain. Neuron, 81(1):35–48, 2014. [DOI] [PMC free article] [PubMed] [Google Scholar]
  68. Vershynin Roman. High-Dimensional Probability: An Introduction with Applications in Data Science. Cambridge University Press, 2018. doi: 10.1017/9781108231596. [DOI] [Google Scholar]
  69. Vidaurre Diego, Smith Stephen M., and Woolrich Mark W.. Brain network dynamics are hierarchically organized in time. Proceedings of the National Academy of Sciences, 114(48):12827–12832, 2017. doi: 10.1073/pnas.1705120114. [DOI] [PMC free article] [PubMed] [Google Scholar]
  70. Vidaurre Diego, Abeysuriya Romesh, Becker Robert, Quinn Andrew J., Alfaro-Almagro Fidel, Smith Stephen M., and Woolrich Mark W.. Discovering dynamic brain networks from big data in rest and task. NeuroImage, 180:646–656, 2018a. [DOI] [PMC free article] [PubMed] [Google Scholar]
  71. Vidaurre Diego, Hunt Laurence T., Quinn Andrew J., Hunt Benjamin A. E., Brookes Matthew J., Nobre Anna C., and Woolrich Mark W.. Spontaneous cortical activity transiently organises into frequency specific phase-coupling networks. Nature Communications, 9:2987, 2018b. doi: 10.1038/s41467-018-05316-z. [DOI] [PMC free article] [PubMed] [Google Scholar]
  72. Vinh Nguyen Xuan, Epps Julien, and Bailey James. Information theoretic measures for clusterings comparison: Variants, properties, normalization and correction for chance. Journal of Machine Learning Research, 11(95):2837–2854, 2010. [Google Scholar]
  73. Wang Chenhao, Ong Ju Lynn, Patanaik Amiya, Zhou Juan, and Chee Michael W. L.. Spontaneous eyelid closures link vigilance fluctuation with fMRI dynamic connectivity states. Proceedings of the National Academy of Sciences, 113(34):9653–9658, 2016. doi: 10.1073/pnas.1523980113. [DOI] [PMC free article] [PubMed] [Google Scholar]
  74. Watanabe Takamitsu, Hirose Satoshi, Wada Hiroyuki, Imai Yoshio, Machida Toru, Shirouzu Ichiro, Konishi Seiki, Miyashita Yasushi, and Masuda Naoki. Energy landscapes of resting-state brain networks. Frontiers in Neuroinformatics, 8:12, 2014. doi: 10.3389/fninf.2014.00012. [DOI] [PMC free article] [PubMed] [Google Scholar]
  75. Yeo B. T. Thomas, Krienen Fenna M., Sepulcre Jorge, Sabuncu Mert R., Lashkari Danial, Hollinshead Marisa, Roffman Joshua L., Smoller Jordan W., Zöllei Lilla, Polimeni Jonathan R., Fischl Bruce, Liu Hesheng, and Buckner Randy L.. The organization of the human cerebral cortex estimated by intrinsic functional connectivity. Journal of Neurophysiology, 106(3):1125–1165, 2011. [DOI] [PMC free article] [PubMed] [Google Scholar]
  76. Zoltowski David, Pillow Jonathan, and Linderman Scott. A general recurrent state space framework for modeling neural dynamics during decision-making. In Proceedings of the 37th International Conference on Machine Learning, volume 119 of Proceedings of Machine Learning Research, pages 11680–11691, 2020. [Google Scholar]

Associated Data

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

Supplementary Materials

1

Articles from bioRxiv are provided here courtesy of Cold Spring Harbor Laboratory Preprints

RESOURCES