Abstract
Traditional survival analysis often relies on the proportional hazards assumption, which fails when survival curves cross. Furthermore, in many real-world scenarios, terminal events are unobservable or "silent." We present DeepCLife, a deep learning framework that clusters subjects by maximizing the divergence between their lifetime distributions. By employing a novel loss function based on a tight upper bound of the Kuiper two-sample test, DeepCLife effectively handles non-proportional hazards and unobservable termination signals, outperforming state-of-the-art baselines on synthetic, social network, and clinical datasets.
1. Introduction: The Challenges of Lifetime Clustering
Clustering subjects based on their time-to-event (lifetime) is a critical task in fields ranging from healthcare to user behavior analysis. However, two major obstacles hinder traditional approaches:
- Censoring and Unobservability: Data collection often ends before a terminal event occurs (right-censoring). In digital environments, users may "silently quit" without a formal termination signal, making it difficult to distinguish between temporary inactivity and permanent departure.
- The Proportional Hazards Trap: Most survival models assume that the risk ratio between groups remains constant over time. In practice, survival curves often cross—for instance, a medical treatment might have high initial risk but superior long-term survival.
2. The DeepCLife Framework
DeepCLife is an end-to-end neural network designed to map subject covariates and early activity data into soft cluster assignments.
2.1 Model Architecture
The architecture consists of an input layer processing covariates and activity history, followed by fully connected layers that output cluster membership probabilities. A key innovation is the probabilistic estimation of the "termination signal." Rather than using fixed inactivity thresholds, the model learns to estimate the probability of termination based on the duration of inactivity.
2.2 The Kuiper Loss Function
To ensure that clusters represent distinct lifetime behaviors, the model optimizes a loss function based on the Kuiper two-sample test. Unlike the more common Kolmogorov-Smirnov test, the Kuiper test is sensitive to differences in the tails of distributions, making it ideal for survival data.
Because the exact Kuiper p-value involves an infinite sum that is computationally prohibitive for deep learning, the authors derived a tight upper bound. This bound provides stable, easy-to-compute gradients, allowing the model to maximize the divergence between cluster distributions during backpropagation.
3. Experimental Evaluation
The authors evaluated DeepCLife across three diverse domains:
- Synthetic Data: Designed with crossing survival curves to break the proportional hazards assumption. DeepCLife achieved an Adjusted Rand Index (ARI) of 0.73, significantly higher than the 0.47 achieved by the SSC-Bair baseline.
- Friendster Social Network: Using a dataset of 1.1M users, the model clustered users based on their first 5 months of activity. It successfully identified distinct "low-risk" and "high-risk" groups, with the low-risk group exhibiting significantly higher social connectivity.
- MIMIC III Healthcare: In a clinical setting with ~46,500 ICU patients, DeepCLife demonstrated superior discrimination (C-index) and calibration (Brier Score) compared to DeepHit+GMM, identifying more clinically relevant patient subgroups.
4. Conclusion
DeepCLife represents a significant step forward in survival clustering by moving beyond individual point predictions to optimize entire distribution shapes. Its ability to handle "silent" termination and non-proportional hazards makes it a robust tool for complex, real-world time-to-event data. Future work includes scaling the cluster comparison complexity and integrating sequence-based encoders like Transformers for raw activity data.
Summary updated