Multi-Label Classification with Generative AI Models in Healthcare: A Case Study of Suicidality and Risk Factors

Ming Huang, Zehan Li, Yan Hu, Wanjing Wang, Andrew Wen +7 more
7/22/2025
cs.CLcs.IRq-bio.QM

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Suicide remains a pressing global health crisis, with over 720,000 deaths annually and millions more affected by suicide ideation (SI) and suicide attempts (SA). Early identification of suicidality-related factors (SrFs), including SI, SA, exposure to suicide (ES), and non-suicidal self-injury (NSSI), is critical for timely intervention. While prior studies have applied AI to detect SrFs in clinical notes, most treat suicidality as a binary classification task, overlooking the complexity of cooccurring risk factors. This study explores the use of generative large language models (LLMs), specifically GPT-3.5 and GPT-4.5, for multi-label classification (MLC) of SrFs from psychiatric electronic health records (EHRs). We present a novel end to end generative MLC pipeline and introduce advanced evaluation methods, including label set level metrics and a multilabel confusion matrix for error analysis. Finetuned GPT-3.5 achieved top performance with 0.94 partial match accuracy and 0.91 F1 score, while GPT-4.5 with guided prompting showed superior performance across label sets, including rare or minority label sets, indicating a more balanced and robust performance. Our findings reveal systematic error patterns, such as the conflation of SI and SA, and highlight the models tendency toward cautious over labeling. This work not only demonstrates the feasibility of using generative AI for complex clinical classification tasks but also provides a blueprint for structuring unstructured EHR data to support large scale clinical research and evidence based medicine.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{huang2025multilabel,
  title  = {Multi-Label Classification with Generative AI Models in Healthcare: A Case Study of Suicidality and Risk Factors},
  author = {Ming Huang and Zehan Li and Yan Hu and Wanjing Wang and Andrew Wen and Scott Lane and Salih Selek and Lokesh Shahani and Rodrigo Machado-Vieira and Jair Soares and Hua Xu and Hongfang Liu},
  year   = {2025},
  eprint = {2507.17009},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.17009v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.17009.svg)](https://codeofpaper.com/paper/2507.17009)

Discussion