ORIGINAL RESEARCH article

Front. Psychiatry

Sec. Mood Disorders

Integrating Thyroid Function and Psychometric Profiles for Lifetime Suicide-Attempt Risk Stratification in Bipolar Disorder: A Multi-Algorithm Machine-Learning Study

  • 1. Anhui Mental Health Center, Hefei, China

  • 2. Hefei Fourth People’s Hospital, Hefei, China., hefei, China

  • 3. Anhui Normal University, Wuhu, China

Article metrics

View details

135

Views

The final, formatted version of the article will be published soon.

Abstract

Word count: 347 Background Bipolar disorder is a severe mental disorder characterized by recurrent episodes of depression and mania, with a low diagnostic rate. This study aimed to use machine learning methods for risk stratification of lifetime suicide attempts in patients with bipolar disorder based on cross-sectional associations. Methods The discriminative performance of the models was evaluated using multiple metrics. LASSO logistic regression was used for variable selection, and SMOTE was applied to handle class imbalance. A sensitivity analysis excluding patients with recent suicide attempts (within 6 months) was performed to reduce reverse causality bias.Thyroid function indicators were detected using chemiluminescent immunoassay with a Roche Cobas e601 analyzer; the reference range for normal TSH was 0.27-4.2 mIU/L, with values outside this range defined as abnormal. Results We included 1,124 patients diagnosed with bipolar disorder in this study, with a lifetime suicide attempt rate of 31.32%.Among the three models tested, random forests exhibited superior performance metrics, attaining an accuracy (ACC) of 0.938, an AUC of 0.962, and an F1 score of 0.854 compared to gradient boosting (ACC: 0.920; AUC: 0.967; F1 score: 0.828) and the support vector machine (ACC: 0.893; AUC: 0.956; F1 score: 0.808). Suicidal ideation, education level, hopelessness score, the retardation symptoms severity score, and thyroid stimulating hormone levels were identified as the top five predictors. Sensitivity analysis excluding patients with recent suicide attempts (n=98) showed consistent predictor rank-order and maintained RF-AUC = 0.958.Subgroup analysis of euthyroid patients (n=887) preserved the predictor rank and RF-AUC ≥0.95. Conclusions We developed a robust clinical model for predicting suicide attempts in patients with bipolar disorder based on machine learning techniques. This model can assist psychiatric clinicians in understanding suicide risk among individuals diagnosed with bipolar disorder and in identifying those who may require early intervention or preventive measures.We identified a set of 20 clinical and biological markers significantly associated with lifetime suicide attempts in bipolar disorder patients. A key limitation is that suicide attempts were assessed retrospectively without a defined time window between predictor measurement and outcome occurrence.Future prospective validation in multi-site, multinational cohorts is required to confirm the model's clinical utility.

Summary

Keywords

Bipolar Disorder, machine learning, predictive models, suicide attempt, Thyroid function

Received

09 July 2025

Accepted

03 February 2026

Copyright

© 2026 Zhang, Pan, Wang, Fang, Guan, Li, 程 and Xie. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: 夏龙 程; Yu Xie

Disclaimer

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.

Outline

Share article

Article metrics