Penalized Likelihood Optimization for Adaptive Neighborhood Clustering in Time-to-Event Data with Group-Level Heterogeneity
Alessandra Ragni, Lara Cavinato, Francesca Ieva
TL;DR
The study tackles identifying latent patient subgroups with distinct hazard trajectories in hierarchical time-to-event data by embedding patient clustering directly inside a shared-frailty survival model. It introduces a penalized likelihood framework that learns a risk-driven similarity graph via adaptive neighbors and spectral clustering, coupling this with a parametric frailty model to reflect hospital-level dependence. Simulation results demonstrate robust recovery of the true cluster structure and reasonable parameter estimation under appropriate penalization, while the case study on Enhance-Heart data from Lombardy reveals three clinically interpretable subgroups and substantial inter-hospital heterogeneity in outcomes. Overall, the approach provides a flexible, interpretable tool for risk-based patient stratification in multi-center survival analyses, with the accompanying R implementation HazClust publicly available.
Abstract
The identification of patient subgroups with comparable event-risk dynamics plays a key role in supporting informed decision-making in clinical research. In such settings, it is important to account for the inherent dependence that arises when individuals are nested within higher-level units, such as hospitals. Existing survival models account for group-level heterogeneity through frailty terms but do not uncover latent patient subgroups, while most clustering methods ignore hierarchical structure and are not estimated jointly with survival outcomes. In this work, we introduce a new framework that simultaneously performs patient clustering and shared-frailty survival modeling through a penalized likelihood approach. The proposed methodology adaptively learns a patient-to-patient similarity matrix via a modified version of spectral clustering, enabling cluster formation directly from estimated risk profiles while accounting for group membership. A simulation study highlights the proposed model's ability to recover latent clusters and to correctly estimate hazard parameters. We apply our method to a large cohort of heart-failure patients hospitalized with COVID-19 between 2020 and 2021 in the Lombardy region (Italy), identifying clinically meaningful subgroups characterized by distinct risk profiles and highlighting the role of respiratory comorbidities and hospital-level variability in shaping mortality outcomes. This framework provides a flexible and interpretable tool for risk-based patient stratification in hierarchical data settings.
