Language

English

Publication Date

12-1-2025

Journal

Child and Adolescent Psychiatry and Mental Health

DOI

10.1186/s13034-025-01002-3

PMID

41327397

PMCID

PMC12776958

PubMedCentral® Posted Date

12-1-2025

PubMedCentral® Full Text Version

Post-print

Abstract

Background

Early detection and accurate prediction of bipolar disorders (BDs) comorbidity in individuals with attention-deficit/hyperactivity disorder (ADHD) are clinically critical. This study used machine-learning methods to identify features predictive of subsequent BD among patients initially diagnosed with ADHD.

Methods

We analyzed claims from the Taiwan National Health Insurance Research Database (2000–2013) and included patients aged ≥ 12 years with at least two diagnoses of ADHD. Predictor features included demographics (sex, age at ADHD onset), healthcare utilization (psychiatric outpatient visit counts), comorbidities (International Classification of Diseases–coded diagnoses), psychiatric medications (Anatomical Therapeutic Chemical–coded prescriptions), and family psychiatric history. All features were extracted from prespecified windows around the ADHD diagnosis date (index date). The primary outcome was a subsequent BD diagnosis. We trained an extreme gradient boosting (XGBoost) classifier and tuned hyperparameters via grid search to maximize the area under the receiver operating characteristic curve (AUROC). Feature importance was interpreted with Shapley additive explanations (SHAP).

Results

Among 15,093 eligible patients, 266 (2%) developed BD during follow-up. The model achieved a ROC-AUC of 0.90 and a precision–recall AUC of 0.59; accuracy was 98%, specificity 99%, sensitivity 50%, and positive predictive value 43%. Twelve leading predictors emerged. The strongest behavioral signal was sparse psychiatric visits before ADHD diagnosis followed by frequent visits afterward (SHAP = 0.27 and 0.66, respectively). Core demographic risks were older age at ADHD onset (SHAP = 0.26) and male sex (SHAP = 0.08). Medication pattern included pre-diagnosis short-acting benzodiazepines (SHAP = 0.07) and post-diagnosis exposure to anticonvulsant mood stabilizers (SHAP = 0.34), “-dones” (SHAP = 0.06) and “-pines” (SHAP = 0.05) antipsychotics, selective serotonin-reuptake inhibitors (SHAP = 0.06), and Z-drugs (SHAP = 0.05). Protective features were having offspring with schizophrenia-spectrum disorders (SHAP = 0.11) and fewer new-onset upper-respiratory infections after ADHD diagnosis (SHAP = 0.06).

Conclusions

Leveraging nationwide real-world data, we built a machine-learning model to predict subsequent comorbid BD in patients with ADHD. The identified clinical and medication prescribing profiles can alert clinicians to patients at heightened risk, facilitating earlier monitoring and timely intervention.

Supplementary Information

The online version contains supplementary material available at 10.1186/s13034-025-01002-3.

Keywords

ADHD, Artificial intelligence, BD, Feature, Interpretation, Prediction

Published Open-Access

yes

Share

COinS
 
 

To view the content in your browser, please download Adobe Reader or, alternately,
you may Download the file to your hard drive.

NOTE: The latest versions of Adobe Reader do not support viewing PDF files within Firefox on Mac OS and if you are using a modern (Intel) Mac, there is no official plugin for viewing PDF files within the browser window.