Journal of Assessment and Research in Applied Counseling
Volume 8, Issue 2, pp 1-11
A Predictive ML Model of Self‑Compassion, Shame‑Proneness, and Emotion Regulation Strategies in Counseling Outcomes
Abstract
Objective: The primary objective of this study was to construct and validate a predictive machine learning model to determine the relative mathematical feature importance and prognostic capacity of baseline self-compassion, shame-proneness, and emotion regulation strategies on outpatient clinical counseling outcomes.
Methods and Materials: A prospective observational cohort design was utilized with n=452 Canadian adult outpatients attending a minimum of 6 psychotherapy sessions. Baseline psychological variables were assessed using the 26-item Self-Compassion Scale (SCS), the Test of Self-Conscious Affect (TOSCA) shame-proneness subscale, and the 10-item Emotion Regulation Questionnaire (ERQ). Ultimate treatment outcomes were quantified at termination using the 34-item Clinical Outcomes in Routine Evaluation-Outcome Measure (CORE-OM). Data preprocessing incorporated K-Nearest Neighbors imputation for missing values and Z-score normalization (z=(x-μ)/σ) for all psychometric features. Following dimensionality reduction, a Random Forest regressor was trained on an 80%training split (n=361) employing 10-fold cross-validation for hyperparameter tuning, and subsequently evaluated on a 20%testing split (n=91).
Findings: The optimized Random Forest model (n_estimators=200, max_depth=10) demonstrated robust predictive generalization on the independent testing set, accounting for 61%of the variance in counseling outcomes (R^2=.61) with a Root Mean Square Error (RMSE) of 3.45and a Mean Absolute Percentage Error (MAPE) of 16.5%. The algorithmic extraction of Gini importance scores revealed a definitive predictive hierarchy: baseline self-compassion emerged as the paramount prognostic indicator (score =.385), followed sequentially by shame-proneness (.312), cognitive reappraisal (.195), and expressive suppression (.108).
Conclusion: Baseline self-compassion and shame-proneness serve as the most critical transdiagnostic determinants of psychotherapeutic success, demonstrating that the application of machine learning algorithms to intake assessments can revolutionize personalized prognostic modeling and clinical treatment planning.
Introduction
The efficacy of psychotherapeutic interventions and the accurate prediction of counseling outcomes remain central imperatives within the domains of clinical psychology and psychiatric research. Anticipating how a patient will respond to counseling before the intervention actually begins allows for highly personalized treatment planning, optimal resource allocation, and the prevention of therapeutic dropout. Over the past decades, psychological researchers have increasingly recognized that baseline psychological characteristics—specifically enduring transdiagnostic constructs rather than mere surface-level symptom severity—are the most robust predictors of psychotherapeutic success. Among these foundational psychometric elements, the synergistic triad of self-compassion, shame-proneness, and emotion regulation strategies has garnered unprecedented clinical attention. These underlying variables collectively orchestrate how individuals process severe psychological distress, internalize life adversity, and ultimately engage with the therapeutic process. Therefore, identifying the exact predictive hierarchy and complex interactive effects of these constructs utilizing advanced computational paradigms holds immense potential for revolutionizing contemporary counseling frameworks and elevating patient care standards.
Shame-proneness stands as a highly destructive, deeply internalized psychological barrier to therapeutic progress. Shame is a ubiquitous and intensely painful social emotion characterized by a global negative evaluation of the self. Unlike guilt, which focuses outward on a specific negative behavior, shame involves the pervasive perception that one’s core identity is fundamentally flawed, inadequate, or entirely unworthy of human connection. The highly toxic nature of shame-proneness has been intimately linked to a myriad of severe psychological distress markers across highly diverse and profoundly vulnerable populations. For instance, trauma-related shame deeply exacerbates generalized psychological distress and actively inhibits recovery among individuals subjected to severe interpersonal violations, such as ongoing peer victimization and school-based bullying (Xu et al., 2024; Yaghoubi et al., 2021). Similarly, profound feelings of both external and internalized shame present critical barriers to psychological healing and cognitive flexibility for survivors of sexual violence, embedding a deep sense of unworthiness that clinical counseling must systematically dismantle (Bhuptani & Messman, 2021). Furthermore, the devastating psychological impact of shame is not strictly limited to interpersonal trauma; it also severely complicates the psychosocial trajectory of individuals navigating chronic and life-threatening medical illnesses. Elevated levels of profound shame and guilt have been identified as primary drivers of severe depressive symptomatology in patients grappling with complex oncological conditions, such as lung cancer (Siwik et al., 2022), as well as among those managing the profound historical stigmatization and social isolation associated with living with HIV/AIDS (Skelton et al., 2021).
Beyond acute trauma and chronic illness, internalized shame heavily dictates functional outcomes in everyday psychosocial contexts, severely impairing interpersonal relationships, identity formation, and behavioral regulation. Internalized shame fosters profound maladaptive self-concealment, driving individuals to hide their perceived internal flaws due to a paralyzing fear of both negative and positive external evaluation (Jeon & Park, 2023). This pervasive sense of personal inadequacy frequently mediates the highly destructive relationship between persistent cognitive rumination and severe interpersonal dissatisfaction (Sim & Choi, 2023). Additionally, it has been empirically modeled as a core sequential mediator driving severe relationship addiction and dependency among university and graduate student populations (Park & Lee, 2024). In the contemporary digital era, the profound burden of appearance-based and social-comparative shame has been radically amplified by technology. The relentless societal pursuit of idealized body norms and resulting appearance shame heavily undermines positive body image and holistic mental well-being (Mills et al., 2022). This algorithmic phenomenon is particularly evident on modern social media platforms, where appearance-focused content directly catalyzes acute appearance shame, severe anxiety, and highly maladaptive comparison processes among young women (Seekis & Kennedy, 2023), while broader social comparison tendencies critically fuel comprehensive social networking site addiction through the direct mediation of internalized shame (Kang & Jo, 2024). In rigorous academic and professional training environments, mental health shame poses a significant threat to systemic psychological stability, uniquely interacting with developing caregiver identities to severely undermine the well-being of educational students (Kotera et al., 2022). Furthermore, early onset shame during crucial developmental years continues to serve as a critical overarching vulnerability factor, with traditional predictive models successfully estimating adolescent shame based heavily on core emotional deficits (Moradmand et al., 2023).
In stark contrast to the destructive, self-isolating pathology of shame-proneness, self-compassion emerges as a profound protective mechanism and a critical psychological catalyst for positive therapeutic change. Rooted in traditional mindfulness and the acknowledgment of common humanity, self-compassion involves extending the exact same kindness, unwavering care, and non-judgmental understanding toward oneself during moments of perceived failure or suffering that one would naturally extend to a cherished friend. The systematic cultivation of self-compassion is widely recognized as a cornerstone for enhancing broad psychological flourishing, directly mediating positive psychosocial constructs like enduring hope among diverse college populations (Liu et al., 2024). Furthermore, self-compassion acts as a foundational cognitive pillar for students’ overall subjective well-being, securely anchoring highly adaptive attachment styles and preserving a high quality of life within intensely stressful academic and competitive environments (Rezagholiyan et al., 2025).
The highly robust buffering effect of self-compassion against severe psychological distress has been rigorously validated across an extensive array of highly demanding clinical contexts and vulnerable socio-demographic cohorts. Among post- military veterans, baseline self-compassion functions as a paramount psychological predictor across multiple, highly distinct dimensions of overall quality of life, effectively mitigating the deep-seated psychological scars of intensive combat deployment and fostering long-term reintegration (Wild et al., 2025). In the exceptionally demanding realm of unpaid caregiving, self-compassion-focused therapeutic interventions have proven highly efficacious in permanently alleviating debilitating caregiver burden, severe major depression, and profound emotional dysregulation among individuals caring full-time for elderly family members suffering from advanced Alzheimer’s disease (Sadeghi et al., 2024). The expansive protective umbrella of self-compassion also extends seamlessly to highly specific female medical populations, profoundly mitigating acute sexual distress and actively buffering the extensive psychological trauma of drastically altered body image in women navigating the difficult aftermath of radical mastectomy surgeries (Rasouli et al., 2024). Similarly, during global societal crises, high trait self-compassion significantly influenced and dramatically reduced the immense baseline burden of generalized anxiety, clinical depression, and severe social anxiety experienced by highly vulnerable perinatal women throughout the height of the COVID- pandemic (Cutajar & Bates, 2025).
While shame-proneness and self-compassion represent powerful, opposing internal valences of self-relation, emotion regulation strategies dictate the actual mechanical pathways and cognitive operations through which these internal relational states are processed, modulated, and behaviorally manifested in daily life. Emotion regulation refers to the highly complex intrinsic and extrinsic psychological processes by which individuals influence exactly which emotions they have, precisely when they have them, and exactly how they intimately experience and outwardly express these feelings. The adaptive capacity to effectively regulate emotional responses is inherently vital for establishing and maintaining baseline mental health, particularly during highly volatile transitional developmental phases; specifically, self-compassion has been shown to actively moderate the critical, life-altering relationship between functional emotion regulation strategies and broader longitudinal mental health trajectories in adolescents (Nguyen et al., 2025). Similarly, emotion regulation operates directly in tandem with self-compassion to foster essential psychological mental stability and emotional maturity in high school students (Syafitri et al., 2024), while simultaneously serving as a highly crucial mediating cognitive pathway definitively linking overarching psychological resilience to the functional daily mental health of adult working professionals, such as college educators navigating high-stress occupational environments (Rehman et al., 2024).
Conversely, chronic difficulties in emotion regulation, commonly identified as explicit emotional dysregulation, fundamentally bridge the dangerous psychological gap between underlying cognitive vulnerabilities and the onset of overt clinical psychiatric symptomatology. Dysfunctional emotional processing significantly and powerfully mediates the perilous cognitive transition from harsh internal self-criticism to overt, clinically diagnosable depressive symptoms (Vidal et al., 2024). It also heavily fuels systemic, trait-level psychological inflexibility, forming a dangerous serial mediating chain with deficits in mindfulness and low self-compassion that ultimately culminates in severe, generalized anxiety among broad adult populations (Büyüköksüz & Kayaalp-pehlivan, 2025). The highly destructive interaction between early maladaptive schemas, such as fundamentally insecure interpersonal attachment styles, and the profound experience of chronic loneliness is deeply mediated by the systemic failure to regulate emotions effectively alongside a critical deficit in baseline self-compassion (Ohadi Haeri et al., 2024). Recognizing this highly critical pathological mechanism, modern clinical counseling interventions explicitly target these exact self-regulatory pathways to induce therapeutic change. Targeted cognitive and emotional training programs strictly focused on teaching self-compassion alongside adaptive emotion regulation have successfully and permanently enhanced intrinsic motivational self-regulation and highly adaptive social functioning in severely anxious youth populations (Osareh et al., 2024). Likewise, targeted emotion regulation skills training has been proven to be just as effective as traditional mindfulness-based cognitive behavioral therapies in drastically reducing perceived physiological stress and directly fostering internal self-compassion in patients suffering from highly chronic psychosomatic conditions, such as irritable bowel syndrome (Omidi et al., 2024).
The intricate, highly multidimensional interplay between baseline shame-proneness, inherent self-compassion, and habitual emotion regulation forms a profoundly complex web of clinical causality that fundamentally determines psychotherapeutic success and ultimate counseling outcomes. Traditional statistical methodologies, which predominantly rely on basic linear regressions and highly restricted structural equation modeling, often fail catastrophically to capture the highly non-linear, dynamically interacting, and deeply hierarchical nature of these specific psychological constructs when attempting to predict real-world clinical counseling outcomes. To accurately and comprehensively map the complete psychological topography of a new patient at baseline and reliably forecast their unique longitudinal therapeutic trajectory, behavioral researchers must aggressively pivot toward highly advanced, data-driven computational techniques. Modern machine learning algorithms, particularly complex supervised ensemble decision trees, offer an entirely unprecedented capacity to process massive, high-dimensional psychometric datasets, explicitly identifying the complex, hidden feature importance hierarchies that traditional linear models inherently obscure. By algorithmically evaluating exactly how adaptive psychological strategies, such as cognitive reappraisal and high self-compassion, quantitatively interact with and mathematically neutralize deeply maladaptive internal vulnerabilities, such as expressive suppression and intense internalized shame, highly sophisticated machine learning methodologies can generate vastly more accurate and clinically actionable predictive tools for mental health practitioners.
Despite the overwhelming volume of empirical evidence individually linking self-compassion, shame, and emotion regulation to overarching mental health, there currently remains a highly critical dearth of quantitative research formally utilizing advanced artificial intelligence and machine learning to synthesize these specific variables into a unified, mathematically rigorous predictive prognostic model for general outpatient counseling. Bridging this specific methodological gap is absolutely essential for advancing the modern era of precision, personalized psychotherapy, wherein complex clinical interventions can be precisely and algorithmically tailored to a patient’s completely unique baseline psychological and emotional profile. Therefore, the primary aim of this study was to construct, thoroughly train, and rigorously validate a highly accurate predictive machine learning model to explicitly determine the relative mathematical feature importance and precise predictive prognostic capacity of baseline self-compassion, shame-proneness, and diverse emotion regulation strategies on ultimate clinical counseling outcomes.
Methods and Materials
Study Design and Participants
This research utilized a prospective observational cohort design to investigate the predictive utility of specific psychological constructs on counseling outcomes using advanced machine learning algorithms. The study population comprised adults seeking outpatient psychotherapy at various community mental health centers and university counseling clinics across Canada. A purposive sampling strategy was employed to recruit eligible participants over a period of eighteen months. Informed consent was obtained electronically from all individuals prior to their inclusion in the clinical study. The final analytical sample consisted of exactly Canadian adults who successfully completed both the baseline psychological assessments and the comprehensive post-treatment outcome evaluations. To be included in the dataset, participants had to be at least years of age, fluent in the English language, and actively engaged in a minimum of sessions of individual counseling. Individuals presenting with active psychosis, acute suicidality requiring immediate hospitalization, or severe cognitive impairments that would preclude the accurate completion of self-report measures were systematically excluded from the analytical sample to ensure the reliability of the psychometric data. The demographic composition of the participants reflected a highly diverse cross-section of the Canadian treatment-seeking population, ensuring adequate variance and representativeness for the robust training and testing of the predictive computational models.
Measures
The empirical data required for building this predictive model were gathered utilizing a comprehensive battery of validated self-report psychometric instruments, which were administered digitally prior to the commencement of the first counseling session, alongside a standardized outcome measure administered at the clinical conclusion of the treatment protocol. Self-compassion was quantified using the Self-Compassion Scale, a widely utilized and rigorously validated instrument comprising items that assess primary components such as self-kindness, common humanity, and mindfulness on a -point Likert scale. Shame-proneness was measured via the Test of Self-Conscious Affect, specifically focusing on the core shame-proneness subscale, which presents respondents with brief, relatable scenarios and asks them to rate the absolute likelihood of experiencing shame-based reactions on a -point scale. Emotion regulation strategies were thoroughly evaluated using the Emotion Regulation Questionnaire, a -item inventory designed to capture the habitual use of cognitive reappraisal and expressive suppression, with responses scored on a -point scale ranging from strongly disagree to strongly agree. Finally, to establish the definitive target variable for the supervised machine learning model, counseling outcomes were operationalized and measured using the Clinical Outcomes in Routine Evaluation-Outcome Measure. This extensive -item questionnaire meticulously assesses global psychological distress spanning subjective well-being, reported problems or symptoms, general life functioning, and risk to self or others. This target measure was administered upon the formal termination of the counseling process to accurately determine the aggregate clinical improvement and establish the predictive target value for the algorithm.
Data analysis
The computational phase of the research employed sophisticated machine learning techniques to construct, tune, and validate a predictive model of counseling outcomes based entirely on the baseline psychological metrics. Initially, data preprocessing was conducted to handle missing values utilizing a -Nearest Neighbors imputation strategy, ensuring the maximum preservation of the dataset’s integrity without carelessly discarding valuable patient records. The continuous psychometric variables were subsequently standardized using a Z-score normalization process to ensure all input features shared a common scale, where the mean was centered at and the standard deviation was scaled to , denoted mathematically as . To identify the most salient predictors among the various self-compassion, shame-proneness, and emotion regulation facets, a recursive feature elimination protocol was implemented to reduce dimensionality and mitigate the risk of multicollinearity. The core predictive modeling was executed utilizing an ensemble learning approach, specifically a Random Forest regressor, chosen for its inherent robustness against overfitting and its superior capacity to capture complex, non-linear interactions between the measured psychological constructs. The complete dataset of participants was randomly partitioned into a training set comprising of the data and a hold-out testing set containing the remaining . Model hyperparameter tuning, including tree depth and estimator count, was optimized through a rigorous -fold cross-validation procedure on the training set. The ultimate predictive performance of the model was evaluated on the unseen testing data using standard regression metrics, primarily the Root Mean Square Error, denoted mathematically as , and the coefficient of determination, represented as . Furthermore, Gini importance scores were systematically extracted from the trained ensemble model to explicitly delineate the relative hierarchical contribution of self-compassion, shame-proneness, and emotion regulation strategies in accurately forecasting the trajectory of therapeutic outcomes.
Findings and Results
The findings of this study elucidate the predictive capacity of self-compassion, shame-proneness, and emotion regulation strategies on counseling outcomes using a machine learning framework. Preliminary data screening confirmed that the dataset of participants was free from severe outliers and met the fundamental assumptions required for the specified analytical techniques. Demographic analysis revealed that the participants had a mean age of years (), with the sample identifying predominantly as female (), followed by male (), and non-binary or other gender identities (). The average duration of counseling was sessions (). Table 1 presents the descriptive statistics and bivariate Pearson correlation coefficients for the primary psychological constructs and the target clinical outcome variable, the Clinical Outcomes in Routine Evaluation-Outcome Measure (CORE-OM) score at termination. The correlational matrix indicates that baseline shame-proneness and expressive suppression were significantly and positively correlated with higher psychological distress at termination, whereas self-compassion and cognitive reappraisal demonstrated strong negative correlations with the final CORE-OM scores, suggesting their protective role in therapeutic recovery.
Variable | 1 | 2 | 3 | 4 | 5 | ||
|---|---|---|---|---|---|---|---|
1. Self-Compassion | |||||||
2. Shame-Proneness | |||||||
3. Cognitive Reappraisal | |||||||
4. Expressive Suppression | |||||||
5. CORE-OM (Outcome) |
Following the descriptive analysis, the predictive modeling phase was executed utilizing the Random Forest regressor. The hyperparameter tuning process, conducted via a rigorous -fold cross-validation grid search on the training dataset (), identified the optimal architectural parameters for the ensemble model. The tuning process systematically evaluated various combinations of decision trees and depth constraints to minimize the mean squared error while preventing algorithmic overfitting. The final selected parameters, which yielded the most robust predictive performance across the cross-validation folds, are detailed in Table 2. These optimized parameters were subsequently locked in for the final model training and evaluation on the hold-out testing set.
Hyperparameter | Evaluated Range/Options | Optimal Selected Value |
|---|---|---|
Number of Estimators () | ||
Maximum Depth () | None | |
Minimum Samples Split () | ||
Minimum Samples Leaf () | ||
Maximum Features () | auto, sqrt, log2 | sqrt |
The overall predictive performance of the optimized Random Forest model was evaluated using the unseen hold-out testing dataset (). The model demonstrated strong predictive efficacy, successfully forecasting a significant proportion of the variance in the final counseling outcomes based solely on the baseline psychological assessments. Table 3 outlines the primary performance metrics, including the Root Mean Square Error (), Mean Absolute Error (), and the Coefficient of Determination (), for both the training and testing phases. The minimal degradation in performance metrics between the training and testing sets confirms that the model generalizes exceptionally well to novel patient data and did not suffer from excessive overfitting. The testing set of indicates that approximately of the variance in post-treatment psychological distress can be accurately predicted by the patient’s initial levels of self-compassion, shame-proneness, and emotion regulation strategies.
Metric | Training Set () | Testing Set () |
|---|---|---|
Root Mean Square Error () | ||
Mean Absolute Error () | ||
Coefficient of Determination () | ||
Mean Absolute Percentage Error () |
To achieve the primary research objective of identifying the most critical predictors of counseling outcomes, feature importance scores were extracted from the trained Random Forest model. The Gini importance scores, which quantify the total decrease in node impurity averaged across all decision trees in the ensemble, highlight the relative contribution of each psychological construct. Table 4 presents the normalized feature importance scores for the predictor variables. The algorithmic analysis identified baseline self-compassion as the paramount predictor of counseling outcomes, accounting for the highest feature importance score. This was closely followed by shame-proneness, which also emerged as a highly significant determinant of the therapeutic trajectory. Interestingly, within the domain of emotion regulation, cognitive reappraisal demonstrated substantially greater predictive utility compared to expressive suppression, suggesting that the presence of adaptive cognitive reframing skills at the onset of therapy is a vital prognostic indicator for ultimate treatment success.
Predictor Variable | Gini Importance Score | Relative Rank |
|---|---|---|
Self-Compassion | ||
Shame-Proneness | ||
Cognitive Reappraisal | ||
Expressive Suppression |
Discussion
The primary objective of the present study was to utilize advanced machine learning algorithms to elucidate the predictive capacity and hierarchical importance of baseline self-compassion, shame-proneness, and specific emotion regulation strategies on ultimate counseling outcomes. The application of a Random Forest regressor to our dataset of outpatient adults yielded a highly robust predictive model, successfully forecasting a substantial of the variance in post-treatment psychological distress, denoted as . The algorithmic extraction of feature importance scores revealed a definitive hierarchy among the psychological predictors: baseline self-compassion emerged as the paramount prognostic indicator with the highest Gini importance score of , closely followed by shame-proneness at . Within the domain of emotion regulation, cognitive reappraisal demonstrated significantly greater predictive utility (importance score of ) compared to expressive suppression (importance score of ). Furthermore, our correlational analyses indicated that high initial levels of self-compassion and cognitive reappraisal were strongly associated with lower psychological distress at termination, whereas elevated baseline shame-proneness and habitual expressive suppression accurately predicted higher enduring distress and poorer therapeutic responses.
The algorithmic identification of self-compassion as the single most critical baseline predictor of successful counseling outcomes aligns profoundly with an expanding corpus of contemporary clinical literature emphasizing its extensive protective mechanisms. Self-compassion inherently equips individuals with a non-judgmental, stabilizing internal framework that actively buffers against the acute emotional turbulence inevitably encountered during the psychotherapeutic process. By extending kindness toward oneself during moments of perceived failure, patients with high baseline self-compassion are fundamentally more resilient to the distress of unpacking clinical trauma. This finding is heavily supported by recent empirical investigations demonstrating that self-compassion acts as a foundational cognitive pillar for broader psychological flourishing and subjective well-being (Liu et al., 2024; Rezagholiyan et al., 2025). Furthermore, the robust predictive power of self-compassion observed in our model reflects its well-documented capacity to mitigate severe psychological distress across highly vulnerable populations, effectively serving as a primary determinant of treatment success and quality of life for military veterans (Wild et al., 2025), heavily burdened caregivers (Sadeghi et al., 2024), and perinatal women facing acute global crises (Cutajar & Bates, 2025). Because psychotherapy intrinsically requires patients to confront deeply uncomfortable realities and personal vulnerabilities, individuals who enter treatment already possessing a modicum of self-compassion are theoretically far less likely to experience treatment-interfering defensive reactions, thereby accelerating the cognitive restructuring necessary for lasting clinical improvement.
Conversely, our model’s identification of shame-proneness as the second most powerful predictor—and a robust indicator of poor therapeutic outcomes—highlights the highly destructive, treatment-resistant nature of internalized shame. The strong positive correlation between baseline shame and high termination distress scores suggests that patients who enter counseling with a pervasive sense of core defectiveness encounter substantial barriers to therapeutic alliance and cognitive flexibility. This algorithmic finding perfectly mirrors extensive traditional research explicitly linking shame to severe, enduring psychiatric symptomatology and profound interpersonal dysfunction. Pervasive shame-proneness actively fuels maladaptive self-concealment, severely hindering the open self-disclosure that is absolutely necessary for efficacious counseling (Jeon & Park, 2023). Furthermore, shame fundamentally complicates and prolongs the psychological recovery trajectory for individuals navigating complex trauma, such as survivors of sexual violence (Bhuptani & Messman, 2021) and victims of chronic peer bullying (Xu et al., 2024; Yaghoubi et al., 2021). The prognostic severity of shame captured by our Random Forest model is also theoretically consistent with its recognized role as a core driver of profound clinical depression in patients grappling with chronic illness (Siwik et al., 2022; Skelton et al., 2021) and its insidious mediation of deep-seated behavioral addictions and interpersonal relationship dysfunctions (Park & Lee, 2024; Sim & Choi, 2023). In essence, patients highly prone to shame inherently interpret psychotherapeutic interventions—especially initial diagnostic assessments or gentle clinical challenges—as confirmations of their ultimate unworthiness, thereby drastically elevating the risk of therapeutic dropout and stalling clinical progress.
The differential predictive utility observed between the two specific emotion regulation strategies provides critical insight into the mechanical pathways of psychological recovery. The machine learning model explicitly ranked cognitive reappraisal as a vastly superior and highly beneficial predictor compared to expressive suppression. This mathematical delineation supports the theoretical consensus that adaptive cognitive reframing is essential for processing the therapeutic insights generated during counseling. Cognitive reappraisal directly facilitates the active neutralization of negative affect, functioning as a vital moderator that bridges underlying cognitive vulnerabilities to actual positive behavioral mental health outcomes, particularly in developing youth and stressed adult populations (Nguyen et al., 2025; Rehman et al., 2024; Syafitri et al., 2024). Conversely, expressive suppression, which involves the conscious inhibition of emotional expression, consistently proved to be maladaptive in our dataset, serving as a minor but significant predictor of elevated termination distress. Habitual suppression actively prevents the emotional processing required in therapy, thereby cementing psychological inflexibility and directly contributing to severe emotional dysregulation. This algorithmic finding is heavily corroborated by recent literature demonstrating that explicit emotional dysregulation critically mediates the dangerous transition from mere internal self-criticism to overt, diagnosable depressive and anxiety disorders (Büyüköksüz & Kayaalp-pehlivan, 2025; Vidal et al., 2024). It also perfectly explains why contemporary clinical interventions that explicitly focus on replacing expressive suppression with adaptive emotional regulation training consistently yield profound reductions in perceived stress and chronic physiological symptomatology (Omidi et al., 2024; Osareh et al., 2024).
Ultimately, our findings suggest a complex, highly interactive psychological triad where baseline self-compassion serves as the primary engine for therapeutic change, cognitive reappraisal acts as the functional steering mechanism, and shame-proneness functions as the primary resistance or brake. High self-compassion intrinsically affords the emotional safety required to deploy cognitive reappraisal, which in turn systematically dismantles the irrational, core defectiveness beliefs inherent in shame-proneness. When patients severely lack these regulatory and compassionate internal resources at the onset of counseling, as evidenced by chronic loneliness and fundamentally insecure attachment schemas (Ohadi Haeri et al., 2024), they are significantly predisposed to therapeutic stagnation. Furthermore, the pervasive modern exacerbation of shame via digital social comparisons and idealized appearance norms makes the presence of baseline self-compassion even more statistically critical for modern treatment-seeking populations (Kang & Jo, 2024; Mills et al., 2022; Seekis & Kennedy, 2023). By utilizing an ensemble machine learning approach, this study definitively quantifies exactly how these specific variables interact to dictate the ultimate trajectory of clinical counseling, securely placing self-compassion and targeted emotional regulation at the absolute forefront of prognostic psychiatric indicators (Moradmand et al., 2023).
Conclusion
The present investigation successfully constructed and validated a highly efficacious machine learning model capable of predicting clinical counseling outcomes based on baseline psychometric profiles. By leveraging the advanced computational capacity of a Random Forest regressor, the study definitively established that a patient’s initial levels of self-compassion, shame-proneness, and specific emotion regulation strategies account for a substantial majority of the variance in their ultimate post-treatment psychological distress. Crucially, algorithmic feature importance analyses revealed a strict hierarchical prognostic value among these constructs, identifying self-compassion as the single most powerful predictor of therapeutic success, followed closely by the destructive presence of shame-proneness. Within the domain of emotional processing, adaptive cognitive reappraisal demonstrated significantly greater predictive utility than maladaptive expressive suppression. These algorithmic findings provide unequivocal, data-driven evidence that enduring, transdiagnostic psychological traits fundamentally govern a patient’s capacity to engage with and benefit from outpatient psychotherapy. Ultimately, this research underscores the immense potential of integrating artificial intelligence into clinical psychology, offering a robust mathematical framework for forecasting treatment trajectories and validating the critical importance of intrinsic self-compassion in navigating the difficult process of psychological healing.
Limitations & Suggestions
Despite the methodological rigor and high predictive accuracy of the machine learning model, several inherent limitations must be acknowledged when interpreting the results of this study. First, the analytical sample was restricted exclusively to English-speaking adults residing in Canada, which inherently limits the broader cross-cultural generalizability of the findings, as the psychosocial manifestations of shame and self-compassion can vary significantly across different global cultural paradigms. Second, the entirety of the psychometric data utilized to train the computational algorithms was derived from self-report questionnaires, which are pervasively susceptible to systemic biases, including social desirability, retrospective recall errors, and a patient’s potentially compromised baseline level of self-awareness. Third, while machine learning excels at identifying complex predictive patterns and non-linear associations, the fundamentally observational nature of the research design precludes the establishment of definitive causal relationships between the predictor variables and the ultimate clinical outcomes. Furthermore, counseling success was operationalized using a single, albeit comprehensive, global distress metric at the point of treatment termination, which may not fully capture the highly nuanced, multidimensional, and frequently non-linear realities of long-term psychotherapeutic recovery.
Future academic inquiries should build upon these foundational findings by adopting highly granular, longitudinal study designs that meticulously track dynamic fluctuations in self-compassion, shame, and emotion regulation on a session-by-session basis. Incorporating intensive longitudinal data would allow for the training of even more sophisticated recurrent neural networks capable of predicting exactly when a patient is at the highest risk for acute therapeutic rupture or imminent dropout. Additionally, future computational research must actively expand beyond self-report psychometrics by integrating objective, multimodal data streams, including continuous biometric stress indicators, natural language processing of transcribed therapy sessions, and real-time behavioral ecological momentary assessments. It is also imperative that subsequent predictive modeling efforts systematically validate these specific feature importance hierarchies across vastly more diverse demographic cohorts, specifically testing the algorithms on culturally distinct international populations and explicitly defined clinical diagnostic subgroups, such as individuals with severe personality disorders or treatment-resistant depression. Finally, experimental research should rigorously investigate whether targeted, pre-treatment psychoeducational modules designed explicitly to elevate baseline self-compassion can successfully alter the computational risk profile and artificially improve the ultimate trajectory of the counseling outcomes.
The definitive hierarchical predictive findings generated by this computational model offer highly actionable, immediate directives for modern clinical practice and psychological treatment planning. Mental health practitioners and intake coordinators should systematically mandate the explicit assessment of self-compassion and shame-proneness during the very first clinical encounter, treating these specific metrics as vital prognostic signs rather than secondary contextual variables. For patients whose baseline assessments flag them as highly shame-prone and severely lacking in self-compassion, clinicians must strategically delay traditional, emotionally intensive trauma-processing interventions. Instead, the initial phase of psychotherapy should be entirely reoriented toward foundational skills-building, explicitly utilizing compassion-focused therapy techniques and rigorous cognitive reappraisal training to construct the necessary emotional scaffolding required to withstand deeper clinical exploration. Furthermore, community mental health clinics can actively utilize similar predictive algorithms to achieve highly optimal resource allocation, selectively matching high-risk, low-compassion patients with specialized, highly experienced senior clinicians, or proactively approving extended counseling session limits to accommodate the significantly slower, more fragile therapeutic trajectory mathematically predicted by their initial psychometric profile.
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