Unraveling Online Mental Health Through the Lens of Early Maladaptive Schemas: AI-Enabled Content Analysis of Online Mental Health Communities

Beng Heng Ang, Sujatha Das Gollapalli, Mingzhe Du, See-Kiong NgJournal of Medical Internet Research 2025 · OpenReview

TL;DR

This paper uses AI to analyze online mental health forum posts, uncovering specific patterns of "early maladaptive schemas" (EMSs) associated with different mental health conditions like anxiety, depression, and PTSD. These findings highlight how EMSs manifest in online support-seeking contexts and can inform the development of more targeted AI-powered mental health interventions.

What Problem Does This Paper Address?

Mental health issues are widespread, but access to professional therapy is often limited. Online Mental Health Communities (OMHCs) have emerged as a crucial resource for individuals seeking support. These communities, while valuable, present a challenge: understanding the underlying psychological patterns, specifically "early maladaptive schemas" (EMSs) – deeply ingrained, self-defeating thought and emotion patterns – that contribute to these problems. EMSs are central to schema therapy, but how they manifest in the unique, text-based environment of OMHCs, and how these manifestations differ across various mental health conditions, remains largely unexplored. This gap hinders the development of effective AI-driven interventions tailored to the specific needs of online support seekers.

Methods

The researchers employed a two-pronged approach. First, they used an "entailment-based prediction model" (EPM), leveraging a T5-LLM, to identify and label EMSs within a large dataset of online posts. This model predicts EMSs by assessing how well sentences in a post logically support statements from the Young Schema Questionnaire (YSQ). Second, they developed a novel "group-level case conceptualization technique." This involved using GPT-4 to analyze clusters of sentences identified by the EPM for each schema. GPT-4 was prompted to extract common features across five dimensions of schema therapy: schema triggers, emotions, negative thoughts, coping responses, and bodily sensations. This allowed for a deeper understanding of how EMSs are expressed in the online community. Statistical analysis, including chi-square tests and odds ratios, was used to quantify associations between EMSs and specific mental health problems.

Datasets

The study utilized a dataset of 29,329 online posts curated from three widely accessed OMHCs: 7-Cups, Beyond-Blue, and Patient. These posts were collected between 2013 and 2023 and focused on common mental health problems such as anxiety, depression, PTSD, eating disorders, personality disorders, and substance use disorders. The data was anonymized, and the analysis focused on publicly available content.

Key Insights and Ideas

  • Schema Fingerprints: Different mental health conditions seem to have distinct "fingerprints" of EMSs. For instance, anxiety is strongly linked to "vulnerability to harm or illness," while depression is more associated with "unmet interpersonal needs" like social isolation.
  • Complexity Varies: Depression, personality disorders, and PTSD show a higher number of associated EMSs, suggesting greater complexity and the need for more comprehensive interventions. Conversely, anxiety, eating disorders, and substance use disorders appear to have more uniform schema underpinnings, potentially benefiting from targeted interventions.
  • AI as a Therapeutic Lens: The study demonstrates the power of LLMs like GPT-4 not just for classification but for qualitative analysis, enabling a deeper, AI-assisted understanding of psychological constructs within unstructured text.
  • Online vs. Offline Manifestations: The study hints that the anonymity and nature of OMHCs might influence how EMSs are expressed. For example, emotional inhibition might be less pronounced online due to increased openness.

Key Results

  • Anxiety: Strongly associated with "vulnerability to harm or illness" (OR 5.64).
  • Depression: Strongly associated with "social isolation" (OR 3.18) and "unmet interpersonal needs."
  • Eating Disorders: Associated with "negative self-perception and emotional inhibition" (OR 1.89).
  • Personality Disorders: Strongly associated with "subjugation" (OR 2.51).
  • PTSD: Strongly associated with "distressing experiences and mistrust" (OR 5.04).
  • Substance Use Disorders: Associated with "negative self-perception of failure to achieve" (OR 1.83).
  • Schema Complexity: Depression was linked to 12 EMSs, PDs to 9, and PTSD to 7. Anxiety, EDs, and SUDs were linked to only 2-3 EMSs each.
  • Feature Extraction: On average, 13.27 negative features per schema were identified, with 2.65 features per dimension.

Limitations and Future Work

The study acknowledges its limitations, including focusing solely on English-language OMHCs, which may limit generalizability across cultures. The anonymity of OMHCs also restricts access to sociodemographic data, which could provide further context for schema characteristics. Future research could explore OMHCs in other languages, investigate methods for ethically collecting demographic data, and use validated techniques to infer demographic characteristics while preserving user privacy. The authors suggest that these insights are crucial for developing more effective AI-powered tools to enhance support on online platforms and inform personalized, schema therapy-focused interventions.

Summary updated

Abstract

Background: Early maladaptive schemas (EMSs) are pervasive, self-defeating patterns of thoughts and emotions underlying most mental health problems and are central in schema therapy. However, the characteristics of EMSs vary across demographics, and despite the growing use of online mental health communities (OMHCs), how EMSs manifest in these online support-seeking environments remains unclear. Understanding these characteristics could inform the design of more effective interventions powered by artificial intelligence to address online support seekers’ unique therapeutic needs.Objective: We aimed to uncover associations between EMSs and mental health problems within OMHCs and examine features of EMSs as they are reflected in OMHCs.Methods: We curated a dataset of 29,329 posts from widely accessed OMHCs, labeling each with relevant schemas and mental health problems. To identify associations, we conducted chi-square tests of independence and calculated odds ratios (ORs) with the dataset. In addition, we developed a novel group-level case conceptualization technique, leveraging GPT-4 to extract features of EMSs from OMHC texts across key schema therapy dimensions, such as schema triggers and coping responses.Results: Several associations were identified between EMSs and mental health problems, reflecting how EMSs manifest in online support-seeking contexts. Anxiety-related problems typically highlighted vulnerability to harm or illness (OR 5.64, 95% CI 5.34-5.96; P<.001), while depression-related problems emphasized unmet interpersonal needs, such as social isolation (OR 3.18, 95% CI 3.02-3.34; P<.001). Conversely, problems with eating disorders mostly exemplified negative self-perception and emotional inhibition (OR 1.89, 95% CI 1.45-2.46; P<.001). Personality disorders reflected themes of subjugation (OR 2.51, 95% CI 1.86-3.39; P<.001), while posttraumatic stress disorder problems involved distressing experiences and mistrust (OR 5.04, 95% CI 4.49-5.66; P<.001). Substance use disorder problems reflected negative self-perception of failure to achieve (OR 1.83, 95% CI 1.35-2.49; P<.001). Depression, personality disorders, and posttraumatic stress disorder were also associated with 12, 9, and 7 EMSs, respectively, emphasizing their complexities and the need for more comprehensive interventions. In contrast, anxiety, eating disorder, and substance use disorder were related to only 2 to 3 EMSs, suggesting that these problems are better addressed through targeted interventions. In addition, the EMS features extracted from our dataset averaged 13.27 (SD 3.05) negative features per schema, with 2.65 (SD 1.07) features per dimension, as supported by existing literature.Conclusions: We uncovered various associations between EMSs and mental health problems among online support seekers, highlighting the prominence of specific EMSs in each problem and the unique complexities of each problem in terms of EMSs. We also identified EMS features as expressed by support seekers in OMHCs, reinforcing the relevance of EMSs in these online support-seeking contexts. These insights are valuable for understanding how EMS are characterized in OMHCs and can inform the development of more effective artificial intelligence–powered tools to enhance support on these platforms.J Med Internet Res 2025;27:e59524doi:10.2196/59524
BibTeX
@article{ang2025unraveling,
  author = {Beng Heng Ang and Sujatha Das Gollapalli and Mingzhe Du and See-Kiong Ng},
  title = {{Unraveling Online Mental Health Through the Lens of Early Maladaptive Schemas: AI-Enabled Content Analysis of Online Mental Health Communities}},
  journal = {Journal of Medical Internet Research},
  year = {2025},
  url = {https://openreview.net/forum?id=GnlHAqP3If},
}
Figure