Exploring generalizability and explainability of LLMs in classifying clinically rated suicidal ideation using heterogeneous data
Abstract While artificial intelligence (AI) and large language models (LLMs) have shown promise in identifying and classifying suicidal ideation, their generalizability and equity in the presence of heterogeneous clinical data remain largely unexplored. This study hypothesized a subgroup disparity in a crude AI classifier of clinician-rated suicidal ideation because of the linguistic heterogeneity and proposed a factorization approach to decompose complex data into simpler components by reducing topic dimensions of clinical transcripts. Results showed that topic-specific classifiers reduced subgroup disparity compared to the topic-general classifier, with ΔAUC decreasing from 0.11 to 0.01 and 0.05—a noticeable reduction of 0.10 and 0.06, respectively. More specifically, with the topic-general classifier, the odds of missing a suicidal case increased by 2.39 times for alexithymia individuals, compared to non-alexithymia individuals (OR = 2.39, p = 0.002). These findings underscore the significance of data heterogeneity on AI classifiers of suicidal ideation and demonstrate the potential of the proposed factorization approach.
Authors
- Rong Huang (ORCID: https://orcid.org/0000-0002-2233-7726)
- Steven Wai Ho Chau (ORCID: https://orcid.org/0000-0002-2986-8677)
- Yun Kwok Wing (ORCID: https://orcid.org/0000-0002-5745-5474)
- Bei Huang (ORCID: https://orcid.org/0000-0002-0277-4523)
- Calvin Lam (ORCID: https://orcid.org/0000-0002-8022-1633)
- Kit Ying Chan (ORCID: https://orcid.org/0009-0009-9244-0612)
- Jie Chen (ORCID: https://orcid.org/0000-0001-7942-5367)
- Joey Wing Yan Chan (ORCID: https://orcid.org/0000-0002-2692-2666)
- Ngan Yin Chan
- Tim M. H. Li
- Christopher Chi Wai Cheng
- Longdi Xian
Institutions
- Fujian Medical University (CN)
- Chinese University of Hong Kong (HK)
Publication Details
- Journal
- npj Digital Medicine
- Published
- 2026-09-05
- DOI
- https://doi.org/10.1038/s41746-026-03198-w
- Primary Topic
- Mental Health via Writing
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Chinese University of Hong Kong
- Health and Medical Research Fund