arXiv:2610.06355stat.MLOct 2026

Manuscript Offprint

arXiv:2610.06355

Latent Similarity Gaussian Processes: A Theory-Grounded Approach to Personalized Suicide-Risk Forecasting for Clinical Decision-Support

Yaniv Yacoby, Weiwei Pan, Hope Neveux, Taylor C. McGuire, Franchesca Castro-Ramirez, Anushka R. Patel, Matthew K. Nock

Yaniv Yacoby

Wellesley College

yy109@wellesley.edu

Weiwei Pan

Harvard University

weiweipan@g.harvard.edu

Hope Neveux

Harvard University

hopeneveux@fas.harvard.edu

Taylor C. McGuire

Harvard University

tmcguire@g.harvard.edu

Franchesca Castro-Ramirez

Harvard University

framirez@g.harvard.edu

Anushka R. Patel

Harvard Medical School

Massachusetts General Hospital

apatel132@mgh.harvard.edu

Matthew K. Nock

Harvard University

nock@wjh.harvard.edu

Abstract

Forecasting suicide risk is difficult due to the high heterogeneity of patients and the low base rate of suicide-related events (SREs). We present Latent Similarity Gaussian Processes (LSGPs), which embed patients in a continuous latent space to jointly model similarity and forecast risk. By selectively drawing information from latent peers, LSGPs better capture individualized risk trajectories, generalizing nomothetic (pooled), idiographic (per-patient), and hierarchical frameworks. Our contributions are: (1) an identifiable two-channel Similarity Kernel; (2) proof that the standard model-fitting algorithm, mean-field variational inference, collapses LSGPs to nomothetic models, along with a fix; and (3) empirical results on intensive longitudinal suicide data showing LSGPs outperform nomothetic, idiographic, and hierarchical models for next-week risk forecasting, with the largest gains in forecasting first-occurrence SREs.

1 INTRODUCTION

Machine Learning (ML) systems for suicide-risk forecasting face dual demands: providing accurate forecasts and actionable insights to clinicians. Existing approaches largely fall between two extremes: nomothetic (population-level/pooled) and idiographic (per-patient/individualized) models 1^{1}[e.g., 76, 58]. Hierarchical (mixed-effects) models bridge these extremes by decomposing forecasts into a shared population trend (fixed effects) and patient-specific deviations (random effects). All three model classes make implicit assumptions about the data that limit their clinical utility.

Nomothetic models assume that factors relevant to suicide risk are either observed or safely ignorable. By sharing a single global trend across all patients, nomothetic models treat any unobserved, patient-specific variation as uncorrelated noise. Their use therefore implicitly assumes that every meaningful driver of suicide risk has been observed; however, in clinical reality, pathways to suicide are heterogeneous [74, 16, 36], shaped by patient-specific contexts that may be absent from, incompletely recorded in, or difficult to extract from standard study instruments and health records [48]. For example, important determinants of near-term risk include acute stressors [26], trauma-related responses [43, 35], interpersonal dynamics [34, 56], and changes in social circumstances [42, 49, 68]. When an individual's baseline risk depends on unobserved factors, a single global trend may fail to alert clinicians in time to act.

Idiographic models assume no commonalities in pathways to suicide. Idiographic approaches model each patient independently; in doing so, they discard shared, population-level dynamics. For example, sleep disturbance [8, 28], hopelessness [77, 62], and prior suicide attempts [13, 61] are all known to increase suicide risk. And because suicide attempts occur with a low base rate, idiographic models are prone to overfitting [27], especially during early monitoring when data is sparse and when insights are most needed.

Hierarchical models assume patients represent

1^{1}We adopt the standard clinical psychology terms “nomothetic” and “idiographic” to ground our framework in clinical practice and unify overlapping ML terminology.

deviations from a single norm. While hierarchical models bridge nomothetic and idiographic extremes, they assume patient trends are random deviations from a single global trend. In reality, patients inhabit a continuous spectrum of dynamic subtypes, governed by distinct, potentially conflicting trends [27]. Under sparse event histories—typical in suicide-risk monitoring—this assumption forces risk estimates for patients with no prior attempts to default to the global population trend, which may represent them poorly. This failure is clinically critical, as a substantial proportion of suicide fatalities occur on the first attempt [33].

Modeling patient similarity addresses these shortcomings and may support clinical decision-making and treatment planning. Explicitly modeling latent patient similarity overcomes key limitations of existing approaches by enabling cross-patient information sharing: when a patient's data is limited, the model leverages patterns from similar patients to forecast their future risk. Beyond predictive gains, similarity also offers a foundation for clinician-AI collaboration by supporting case-based reasoning [65]. Prior work demonstrates substantial heterogeneity in how at-risk patients respond to treatments, even in major interventions like psychiatric hospitalization [63]. Consequently, two patients with the same risk score may benefit from entirely different interventions—such as safety planning [69], lethal-means counseling [51], or family engagement [3]. By learning patient similarity, we can expose historical precedents that allow clinicians to evaluate which interventions succeeded for similar patients and why, assess whether off-survey context renders these precedents relevant, and adapt care accordingly, narrowing a vast, heterogeneous space of clinical actions down to a few targeted choices.

Contributions. Translating this clinical vision into practice requires a model that meets three demands: (1) predictive power via accurate individualized forecasts, (2) a mathematically well-posed mechanism for learning patient similarity, and (3) scalable inference whose objective does not itself bias the model toward purely nomothetic/idiographic regimes. We meet these demands as follows:

(A) Model Class: Latent Similarity Gaussian Processes (LSGPs). LSGPs generalize nomothetic, idiographic, and hierarchical models (Apx. B) by allowing each patient's forecast to be informed by others in direct proportion to their learned dynamic similarity. Formally, LSGPs are built as Latent Variable Multi-Output Gaussian Processes (LVMOGPs [18]), equipped with a family of Similarity Kernels with two channels: trend and relative-amplitude similarities. We prove these channels are identifiable: distinct parameterizations of a Similarity Kernel producing the same overall kernel function decompose into identical channels, ensuring that clinical interpretations are invariant to model parameterization.

(B) Theoretical Analysis of Personalization Collapse in the Standard Model-Fitting Algorithm—Mean-Field Variational Inference (MFVI)—and a Scalable Fix. We prove that the standard method for fitting LSGPs at scale (MFVI) can induce personalization collapse: even when the model is sufficiently flexible to capture patient heterogeneity, MFVI penalizes non-nomothetic models. We characterize the gap between the mean-field and structured bounds as a Bregman information that vanishes only at a fully nomothetic model. To avoid this collapse without sacrificing scalability, we adapt the Pólya-Gamma-augmented scheme [59, 78] that restores conditional Gaussian conjugacy between local and global variables, preserving the coupling MFVI discards while keeping coordinate-ascent updates tractable.

(C) Application to Data from an Intensive Longitudinal Suicide-Risk Study. We evaluate the LSGP on intensive Ecological Momentary Assessment (EMA) data tracking daily affect and suicidal thoughts with the goal of predicting next-week suicide-related events (SREs)—self-injurious behavior performed with non-zero intent to die or a psychiatric hospital presentation intended to avert a suicide attempt [54]. LSGPs outperform nomothetic, idiographic, and hierarchical baselines in within-patient forecasting, measured by per-patient average precision. Their largest gains occur on patients with no SREs in the training set who experience an SRE in the test set. Where idiographic models fail due to sparse positive labels, nomothetic models blur individual dynamics into a cohort average, and hierarchical models collapse directly back to that single global norm, the LSGP selectively informs forecasts by drawing on patients with similar risk trajectories. Further, we find that the learned similarity channels are not explained by static demographics alone, suggesting that the model isolates novel temporal patterns—a starting point for future clinical validation.

Impact Relative to Related Work. This work contributes to three areas (expanded in Apx. A): (i) Machine Learning: Scalable GPLVM-family models [e.g., 72, 50, 18] typically rely on MFVI [e.g., 30, 44]. While MFVI pathologies are known in other models [e.g., 73, 23, 79, 15, 80], we uncover and formalize a new failure mode where MFVI penalizes LSGPs toward the nomothetic extreme. (ii) Suicide Prevention: EMA studies primarily predict suicidal thoughts rather than SREs [e.g., 40, 17, 46, 76], which are rarer and harder to forecast. We show that the LSGP improves per-patient SRE forecasts—particularly for first-time SREs—by ensuring the learned patient similarity reflects gen-uine data-driven trends rather than inference artifacts. (iii) Implementation Science: Unlike existing clinical retrieval tools that compare patients based on static feature snapshots or latent embeddings [e.g., 65, 55], LSGPs learn similarity directly in function space—matching patients by how their survey responses map to suicide risk. By surfacing historical precedents that share true underlying dynamics rather than feature overlap, LSGPs provide a foundation for future decision-support systems that enable clinicians to synthesize their own contextual knowledge with the model's forecasts via case-based reasoning.

References (76)