Skip to main content
Preprint Credible — Major labs, established NGOs, reputable named-author preprints

AI-based detection of suicidal ideation in text: model development and evaluation for a student mental health chatbot

Development and evaluation of a lightweight suicidal-ideation detection system intended for integration into Minder, a University of British Columbia mental-health chatbot for students. A fine-tuned sentence-embedding encoder is paired with a nonparametric anchor-based decision layer; three fine-tuning intensities were compared and the selected configuration benchmarked against four open-weight generative models under zero-shot prompting. The authors propose a tiered response workflow keyed to detector confidence.

Publisher

PsyArXiv (OSF); University of British Columbia (Psychiatry, Data Science Institute, Population and Public Health, Computer Science, Medicine)

Published

18 Sept 2026

Added

today

DOI

Key Findings

  • Encoder trained on 220,833 sentence-level samples from public social-media datasets; the selected configuration reached precision 0.91, recall 0.92, specificity 0.92, F1 0.91 and accuracy 0.92 on the held-out test set
  • A stricter cosine threshold (0.90 versus 0.81) raised precision to 0.977 and specificity to 0.993 but cut recall to 0.339 (false negatives rose from 851 to 6,699)
  • Performance was comparable to Phi-4 (accuracy 0.93, F1 0.92) at roughly one-eighteenth of the storage and under one-hundredth of the parameters
  • Proposed workflow: high-confidence detections trigger an immediate supportive response and crisis resources; intermediate scores prompt clarification and re-evaluation

Methodology Notes

Training and test data are public social-media datasets with source-assigned labels (the authors note label noise), not chatbot conversations; no deployment or user-outcome data. Version 2 published on OSF on 18 September 2026 (the OSF API does not expose a separate v1 record, so the row is dated to v2). Verified through the OSF API record and the deposited PDF read by the sweep.

Authors

Olisaeloka, Lotenna, Ruocco, Leonard, Munthali, Richard J., Vereschagin, Melissa, Zhuang, Yuqian, Wang, Angel Y., Mori, Tiana, Richardson, Chris G., Hudec, Kristen L., Vigo, Daniel V., Ng, Raymond T.

Tags

suicidal-ideationsbertminderubcchatbot-safeguardoperating-point

Cite This

APA

Olisaeloka, Lotenna et al. (2026). AI-based detection of suicidal ideation in text: model development and evaluation for a student mental health chatbot. PsyArXiv (OSF); University of British Columbia (Psychiatry, Data Science Institute, Population and Public Health, Computer Science, Medicine). https://osf.io/preprints/psyarxiv/kdf2z_v2