Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 May 15;4(1):18.
doi: 10.1038/s44184-025-00129-7.

Subtyping first-episode psychosis based on longitudinal symptom trajectories using machine learning

Affiliations

Subtyping first-episode psychosis based on longitudinal symptom trajectories using machine learning

Yanan Liu et al. Npj Ment Health Res. .

Abstract

Clinical course after first episode psychosis (FEP) is heterogeneous. Subgrouping and predicting longitudinal symptom trajectories after FEP may help develop personalized treatment approaches. We utilized k-means clustering to identify clusters of 411 FEP patients based on longitudinal positive and negative symptoms. Three clusters were identified. Cluster 1 exhibits lower positive and negative symptoms (LS), lower antipsychotic dose, and relatively higher affective psychosis; Cluster 2 shows lower positive symptoms, persistent negative symptoms (LPPN), and intermediate antipsychotic doses; Cluster 3 presents persistently high levels of both positive and negative symptoms (PPNS), and higher antipsychotic doses. We predicted cluster membership (AUC of 0.74) using ridge logistic regression on baseline data. Key predictors included lower levels of apathy, affective flattening, and anhedonia/asociality in the LS cluster, compared to the LPPN cluster. Hallucination severity, positive thought disorder and manic hostility predicted PPNS. These results help parse the FEP trajectory heterogeneity and may facilitate the development of personalized treatments.

PubMed Disclaimer

Conflict of interest statement

Competing interests: D.B. is a founder and shareholder of Aifred Health, a digital mental health company which was not involved in this work. M.L. reports grants from Roche Canada, grants from Otsuka Lundbeck Alliance, grants and personal fees from Janssen, and personal fees from Otsuka Canada, Lundbeck Canada, and Boehringer Ingelheim outside the submitted work. All other authors declare that there are no competing interests.

Figures

Fig. 1
Fig. 1. Optimal cluster number and the corresponding cluster size.
a Clustering performance by number of clusters. X axis is the number of clusters, y axis is the ratio of inertia to silhouette score, which reflects the compactness within each cluster and the separation between clusters. The optimal number of clusters is 3, when the ratio of inertia to silhouette score reaches its minimum. b Cluster size. The number of patients in each cluster and their proportions. The trajectories these clusters represent are discussed below.
Fig. 2
Fig. 2. Symptom score trajectories.
a Overall symptom trajectories with mean value and standard error. X axis is timepoint in months, y axis is the score of positive or negative symptom measured by SAPS or SANS. Solid line = negative symptoms; dashed line = positive symptoms. b Relative change from baseline. Each mean value was subtracted from the mean value at baseline to illustrate the relative change at each timepoint. c Positive symptom score trajectories with Kruskal-Wallis test significant levels, * means p < 0.05, ** means p < 0.01, *** means p < 0.001 after bonferroni correction. d Negative symptom score trajectories, same as positive symptom. Color coding: green for cluster 1 LS, blue for cluster 2 LPPN, red for cluster 3 PPNS.
Fig. 3
Fig. 3. Diagnoses at baseline.
Normalized bar plot of schizophrenia spectrum and affective psychosis for three clusters (One patient in cluster 1 with substance-induced psychosis was excluded from this figure).
Fig. 4
Fig. 4. Cluster Membership Prediction and import features for predicting each cluster.
a Permutation test. Histogram is the distribution of AUC for random prediction. Red vertical line is the actual prediction AUC. bd The 15 most important features in the prediction for each cluster. X axis is SHAP value, representing the impact on model output of a specific feature, y axis is the feature name. Red indicates a higher value of the feature, and blue indicates a lower value.
Fig. 5
Fig. 5. Treatment and adherence trajectories.
a Antipsychotic dosage trajectories. X axis is timpoint in months, y axis is the converted doses measured by chlorpromazine equivalents. Kruskal-Wallis test was conducted to evaluate the difference among three clusters.* notes significant levels, * means p < 0.05, ** means p < 0.01, *** means p < 0.001 after bonferroni correction. b Mean adherence trajectories with standard error. Kruskal-Wallis test was also conducted at each timepoint, but none is significant. Adherence levels of 0%, 25%, 50%, 75%, and 100% means never, very infrequently, sometimes, quite often, and always taking medicines. Black dashed line is the mean adherence level for all patients.

Similar articles

References

    1. Magliano, L. et al. Burden on the families of patients with schizophrenia: results of the BIOMED I study. Soc. Psychiatry Psychiatr. Epidemiol.33, 405–412 (1998). - PubMed
    1. Magliano, L. et al. Family burden and coping strategies in schizophrenia: 1-year follow-up data from the BIOMED I study. Soc. Psychiatry Psychiatr. Epidemiol.35, 109–115 (2000). - PubMed
    1. Kessler, R. C. et al. The prevalence and correlates of nonaffective psychosis in the National Comorbidity Survey Replication (NCS-R). Biol. Psychiatry58, 668–676 (2005). - PMC - PubMed
    1. Rössler, W., Salize, H. J., van Os, J. & Riecher-Rössler, A. Size of burden of schizophrenia and psychotic disorders. Eur. Neuropsychopharmacol.15, 399–409 (2005). - PubMed
    1. Perkins, D. O., Gu, H., Boteva, K. & Lieberman, J. A. Relationship between duration of untreated psychosis and outcome in first-episode schizophrenia: a critical review and meta-analysis. Am. J. Psychiatry162, 1785–1804 (2005). - PubMed

LinkOut - more resources