Introduction

Attention Deficit Hyperactivity Disorder (ADHD) is a highly prevalent neurodevelopmental disorder affecting 5–10% of children worldwide [1], and is characterized by heterogeneous behaviors, symptoms, and developmental trajectories. Isolating phenotypic dimensions of attentional symptoms has the potential to resolve heterogeneity, advancing nosology, and clinical practice. A consistent behavioral phenotype associated with attentional deficits is intra-individual response variability (IIRV), which measures trial-to-trial response variance [2, 3]. Increased IIRV in ADHD is associated with poor sustained attention and problems with cognitive control [4, 5]. Although the etiology of IIRV is not known, some have proposed that abnormal fluctuations of latent brain states underlying the occurrence of task-irrelevant cognition is associated with unstable performance [6, 7]. However, this hypothesis has never been rigorously tested with appropriate neurocognitive and computational models. We used a novel Bayesian unsupervised learning model and a Research Domain Criteria (RDoC) approach [8] to uncover dynamics of latent brain states during cognitive task performance and its relation to behavioral variability and attention problems in children. Consistent with the objectives of RDoC, we examined IIRV, fluctuations in attention, and decision-making processes as continuous distributions, integrating cognitive and neurobiological systems to advance our understanding of attention symptom dimensions associated with ADHD [9].

A large body of human functional neuroimaging studies has uncovered a core set of distributed regions in the salience network (SN), anchored in the anterior insula (AI) and dorsal anterior cingulate cortex, and frontal-parietal network (FPN), anchored in the dorsolateral prefrontal and posterior parietal cortex, that support attention and cognitive control [10,11,12,13,14,15,16,17]. Multiple meta-analyses have confirmed consistent engagement of SN and FPN nodes across attentionally demanding tasks [10, 18,19,20,21,22]. Growing evidence indicates that the default mode network (DMN), anchored in the posterior cingulate cortex (PCC) and ventromedial prefrontal cortex (VMPFC), influences attention and cognitive control [23,24,25,26].

Meta-analyses of fMRI studies in children with ADHD have reported abnormal activation in prefrontal and parietal brain areas associated with the SN, FPN, and DMN during a variety of cognitive control tasks [27,28,29,30]. Aberrant intrinsic network interaction among the SN, FPN, and DMN and weak task-modulated connectivity between SN and FPN regions are associated with poorer attentional performance and more severe inattention symptoms in ADHD [6, 31]. Previous studies using resting-state fMRI have reported DMN abnormalities in individuals with ADHD [32,33,34]. However, little is known about brain state dynamics associated with these networks during cognitive performance and their contributions to attention problems. Increased IIRV, a robust behavioral phenomenon associated with ADHD, has been related to attention problems [35, 36], and attention is a critical element influencing decision-making processes [37]. Common biological processes likely contribute centrally to these interrelated cognitive processes and behavioral deficits, but the specific brain mechanisms remain unknown. A rigorous quantitative approach to behavioral analysis and systems neuroscience models of brain state dynamics are needed to better characterize the association between overt IIRV, latent decision-making processes underlying IIRV, and attentional variability across children.

We used a novel Bayesian switching linear dynamic systems (BSDS) model [38] to probe fluctuations of latent brain states and their relation to behavior. Investigating time-varying, context-dependent brain states is a non-trivial computational problem because of the inherent complexities of nonlinear and latent dynamical process that characterize brain function [38,39,40,41]. BSDS addresses this problem by implementing an unsupervised Bayesian learning algorithm that determines hidden (latent) brain states and dynamic state transitions automatically from observed data. Briefly, each brain state is associated with a unique dynamical process that captures time-varying activation and functional connectivity in an optimal latent subspace. Furthermore, BSDS applies a hidden Markov model to latent space variables of the observed data, resulting in a parsimonious model of generators underlying the observed data. Importantly, BSDS does not require arbitrary moving windows nor does it impose temporal boundaries associated with predefined task conditions, which are major limitations of existing methods for probing dynamic processes in the human brain [42].

IIRV has been examined through a variety of cognitive paradigms involving multiple levels of task difficulty through manipulation of attention and cognitive control demands. Participants adjust their response strategies proactively based on the anticipation of upcoming stimuli [43, 44] or feedback from a previous response outcome [45], leading to fluctuating RTs and elevated response variability. Therefore, IIRV is dependent on task complexity [5] and increased IIRV is driven by attentional fluctuation or trial-by-trial behavioral adaptation. To minimize trial-by-trial behavioral adaptation induced by infrequent stimuli and task difficulty, we studied response variability in children using a simple choice response task. The simple choice response task requires participants to make left or right button presses in response to left-pointing or right-pointing arrows, respectively (Fig. 1A). As the behavioral and attentional symptoms associated with ADHD exist as continuous distributions in the general population, we studied IIRV across typically developing (TD) children and children with ADHD.

Fig. 1: Task paradigm, behavior and latent brain states.
figure 1

A Illustration of the choice response event-related fMRI task. B Children with ADHD have significantly larger RT standard deviation (Std) and tau than TD children, whereas TD children have significantly higher information accumulation speed (v) than children with ADHD. C RT tau is negatively correlated with information accumulation speed (v) (r = −0.34, p = 0.01). D Regions of interest (ROIs) include key nodes in the salience (SN), frontal-parietal (FPN) and default mode networks (DMN). E Schematic illustration of the BSDS model. F Temporal evolution of latent brain states in the choice response task. Each row represents one subject, each column represent one data point (fMRI volume). G Dynamic changes in posterior probability of latent brain states during the choice response task (averaged across participants).

IIRV is often indexed using standard deviation (std) from the Gaussian model [46]. However, RT distributions are typically skewed distributions, which fit better with an ex-Gaussian model than a Gaussian model [47, 48]. The ex-Gaussian model includes three parameters: mu, sigma, and tau. Mu and sigma are the mean and std of the Gaussian component, whereas tau represents the exponential component, which captures the tail of the skewed distribution. Previous studies have shown that std and tau can differentiate children with ADHD from TD children [2, 46, 49, 50]. The present study used both std and tau to further quantitatively characterize IIRV in children. We predicted that std and tau would correlate with core inattention symptoms and, additionally that, in categorical analyses, children with ADHD would have larger std and tau than TD children.

Although IIRV is a widely used measure of behavioral instability that indexes fluctuations in attention, it does not capture the underlying decision-making components of such variability. To address this, we examined latent cognitive processes underlying behavioral variability by modeling decision-making processes using a hierarchical drift-diffusion model (HDDM) [51]. HDDM estimates three latent components associated with decision-making: decision threshold or response caution, drift rate or how fast evidence is accumulated to reach the threshold, and non-decision time, or the perceptual processes engaged prior to the onset of evidence accumulation [52]. Models of attention suggest that attention has a strong impact on the rate at which evidence accumulates in the decision-making stage, indexed by the drift rate [37]. We predicted that impulsivity would be associated with a smaller decision threshold reflecting lower response caution, whereas deficits in sustained attention would impact drift rate reflecting reduced and noisier evidence accumulation.

Notably, we used BSDS with ultrafast resolution fMRI (temporal resolution = 490 ms) to determine latent brain states during performance of the choice response task and to determine the relation between its dynamic temporal properties and three distinct measures of behavior: (1) response variability, (2) latent measures of decision-making derived using HDDM, and (3) clinical phenotypic measures associated with inattention. Specifically, we examined whether engagement of a task-optimal dynamic brain state would reduce behavioral variability and improve decision-making processes during cognitive performance. We then examined how behavioral variability, decision-making, and inattention are related to functional connectivity between SN, FPN, and DMN. Finally, as a follow-up to our dimensional analyses, we examined whether behavior and brain state dynamics could accurately distinguish children with ADHD from TD children.

Results

Demographic profile

Fifty-two subjects, including 29 children with a clinical diagnosis of ADHD (11 female/18 male) and 23 TD children (11 female/12 male), completed the study. The two groups did not differ in age, gender, or head motion during task-fMRI scanning (all ps > 0.2, two-sample t-test, Table S1). Children with ADHD had significantly higher inattention and hyperactivity/impulsivity scores than TD children (all ps < 0.001, two-sample t-test, Table S1).

Behavioral performance: dimensional analysis

Table S1 summarizes behavioral performance. Participants completed the in-scanner simple choice response task with high accuracies (95 ± 4%) and fast reaction time (RT) (477 ± 56 ms), suggesting good overall performance.

Dimensional analyses revealed that accuracy negatively correlated with inattention scores (r = −0.31, p = 0.02) but not with hyperactivity/impulsivity scores (p > 0.29). RT was not significantly correlated with either attentional score (p > 0.1). Results suggest that inattention, but not hyperactivity/impulsivity, is associated with behavioral performance in the choice response task.

Behavioral performance: categorical analysis

Categorical analyses revealed a significant between-group difference in task accuracy (t = 3.08, p = 0.004, two-sample t-test) but not in average RT (ps > 0.2), suggesting that children with ADHD have relatively poorer performance compared to TD children.

Behavioral variability: dimensional analysis

We then examined IIRV using RT std, sigma, and tau.

Dimensional analyses revealed that RT std was marginally correlated with inattention scores (r = 0.27, p = 0.05), but not with hyperactivity/impulsivity scores (p > 0.05). RT sigma was not significantly correlated with either score (p > 0.7), and RT tau was marginally correlated with inattention scores (r = 0.25, p = 0.06), but not with hyperactivity/impulsivity scores (p > 0.1). These results demonstrate that covariance between behavioral variability and inattention is driven by the tail of the ex-Gaussian distribution of RT, indexed by tau, rather than variability in the normal distribution component.

Behavioral variability: categorical analysis

Categorical analyses revealed significant differences in RT std (t = 2.57, p = 0.01, two-sample t-test, Fig. 1B) and RT tau (t = 2, p = 0.05, two-sample t-test, Fig. 1B), but not RT sigma (p = 0.2), indicating that children with ADHD have less stable behavioral performance than TD children.

Latent decision-making processes: dimensional analysis

Next, we used HDDM to fit a drift-diffusion process to each child’s performance and estimated the decision boundary (a), drift rate (v) and non-decision time (t). Drift rate (v) was significantly correlated with tau from the ex-Gaussian model (r = −0.34, p = 0.01, Pearson’s correlation, Fig. 1C).

Dimensional analyses revealed that drift rate (v) significantly correlated with inattention scores (r = −0.28, p = 0.04) but not with hyperactivity/impulsivity scores (p > 0.2). Decision boundary (a) and non-decision time (t) were not significantly correlated with either attentional score (ps > 0.05). These results suggest that inattention, rather than hyperactivity/impulsivity, is associated with evidence accumulation speed.

Latent decision-making processes: categorical analysis

Categorical analyses revealed significant between-group differences in drift rate (t = 2.95, p = 0.005, two-sample t-test, Fig. 1B) and non-decision time (t = 2.7, p = 0.01, two-sample t-test), but no significant difference in decision boundary (p = 0.2), indicating that children with ADHD have slower evidence accumulation speed than TD children.

Dynamic brain states: dimensional analysis

To probe dynamic brain states supporting sustained attention, we focused on circuits associated with the SN, FPN, and DMN, including bilateral anterior insula, middle frontal gyrus (MFG), frontal eye fields (FEFs), inferior parietal lobe, PCC, VMPFC, and pre supplementary motor area (Fig. 1D). These ROIs were determined using an independent study demonstrating strong attentional load effects in each of these regions [38]. Then we applied BSDS (Fig. 1E) on the time series extracted from the ROIs. BSDS uncovered four different latent brain states from the simple choice response task labeled S1, S2, S3, and S4 (Fig. 1F, G). The occupancy rate, which measures how often a latent brain state occurs during the task, and mean lifetime, which measures dwelling time of a brain state before switching to another state, were used to assess temporal properties of each latent brain state.

Dimensional analyses revealed that the occupancy rate of S2 was positively and significantly correlated with inattention (r = 0.27, p = 0.04), but this result was not significant after multiple comparisons correction. Mean lifetime of S2 was not correlated with inattention, and both occupancy and mean lifetime of S2 were not correlated with hyperactivity/impulsivity (ps > 0.05). No other brain state’s occupancy rate and mean lifetimes significantly correlated with either score (ps > 0.05).

Dynamic brain states: categorical analysis

Occupancy rates of S1 were greater in TD children than children with ADHD (ADHD: 15 ± 8%, TD: 21 ± 9%, p < 0.05 FDR corrected, two-sample t-test), occupancy rates of S2 were greater in children with ADHD than TD children (ADHD: 36 ± 13%, TD: 27 ± 10%, p < 0.05 FDR corrected, two-sample t-test), but occupancy rates of S3 or S4 did not differ (ps > 0.5). There was no significant between-group difference in mean lifetimes of any brain state (ps > 0.05). These results suggest that S1 and S2 are the most clinically relevant latent brain states. Thus, we focus on these two states in the following analyses.

Dynamic brain states in relation to IIRV

We tested whether engaging in latent brain states S1 or S2 altered IIRV during task performance. The occupancy rate of S1 negatively correlated with RT std (r = −0.35, p = 0.008, Fig. 2A) and with RT tau (r = −0.33, p = 0.02, Fig. 2B). In contrast, the occupancy rate of S2 was marginally positively correlated with RT std (r = 0.27, p = 0.05, Fig. 2C) and RT tau (r = 0.27, p = 0.046, Fig. 2D). Mean lifetimes of latent brain states S1 and S2 were not significantly correlated with RT std or RT tau (ps > 0.1). Additional multiple linear regression analysis using age, gender, IQ, and head motion as covariates confirmed that the occupancy rate of S1 and S2 contributed unique variance and emerged as the dominant predictors for both RT std and RT tau (Table S2). These findings suggest that engagement of S1 boosts stable behavioral performance, whereas engagement of S2 undermines stable performance during a simple choice response task.

Fig. 2: Occupancy rate of latent brain state in relation to IIRV.
figure 2

A The occupancy rate (OR) of latent brain state S1 is negatively correlated with RT std. B OR of latent brain state S1 is negatively correlated with RT tau. C OR of latent brain state S2 is positively correlated with RT std. D OR of latent brain state S2 is positively correlated with RT tau.

Dynamic brain states in relation to decision-making processes

We then examined dynamic brain states in relation to decision-making processes. The occupancy rate of S1 positively correlated with drift rate (v) (r = 0.31, p = 0.03, Fig. 3A) but not with decision boundary (a) or non-decision time (t) (ps > 0.05). Mean lifetime of S1 was not significantly correlated with any latent component in the decision-making model (ps > 0.1). S2 was not correlated with any decision-making parameters (ps > 0.05). Additional multiple linear regression analysis using age, gender, IQ, and head motion as confounds confirmed that the occupancy rate of S1 was the only significant predictor for drift rate (v) (Table S3). Findings suggest that engaging S1 facilitates information accumulation speed and promotes faster and accurate responses.

Fig. 3: Occupancy rate of latent brain state in relation to deicsion-making and inattention.
figure 3

A The Occupancy rate of latent brain state S1 is positively correlated with evidence accumulation speed (v). B The Occupancy rate and mean lifetime of latent brain state S2 predict inattention scores.

Brain states dynamics predict inattention symptoms

Next, we examined whether occupancy rate and mean lifetime of a latent brain state would predict inattention and hyperactivity/impulsivity, core symptoms of ADHD. We trained nonlinear support vector regression (SVR) models based on the occupancy rate and mean lifetime of each latent brain state, separately. Latent brain state S2 accurately predicted inattention scores (r = 0.29, p = 0.03, Fig. 3B). No other latent brain state predicted inattention scores and no brain state predicted hyperactivity/impulsivity scores (Table S4).

Distinct functional connectivity patterns underlying latent brain states

Next, we examined the patterns of functional connectivity between regions in the SN, FPN, and DMN associated with latent brain states (Fig. 4A, B). S1 had a significantly stronger interaction between brain regions in the SN and FPN than S2 (p < 0.001, FDR corrected, Fig. 4C).

Fig. 4: Functional connectivity of latent brain state and its relation to decision-making.
figure 4

A Latent brain states S1 and B S2 were characterized by their distinct functional connectivity. C Link-by-link analysis showed that strong connectivity within and between key nodes in SN and FPN in S1 than S2 (p < 0.001, FDR corrected). D Multivariate functional connectivity patterns in S1 accurately predict drift rate (v) of the DDM during the simple choice response task (r = 0.41, p = 0.002).

SN-FPN functional connectivity predicts evidence accumulation

To further understand the relationship between functional connectivity in latent state S1 and the positive contribution of S1 in behavioral stability and decision-making processes, we fit multivariate patterns of functional connectivity of S1 and IIRV (e.g., tau) and drift rate in the Lasso and Elastic-Net Regularized General Linear Models [53] with leave-one-out cross validation (LOOCV). To reduce dimensionality, only functional connections that significantly differentiated S1 and S2 (Fig. 4C) were included in the prediction model. Functional connectivity in S1 accurately predicted drift rate in children (r = 0.41, p = 0.002, Fig. 4D) but not IIRV (p > 0.05). These effects were specific to the drift rate, as the same model and features did not predict inattention scores (p > 0.5). Our findings suggest that multivariate patterns of functional connectivity in SN and FPN are robust predictors of evidence accumulation during decision-making processes associated with task performance.

SN-DMN functional connectivity predicts inattention

Based on reports that functional connectivity between PCC and task-activated regions is associated with attention problems [32,33,34, 54], we examined functional connectivity between PCC and individual nodes of the SN and FPN. We first focused on latent state S2 as its occupancy rate was negatively correlated with inattention, and evaluated individual PCC links with SN and FPN nodes in relation to inattention symptoms. Children’s inattention scores significantly correlated with functional connectivity of PCC-left anterior insula (lAI; r = 0.36, p = 0.009, Pearson’s correlation, Fig. 5A) and PCC-right AI (rAI; r = 0.38, p = 0.005, Pearson’s correlation, Fig. 5B), and were significant after multiple comparisons correction (ps < 0.05, FDR corrected). A similar pattern of results was also observed in state S1 (Fig. S1), suggesting that the inability of the SN to disentangle from the DMN is associated with greater severity of inattention symptoms across both non-optimal and optimal latent brain states.

Fig. 5: Functional connectivity of PCC-AI in relation to inattention.
figure 5

A Inattention scores were associated with functional connectivity between PCC and lAI, and B PCC and rAI in latent brain S2 (ps < 0.05, FDR corrected).

Brain state dynamics distinguish children with ADHD from TD children

Finally, we conducted categorical analyses to determine whether latent brain states could distinguish children with ADHD from TD children. We used support vector machine (SVM) classification analysis with the occupancy rate and mean lifetime of each latent state. Only latent state S2, a non-optimal brain state, distinguished children with ADHD from TD children (CV ACC = 65%, p = 0.03, Table S5). Results demonstrate that latent task-related brain state dynamics distinguish children with ADHD from TD children.

Discussion

Deficits in attention are common in neurodevelopmental disorders, particularly in ADHD, manifesting as elevated response variability and poor decision-making. However, the dynamic brain mechanisms of these deficits are poorly understood. Using ultrafast task-fMRI, we identified multiple latent brain states during a simple choice response task and related it to IIRV, latent decision-making processes, and inattention using an RDoC approach. We applied a novel unsupervised learning algorithm on fMRI data to uncover latent brain state dynamics during cognitive performance and found that occupancy rates of a task-optimal latent brain state were significantly correlated with IIRV and information accumulation speed estimated from a decision-making model. In addition, dynamic properties of a non-optimal latent brain state predicted inattention scores. Furthermore, functional connectivity patterns associated with SN and FPN predicted drift rate, whereas functional connectivity between SN and DMN nodes, AI and PCC, predicted inattention scores. To identify clinically significant phenomena, we conducted complementary categorical analyses. Children with ADHD had larger IIRV, slower information accumulation speed, and lower occupancy rate of the task-optimal brain state than TD children, and the dynamic properties of the non-optimal brain state distinguished children with ADHD from TD children. Together, findings demonstrate that dissociable latent brain state dynamics distinguish behavioral variability, slow decision-making processes, and inattention symptoms, thus advancing our understanding of the mechanisms associated with attention deficits in children.

High IIRV: relation to inattention and childhood ADHD

High IIRV is one intermediate phenotype of childhood ADHD, although the nature of this variability is not known. Compared with TD children, children with ADHD display increased IIRV during cognitive performance [46, 49]. Although the standard deviation is typically used to measure IIRV, the ex-Gaussian distribution is recommended to identify the exponential component in the RT distribution, tau, which has been linked to attentional lapse [36, 55]. Tau measures the positive tail of a skewed normal distribution, reflecting an increase in frequency and magnitude of extremely slow responses that substantially effect mean and variance estimation of the observed RT. Children with ADHD have larger tau values than TD children, whereas mu and sigma do not consistently differentiate the two groups [5, 56, 57]. Inattention was marginally associated with IIRV using a dimensional approach. Follow-up categorical analyses demonstrated that children with ADHD have larger standard deviations of RT than TD children and that the source of this difference is tau. Our study demonstrates that IIRV is correlated with inattention rather than hyperactivity/impulsivity symptoms, which is aligned with profiles of attentional deficits reported in children with ADHD [55, 59, 60]. Crucially, a simple choice response task, which does not require overt modulation of attention or cognitive control in a trial-specific manner, reduces the impact of trial-by-trial anticipation and feedback-induced response strategy adjustment on intra-individual variability, providing a more specific estimation of IIRV associated with sustained attention.

Slow decision-making processes are associated with inattention and childhood ADHD

Although substantial behavioral variability is commonly manifested in individuals with attention deficits, overt IIRV measures cannot uncover latent cognitive sources of behavioral instability. We used a HDDM to determine whether inattention and/or hyperactivity/impulsivity are distinguished by decision-making processes associated with behavioral instability. Drift-diffusion models quantify decision-making processes by estimating three latent components underlying the time to respond on each trial: (1) drift rate, which indexes how fast evidence is accumulated for a decision, (2) decision threshold, which indexes the distance to a decision boundary, and (3) a non-decision time, which indexes encoding time prior to decision-making [52]. Consistent with hypotheses, inattention was associated with the lower drift rate, reflecting slower, noisier evidence accumulation. Complementary categorical analyses determined that children with ADHD are much slower in accumulating information for decision-making (lower drift rate) than TD children. Our findings are consistent with previous studies showing ADHD undermines decision-making processes [61, 62] and extends prior work by demonstrating that inattention rather than hyperactivity/impulsivity, at least within the context of a simple choice RT task, drives these effects. Theoretical frameworks of ex-Gaussian and diffusion drift models of RT have suggested correspondence between model parameters [58]. We found that tau of the ex-Gaussian model, reflecting extremely slow responses, was negatively correlated with drift rate but not with decision threshold, suggesting that poor control of sustained attention, rather than impulsive responding, underlies behavioral instability.

Dynamic latent brain states underlying response variability

Elevated response variability is associated with deficits in sustained attention in children with ADHD [5, 56, 57, 63] and variability in neural signals [7, 64]. Activity and connectivity in DMN and cognitive control regions are related to performance fluctuation during cognitive performance and deficits in sustained attention [65, 66]. The present study moved beyond regional activity and investigated latent brain states characterized by multivariate patterns of brain activity and functional connectivity using a novel BSDS unsupervised learning algorithm. Our findings uncover an optimal latent brain state (S1), the occurrence of which predicts response variability. Furthermore, we showed that this relation can be replicated using overt and latent behavioral measures associated with attention deficits, but its dysfunctional neural mechanisms remain unknown. Brain areas in the SN, FPN, and DMN implicated in decision-making and executive function are known to show altered activation and connectivity patterns in children with ADHD [6, 31, 32, 34, 67, 68]. However, regional activity and connectivity are insufficient to represent the complexity and multidimensional nature of decision-making processes as individuals’ trait-like characteristics (e.g., how impulsive one is) are also affected by state-like factors (e.g., fatigue, attentional lapse) across time. To address this challenge, we identified dynamic brain states characterized by multivariate patterns of activation and functional connectivity in SN, FPN, and DMN regions in an optimal latent space and investigated temporal properties of latent brain states in relation to model parameters that represent decision-making components. As predicted, difficulty engaging in a task-optimal latent brain state jeopardizes information accumulation speed and undermines the decision-making process, recapitulating previous findings in an n-back working memory study of neurotypical adults [38].

Dynamic latent brain states in relation to inattention and childhood ADHD

Attentional deficits are a defining symptom of neurodevelopmental disorders, particularly ADHD. An influential neurobiological model hypothesizes that a task-non-specific brain state can intrude on a task-specific brain state during cognitive performance and lead to fluctuations in attention [7]. Although some studies have shown that abnormal activity and connectivity in the DMN is associated with attentional deficits [32], robust evidence linking a task-non-specific brain state with attention problems is lacking. Several recent studies have tested this hypothesis using resting-state fMRI data [6, 69], but little work has been done on task-fMRI data. We used task-based fMRI and tested the contribution of a non-optimal latent brain state to behavioral performance, sustained attention, and hyperactivity/impulsivity. Our analyses determined that the latent brain state S2 is highly relevant to poor behavioral performance and problematic sustained attention. First, increased occupancy rate of S2 was associated with increased response variability, suggesting that engagement of S2 will lead to behavioral instability. Second, occupancy rates and mean lifetimes of S2 predicted inattention symptoms. Third, categorical analyses determined that occupancy rates and mean lifetimes of S2 could successfully distinguish children with ADHD from TD children. Notably, no other latent brain state could successfully predict inattention symptoms or classify children with ADHD and TD children, suggesting the unique clinical relevance of S2 in childhood ADHD. Furthermore, dynamic profiles of S2 significantly predicted inattention but not hyperactivity/impulsivity scores, suggesting the specific relevance of brain state S2 to inattention.

SN, FPN, and DMN connectivity in relation to decision-making and inattention

Each latent brain state was characterized by distinct patterns of interregional connectivity. Brain state S1, which has a positive effect on behavioral stability, was associated with increased connectivity between regions in the SN and FPN, compared to brain state S2, which has a negative effect on behavioral stability and sustained attention. This finding converges on a previous observation that reduced task-modulated connectivity between SN and FPN is associated with attention problems and childhood ADHD [31]. Crucially, our analyses have not only uncovered unique connectivity patterns that differentiate latent brain states S1 and S2, but also identified functional connections that are associated with decision-making processes and attention problems. Using a prediction model with cross-validation, we demonstrated that multivariate patterns of functional connectivity in SN and FPN accurately predicted drift rates of decision-making processes. Increased interactions in SN and FPN are associated with high load cognitive processes in adults [38, 43, 70, 71] and developmental groups [31]. SN plays a crucial role in switching interactions with large-scale brain networks and facilitating access to attention resources [72]. In particular, AI, the key node of the SN, is implicated in signal detection during attentionally demanding tasks [10, 18, 43]. In contrast, functional connectivity between PCC and AI is correlated with inattention scores in children. These data are consistent with previous studies showing that intrinsic connectivity between DMN regions and SN regions is correlated with attention problems [32, 33, 73]. Interactions between regions in SN and DMN have been associated with attentional modulation [74, 75]. Our findings reveal dissociable brain–behavior relationships such that functional connectivity of SN and FPN is related to latent decision-making processes, whereas functional connectivity between SN and DMN underlies inattention.

Clinical implications

Across development, symptoms of inattention are more likely to remain stable, whereas symptoms of hyperactivity/impulsivity are more likely to decline [76]. However, the contextual and etiological determinants of this developmental divergence and possible transition to psychopathology is markedly underspecified. Our findings demonstrate broad effects of inattention in relation to behavioral instability, poor decision-making, a suboptimal brain state, and functional connectivity between key regions in the SN and DMN. The tendency to engage in a non-optimal brain state that undermines behavioral stability and sustained attention may be a discriminating feature of attention deficits and has broad appeal for neurodevelopmental disorders in general. Moreover, taking a dynamic approach to understanding symptom presentation and fluctuation may resolve ADHD heterogeneity. Our findings may provide promising targets for understanding atypical developmental trajectories and identifying etiological contributions to ADHD.

Conclusion

Our study provides new insights into latent brain state dynamics that give rise to behavioral instability and inattention in children, linking observable disruptions in clinical phenomena associated with ADHD. We applied a novel switching dynamical system approach for investigating latent brain mechanisms underlying behavioral instability, poor decision-making, and deficits in attention. Engagement of a task-optimal latent brain state facilitated stable behavioral performance and information accumulation speed, whereas dynamic profiles of a non-optimal latent brain state predicted inattention symptoms in a dimensional analysis and differentiated children with ADHD from TD children in a categorical analysis. Functional connectivity between SN, FPN, and DMN regions, three core cognitive control networks implicated in psychopathology [77], differentiated latent brain states and was associated with distinct latent and observed features of behavioral problems. These findings advance our understanding of the latent dynamic processes in relation to dimensions of behavioral instability and inattention that in excess, play a significant role in childhood ADHD.

Methods

Participants

One hundred and seven children (9–12 years old) were recruited from the local community. Informed consent was obtained from legal guardians of the children and the study was approved by the Institutional Review Board of Stanford University. Ninety children completed a choice response task in the scanner. Thirty-eight children were excluded in the analysis because of missing data, image artifacts, excessive head motion, and behavioral outliers (see details below). The final dataset included 29 children with ADHD (11 F/18 M) and 23 TD children (11 F/12 M).

Clinical and neuropsychological assessments

Children and their guardians completed a clinical and neuropsychological assessment session. ADHD diagnosis was informed by children’s guardians and further confirmed using the Attention Deficit/Hyperactivity Disorder Rating Scale (ADHD-RS). Inclusion criterion were the following: no history of claustrophobia, head injury, serious neurological or medical illness, autism, psychosis, mania/bipolar, major depression, learning disability, substance abuse, sensory impairment such as vision or hearing loss, birth weight less than 2000 g, and/or gestational ages of less than 34 weeks. All children were right-handed with an IQ greater than 80. For all children, inattention and hyperactivity/impulsivity symptoms were assessed using the ADHD-RS. Although clinical presentations of ADHD were determined, the small sample size in each presentation group prevented further analysis of the specificity of each subtype. All participants were free of medication during testing and a washout period of at least 5 half-lives was applied.

Choice response task

In the choice response task, a left- or right-pointing arrow was presented for 500 ms on each trial. Participants were told to press a left or right button based on the direction of the arrow within a 1.5 s response window after the onset of the stimulus. One task run included 96 trials with jittered inter-trial-intervals between 1 and 4 s. Each participant completed one run of the choice response task during scanning. Behavioral outliers were defined by 2.5 standard deviation of key measures, including accuracy and RT.

Behavioral analysis: ex-Gaussian model

An ex-Gaussian toolbox implemented in Matlab [78] was used to fit the RT data with maximum likelihood estimation and estimate parameters (mu, sigma, and tau) for each participant. The ex-Gaussian model includes three parameters: mu, sigma and tau. Mu and sigma are the mean and std in the Gaussian component, respectively. Tau represents the exponential component, which captures the positive tail of the skewed normal distribution.

Behavioral analysis: HDDM model

HDDM [51] estimated parameters a, v, and t. See Supplementary Method for details.

MRI acquisition

MRI data were acquired on a 3T GE Signa scanner using a 32-channel head coil at the Richard M Lucas Center for Imaging at Stanford University. Functional images of 42 axial slices were acquired using the multiband gradient-echo planar imaging with the following parameters: TR = 490 ms; TE = 30 ms; flip angle = 45°, FOV = 22.2 cm, matrix = 74 × 74 and in-plane resolution = 3 mm. See Supplementary Method for details.

fMRI preprocessing

Functional MRI data were preprocessed using SPM12 (http://www.fil.ion.ucl.ac.uk/spm/software/spm12). The preprocessing pipeline included realignment, slice-timing correction, co-registration, normalization to MNI space, and smoothing using a 6 mm full-width half-maximum Gaussian kernel to decrease spatial noise. Participants whose maximum displacement exceeded 5 mm in either run were excluded from the analysis and all subjects’ mean scan-to-scan movement were less than 0.5 mm [10].

Region of interest (ROI) and time series

Eleven ROIs were determined from a previous study of attention and cognitive control [38], including bilateral anterior insula (AI), bilateral MFG, bilateral FEF, bilateral intraparietal sulcus, dorsomedial prefrontal cortex, VMPFC, and PCC. Each ROI was 6-mm radius sphere centered at the peak voxel.

Time series of the 1st eigenvalue was extracted from each ROI per subject. A multiple linear regression approach with six realignment parameters (three translations and three rotations) was applied to each time series to reduce head-motion-related artifacts; the resulting time series was further high-pass filtered (f > 0.008 Hz).

BSDS model

We used a BSDS model [38] to uncover latent brain states during cognitive performance of the simple choice response task. A brief explanation of the BSDS model is in Supplementary Method. Detailed theoretical derivations are provided in our previous study [38].

Key measures extracted from BSDS include occupancy rate, mean lifetime of latent brain state and covariance of states.

Brain state dynamics in relation to behavioral performance

To understand the relationship between the same brain state and behavioral performance in different tasks, we examined whether occupancy rates and mean lifetime of each brain is related to behavioral performance.

Brain state dynamics predict dimensions of attention and hyperactivity/impulsivity

To examine whether state dynamics could account for individual differences in core symptoms of ADHD, we conducted multivariate regression analysis using nonlinear SVR. The occupancy rate and mean lifetimes on each latent brain state were used as features to predict inattention or hyperactivity/impulsivity scores, separately. The model was evaluated using the aforementioned LOOCV. Pearson’s correlations were used to evaluate correspondence between predicted values and observed values.

Functional connectivity of time-varying latent brain states

To determine which dynamic functional connections are important for distinguishing different brain states, we conducted paired t-tests on the covariance matrix between latent brain states derived from BSDS analysis. Multiple comparisons were corrected using false discovery rate (p < 0.001).

Functional connectivity predicts IIRV, drift rate, and inattention

To test whether functional connectivity patterns in latent brain states predicted IIRV, drift rate, or inattention scores, we conducted a prediction analysis using the Lasso and Elastic-Net Regularized General Linear Model [53]. See Supplementary Method for details of the prediction model.

Brain state dynamics differentiate TD and ADHD children

To examine whether brain state dynamics could successfully differentiate TD children and children with ADHD, we conducted multivariate classification analysis using linear SVM. The occupancy rate and mean lifetimes of each latent brain state were used as features to predict group identity of each child (TD or ADHD), separately. See Supplementary Method for more details.