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

Institutions

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

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Exploring generalizability and explainability of LLMs in classifying clinically rated suicidal ideation using heterogeneous data

Rong Huang, Steven Wai Ho Chau, Yun Kwok Wing, Bei Huang et al.
npj Digital Medicine
Mental Health via Writing
article

Exploring generalizability and explainability of LLMs in classifying clinically rated suicidal ideation using heterogeneous data

Rong Huang, Steven Wai Ho Chau, Yun Kwok Wing, Bei Huang, Calvin Lam, Kit Ying Chan, Jie Chen, Joey Wing Yan Chan, Ngan Yin Chan, Tim M. H. Li, Christopher Chi Wai Cheng, Longdi Xian
article en

Abstract

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.

npj Digital Medicine
Fujian Medical University (CN), Chinese University of Hong Kong (HK)
Chinese University of Hong Kong, Health and Medical Research Fund
Openalex Percentile: Top 6%
Mental Health via Writing
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.