Journal of Assessment and Research in Applied Counseling
Volume 8, Issue 2, pp 1-12
Modeling Generalized Anxiety Disorder from Intolerance of Uncertainty and Attentional Control Using AI‑Driven Feature Selection
Abstract
Objective: The primary objective of this study was to identify the most robust, item-level cognitive predictors of generalized anxiety disorder severity utilizing an artificial intelligence-driven hybrid feature selection pipeline applied to the constructs of intolerance of uncertainty and attentional control.
Methods and Materials: A cross-sectional predictive study design was utilized with a sample of 486 Canadian adults. Participants completed standardized self-report measures, including the 7-item Generalized Anxiety Disorder Assessment (GAD-7), the 12-item Intolerance of Uncertainty Scale (IUS-12), and the 20-item Attentional Control Scale (ACS). Data preprocessing involved k-nearest neighbors imputation for missing values and standardization of continuous variables (z=(x-μ)/σ). A hybrid machine learning approach combining Least Absolute Shrinkage and Selection Operator (LASSO) regression and Extreme Gradient Boosting Recursive Feature Elimination (XGBoost-RFE) was employed to extract key item-level predictors. The dataset was split into an 80%training set and a 20%testing set, with model hyperparameter tuning validated via 10-fold cross-validation.
Findings: The sample (N=486; 61.3%female; age M=34.2, SD=10.5) exhibited significant baseline correlations between GAD-7 and both IUS-12 (r=.64,p<.001) and ACS (r=-.52,p<.001). From an initial pool of 32cognitive items, the hybrid AI pipeline (using an optimal LASSO penalty of α=0.034) identified a critical subset of just 7key features (4 capturing distress/paralysis from uncertainty and 3capturing difficulties in attentional shifting/focusing). The optimized XGBoost model utilizing these 7selected features achieved superior predictive performance on the test set (R^2=0.73, RMSE=2.40) compared to the baseline model utilizing all 32features (R^2=0.61, RMSE=2.88).
Conclusion: Granular, item-level cognitive vulnerabilities—specifically uncertainty-induced paralysis and severe deficits in attentional shifting—are the primary drivers of anxiety severity, demonstrating the transformative potential of AI in precise psychiatric modeling.
Introduction
Generalized Anxiety Disorder (GAD) represents a pervasive and debilitating mental health condition characterized by chronic, excessive, and often uncontrollable worry about a multitude of everyday events and activities. This disorder is not only prevalent but also associated with profound impairments in social, occupational, and interpersonal functioning, creating significant burdens on both individuals and broader healthcare systems. The etiology and maintenance of GAD are inherently multifactorial, encompassing a complex interplay of cognitive, emotional, and behavioral vulnerabilities. In recent years, researchers have increasingly turned their attention to the underlying mechanisms that drive emotional dysregulation and psychological distress, seeking to identify robust predictors of anxiety severity. A growing body of literature emphasizes the critical role of emotional regulation, or the lack thereof, in the precipitation and exacerbation of anxiety and depressive symptoms across diverse populations (Nguyen et al., 2025; Syafitri et al., 2024). When individuals encounter stressors, their capacity to adaptively manage their emotional responses dictates their psychological trajectory, highlighting the necessity of examining broader emotional processing frameworks in the context of GAD.
Central to the discourse on emotional vulnerability is the profound impact of shame and internalized distress. Shame is a deeply painful, self-conscious emotion that involves a global negative evaluation of the self, often leading to feelings of worthlessness and an intense desire to conceal one’s perceived flaws from others. The literature has consistently documented the detrimental effects of shame on mental health, particularly in its capacity to amplify anxiety and depressive symptomatology (Kang & Jo, 2024; Sim & Choi, 2023). Internalized shame has been identified as a potent driver of psychological inflexibility, frequently correlating with maladaptive coping strategies such as rumination and self-concealment (Jeon & Park, 2023). Furthermore, shame profoundly distorts body image and self-perception, acting as a core vulnerability factor in the development of psychosocial distress, especially among vulnerable groups subjected to idealized sociocultural norms or traumatic experiences (Mills et al., 2022; Seekis & Kennedy, 2023). This self-evaluative threat is intrinsically linked to the cognitive manifestations of anxiety, as individuals overwhelmed by shame often experience heightened states of physiological arousal and chronic apprehension regarding future negative evaluations.
The toxic effects of shame are frequently observed in specialized populations experiencing severe psychological or physical health challenges. For instance, among trauma survivors, including individuals who have experienced sexual assault, trauma-related shame serves as a massive barrier to recovery, deeply embedding feelings of isolation and perpetuating intense anxiety and depressive states (Bhuptani & Messman, 2021; Xu et al., 2024). Similarly, in the context of chronic physical illnesses, such as patients navigating lung cancer or individuals living with HIV/AIDS, internalized shame regarding their health status or bodily integrity significantly compounds depressive symptoms and generalized anxiety, severely diminishing their overall quality of life (Siwik et al., 2022; Skelton et al., 2021). The psychological burden extends to individuals facing altered physical states due to medical interventions, such as women with a history of mastectomy, where the intersection of altered body image and emotional dysregulation frequently results in heightened sexual and generalized distress (Rasouli et al., 2024). Even in educational and professional environments, mental health shame poses a significant threat to well-being, driving relationship addictions, interpersonal dysfunction, and severe distress among university students, graduate cohorts, and caregiving students (Kotera et al., 2022; Park & Lee, 2024). Furthermore, negative interpersonal experiences, such as peer victimization during adolescence, are profoundly mediated by external shame, creating a direct pathway to severe mood dysregulation and chronic anxiety (Yaghoubi et al., 2021).
In stark contrast to the destructive nature of shame, self-compassion has emerged as a fundamental psychological buffer and a crucial component of adaptive emotional regulation. Self-compassion entails treating oneself with kindness, recognizing one’s experiences as part of the broader human condition, and maintaining mindful awareness of painful thoughts and feelings rather than over-identifying with them. A substantial corpus of empirical research demonstrates that self-compassion effectively mitigates the negative impacts of shame and emotional dysregulation across numerous contexts (Büyüköksüz & Kayaalp-pehlivan, 2025). By fostering a non-judgmental stance toward personal suffering, self-compassion significantly enhances psychological flourishing and hope, thereby protecting individuals against the onset of generalized anxiety and depression (Cutajar & Bates, 2025; Liu et al., 2024). The cultivation of self-compassion allows individuals to decouple their self-worth from transient failures or uncertainties, serving as a powerful moderator that disrupts the detrimental link between emotional reactivity and long-term mental health deficits (Vidal et al., 2024).
The transdiagnostic utility of self-compassion and adaptive emotional regulation is evident across various age groups and clinical presentations. In adolescent populations, cognitive self-compassion and emotional regulation training have been shown to significantly enhance motivational self-regulation and adaptive functioning, mitigating the pervasive effects of anxiety (Moradmand et al., 2023; Osareh et al., 2024). Moreover, self-compassion actively mediates the relationship between fundamental psychological constructs, such as attachment styles, and the subjective well-being and loneliness experienced by youth (Ohadi Haeri et al., 2024; Rezagholiyan et al., 2025). The protective benefits of these emotional regulation strategies extend to high-stress professional and caregiving environments. For example, among college teachers facing substantial occupational stress, self-compassion and emotional regulation act as crucial mediators, preserving psychological resilience and overall mental health (Rehman et al., 2024). Similarly, for caregivers bearing the heavy emotional burden of supporting elderly patients with Alzheimer’s disease, therapies focused on cultivating self-compassion significantly alleviate depression and emotional dysregulation (Sadeghi et al., 2024). The integration of self-compassion and mindfulness frameworks has also proven highly effective in predicting improved quality of life among post-deployment military veterans and reducing perceived stress in patients suffering from psychosomatic conditions like irritable bowel syndrome (Omidi et al., 2024; Wild et al., 2025).
While the broader domains of emotional regulation, self-compassion, and shame provide a vital foundation for understanding psychological distress, predicting the specific severity of Generalized Anxiety Disorder requires an examination of highly specific cognitive mechanisms. Within the cognitive-behavioral conceptualization of GAD, two highly specific constructs have been identified as paramount: Intolerance of Uncertainty (IU) and Attentional Control (AC). Intolerance of uncertainty refers to a dispositional characteristic that arises from a set of negative beliefs about uncertainty and its implications. Individuals with high IU perceive ambiguous situations as highly stressful, upsetting, and inherently threatening, regardless of the actual probability of a negative outcome. This cognitive vulnerability drives the chronic, unyielding worry that is the hallmark of GAD, as individuals engage in exhaustive cognitive efforts to anticipate and prepare for all possible negative future scenarios. Because the future is inherently uncertain, this maladaptive coping strategy traps the individual in a perpetual state of severe anxiety.
Concurrently, attentional control represents a critical executive function that significantly influences an individual’s ability to self-regulate emotional responses. Attentional control encompasses the capacity to voluntarily focus attention on goal-relevant stimuli and, crucially, to shift attention away from distracting or distressing information. In the context of GAD, profound deficits in attentional control are frequently observed. When individuals with anxiety encounter a perceived threat or an ambiguous stimulus, their attention is rapidly captured by the threat-related information. Without robust attentional control, they are unable to disengage from these distressing cognitive sets, leading to sustained physiological arousal and the exacerbation of emotional dysregulation. Therefore, the interaction between a high intolerance of uncertainty and poor attentional control creates a highly toxic cognitive environment where ambiguous information is interpreted catastrophically, and the individual lacks the cognitive flexibility to shift their focus away from the resulting anxiety.
Despite the acknowledged importance of intolerance of uncertainty and attentional control in GAD, traditional statistical methodologies often struggle to parse the intricate, non-linear relationships and item-level weights of these psychological constructs. The vast majority of psychometric research relies on total scale scores, which invariably obscure the nuanced contributions of specific cognitive facets. For instance, is the inability to concentrate during anxiety more predictive of GAD severity than the specific belief that uncertainty implies negative future events? Traditional linear regressions are frequently ill-equipped to handle the high dimensionality and multicollinearity inherent in granular item-level psychological data. This methodological limitation necessitates the application of advanced computational techniques capable of isolating the most robust clinical predictors from complex datasets.
Artificial Intelligence (AI) and machine learning offer a revolutionary approach to modeling mental health disorders by utilizing mathematically rigorous feature selection algorithms. Algorithms such as the Least Absolute Shrinkage and Selection Operator (LASSO) and Extreme Gradient Boosting (XGBoost) provide the capability to sift through large arrays of psychometric items, aggressively penalizing redundant variables and isolating only the most critical predictors of an outcome. By applying AI-driven feature selection to the constructs of intolerance of uncertainty and attentional control, researchers can move beyond broad theoretical associations and pinpoint the precise cognitive markers that drive generalized anxiety. This high-resolution mapping is essential for the development of highly targeted clinical interventions. If specific deficits in attentional shifting or specific subsets of uncertainty paralysis are identified as the primary drivers of an individual’s anxiety, cognitive-behavioral therapies and mindfulness-based interventions can be meticulously tailored to address those exact cognitive vulnerabilities. By bridging the gap between broad emotional regulation theories—such as those exploring shame and self-compassion—and precise cognitive feature mapping, the field of clinical psychology can substantially enhance the precision and efficacy of its predictive models. Ultimately, the aim of this study is to identify the most robust item-level cognitive predictors of generalized anxiety disorder utilizing an artificial intelligence-driven hybrid feature selection pipeline applied to the constructs of intolerance of uncertainty and attentional control.
Methods and Materials
Study Design and Participants
The current research utilized a cross-sectional predictive study design to systematically investigate the complex relationships between intolerance of uncertainty, attentional control, and the severity of generalized anxiety disorder symptoms. The target population comprised English-speaking adults residing across various provinces in Canada, ensuring a broad geographic and demographic representation within the national context. A total exact sample of participants was successfully recruited through a combination of digital community boards, national mental health advocacy networks, and university research participation portals. To be deemed eligible for inclusion in the study, participants were required to be at least eighteen years of age, currently residing within Canada, and fully capable of comprehending and providing digital informed consent. Individuals with a self-reported history of severe neurological damage, cognitive impairments that would preclude the understanding of self-report measures, or those currently undergoing intensive inpatient psychiatric hospitalization were excluded from the study to minimize the influence of compounding severe clinical variables.
Measures
To accurately quantify the psychological constructs under investigation, three widely validated and standardized self-report psychometric instruments were administered to the participant cohort. The primary dependent variable, the severity of generalized anxiety disorder symptoms, was evaluated utilizing the Generalized Anxiety Disorder Assessment, universally recognized as the GAD-7. This instrument is a self-report questionnaire consisting of seven items, where participants are asked to rate the frequency with which they have experienced specific anxiety symptoms, such as excessive worrying or feeling restless, over the preceding two-week period. Responses are recorded on a four-point Likert scale ranging from , representing not at all, to , representing nearly every day, yielding a total possible score ranging from to , where higher scores strongly correlate with greater clinical severity of generalized anxiety symptomatology. The measurement of the primary predictive construct, intolerance of uncertainty, was conducted using the short form of the Intolerance of Uncertainty Scale, commonly denoted as the IUS-12. This twelve-item questionnaire is meticulously designed to evaluate a respondent’s negative cognitive, emotional, and behavioral reactions to ambiguous situations, the perceived negative implications of being uncertain, and maladaptive attempts to control future events. Participants provide their responses on a five-point Likert scale ranging from , indicating that the statement is not at all characteristic of them, to , indicating that it is entirely characteristic of them. Finally, to evaluate the second predictive construct, the Attentional Control Scale was employed. This comprehensive twenty-item measure captures two primary and distinct components of executive attention, specifically attentional focusing, which is the ability to maintain deep concentration in the face of distracting stimuli, and attentional shifting, which represents the cognitive flexibility to transfer attention between multiple tasks. Participants rated their everyday cognitive experiences related to attentional management on a four-point Likert scale ranging from , meaning almost never, to , meaning always. All three psychometric instruments utilized in this study have consistently demonstrated highly robust psychometric properties in previous literature, including excellent internal consistency, strong test-retest reliability, and high construct validity across diverse clinical and non-clinical adult populations.
Data analysis
The comprehensive analytical pipeline was executed using the Python programming language, specifically leveraging the Scikit-Learn and XGBoost libraries for all data preprocessing, machine learning operations, and artificial intelligence-driven feature selection procedures. Initial data preprocessing involved a rigorous screening for missing values, which were subsequently addressed using a -nearest neighbors imputation algorithm to preserve the structural integrity of the dataset without reducing the statistical power associated with the exact sample size. Following the imputation phase, all continuous independent variables, specifically the individual item scores derived from the intolerance of uncertainty and attentional control scales, were standardized utilizing a standard scaling technique. This process ensures that every feature possesses a mean of and a standard deviation of , mathematically represented by the formula , which operates as a mandatory prerequisite for the optimal functioning of distance-based and regularization-penalized machine learning algorithms. The core analytical phase centered on AI-driven feature selection to identify the most critical and heavily weighted cognitive predictors of generalized anxiety disorder from the granular item-level data. To achieve this optimal subset of predictors, a sophisticated hybrid feature selection methodology was deployed, combining the Least Absolute Shrinkage and Selection Operator regression with a Recursive Feature Elimination algorithm wrapper built around an Extreme Gradient Boosting regressor. The LASSO algorithm applies an regularization penalty to the objective loss function, which effectively shrinks the coefficients of less important and highly collinear features to exactly , thereby executing an intrinsic and highly aggressive variable selection. Concurrently, the Recursive Feature Elimination evaluated the permutation importance of each specific item from the psychological scales, systematically pruning the least significant features at each algorithmic iteration until the optimal predictive subset was isolated. The entire dataset was randomly partitioned into a strictly isolated training set comprising of the data and a hold-out testing set containing the remaining . To rigorously prevent mathematical overfitting and ensure the true generalizability of the selected cognitive features, hyperparameter tuning and model validation were conducted utilizing a -fold cross-validation strategy exclusively within the boundaries of the training subset. The final predictive performance of the model, constructed solely using the optimally selected AI-driven features, was subsequently evaluated on the unseen testing data utilizing standard regression evaluation metrics. These metrics included the Mean Squared Error, mathematically denoted as , the Root Mean Squared Error calculated as , and the coefficient of determination, represented as , which quantifies the total proportion of variance in generalized anxiety symptoms explicitly explained by the isolated features of uncertainty intolerance and attentional control.
Findings and Results
The initial phase of the data analysis involved calculating the descriptive statistics and evaluating the demographic characteristics of the recruited Canadian sample comprising participants. The participant cohort exhibited a mean age of years with a standard deviation of years, ranging from to years. In terms of gender distribution, the sample was predominantly female, comprising () women, () men, and () individuals who identified as non-binary or preferred not to disclose their gender. Educational attainment within the sample was relatively high, with () holding a bachelor’s degree, () possessing a high school diploma or equivalent, () holding a graduate or professional degree, and () having completed some college or associate degrees. Preliminary analysis of the clinical self-report measures indicated that the sample presented with a wide variance in generalized anxiety symptoms, intolerance of uncertainty, and attentional control, providing a robust foundation for the subsequent predictive modeling. The mean score for the Generalized Anxiety Disorder Assessment (GAD-7) was (), which falls into the moderate anxiety severity range. The Intolerance of Uncertainty Scale (IUS-12) demonstrated a mean score of (), and the Attentional Control Scale (ACS) exhibited a mean score of (). Detailed demographic characteristics and baseline descriptive statistics for all major study variables are presented systematically in Table 1.
Variable | Frequency () | Percentage () | Mean () | Standard Deviation () |
|---|---|---|---|---|
Gender | ||||
Female | ||||
Male | ||||
Non-binary/Other | ||||
Age (Years) | ||||
Education | ||||
High School/Equivalent | ||||
Some College/Associate | ||||
Bachelor’s Degree | ||||
Graduate Degree | ||||
Clinical Measures | ||||
GAD-7 Total Score | ||||
IUS-12 Total Score | ||||
ACS Total Score |
Following the descriptive analysis, bivariate Pearson correlation coefficients were computed to examine the fundamental linear relationships between the primary study constructs prior to the application of complex machine learning algorithms. The correlation analysis revealed significant associations aligning with existing theoretical frameworks. A strong positive correlation was observed between total intolerance of uncertainty scores and generalized anxiety disorder severity, , , indicating that higher levels of uncertainty intolerance are closely linked to more severe anxiety symptoms. Conversely, the total attentional control score demonstrated a significant negative correlation with generalized anxiety severity, , , suggesting that greater cognitive ability to focus and shift attention acts as a protective factor against anxiety symptomatology. Furthermore, an inverse relationship was documented between intolerance of uncertainty and attentional control, , . To provide a more granular understanding, the attentional control scale was divided into its two validated sub-components: attentional focusing and attentional shifting. Both subscales exhibited significant negative correlations with the GAD-7 scores, with attentional focusing yielding , and attentional shifting yielding , . The complete correlation matrix detailing these relationships is displayed in Table 2.
Variable | |||||
|---|---|---|---|---|---|
. GAD-7 Total | |||||
. IUS-12 Total | |||||
. ACS Total | |||||
. ACS Focusing | |||||
. ACS Shifting |
The core objective of the study was to identify the most critical item-level predictors of generalized anxiety disorder utilizing an AI-driven hybrid feature selection pipeline. The initial pool of independent variables consisted of distinct items ( from the IUS-12 and from the ACS). The Least Absolute Shrinkage and Selection Operator (LASSO) regression was first applied to the training dataset (). Through rigorous -fold cross-validation, the optimal regularization penalty parameter () was determined to be . The application of this penalty successfully shrunk the coefficients of redundant or statistically noisy items to exactly , leaving a reduced subset of features. Subsequently, the Extreme Gradient Boosting Recursive Feature Elimination (XGBoost-RFE) algorithm was deployed on these remaining features to isolate the absolute most robust predictors by evaluating permutation importance. The XGBoost-RFE algorithm converged on a final optimal subset of exactly paramount features that maximized predictive accuracy while minimizing model complexity. Of these features, were items derived from the Intolerance of Uncertainty Scale, primarily reflecting paralysis in the face of ambiguity and distress regarding unforeseen events. The remaining features were derived from the Attentional Control Scale, specifically capturing profound difficulties in voluntary attentional focusing and the inability to deliberately shift cognitive sets away from distressing stimuli. The specific selected items, alongside their respective standardized LASSO coefficients indicating directional impact and their XGBoost relative importance scores, are comprehensively detailed in Table 3.
Selected Feature (Original Scale Item) | Construct Domain | LASSO Coefficient () | XGBoost Relative Importance () |
|---|---|---|---|
IUS Item : “Unforeseen events upset me greatly” | Uncertainty Distress | ||
IUS Item : “Uncertainty keeps me from living a full life” | Uncertainty Paralysis | ||
ACS Item : “I have a hard time concentrating when I’m anxious” | Attentional Focusing | ||
IUS Item : “Uncertainty makes me vulnerable, unhappy, or sad” | Uncertainty Distress | ||
ACS Item : “It is hard for me to break off from one train of thought” | Attentional Shifting | ||
IUS Item : “One should always look ahead so as to avoid surprises” | Future Control | ||
ACS Item : “My concentration is good even if there is music in the room” | Attentional Focusing |
In the final phase of the analysis, the predictive efficacy of the isolated -feature subset was rigorously evaluated against the hold-out testing dataset (), which had been strictly sequestered from all prior feature selection and model training procedures. To establish a comparative baseline, an initial baseline XGBoost regression model was trained utilizing all original items. This full-feature baseline model achieved a coefficient of determination of on the testing set, with a Root Mean Squared Error of . Conversely, the optimized XGBoost model, strictly utilizing the features identified by the AI-driven pipeline, demonstrated vastly superior generalization capabilities and predictive accuracy. The optimized model achieved an on the unseen testing data, successfully explaining of the variance in generalized anxiety disorder symptom severity utilizing less than a quarter of the original psychometric items. Furthermore, the prediction error was substantially reduced, yielding an and a Mean Squared Error of . The minimal discrepancy between the training set () and the testing set () strongly indicates that the hybrid feature selection methodology successfully prevented mathematical overfitting and isolated genuine, generalizable cognitive markers of anxiety. The comprehensive performance metrics contrasting the baseline full-feature model with the optimized AI-selected feature model across both training and testing datasets are provided in Table 4.
Model Specification | Dataset | Mean Squared Error () | Root Mean Sq. Error () | R-Squared () |
|---|---|---|---|---|
Baseline Model ( Features) | Training () | |||
Testing () | ||||
Optimized Model ( Features) | Training () | |||
Testing () |
Discussion
The primary objective of the current study was to leverage an artificial intelligence-driven feature selection pipeline to identify the most robust, item-level cognitive predictors of Generalized Anxiety Disorder severity from the broader constructs of intolerance of uncertainty and attentional control. Traditional psychometric analyses have consistently demonstrated that high intolerance of uncertainty and low attentional control are significantly correlated with anxiety. However, by utilizing a hybrid machine learning approach consisting of Least Absolute Shrinkage and Selection Operator regression and Extreme Gradient Boosting, this study successfully distilled a pool of cognitive items down to a highly predictive subset of just features. This minimal subset accounted for an impressive of the variance in generalized anxiety symptoms, demonstrating substantial predictive power and emphasizing that specific granular cognitive vulnerabilities—rather than broad, generalized constructs—are the primary drivers of anxiety pathology.
The AI pipeline identified four specific items related to intolerance of uncertainty that were paramount in predicting anxiety severity. These items primarily captured a profound distress regarding unforeseen events, the feeling that uncertainty inherently leads to vulnerability or sadness, the belief that one must constantly look ahead to avoid surprises, and a sense of life paralysis caused by ambiguity. These specific cognitive features align closely with contemporary research highlighting the detrimental role of psychological inflexibility and emotion dysregulation in the exacerbation of internalizing disorders (Büyüköksüz & Kayaalp-pehlivan, 2025). When individuals interpret uncertainty as a direct threat, they frequently experience a cascade of negative affect that they are unable to adaptively regulate, leading directly to the sustained physiological arousal characteristic of generalized anxiety (Nguyen et al., 2025; Syafitri et al., 2024). This cognitive paralysis often generates secondary emotional responses, most notably internalized shame. As individuals struggle to control uncontrollable future events, they may perceive their cognitive failures as profound personal flaws, a process well-documented to escalate anxiety and depressive symptoms (Jeon & Park, 2023; Kang & Jo, 2024). The intense distress generated by uncertainty mimics the emotional devastation seen in specialized populations facing uncontrollable circumstances. For instance, among trauma survivors or individuals navigating severe medical diagnoses like lung cancer or HIV/AIDS, the inability to predict physical or emotional outcomes frequently translates into deep-seated shame and severe psychological impairment (Bhuptani & Messman, 2021; Siwik et al., 2022; Skelton et al., 2021; Xu et al., 2024). The specific predictive weight of feeling “vulnerable” due to uncertainty in our model suggests that cognitive anticipation of threat fundamentally undermines an individual’s sense of safety, much like how altered bodily integrity or medical trauma strips away emotional security and triggers severe distress (Rasouli et al., 2024).
In tandem with intolerance of uncertainty, the machine learning algorithm isolated three critical items from the attentional control scale: the inability to concentrate when anxious, profound difficulty breaking off from a distressing train of thought, and susceptibility to environmental distractions. These items specifically capture deficits in attentional shifting and focusing, which are core executive functions necessary for effective emotion regulation. The inability to disengage from a threatening train of thought represents a state of severe rumination. Previous literature establishes that such rumination acts as a potent mediator between negative self-evaluation and psychological distress, frequently eroding interpersonal satisfaction and overall well-being (Sim & Choi, 2023). When attentional control is compromised, individuals remain cognitively locked onto stressors. This exact mechanism explains why interventions focused on cognitive restructuring and mindfulness are vital, as they directly train the executive functions required to shift attention away from distress (Omidi et al., 2024; Wild et al., 2025). The relevance of attentional deficits is particularly evident in high-stress environments. Among college and graduate students, as well as individuals in intensive caregiving roles, the failure to control attention under pressure leads directly to maladaptive coping mechanisms, severe occupational distress, and profound mental health shame (Kotera et al., 2022; Park & Lee, 2024; Sadeghi et al., 2024).
The interplay between the identified features of uncertainty paralysis and attentional rigidity highlights the vital protective role of adaptive self-regulation, specifically self-compassion. The literature robustly supports self-compassion as a critical buffer that mitigates the toxic effects of cognitive inflexibility and emotional reactivity. By responding to personal struggles with kindness rather than critical over-identification, self-compassion allows individuals to gently shift their attention away from catastrophic scenarios and accept the inherent uncertainties of life (Cutajar & Bates, 2025; Liu et al., 2024). This buffering effect is observed across diverse developmental stages and stressors. In adolescents, for example, targeted emotional regulation and self-compassion training drastically reduce anxiety by improving the ability to disengage from peer-related threats or victimization (Moradmand et al., 2023; Osareh et al., 2024; Yaghoubi et al., 2021). Furthermore, cultivating a self-compassionate stance actively breaks the cycle of rumination and emotional dysregulation that bridges depressive symptoms and loneliness, enhancing overall subjective well-being (Ohadi Haeri et al., 2024; Rezagholiyan et al., 2025; Vidal et al., 2024).
The modern digital landscape further exacerbates the vulnerabilities identified by our AI model. The specific attentional deficit of being easily distracted maps onto contemporary challenges where individuals are constantly bombarded by idealized social norms and distressing digital stimuli. When young individuals, particularly women, lack the attentional control to shift focus away from detrimental social media content, they experience acute appearance-related shame and subsequent anxiety (Mills et al., 2022; Seekis & Kennedy, 2023). This environmental capture of attention, combined with a high intolerance of uncertainty regarding social standing, drives severe psychological distress. Thus, adaptive emotional regulation and the cultivation of psychological resilience are paramount for mitigating the specific cognitive deficits highlighted by our findings. As demonstrated in professional cohorts, such as college educators, possessing strong emotional regulation frameworks acts as a necessary shield against the onslaught of occupational uncertainty, preserving mental health and functioning (Rehman et al., 2024). Ultimately, our machine learning findings synthesize seamlessly with the existing literature: generalized anxiety is heavily driven by a specific, toxic combination of paralyzing distress in the face of ambiguity and a neurological inability to voluntarily shift attention away from that perceived threat.
Conclusion
The application of artificial intelligence and machine learning in psychometric evaluation offers a transformative advancement in the conceptualization and prediction of mental health disorders. This study successfully demonstrated that the complex, multifaceted presentation of Generalized Anxiety Disorder can be accurately modeled using a highly condensed subset of specific cognitive vulnerabilities. By applying a hybrid LASSO and XGBoost feature selection pipeline, the research isolated just seven critical items from broader scales of intolerance of uncertainty and attentional control, proving that targeted cognitive mechanisms—such as the profound inability to break a train of thought and paralyzing distress regarding unforeseen events—are the primary structural pillars of clinical anxiety. This AI-driven methodology not only mitigates the statistical noise associated with traditional sum-score approaches but also provides a high-resolution map of the precise cognitive deficits that trap individuals in states of chronic worry. Ultimately, these findings underscore that the severity of generalized anxiety is heavily dependent on specific failures in attentional shifting and an absolute intolerance for life’s inherent ambiguities.
Limitations & Suggestions
Despite the methodological rigor and advanced computational techniques employed, this study is subject to several limitations that must be acknowledged. First, the cross-sectional nature of the research design precludes any definitive causal inferences. While the machine learning algorithms identified strong predictive patterns, it is impossible to determine whether the identified deficits in attentional control and uncertainty intolerance precede the onset of generalized anxiety or if chronic anxiety subsequently deteriorates these cognitive capacities over time. Second, the reliance on self-report psychometric instruments inherently introduces the risk of subjective response biases, such as negative affectivity bias or social desirability, where participants may inadvertently exaggerate or downplay their cognitive struggles. Third, the sample was exclusively comprised of English-speaking adults residing within Canada. This geographical and demographic constraint may limit the cross-cultural generalizability of the findings, as cultural frameworks significantly influence the interpretation of uncertainty and the expression of anxiety symptoms. Finally, the study utilized the GAD-7, a highly validated screening tool, but it lacked comprehensive structured clinical interviews to confirm formal psychiatric diagnoses of Generalized Anxiety Disorder.
Future scholarly inquiries should prioritize longitudinal methodologies to capture the temporal dynamics and developmental trajectories of the specific cognitive features identified in this study. Tracking changes in attentional shifting and uncertainty paralysis over time would provide vital insights into the causal mechanisms underlying the onset and maintenance of anxiety disorders. Additionally, researchers should aim to replicate this artificial intelligence-driven feature selection pipeline within diverse, cross-cultural populations and specifically within cohorts formally diagnosed with Generalized Anxiety Disorder through structured clinical interviews. This would validate the generalizability and clinical utility of the seven-feature model. Furthermore, future studies could integrate objective, physiological measures of attentional control, such as eye-tracking technology or electroencephalography, to correlate the self-reported cognitive deficits with actual neurological performance. Finally, experimental research should evaluate the specific responsiveness of these seven isolated features to targeted psychological interventions, determining if changes in these precise granular items correspond directly to a reduction in overall anxiety severity.
The findings from this advanced computational modeling present highly actionable insights for clinical psychology and therapeutic practice. Practitioners should consider moving beyond the reliance on broad, total scale scores during patient assessment and instead scrutinize item-level responses to identify specific cognitive bottlenecks. By recognizing that an individual’s anxiety is primarily driven by an inability to break a specific train of thought or an intense paralysis regarding unforeseen events, clinicians can design meticulously tailored treatment plans. Cognitive Behavioral Therapy and Acceptance and Commitment Therapy can be customized to directly challenge the specific beliefs surrounding unpredictability, while specialized mindfulness protocols can be employed as practical exercises to specifically rehabilitate attentional shifting capabilities. Rather than deploying generalized anxiety treatments, therapists can utilize this granular conceptualization to act as cognitive trainers, directly strengthening the patient’s capacity to disengage from threat and tolerate ambiguity, thereby enhancing the overall efficacy and efficiency of clinical interventions.
Acknowledgments
We would like to express our appreciation and gratitude to all those who cooperated in carrying out this study.
Declaration of Interest
The authors of this article declared no conflict of interest.
Ethical Considerations
The study protocol adhered to the principles outlined in the Helsinki Declaration, which provides guidelines for ethical research involving human participants.
Transparency of Data
In accordance with the principles of transparency and open research, we declare that all data and materials used in this study are available upon request.
Funding
This research was carried out independently with personal funding and without the financial support of any governmental or private institution or organization.
Authors’ Contributions
All authors equally contributed in this article.
Declaration
In order to correct and improve the academic writing of our paper, we have used the language model ChatGPT.
References
- Bhuptani, P. H., & Messman, T. L. (2021). Self-compassion and shame among rape survivors. Journal of interpersonal violence, 37(17-18), NP16575-NP16595. doi 10.1177/08862605211021994
- Büyüköksüz, E., & Kayaalp-pehlivan, R. (2025). Psychological Inflexibility, Mindfulness, Emotion Regulation, Self-Compassion, and Anxiety in Adults: A Serial Mediation Model. Muğla Sıtkı Koçman Üniversitesi Eğitim Fakültesi Dergisi, 12(1), 107-134. doi 10.21666/muefd.1643883
- Cutajar, K., & Bates, G. (2025). Australian Women in the Perinatal Period During COVID-19: The Influence of Self-Compassion and Emotional Regulation on Anxiety, Depression, and Social Anxiety. Healthcare, 13(2), 120. doi 10.3390/healthcare13020120
- Jeon, S., & Park, K.-H. (2023). The Relationship Between Internalized Shame and Self-Concealment: The Mediating Effects of Fear of Negative/Positive Evaluation and Self-Compassion. Korean Association for Learner-Centered Curriculum and Instruction, 23(23), 507-520. doi 10.22251/jlcci.2023.23.23.507
- Kang, M., & Jo, H. (2024). The Influence of Social Comparison Tendency on SNS Addiction Tendency: The Mediating Effect of Internalized Shame Moderated by Self-Compassion. Korean Association for Learner-Centered Curriculum and Instruction, 24(22), 1-16. doi 10.22251/jlcci.2024.24.22.1
- Kotera, Y., Tsuda‐McCaie, F., Edwards, A. M., Bhandari, D., Williams, D., & Neary, S. (2022). Mental Health Shame, Caregiver Identity, and Self-Compassion in UK Education Students. Healthcare, 10(3), 584. doi 10.3390/healthcare10030584
- Liu, C., Lin, P. T., & Xiong, Z. (2024). Self-Compassion and Psychological Flourishing Among College Students: The Mediating Role of Hope and the Moderating Role of Emotion Regulation. Behavioral Sciences, 14(12), 1149. doi 10.3390/bs14121149
- Mills, J. S., Minister, C., & Samson, L. (2022). Enriching sociocultural perspectives on the effects of idealized body norms: Integrating shame, positive body image, and self-compassion. Frontiers in psychology, 13, 983534. doi 10.3389/fpsyg.2022.983534
- Moradmand, M., Ashayeri, H., & Namvar, H. (2023). Prediction of Adolescent Shame Based on Self-Compassion and Emotional Regulation According to the Mediating Role of Problem Solving. Aftj, 4(5), 57-83. doi 10.61838/kman.aftj.4.5.4
- Nguyen, A., Grummitt, L., Barrett, E. L., Bailey, S., Gardner, L. A., Champion, K. E., & Birrell, L. (2025). The relationship between emotion regulation and mental health in adolescents: Self-compassion as a moderator. Mental Health & Prevention, 38. doi 10.1016/j.mhp.2025.200430
- Ohadi Haeri, H., Tavakoli Toroghi, E., & Ebrahimi, S. (2024). Predicting Loneliness Based on Attachment Style and Emotional Dysregulation with the Mediation of Self-Compassion. Psychological studies, 20(4), 105-120. doi 10.22051/psy.2025.48275.3023
- Omidi, A., Ahmadi, V., & valizadeh, r. (2024). Comparison of the effectiveness of emotion regulation training with cognitive therapy based on mindfulness on perceived stress and self-compassion in patients with irritable bowel syndrome. medical journal of mashhad university of medical sciences, 66(6). https://mjms.mums.ac.ir/article_23901.html
- Osareh, N., Pirani, Z., & ZanganehMolagh, F. (2024). Evaluating the effectiveness of cognitive self-compassion and emotion regulation training on motivational self-regulation and social and adaptive functioning of female students with anxiety. school psychology and institution, 13(1), 63-76. https://journal.uma.ac.ir/article_2907.html?lang=en
- Park, S., & Lee, H.-K. (2024). The Relationship Between Internalized Shame and Relationship Addiction in University (Graduate) Students: Self-Compassion and Distress Tolerance as Sequential Mediators. Korean Assoc Learner-Centered Curric Instr, 24(24), 175-189. doi 10.22251/jlcci.2024.24.24.175
- Rasouli, M., Khazaie, H., & Yarahmadi, Y. (2024). Predicting Sexual Distress Based on Self-Compassion in Women With a History of Mastectomy: Investigation of the Mediating Role of Body Image and Difficulties in Emotion Regulation. Middle East Journal of Rehabilitation and Health Studies, 11(4). doi 10.5812/mejrh-144890
- Rehman, S., Addas, A., Rehman, E., & Khan, M. A. (2024). The Mediating Roles of Self-Compassion and Emotion Regulation in the Relationship Between Psychological Resilience and Mental Health Among College Teachers. Psychology research and behavior management, Volume 17, 4119-4133. doi 10.2147/prbm.s491822
- Rezagholiyan, M., Nemati, F., & Hashemi, T. (2025). Development of a Model of Students' Subjective Well-Being Based on Attachment Styles, Self-Compassion, and Emotion Regulation Styles with the Mediating Role of Quality of Life. Journal of Adolescent and Youth Psychological Studies (JAYPS), 6(1), 21-33. https://doi.org/10.61838/
- Sadeghi, A., Jahangiri, M., & Taghvaei, D. (2024). The effectiveness of self-compassion-focused therapy on depression, caregiver burden, and emotional dysregulation in caregivers of elderly patients with Alzheimer's disease. Journal of Research in Psychological Health, 18(2), 1-20. https://system.khu.ac.ir/rph/article-1-4524-fa.pdf
- Seekis, V., & Kennedy, R. (2023). The impact of beauty and self-compassion TikTok videos on young women's appearance shame and anxiety, self-compassion, mood, and comparison processes. Body Image, 45, 117-125. doi 10.1016/j.bodyim.2023.02.006
- Sim, H. R., & Choi, H. N. (2023). The Moderated Mediating Effect of Self-Compassion on the Relationship Between Internalized Shame, Rumination, and Interpersonal Satisfaction. Korean Association for Learner-Centered Curriculum and Instruction, 23(11), 479-495. doi 10.22251/jlcci.2023.23.11.479
- Siwik, C. J., Phillips, K., Zimmaro, L., Salmon, P., & Sephton, S. E. (2022). Depressive symptoms among patients with lung cancer: elucidating the roles of shame, guilt, and self-compassion. J. Health Psychol., 27(5), 1039-1047. doi 10.1177/1359105320988331
- Skelton, W. M., Cardaciotto, L., O'Hayer, C. V., & Goldbacher, E. (2021). The role of self-compassion and shame in persons living with HIV/AIDS. AIDS care, 33(6), 818-826. doi 10.1080/09540121.2020.1769836
- Syafitri, N., Lubis, R., Indrawan, Y. F., & Choong, T. C. (2024). Self-Compassion: Unveiling Mental Health Through Emotion Regulation in High-School Students. Tazkiya Journal of Psychology, 12(1), 1-16. doi 10.15408/tazkiya.v12i1.37794
- Vidal, J., Ciudad-Fernández, V., Navarrete, J., Soler, J., Schmidt, C., Molinari, G., & Cebolla, A. (2024). From Self-Criticism to Self-Compassion: Exploring the Mediating Role of Two Emotion Dysregulation Variables in Their Relationship to Depressive Symptoms. Current Psychology. doi 10.1007/s12144-024-06325-6
- Wild, M. G., Coppin, J. D., Mendoza, C., Metts, A., Pearson, R., & Creech, S. K. (2025). Self-compassion, mindfulness, and emotion regulation predict multiple dimensions of quality of life in US post-9/11 veterans. Quality of Life Research, 1-10. doi 10.1007/s11136-025-03908-
- Xu, X., Li, Y., Liu, S., & Wang, W. (2024). Longitudinal Relationships Between Bullying Victimization and Dual Social Behaviors: The Roles of Self-Compassion and Trauma-Related Shame. Psychology research and behavior management, Volume 17, 1463-1475. doi 10.2147/prbm.s450013
- Yaghoubi, S., Birashk, B., Aghebati, A., & Ashouri, A. (2021). Mediating role of external shame and self-compassion in the relationship between peer victimization and depression in adolescents. Iranian Journal of Psychiatry and Clinical Psychology, 27(1), 16-31. doi 10.32598/ijpcp.27.1.3288.1