Manuscript Offprint
arXiv:2610.06434KESurv: A Kernel Ensemble Method for Patient-Specific Survival Prediction
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Rahul Goswami
Department of Mathematics, Indian Institute of Technology Guwahati
Predicting patient-specific survival functions is crucial for clinicians in making informed decisions about patient care and treatment strategies. Among the various models available, the Survival Forest has demonstrated significant effectiveness in numerous scenarios. In this work, we propose an ensemble method that leverages the strengths of the Survival Forest as the master model, complemented by several base models. This ensemble incorporates the Bern estimator, a type of kernel estimator, to enhance predictions of patient-specific survival curves. We evaluated the performance of our proposed model using four distinct healthcare datasets. The results highlight the superiority of our ensemble method over baseline models in both calibration and ranking across most datasets. The findings suggest that our approach offers a more accurate and reliable estimation of patient-specific survival functions, providing a valuable tool for clinical decision-making.
Keywords: Survival Curve, Ensemble, Patient Care, Kernel Learning
Preprint
1 Introduction
Survival analysis is a fundamental tool in medical and epidemiological research for modeling the time until an event of interest occurs. Such events may include mortality, disease progression, relapse, or other clinically meaningful outcomes. Let denote the event time and denote a vector of patient covariates. The conditional survival function describes the probability that a patient with features survives beyond time . Estimating this function yields Patient-Specific Survival Curves (PSSCs), which provide individualized prognostic information and support data-driven clinical decision-making (Cox, 1972; Kalbfleisch and Prentice, 2011; Harrell, 2015). PSSCs have been widely used across medical domains where patient heterogeneity plays an important role. For example, gene expression signatures have been used to improve survival prediction in breast cancer (Van De Vijver et al., 2002), while multi-site studies in lung cancer have demonstrated the prognostic value of gene expression-based survival models (for the Molecular Classification of Lung Adenocarcinoma, 2008). Survival analysis has also been used in colorectal cancer to distinguish disease-free survival from overall survival when evaluating adjuvant therapies (Sargent et al., 2005). These examples illustrate the practical importance of accurate patient-specific survival estimation in clinical prognosis and treatment planning. A large class of survival models estimates PSSCs by imposing structural assumptions on the conditional hazard function. Denoting the hazard by , the Cox proportional hazards model assumes ,
Project page statML
where is the baseline hazard and is a vector of regression coefficients (Cox, 1972). After estimating and from training data, the corresponding survival curve can be recovered through . Other classical approaches, such as the Aalen additive model (Aalen, 1989) and accelerated failure time models (Kalbfleisch and Prentice, 2011), similarly rely on structural assumptions about the relationship between covariates and survival outcomes. More recently, survival analysis has benefited from machine learning methods that relax some of these assumptions. For instance, DeepSurv replaces the linear Cox risk function with a nonlinear function learned by a neural network (Katzman et al., 2018), while hierarchical generative models have been used to directly model patient-specific survival distributions (Ranganath et al., 2016). Ensemble-based approaches, including Random Survival Forests (RSF) (Ishwaran et al., 2008) and gradient-boosted survival models based on XGBoost (Chen and Guestrin, 2016), have also become popular due to their ability to capture nonlinear covariate effects and interactions. Another important direction is nonparametric survival estimation. The Beran estimator extends the Kaplan–Meier estimator by incorporating covariate information through local neighborhoods or kernel weights. While the Kaplan–Meier estimator estimates the marginal survival function , the Beran estimator estimates the conditional survival function by giving higher weight to training subjects whose feature vectors are close to the test point . This approach avoids strong parametric assumptions on the survival function and has been studied theoretically in settings such as nearest-neighbor survival estimation (Chen, 2019). Despite their flexibility, nearest-neighbor and kernel-based survival estimators often face difficulties in high-dimensional settings. As the feature dimension increases, local neighborhoods become sparse, distances between observations become less discriminative, and kernel weights become sensitive to bandwidth choices. Consequently, local averaging may become unstable: small neighborhoods can lead to high variance, while larger neighborhoods can oversmooth the survival curve and increase bias. These challenges motivate methods that replace raw-feature proximity with a more informative notion of similarity. In this study, we introduce Kernel Ensemble Survival (KESurv), a survival analysis framework that combines adaptive neighborhood construction with nonparametric survival estimation. Instead of defining proximity directly in the original feature space, KESurv uses a prediction-induced proximity obtained from a collection of diverse survival learners, inspired by the Combined Regression Aggregation idea of (Biau et al., 2016). This learned proximity acts as a collective indicator of similarity between training observations and a test patient. The resulting neighborhood is then used with survival estimators that produce patient-specific survival probabilities.
Several survival methods combine learned similarities, neighborhood construction, and local survival aggregation. Chen (2019) studies nearest-neighbor and kernel survival estimators, including an adaptive kernel learned using random survival forests. Survival Kernels (Chen, 2024) constructs an -net of representative exemplars in a learned embedding space, groups training observations around these exemplars, and combines nearby cluster summaries through truncated kernel weights to estimate survival probabilities. It also distinguishes the split construction covered by its theoretical guarantee from implementations evaluated with and without splitting. Area-norm COBRA (Goswami and Dey, 2023) compares predicted survival curves through an area-based dissimilarity, selects reference observations by consensus across base learners, and applies Kaplan–Meier aggregation, using disjoint cohorts for base-learner fitting and aggregation. These methods provide related approaches to constructing and weighting local information for survival estimation. KESurv uses survival-curve consensus selection to filter a forest-induced adaptive neighborhood, retaining the forest-induced weights within a weighted Kaplan–Meier estimator. The distinction between our empirical no-split construction and the honest/cross-fitted construction considered in our theoretical analysis is clarified in Section 4.2 and Appendix E. The main contributions are: (i) We propose KESurv, an ensemble-based statML
method for estimating Patient-Specific Survival Curves; (ii) We use a COBRA-style survival-curve agreement selector that filters an existing survival-forest-induced adaptive nearest-neighbor (ANN) neighborhood, retaining a training observation only when a sufficient number of diverse base survival learners predict a survival curve close to that of the query patient; (iii) We combine this consensus selector with the forest-induced adaptive kernel inside a weighted Kaplan–Meier estimator to improve patient-specific survival prediction; and (iv) We evaluate the proposed method on four datasets and compare it against standard survival baselines, including Random Survival Forests and adaptive nearest-neighbor methods. The remainder of this paper is organized as follows. Section 2 reviews survival analysis and the Beran estimator. Section 3 presents the proposed Kernel Ensemble Survival method. Section 4 describes the datasets, baseline models, experimental setup, and results. Finally, Section 5 concludes the paper and discusses future research directions.
The dataset consists of independent training subjects, where each subject is represented by a covariate vector , an observed time , and an event indicator . The assumption is the standard conditional independent censoring assumption. It states that, after conditioning on the observed covariates, the censoring mechanism does not provide additional information about the event time. This assumption is important because it allows the conditional survival curve to be estimated from censored observations.
2.1 Kernel Survival Estimator
The Kaplan–Meier estimator estimates a marginal survival curve without using covariate information. In contrast, the Beran estimator extends the Kaplan–Meier idea to the conditional setting by assigning larger weights to training observations whose covariates are close to a query point x. This produces a local survival estimator for the specific subject represented by x. To construct the kernel survival estimator, we require a nonnegative kernel function K, a bandwidth parameter , and a distance or dissimilarity function . The kernel controls how much influence a training subject has on the survival estimate for x, while the bandwidth controls the size of the local neighborhood. A small bandwidth leads to a more local estimator with potentially lower bias but higher variance. A large bandwidth includes more observations and may reduce variance, but can oversmooth subject-specific statML
survival patterns. The main ingredients of the kernel estimator are summarized in Eq. 2. The blue term represents the normalized local kernel weight, the red term represents the weighted number of observed deaths, and the green term represents the weighted number of subjects at risk.
Equation 2a defines the normalized kernel weight assigned to observation j when estimating the survival curve for query point x. These weights are nonnegative and sum to one when the denominator is nonzero. Equation 2b defines the set of locally contributing observed event times. Equation 2c computes the weighted number of deaths at time t, while Eq. 2d computes the weighted number of individuals still at risk just before time t. Their ratio gives a local estimate of the hazard increment. Finally, Eq. 2e combines these local hazard increments through a Kaplan–Meier product to produce the patient-specific survival estimate. This estimator can be viewed as a localized Kaplan–Meier estimator. Instead of assigning equal importance to all training subjects, it emphasizes subjects that are close to the query point x according to the distance function . However, this dependence on a fixed distance metric can be problematic in high-dimensional clinical data, where raw-feature distances may not accurately represent similarity in survival behavior.
2.2 Adaptive Nearest Neighbor through Tree Ensemble
The kernel survival estimator in Eq. 2e defines locality using the fixed distance function and the bandwidth . Although this is intuitive, it can be restrictive in high-dimensional biomedical settings. Two patients may be close in the original feature space but have different survival outcomes, while two patients that are far apart in raw covariates may share similar risk profiles. This motivates replacing raw-feature proximity with a learned notion of proximity that is more aligned with survival outcomes. Adaptive nearest-neighbor methods address this limitation using a tree ensemble. Let denote a survival-forest ensemble trained on bootstrap samples drawn from the observed training data . Each tree partitions the feature space into terminal leaf regions. If a query point and a training observation repeatedly fall into the same terminal leaves across the forest, then the forest considers them similar. The adaptive nearest-neighbor estimator uses this repeated co-membership to construct a data-adaptive kernel weight. The forest-induced adaptive weight used in our method is motivated by the adaptive nearest-neighbor interpretation of random forests. In particular, Lin and Jeon (2006) showed that random forests can be viewed as adaptive nearest-neighbor procedures, where observations repeatedly sharing terminal nodes with a query point receive larger influence. A closely related weighting view appears in quantile regression forests, where Meinshausen (2006) express forest predictions through weights induced by terminal-node co-membership. For right-censored outcomes, Random Survival Forests extend this idea to survival data by growing survival trees on bootstrap samples and aggregating tree-level survival estimates.
statML
(Ishwaran et al., 2008). More generally, forest-induced adaptive weights have also been used as local weighting functions for nonparametric estimation (Athey et al., 2019). For tree , let denote the terminal-node region containing the query point . Thus, training observation is considered close to in tree if . Let denote the number of times observation appears in the bootstrap sample used to grow tree . The adaptive weight construction is summarized in Eq. 3. The first quantity is the bootstrap-weighted size of the terminal node containing ; the second is the tree-level contribution of observation ; the third averages this contribution across trees; and the final quantity is the adaptive kernel itself.
In Eq. 3a, denotes the bootstrap-weighted size of the terminal node containing in tree . Equation 3b defines the tree-level adaptive weight assigned to training observation . This weight is positive only when belongs to the same terminal node as , and it is normalized by the bootstrap-weighted mass of that node. Equation 3c averages these tree-level weights over the forest, and Eq. 3d defines the resulting adaptive forest-induced kernel . When for all trees, the weights satisfy and . Thus, the forest transforms the original feature space into an outcome-aware neighborhood structure. Once the adaptive weights have been obtained, the survival curve is estimated using the same weighted Kaplan–Meier principle as in the kernel estimator. The fixed kernel weights are replaced by the adaptive forest-induced weights. The adaptive estimator therefore preserves the structure of the kernel survival estimator while changing the notion of locality. The standard kernel estimator relies on geometric closeness in the original covariate space, whereas the adaptive estimator relies on forest-induced closeness. This learned proximity is based on repeated co-membership in terminal nodes and can capture nonlinear interactions between covariates. Consequently, the adaptive nearest-neighbor estimator is better suited to high-dimensional clinical settings where fixed distance metrics may be unstable or poorly aligned with survival outcomes.
3 Proposed Method
The objective of the proposed method, summarized in Figure 1, is to estimate a patient-specific survival curve for a query subject with covariates x. The background section introduced two important ingredients: weighted Kaplan–Meier estimation and forest-induced adaptive nearest-neighbor weights. The adaptive nearest-neighbor estimator uses the terminal-node structure of a survival forest to define a data-dependent notion of proximity. However, a single adaptive kernel may still reflect only one representation of similarity. In high-dimensional biomedical data, different survival learners may capture different aspects of patient risk, such as nonlinear feature interactions, proportional hazards effects, or local neighborhood structure. This motivates a method that uses multiple survival learners to identify training observations whose predicted survival behavior is consistently similar to that of the query subject. KESurv follows this idea. Instead of averaging the survival predictions of several models, it uses the predictions of several base survival learners to define a more reliable neighborhood around the query point. This is related in spirit to the Combined Regression Aggregation framework of Biau et al. (2016), where base machines are used as a collective indicator of proximity rather than being combined through a standard linear ensemble. In our survival setting, two subjects are considered statML

Figure 1. Overview of the proposed KESurv framework. Base survival learners compare subjects in survival-curve space, while the survival forest provides adaptive nearest-neighbor weights.
close if their predicted survival curves are similar under a sufficient number of base survival learners. The resulting consensus neighborhood is then combined with a survival-forest-induced adaptive kernel and used inside a weighted Kaplan–Meier estimator. Let denote a collection of base survival learners. After training on the observed data , the -th learner produces an estimated survival curve , for a subject with covariates . The only requirement on a base learner is that it must be able to output survival probabilities over time. Thus, the collection may contain parametric, semiparametric, nonparametric, or machine-learning-based survival estimators. The learners are trained independently, and their role in KESurv is to define survival-curve-based proximity rather than to directly form the final survival estimate.
3.1 Survival-Curve Dissimilarity
To use the base learners as proximity machines, we first need a way to compare the predicted survival curves of two subjects. For two generic covariate vectors u and v, the question is not whether they are close in the original feature space, but whether their predicted survival trajectories are close. This distinction is important in high-dimensional clinical data, where raw covariate distance may be poorly aligned with survival behavior. For the -th learner, we define a survival-curve dissimilarity by measuring the normalized area between the two predicted survival curves. This is motivated by ABS-type comparisons of survival functions, which quantify separation between survival curves through integrated absolute differences over time (Huang et al., 2022). For a maximum follow-up time , the continuous form is
Equation 4 compares the entire survival trajectory predicted by learner for the two subjects and . The absolute value ensures that positive and negative deviations do not cancel out. The factor normalizes the area by the length of the time interval, making the distance easier to compare across datasets with different follow-up ranges. Since survival probabilities lie between 0 and 1, smaller values of indicate that the two subjects have similar predicted survival.
statML
behavior under learner . In practice, survival curves are evaluated on a finite grid of time points. Let denote the time grid used to evaluate the predicted survival curves. Using a piecewise approximation, we compute the empirical survival-curve dissimilarity as
The discrete form in Eq. 5 is the version used in the implementation. The left-endpoint approximation is natural for Kaplan–Meier-type survival curves because such estimates are step functions. The grid can be chosen as the set of observed event times, a fixed set of evaluation times, or any time grid shared across all base learners. For consistency, the same grid is used when comparing all subjects under a given learner.
3.2 Agreement-Based Survival Neighborhood
The distance measures closeness between the query point and training observation according to learner . However, relying on only one learner may make the selected neighborhood sensitive to model-specific errors. To improve stability, KESurv uses agreement across multiple survival learners. The key idea is that a training observation should be considered a reliable neighbor of if several learners predict a survival curve for that is close to the predicted survival curve for . Importantly, KESurv does not require all learners to agree. Instead, we introduce an agreement parameter , where denotes the minimum number of survival learners that must consider a training observation close to the query point. This makes the method flexible. When , the selector is permissive because agreement from any one learner is sufficient. When , the selector is strict because all learners must agree. Intermediate values of provide a balance between these two extremes. For each learner and threshold , define the learner-specific survival neighborhood , it contains the indices of training observations whose predicted survival curves are within radius of the query subject under learner . The parameter controls the tolerance for survival-curve dissimilarity. A small value of keeps only subjects with highly similar predicted survival trajectories, while a larger value allows more subjects to be considered neighbors. The following selector uses the COBRA-style consensus structure of retaining an observation when sufficiently many base learners predict similar outputs (Biau et al., 2016). A survival-curve version of this construction appears in Area-norm COBRA (Goswami and Dey, 2023). Here, we use the selector to filter the forest-induced adaptive neighborhood, retaining its adaptive weights for survival aggregation. Using these learner-specific neighborhoods, we define the -out-of- consensus selector
Equivalently, Eq. 6 can be written directly in terms of survival-curve distances as . The selector equals one if at least of the survival learners regard as close to . Otherwise, it equals zero. Thus, acts as a survival-curve-based filter that keeps only those training observations supported by a sufficient number of base learners.
3.3 KESurv Kernel
The selector in Eq. 6 defines which training observations are retained, but it does not assign smooth weights among the selected observations. To preserve the adaptive weighting structure introduced in the background section, we combine the selector with the forest-induced adaptive nearest-neighbor statML
kernel. Let denote the adaptive nearest-neighbor kernel obtained from the survival-forest ensemble, as defined in Eq. 3d. This kernel acts as a smoother because it gives graded weights according to forest-induced proximity. The selector acts as a gate because it removes observations that do not receive enough support from the base survival learners. We first define the unnormalized KESurv kernel:
forest proximity m-out-of-M agreement
Equation 7 is the central construction of KESurv. The first component, , measures how close is to according to the adaptive forest neighborhood. The second component, , checks whether is also close to in predicted survival-curve space for at least base learners. Therefore, a training observation receives positive weight only if it passes the survival-curve agreement rule. Among the retained observations, the magnitude of the weight is still determined by the adaptive nearest-neighbor kernel. Because the selector may set some weights to zero, the unnormalized weights in Eq. 7 may not sum to one. Although the weighted Kaplan–Meier ratio is invariant to a common scaling of all weights, normalizing the kernel makes the interpretation cleaner and avoids ambiguity. We therefore define the normalizing mass
The normalized KESurv kernel is then defined as
The first case in Eq. 9 is used when the agreement-based selector retains at least one training observation. In that case, the selected adaptive weights are renormalized and form a valid kernel. The second case is a fallback for the situation in which the rule is too restrictive and no observation satisfies the m-out-of-M agreement condition. Rather than producing an undefined estimate, KESurv reverts to the original adaptive nearest-neighbor kernel. This fallback makes the estimator stable for small values of or large values of m.
3.4 KESurv Survival Estimator
Once the KESurv kernel has been defined, the survival curve is estimated using the same weighted Kaplan–Meier principle used for the kernel and adaptive nearest-neighbor estimators. The only change is the choice of weights. Instead of using the raw kernel weights or the original adaptive nearest-neighbor weights, KESurv uses the normalized weights . Let us first define the set of observed event times that receive positive KESurv weight:
The set contains the event times associated with observations receiving positive final KESurv weight. When these are the selected observations; when they are determined by the fallback ANN kernel. These are the times at which the KESurv estimator updates the survival probability for the query subject. For each time , define the KESurv weighted death count and risk count as follows:
(11) statML
Equation 11 gives the KESurv weighted number of observed events at time t. Only observations with and contribute to this quantity. Equation 12 gives the KESurv weighted number of observations still at risk just before time t. The ratio is the local hazard increment induced by the proposed kernel. The final KESurv estimator is therefore
Equation 13 shows that KESurv remains a weighted Kaplan–Meier estimator. The novelty lies in how the weights are constructed. The adaptive nearest-neighbor kernel contributes a smooth, forest-induced measure of proximity, while the m-out-of-M selector contributes a survival-curve-based agreement condition. Thus, the proposed method does not directly average the base survival predictions. Instead, it uses them to identify a more reliable local neighborhood and then estimates the survival curve nonparametrically within that neighborhood. Throughout, the superscript KES denotes the KESurv kernel weighting scheme, whereas KESurv denotes the resulting final survival estimator. KESurv has two main hyperparameters: the distance threshold and the agreement level m. The threshold controls how close two predicted survival curves must be for a learner to consider them similar. A smaller yields a more selective neighborhood, while a larger produces a broader neighborhood. The agreement parameter m controls how many learners must support this similarity. A smaller value of m is more permissive and may reduce variance by selecting more observations. A larger value of m is more stringent and may reduce bias by retaining only observations with stronger cross-model agreement. These two parameters play complementary roles. Thus, controls the radius of the survival-curve neighborhoods, while m controls the level of consensus required across the ensemble. The proposed estimator contains the adaptive nearest-neighbor survival estimator as a limiting special case. To see this, consider the limit . For any learner and any training observation , the condition eventually holds. Therefore, for any fixed agreement level , . Consequently, , and the KESurv survival estimator reduces to the adaptive nearest-neighbor survival estimator. For finite , the method instead filters the adaptive neighborhood using survival-curve agreement across the base learners; KESurv can therefore be viewed as a survival-curve-guided refinement of adaptive nearest-neighbor estimation that recovers the latter as a special case. Theoretical properties of the KESurv weights and a uniform consistency result under standard local-survival assumptions are provided in Appendix E.
4 Experiments
We evaluate KESurv on four benchmark medical survival datasets to assess its ability to estimate patient-specific survival curves under different clinical settings. The experiments are designed to compare KESurv against representative semiparametric, nonparametric, tree-based, and ensemble survival models using both discrimination and calibration-oriented metrics. Unless otherwise stated, model selection is performed on a validation set, and final results are reported on held-out test data.
4.1 Datasets
To evaluate the performance of the proposed model, we considered four benchmark medical survival datasets: Flchain, Metabric, Support, and RoGBSG. The Flchain dataset is derived from a study examining the association between serum free light chains and mortality, and contains demographic and statML
clinical variables relevant to hematological disorders. The Metabric dataset contains molecular and clinical information for breast cancer patients, including genetic profiles and survival outcomes, and has been widely used for studying molecular subtypes and treatment response. The RoGBSG dataset combines the Rotterdam tumor bank cohort and the German Breast Cancer Study Group cohort. Because the two cohorts share several common clinical variables, this combination is well suited to external validation. This combined setting has been used in several recent survival-analysis studies. Finally, the Support dataset consists of seriously ill hospitalized adults and includes information on diagnoses, treatment preferences, interventions, and survival outcomes. Together, these datasets provide diverse evaluation settings across hematological disorders, breast cancer, and critical-care prognosis. The main characteristics of the datasets are summarized in Table 1.
| Dataset | n | p | Cens. (%) | Five-number summary of Y | Ref. | ||||
|---|---|---|---|---|---|---|---|---|---|
| Min | Median | Max | |||||||
| Flchain | 6524 | 8 | 69.93 | 0.00 | 2907.50 | 4303.00 | 4771.00 | 5166.00 | |
| Metabric | 1904 | 9 | 42.07 | 0.00 | 60.82 | 114.90 | 184.47 | 355.20 | |
| Support | 8873 | 14 | 31.97 | 3.00 | 26.00 | 231.00 | 763.00 | 2029.00 | |
| RoGBSG | 2232 | 7 | 43.23 | 0.26 | 19.12 | 40.23 | 71.10 | 87.36 | |
Table 1. Dataset characteristics. Cens. denotes the percentage of censored observations ().
Dispenzieri et al. (2012). Rueda et al. (2019). Connors et al. (1995). Rotterdam tumor bank cohort Foekens et al. (2000) and German Breast Cancer Study Group cohort Schumacher et al. (1994); this combined setting has also been used in recent survival-analysis studies Katzman et al. (2018); Kvamme et al. (2019); Chen (2020); Zhong et al. (2021); Chen (2024).
4.2 Experimental Setup
For each model and dataset, we repeated the experiment over 10 independent iterations. In each iteration, the dataset was divided into training, validation, and test sets using a 70–15–15 split. The training set was used to fit the models, while the validation set was used to select the best hyperparameter configuration for each method according to the search space reported in Appendix B. After hyperparameter selection, the final performance of each model was evaluated on the held-out test set using the metrics described in Appendix C. Across the 10 iterations, we report the mean and standard deviation of each evaluation metric. The Rotterdam–GBSG experiment follows a different evaluation protocol. In this setting, the experiment was not repeated over random splits; instead, the Rotterdam cohort was used as the training set and the GBSG cohort was used as the test set. All models were trained on the Rotterdam data and evaluated directly on the GBSG data, providing an external validation setting across two independent cohorts. Additional analyses rank-based statistical tests on the composite validation score (Appendix B) and an ablation over the survival-curve distance metric (Appendix D) are reported in the appendices. The proposed KESurv model requires a set of base survival models to construct the ensemble-based survival similarity used in the proposed kernel. In this work, we used four representative models: Cox Lasso (Lasso), Cox Ridge (Ridge), nearest-neighbor survival (NN), and a single survival tree (Tree), each described among the comparison models below. Together, these models provide diverse survival estimates that KESurv uses to identify samples with similar predicted survival profiles. Within the training cohort, the reported experiments use a no-split construction: each base learner is fitted once on the training cohort, which also supplies the reference observations for survival aggregation. Consequently, stored training profiles are in-sample, whereas held-out query profiles are out-of-sample. Validation statML
outcomes are used only for hyperparameter selection, and test outcomes are not used in fitting, tuning, or neighborhood construction. Theorem 1 in Appendix E concerns the honest/cross-fitted construction under Assumption 3 and does not establish consistency of the reported no-split implementation.
4.3 Comparison Models
We compared KESurv with representative survival models from semiparametric, nonparametric, tree-based, and ensemble-based families. The semiparametric baselines include Cox regression (Cox) and three penalized Cox variants: Lasso, Ridge, and Cox Elastic Net (Net). These models estimate relative risk under the proportional hazards assumption, with the penalized variants using regularization to improve stability and control model complexity. As nonparametric and tree-based baselines, we considered NN and Tree. NN estimates patient-specific survival using locally similar training samples and the Beran estimator, while Tree recursively partitions the covariate space to obtain interpretable risk groups. We also included Survival Forest (Forest), a tree-ensemble method for right-censored outcomes, and XGBoost, a gradient-boosting method adapted to survival prediction. Some comparison models produce risk scores rather than direct survival probability estimates. For these models, we used the Breslow estimator (Lin, 2007) to obtain survival curves, allowing all methods to be evaluated using the same survival-function-based metrics. We did not include separate fixed-kernel survival baselines because nearest-neighbor and kernel survival estimators have been extensively studied in prior work (Chen, 2019), and our focus is on evaluating whether the proposed ensemble-based survival-profile kernel improves patient-specific survival estimation.
4.4 Results
| Dataset | Lasso | Net | Cox | Ridge | NN | Tree | XGBoost | Forest | KESurv |
|---|---|---|---|---|---|---|---|---|---|
| Flchain | 0.7838(±0.0101) | 0.7840(±0.0101) | 0.7835(±0.0102) | 0.7835(±0.0102) | 0.7480(±0.0114) | 0.7672(±0.0151) | 0.7825(±0.0104) | 0.7688(±0.0128) | 0.7814(±0.0128) |
| Metabric | 0.6281(±0.0198) | 0.6283(±0.0190) | 0.6276(±0.0196) | 0.6278(±0.0196) | 0.6378(±0.0188) | 0.6208(±0.0238) | 0.6407(±0.0145) | 0.6490(±0.0226) | 0.6599(±0.0172) |
| RoGBSG | 0.6222(±0.0000) | 0.6192(±0.0000) | 0.6172(±0.0000) | 0.6172(±0.0000) | 0.6526(±0.0000) | 0.6423(±0.0000) | 0.6219(±0.0000) | 0.6501(±0.0000) | 0.6560(±0.0000) |
| Support | 0.5969(±0.0080) | 0.5966(±0.0082) | 0.5965(±0.0082) | 0.5965(±0.0082) | 0.5993(±0.0081) | 0.5974(±0.0102) | 0.5982(±0.0086) | 0.6221(±0.0093) | 0.6425(±0.0108) |
Table 2. Time-dependent concordance results across four benchmark survival datasets. The best-performing method for each dataset is highlighted in bold.
The analysis of survival models, as outlined in Tables 2 and 3, reveals distinct performance profiles across datasets and evaluation metrics. Net and Cox offer competitive performance, particularly on the Flchain dataset, where Net attains the best concordance. However, the proposed KESurv model distinguishes itself across datasets: KESurv achieves the best concordance on Metabric, RoGBSG, and Support, and the best IBS on Flchain, Metabric, and RoGBSG. On Support, Forest attains the lowest IBS, while KESurv obtains the best concordance. These results underscore the predictive reliability and robustness of KESurv. Notably, KESurv performs consistently across datasets that differ in size, censoring rate, and clinical domain, whereas the baselines are strongest only on particular settings. Because the adaptive nearest-neighbor kernel in KESurv is induced by a Survival Forest, the comparison with Forest most directly isolates what the survival-curve agreement selector contributes. KESurv improves the time-dependent concordance of Forest on all four datasets—for example, from statML
| Dataset | Lasso | Net | Cox | Ridge | NN | Tree | XGBoost | Forest | KESurv |
|---|---|---|---|---|---|---|---|---|---|
| Flchain | 0.1036(±0.0040) | 0.1035(±0.0036) | 0.1034(±0.0039) | 0.1034(±0.0039) | 0.1067(±0.0055) | 0.1056(±0.0046) | 0.1333(±0.0047) | 0.1033(±0.0047) | 0.1027(±0.0045) |
| Metabric | 0.1658(±0.0099) | 0.1658(±0.0099) | 0.1659(±0.0102) | 0.1658(±0.0102) | 0.1672(±0.0057) | 0.1730(±0.0091) | 0.1749(±0.0071) | 0.1690(±0.0054) | 0.1637(±0.0063) |
| RoGBSG | 0.1763(±0.0000) | 0.1758(±0.0000) | 0.1756(±0.0000) | 0.1756(±0.0000) | 0.1717(±0.0000) | 0.1734(±0.0000) | 0.1975(±0.0000) | 0.1723(±0.0000) | 0.1679(±0.0000) |
| Support | 0.1952(±0.0036) | 0.1951(±0.0036) | 0.1951(±0.0036) | 0.1951(±0.0036) | 0.2007(±0.0036) | 0.2002(±0.0057) | 0.2151(±0.0058) | 0.1913(±0.0048) | 0.1924(±0.0051) |
Table 3. Integrated Brier Score (IBS) results across four benchmark survival datasets. The best-performing method for each dataset is highlighted in bold.
0.6221 to 0.6425 on Support and from 0.6490 to 0.6599 on Metabric—and it lowers the IBS on three of the four (Flchain, Metabric, and RoGBSG), with Forest marginally lower only on Support (0.1913 versus 0.1924). Figure 2 shows that this advantage is stable across forest configurations: on Support, KESurv attains higher concordance in all 20 depth and tree-count settings and lower IBS in 14 of 20. These gains indicate that filtering the forest-induced neighborhood by cross-model survival-curve agreement produces better-ranked patient-specific survival estimates, with lower integrated Brier error on most datasets, than the Survival Forest alone.




Figure 2. KESurv and Forest performance on the Support dataset across different maximum tree depths and numbers of trees. The top row reports IBS, where lower is better, and the bottom row reports time-dependent concordance, where higher is better.
5 Conclusion
In this work, we studied patient-specific survival prediction using machine learning methods for right-censored time-to-event data. We proposed KESurv, an ensemble-based survival method that constructs a survival-function-aware neighborhood around each test sample. Rather than relying only on covariate-space similarity, KESurv identifies neighboring patients whose predicted survival profiles are close to that of the query patient. This combines the interpretability of neighborhood-statML
based estimation with the flexibility of ensemble survival modeling. Across the evaluated medical datasets, KESurv achieved competitive and often improved performance compared with standard survival models, indicating that survival-profile similarity can provide useful information for estimating patient-specific survival curves. The method also offers a natural form of interpretability, since predictions can be examined through groups of patients with similar estimated survival behavior. The main limitation of KESurv is computational cost. Computing survival-function-based distances can be expensive when the number of patients, time points, or base models is large. Although this cost can be partly reduced by precomputing and storing distance information, scalable storage and fast retrieval remain important practical challenges for large clinical datasets. Future work should investigate efficient distance representations, approximate nearest-neighbor search, and subgroup discovery methods based on the proposed kernel. These directions may improve both the scalability and interpretability of machine learning survival models in clinical and epidemiological applications.
References
Odd O Aalen. A linear regression model for the analysis of life times. Statistics in medicine, 8(8): 907–925, 1989.
Michael G. Akritas. Nearest neighbor estimation of a bivariate distribution under random censoring. The Annals of Statistics, 22(3):1299–1327, 1994.
Per Kragh Andersen and Richard D. Gill. Cox's regression model for counting processes: A large sample study. The Annals of Statistics, 10(4):1100–1120, 1982.
Per Kragh Andersen, Ørnulf Borgan, Richard D. Gill, and Niels Keiding. Statistical Models Based on Counting Processes. Springer, 1993.
Laura Antolini, Patrizia Boracchi, and Elia Biganzoli. A time-dependent discrimination index for survival data. Statistics in medicine, 24(24):3927–3944, 2005.
Susan Athey, Julie Tibshirani, and Stefan Wager. Generalized random forests. The Annals of Statistics, 47(2):1148–1178, 2019.
Rudolf Beran. Nonparametric regression with randomly censored survival data. Technical report, University of California, Berkeley, 1981.
James Bergstra, Rémi Bardenet, Yoshua Bengio, and Balázs Kégl. Algorithms for hyper-parameter optimization. In Advances in Neural Information Processing Systems, volume 24, 2011.
Gérard Biau, Aurélie Fischer, Benjamin Guedj, and James D Malley. Cobra: A combined regression strategy. Journal of Multivariate Analysis, 146:18–28, 2016.
George Chen. Nearest neighbor and kernel survival analysis: Nonasymptotic error bounds and strong consistency rates. In International Conference on Machine Learning, pages 1001–1010. PMLR, 2019.
George H Chen. Deep kernel survival analysis and subject-specific survival time prediction intervals. In Machine Learning for Healthcare Conference, pages 537–565. PMLR, 2020.
George H Chen. Survival kernels: Scalable and interpretable deep kernel survival analysis with an accuracy guarantee. Journal of Machine Learning Research, 25(40):1–78, 2024.
statML
Tianqi Chen and Carlos Guestrin. Xgboost: A scalable tree boosting system. In Proceedings of the 22nd acm sigkdd international conference on knowledge discovery and data mining, pages 785–794, 2016.
Alfred F Connors et al. A controlled trial to improve care for seriously ill hospitalized patients: The study to understand prognoses and preferences for outcomes and risks of treatments (support). Jama, 274(20):1591–1598, 1995.
David R Cox. Regression models and life-tables. Journal of the Royal Statistical Society: Series B (Methodological), 34(2):187–202, 1972.
Dorota M. Dabrowska. Non-parametric regression with censored survival time data. Scandinavian Journal of Statistics, 14(3):181–197, 1987.
Dorota M. Dabrowska. Uniform consistency of the kernel conditional kaplan–meier estimate. The Annals of Statistics, 17(3):1157–1167, 1989.
Angela Dispenzieri et al. Use of nonclonal serum immunoglobulin free light chains to predict overall survival in the general population. Mayo Clinic Proceedings, 87(6):517–523, 2012.
Ronald Aylmer Fisher. Statistical Methods for Research Workers. Oliver and Boyd, Edinburgh, 1925.
Thomas R. Fleming and David P. Harrington. Counting Processes and Survival Analysis. Wiley, 1991.
John A Foekens et al. The urokinase system of plasminogen activation and prognosis in 2780 breast cancer patients. Cancer research, 60(3):636–643, 2000.
Directors Challenge Consortium for the Molecular Classification of Lung Adenocarcinoma. Gene expression-based survival prediction in lung adenocarcinoma: a multi-site, blinded validation study. Nature medicine, 14(8):822–827, 2008.
Rahul Goswami and Arabin Kr Dey. Area-norm cobra on conditional survival prediction. arXiv preprint arXiv:2309.00417, 2023.
Erika Graf, Claudia Schmoor, Willi Sauerbrei, and Martin Schumacher. Assessment and comparison of prognostic classification schemes for survival data. Statistics in medicine, 18(17-18):2529–2545, 1999.
Humza Haider, Bret Hoehn, Sarah Davis, and Russell Greiner. Effective ways to build and evaluate individual survival distributions. Journal of Machine Learning Research, 21(85):1–63, 2020.
Frank E Harrell. Regression modeling strategies with applications to linear models, logistic and ordinal regression, and survival analysis, 2015.
Xinghui Huang, Jingjing Lyu, Yawen Hou, and Zheng Chen. A nonparametric statistical method for two crossing survival curves. Communications in Statistics-Simulation and Computation, 51(9):5041–5050, 2022.
Hemant Ishwaran and Udaya B. Kogalur. Consistency of random survival forests. Statistics & Probability Letters, 80(13–14):1056–1064, 2010.
Hemant Ishwaran, Udaya B Kogalur, Eugene H Blackstone, and Michael S Lauer. Random survival forests. The Annals of Applied Statistics, 2008.
statML
John D Kalbfleisch and Ross L Prentice. The statistical analysis of failure time data. John Wiley & Sons, 2011.
Edward L. Kaplan and Paul Meier. Nonparametric estimation from incomplete observations. Journal of the American Statistical Association, 53(282):457–481, 1958.
Jared L Katzman et al. Deepsurv: personalized treatment recommender system using a cox proportional hazards deep neural network. BMC medical research methodology, 18:1–12, 2018.
Håvard Kvamme, Ørnulf Borgan, and Ida Scheel. Time-to-event prediction with neural networks and cox regression. Journal of machine learning research, 20(129):1–30, 2019.
E. Lenglart. Relation de domination entre deux processus. Annales de l'I.H.P. Probabilités et statistiques, 13(2):171–179, 1977.
D. Y. Lin. On the breslow estimator. Lifetime data analysis, 13:471–480, 2007.
Yi Lin and Yongho Jeon. Random forests and adaptive nearest neighbors. Journal of the American Statistical Association, 101(474):578–590, 2006.
Nicolai Meinshausen. Quantile regression forests. Journal of Machine Learning Research, 7:983–999, 2006.
Rajesh Ranganath, Adler Perotte, Noémie Elhadad, and David Blei. Deep survival analysis. In Machine Learning for Healthcare Conference, pages 101–114. PMLR, 2016.
Oscar M Rueda et al. Dynamics of breast-cancer relapse reveal late-recurring er-positive genomic subgroups. Nature, 567(7748):399–404, 2019.
Daniel J Sargent et al. Disease-free survival versus overall survival as a primary end point for adjuvant colon cancer studies: individual patient data from 20,898 patients on 18 randomized trials. Journal of Clinical Oncology, 23(34):8664–8670, 2005.
M Schumacher et al. Randomized 2 x 2 trial evaluating hormonal treatment and the duration of chemotherapy in node-positive breast cancer patients. german breast cancer study group. Journal of Clinical Oncology, 12(10):2086–2093, 1994.
Jasper Snoek, Hugo Larochelle, and Ryan P. Adams. Practical bayesian optimization of machine learning algorithms. In Advances in Neural Information Processing Systems, volume 25, 2012.
Marc J Van De Vijver et al. A gene-expression signature as a predictor of survival in breast cancer. New England Journal of Medicine, 347(25):1999–2009, 2002.
Qixian Zhong et al. Deep extended hazard models for survival analysis. Advances in Neural Information Processing Systems, 34:15111–15124, 2021.
statML
Appendix
A KESurv Algorithm and Complexity
Algorithmic roadmap.. KESurv proceeds in three stages:
-
Obtain learner-specific survival profiles and compare the query with forest-supported training observations using .
-
Convert these distances into learner-specific votes and apply the m-out-of-M selector .
-
Multiply the selector by the forest-induced ANN weights, normalize using Eq. 9, and construct the resulting Beran (kernel-weighted Kaplan–Meier/product-limit) estimator.
The base learners are fitted and the training survival profiles are cached before processing held-out queries. Algorithm 1 describes prediction for a fitted model.
Algorithm 1 Kernel Ensemble Survival (KESurv)
1: Input: , query point , base learners , ANN weights , time grid , threshold , and agreement level .
2: Output: .
3: Obtain the forest-supported set .
4: Initialize for all .
5: for do
6: Use the fitted learner to obtain the query survival profile on the common time grid.
7: Retrieve the cached training survival profiles and compute only for using Eq. 5.
8: end for
9: for do
10: Compute the -out-of- selector using Eq. 6.
11: Compute the unnormalized KESurv weight using Eq. 7.
12: end for
13: Compute using Eq. 8.
14: Normalize the weights to obtain using Eq. 9.
15: Construct using Eq. 10.
16: Compute and using Eqs. 11–12.
17: Compute using Eq. 13.
18: return .
Computational complexity. Let denote the number of training samples, the number of base survival learners, and the number of time-grid points used to represent each survival curve. For a single query point , the main computational cost of KESurv comes from comparing the predicted survival curve of with the predicted survival curves of all training samples under each base learner. If the survival predictions of the training samples have already been computed and stored, the survival-distance computation requires time, since each of the learners compares with all training samples over time points. The -out-of- agreement selector and weight normalization require an additional and time, respectively. Computing the weighted event and risk counts can be implemented naively in time, or more efficiently using sorted event times and cumulative sums. Thus, ignoring the cost of fitting the base learners, the dominant per-query cost is typically , plus the cost of evaluating the ANN kernel . The latter depends on the statML
forest implementation: traversing trees is usually efficient, but constructing the full set of nonzero forest-induced weights may still be expensive when many training samples share terminal nodes with the query point. For test samples, the direct prediction cost scales as , which can be substantial for large datasets, dense time grids, or many base learners. The method also has a nontrivial memory cost if survival predictions or survival-distance matrices are precomputed; storing all base-learner survival curves for the training set requires memory, while storing pairwise survival distances for many query-training pairs can become prohibitive. Therefore, the current implementation is most practical for moderate-sized survival datasets, and scalable versions should consider sparse neighborhoods, approximate nearest-neighbor search, reduced time grids, low-dimensional survival-curve embeddings, or on-demand distance computation.
Forest-supported computation and storage. Because whenever , survival-curve distances need only be computed for . This reduces the distance-computation cost to , with the benefit depending on the sparsity of the forest neighborhood. This bound excludes forest traversal, query-profile evaluation, and construction of the final survival estimate. Caching the training survival profiles requires storage; storing a full query-training distance matrix is optional and unnecessary. Distances and agreement counts can instead be streamed, using additional working memory beyond the fitted models and cached profiles. The reported experiments do not include a controlled, hardware-matched runtime or peak-memory benchmark. Such profiling, together with approximate neighbor retrieval and reduced-dimensional survival-profile representations, remains future work.
B Bayesian Optimization and Hyperparameter Search Space
B.1 Bayesian Optimization Strategy
Hyperparameters were selected by minimizing a common validation objective across all models. For a candidate hyperparameter configuration , the objective function was defined as
where Concordance( ) denotes the time-dependent concordance index and IBS( ) denotes the integrated Brier score. Lower values of indicate better validation performance. We used Bayesian optimization for hyperparameter tuning, as it provides a more efficient alternative to exhaustive search by using previous evaluations to guide the selection of future hyperparameter configurations (Snoek et al., 2012). In particular, we used the Hyperopt library with the Tree-structured Parzen Estimator (TPE) algorithm (Bergstra et al., 2011). TPE is a sequential model-based Bayesian optimization method that models promising and non-promising regions of the search space separately and proposes new configurations that are more likely to improve the objective function. This is especially useful for our setting because evaluating each hyperparameter configuration requires training a survival model and computing validation performance using both time-dependent concordance and integrated Brier score.
Rotterdam–GBSG model selection.. For the Rotterdam–GBSG experiment, Rotterdam was partitioned into a training subset and a 15% validation subset. Each candidate configuration was fitted on the training subset and evaluated on the validation subset using . The selected fitted model was not refitted on the combined Rotterdam cohort and was evaluated once on GBSG. Neither GBSG covariates nor outcomes were used for fitting or hyperparameter selection. GBSG covariates were used only as query inputs at prediction time, and its outcomes only for final evaluation.
statML
| Model | Search Space |
|---|---|
| Lasso | |
| Net | l1_ratio linearly spaced in [0, 1] with 20 values |
| Cox | ties |
| Ridge | regularizer linearly spaced in [0, 1] with 20 values |
| NN | , distance |
| Tree | |
| XGBoost | , feature selector |
| Forest | |
| KESurv (proposed) |
Table 4. Hyperparameter search space optimized using Bayesian optimization with Hyperopt-TPE.
B.2 Hyperparameter Search Space
The tuned hyperparameters control regularization, model complexity, neighborhood structure, and ensemble-based survival similarity. For penalized Cox models, the regularization parameters control sparsity and coefficient shrinkage. For nearest-neighbor methods, and the distance metric determine the locality and similarity structure. For tree-based models, max_features controls split diversity, while min_samples_leaf controls terminal-node smoothness and prevents very small risk sets. For XGBoost, the L1 and L2 penalties control sparsity and weight shrinkage, while the feature selector determines the coordinate update strategy. For KESurv, is the minimum number of agreeing base learners required to retain a training observation; all learners participate in the selector. The parameter controls the survival-curve dissimilarity threshold. To further compare the methods across datasets, we applied the Friedman test followed by the Nemenyi multiple-comparison procedure using the composite score reported in Table 5, where lower values indicate better performance. The Friedman test rejected the null hypothesis of equal average ranks across methods (), indicating statistically detectable differences among the evaluated models. The corresponding Nemenyi multiple-comparison-with-the-best plot is shown in Figure 3. KESurv achieved the lowest mean rank, followed by Forest and Net. However, because the comparison is based on only four datasets, the critical distance is relatively large. Therefore, the Nemenyi plot should be interpreted as supportive evidence that KESurv is among the strongest-performing methods, rather than as definitive evidence of pairwise superiority over every baseline.
B.3 Base-Learner Eligibility and Diversity
A base learner is eligible for KESurv if it outputs a valid survival curve on the common time grid. Eligibility alone does not establish usefulness. In practice, we favor learners with useful prognostic
| Dataset | Lasso | Net | Cox | Ridge | NN | Tree | XGBoost | Forest | KESurv |
|---|---|---|---|---|---|---|---|---|---|
| Flchain | 0.8468 | 0.8460 | 0.8466 | 0.8466 | 0.9308 | 0.8880 | 0.9682 | 0.8756 | 0.8480 |
| Metabric | 1.4070 | 1.4066 | 1.4084 | 1.4076 | 1.3932 | 1.4504 | 1.4182 | 1.3780 | 1.3350 |
| RoGBSG | 1.4608 | 1.4648 | 1.4680 | 1.4680 | 1.3816 | 1.4090 | 1.5462 | 1.3890 | 1.3596 |
| Support | 1.5870 | 1.5872 | 1.5874 | 1.5874 | 1.6042 | 1.6060 | 1.6640 | 1.5210 | 1.4846 |
Table 5. Composite criterion across four benchmark survival datasets. Lower is better; the best method per dataset is in bold.
statML
Friedman: 0.024 (Ha: Different) Critical distance: 6.006

Figure 3. Nemenyi multiple-comparison-with-the-best plot based on the composite score . Lower ranks indicate better overall performance. The Friedman test rejects equal average ranks across methods (p = 0.024), and KESurv obtains the lowest mean rank.
signal on validation data and nonredundant inductive biases.
The reported ensemble contains Cox Lasso, Cox Ridge, nearest-neighbor survival, and a survival tree. Lasso and Ridge share a proportional-hazards structure, although their regularization differs; they should therefore not be interpreted as independent model families. Nearest-neighbor survival depends on the covariate metric and local sample density, whereas a survival tree captures nonlinearities and interactions through partition-based neighborhoods. Here, diversity refers to complementary modeling biases, rather than statistical independence between predictions. Because the learner predictions provide votes rather than being averaged, including a Cox learner does not impose proportional hazards on the final KESurv survival curve.
The m-out-of-M rule retains a candidate supported by at least m learners despite disagreement from the remaining M - m learners. Conversely, fewer than m positive votes cannot admit a candidate on their own. This does not provide universal protection against a poor learner: at m = 1, one learner can admit a candidate, while at m = M, one disagreeing learner can exclude it. An uninformative or redundant collection can therefore harm performance, and m is selected using validation data.
The consistency conditions concern the resulting weighted neighborhood: Assumptions 5–6 in Appendix E require local event-hazard homogeneity and a diverging effective sample size. These properties are not guaranteed merely by choosing particular learner families.
C Performance Metrics and Calibration Results
We employ two metrics, time-dependent concordance Antolini et al. (2005) and the Integrated Brier Score Graf et al. (1999), and we additionally assess D-calibration Haider et al. (2020). For a given dataset , the time-dependent concordance index is defined as:
statML
that is, of two comparable subjects the one who experiences the event earlier is assigned the lower predicted survival at the shared comparison time (Antolini et al., 2005). The Integrated Brier Score (IBS) quantifies the accuracy of predicted survival probabilities over a specified time interval, taking into account censoring. It is defined as:
where the time-dependent Brier score at time is defined as follows:
where represents the predicted probability that an individual with feature vector remains event-free up to time , and is the inverse-probability-of-censoring weight, where denotes the censoring survival function and is its Kaplan–Meier estimate. In our experimentation, we have taken as . D-calibration is a critical method for evaluating whether patients can trust the survival curves predicted by a model. Given a dataset , a survival model function , and an interval , we define:
The set records the uncensored observations whose predicted survival probability at the observed event time lies in the specified interval. For a correctly specified continuous survival distribution, the probability transform is uniformly distributed on . Under censoring, an assessment based only on observed events does not generally retain this uniformity; a censoring-adjusted D-calibration procedure must also account for censored observations, as described by Haider et al. (2020). Table 6 reports the D-calibration results. The D-calibration results further underscore
| Models | Flchain | Metabric | RoGBSG | Support |
|---|---|---|---|---|
| Lasso | 1.0000 | 0.7318 | 0.3881 | 0.0033 |
| Net | 0.9999 | 0.7520 | 0.4058 | 0.0048 |
| Cox | 1.0000 | 0.3968 | 0.3533 | 0.0034 |
| Ridge | 1.0000 | 0.4267 | 0.3533 | 0.0032 |
| NN | 0.4030 | 0.9658 | 0.4378 | < 0.0001 |
| Tree | 0.9993 | 0.8271 | 0.4277 | 0.0109 |
| XGBoost | 0.0001 | 0.5148 | 0.0306 | < 0.0001 |
| Forest | 0.9993 | 1.0000 | 1.0000 | 0.8510 |
| KESurv (proposed) | 0.9999 | 0.9996 | 0.5799 | 0.0807 |
Table 6. Aggregated D-calibration p-values across experiments with different random seeds, combined using Fisher's method Fisher (1925). Fisher's method computes the test statistic , where represents the number of tests. The test did not reject D-calibration at the 5% level. Red text identifies models that fail to meet this threshold ().
the reliability of the KESurv model, with satisfactory calibration across all datasets, as evidenced by its ability to maintain p-values well above the 0.05 threshold, indicating reliable survival curve prediction. In contrast, models such as XGBoost and NN exhibit lower p-values in the Support dataset, statML
which may suggest overfitting and less reliable predictions under certain conditions. IBS measures integrated survival-probability accuracy and reflects both discrimination and calibration; it is not a pure calibration metric. We therefore distinguish time-dependent concordance for discrimination, IBS for overall probabilistic accuracy, and D-calibration for a dedicated calibration assessment.
C.1 Scope of the Empirical Comparisons
The evaluation examines whether survival-curve consensus improves the matched Forest estimator and remains competitive among the evaluated classical survival methods. KESurv improves Forest concordance on all four datasets and IBS on three of four; these comparisons do not establish superiority over all survival-learning methods.
On FLCHAIN, Net achieves concordance 0.7840 compared with 0.7814 for KESurv, whereas KESurv achieves the lowest IBS, 0.1027. The concordance difference of 0.0026 is small relative to the reported across-split standard deviations, but this does not establish statistical equivalence. Model preference can therefore depend on whether discrimination or survival-probability accuracy is the primary objective.
Modern deep-survival models were not evaluated as comparators or as KESurv base learners. They could supply survival-profile votes when they provide valid survival curves on the common time grid, but this compatibility is not empirical evidence of improved performance. Evaluation against suitably tuned deep-survival baselines, and their inclusion as base learners, remain future work.
D Ablation Study
In this section, we present an ablation study assessing the sensitivity of KESurv to the choice of survival-curve distance metric. The results are summarized in Table 7.
Variations in Distance Metrics. We initially employed the ABS distance metric, as defined in equation 4, which yielded satisfactory results. However, to explore the impact of different distance metrics on model performance, we experimented with several alternatives.
Median Distance. We defined the median survival time for a covariate vector under learner , denoted , as the time at which the estimated survival function indicates a survival probability of 0.5. The distance between two covariate vectors and based on their median survival times is computed as follows:
Maximum Distance. To capture the maximum discrepancy between two survival curves, we defined the maximum distance as the greatest absolute difference across all time points, given by:
E Proofs of Theoretical Properties
This appendix gives the theoretical details for the KESurv estimator. The arguments build on standard results from product-limit estimation, counting-process survival analysis, conditional Kaplan–Meier estimation, nearest-neighbor/kernel survival estimation, and forest-induced adaptive weighting. The weighted product-limit form follows the Kaplan–Meier estimator for right-censored data (Kaplan and Meier, 1958). The martingale decomposition used in the consistency proof follows the counting-process formulation of censored survival data (Andersen and Gill, 1982; Fleming and Harrington, statML
| Distances | Flchain | Metabric | RoGBSG | Support | |
|---|---|---|---|---|---|
| Con. | Median | ||||
| Max | |||||
| IBS | Median | ||||
| Max |
Table 7. The proposed model with performance for different distances
1991; Andersen et al., 1993). The local consistency argument is related to Beran's conditional survival estimator and subsequent consistency results for kernel and nearest-neighbor conditional Kaplan–Meier estimators (Beran, 1981; Dabrowska, 1987, 1989; Akritas, 1994; Chen, 2019). The KESurv selector is motivated by the use of multiple base learners as a collective proximity rule, as in COBRA-type aggregation (Biau et al., 2016). The adaptive smoothing component is motivated by the interpretation of random forests as adaptive nearest-neighbor methods (Lin and Jeon, 2006), forest-induced proximity weights (Meinshausen, 2006), generalized random-forest weights (Athey et al., 2019), and random survival forests for right-censored outcomes (Ishwaran et al., 2008; Ishwaran and Kogalur, 2010). Our contribution is to combine these ingredients into a survival-curve-guided adaptive kernel, where a survival-forest weight is filtered by an m-out-of-M agreement selector. For a fixed query point x, define
Let
denote the event-counting and at-risk processes for subject . The corresponding weighted event and risk processes are
The KESurv estimator can then be written as the weighted product-limit estimator
where terms with zero weighted risk are omitted. This is the usual Kaplan–Meier product-limit form with ordinary event and risk counts replaced by KESurv-weighted counts (Kaplan and Meier, 1958; Beran, 1981; Chen, 2019).
E.1 Assumptions for the Consistency Result
The deterministic properties of the KESurv weights do not require additional probabilistic assumptions. For the consistency theorem, however, we analyze an honest or cross-fitted version of the estimator. This is standard when adaptive weights are learned from data, because it separates the construction of the local neighborhood from the event process used in the weighted Kaplan–Meier estimator. Similar honesty or sample-splitting ideas are commonly used in forest-based theory to control adaptivity (Athey et al., 2019).
statML
Assumption E.1. The observations , are independent and identically distributed, where
Here is the event time and is the censoring time.
Assumption E.2. The event time and censoring time are conditionally independent given covariates:
This is the standard independent censoring condition used in conditional Kaplan–Meier and counting-process survival analysis (Beran, 1981; Dabrowska, 1989; Andersen et al., 1993).
Interpretation of conditional independent censoring.. The condition permits the censoring distribution to depend on the observed covariates X; it does not require marginal independence between T and C. It is also used in the theoretical development of nearest-neighbor and kernel survival estimators (Chen, 2019, 2024). This assumption cannot generally be verified from the observed censored data alone. Dependence between event and censoring times remaining after conditioning on X, including dependence through unmeasured factors, is a limitation of the analysis.
Assumption E.3. For the purpose of the asymptotic argument, the KESurv weights are constructed using covariates and an auxiliary training sample, or by a cross-fitting scheme, so that conditional on the covariates and the auxiliary sample, the weight assigned to subject j does not depend on that subject's own event or censoring outcome. This allows the weighted counting-process martingale argument to be applied conditionally on the learned weights.
Assumption E.4. Fix a time horizon . For the query point and for every covariate value receiving positive KESurv weight, the conditional event-time distribution is absolutely continuous on with event hazard . The event hazard is uniformly bounded: there exists such that
for all such (including ). In addition, the conditional censoring survival function is positive on : there exists such that
for all covariate values receiving positive KESurv weight. The absolute-continuity condition implies that distinct subjects have no common event times with probability one, which is used in the martingale orthogonality and jump-size arguments.
Assumption E.5. The selected and positively weighted observations are locally homogeneous with respect to the target event hazard at x:
This condition plays the same role as the shrinking-neighborhood or bandwidth condition in kernel and nearest-neighbor survival estimators (Beran, 1981; Dabrowska, 1989; Akritas, 1994; Chen, 2019).
Assumption E.6. The KESurv weights do not concentrate on finitely many observations:
statML
Equivalently, the effective local sample size
diverges in probability. This is analogous to standard local-smoothing requirements in nearest-neighbor and kernel survival estimation (Akritas, 1994; Chen, 2019).
Assumption E.7. There exists c > 0 such that
This condition ensures that the weighted Kaplan–Meier estimator is evaluated on time intervals where the local weighted risk set is nondegenerate.
The assumptions above separate standard survival-estimation requirements (Assumptions 1, 2, 4, and 7) from KESurv-specific requirements (Assumptions 3, 5, and 6) (Kaplan and Meier, 1958; Beran, 1981; Dabrowska, 1989; Athey et al., 2019; Fleming and Harrington, 1991; Andersen et al., 1993; Akritas, 1994; Chen, 2019). The consistency theorem should therefore be interpreted as follows: if the base survival learners and the ANN forest weights produce neighborhoods that become increasingly local in survival behavior while retaining a diverging effective sample size, then the KESurv weighted Kaplan–Meier estimator consistently estimates the target patient-specific survival curve. The theorem does not claim that KESurv uniformly dominates random survival forests or other survival estimators; rather, it establishes that the proposed weighting mechanism is compatible with standard nonparametric survival-estimation theory under appropriate locality, censoring, and effective-sample-size conditions.
Scope and bias–variance interpretation.. Theorem 1 concerns the honest/cross-fitted construction satisfying Assumption 3. It does not establish consistency of the no-split implementation used in the reported experiments. The proof separates cumulative-hazard estimation error into local bias and martingale fluctuation. Assumption 5 bounds the local bias by , which vanishes as the positively weighted neighborhood becomes homogeneous in event hazard. Assumption 6 makes vanish, while Assumption 7 keeps the weighted risk denominator nondegenerate. Together, these conditions control the stochastic term. They describe the required balance between locality and effective sample size, rather than guaranteeing that every choice of base learners or tuning parameters achieves it.
E.2 Uniform Consistency
Let
denote the conditional cumulative event hazard at the query point. Define the weighted Nelson–Aalen-type estimator
This estimator is the weighted analogue of the Nelson–Aalen cumulative hazard estimator and is closely connected to the Kaplan–Meier product-limit estimator (Fleming and Harrington, 1991; Andersen et al., 1993). Throughout, the tuning parameters ( , m) are treated as fixed or, more generally, as n-dependent choices ( , ) for which the induced KESurv weights satisfy Assumptions 5–7.
statML
Theorem E.8 (Uniform consistency of KESurv). Under Assumptions 1–7,
Proof. The proof follows the standard structure used for conditional Kaplan–Meier and kernel survival estimators: first establish uniform convergence of a local cumulative hazard estimator, then transfer this convergence through the product-limit map (Beran, 1981; Dabrowska, 1989; Chen, 2019). Under conditional independent censoring, the counting-process representation gives
where is a martingale with respect to the observed filtration (Andersen and Gill, 1982; Fleming and Harrington, 1991; Andersen et al., 1993). By the honest or cross-fitted construction in Assumption 3, the weights may be treated as fixed predictable quantities when applying the martingale argument conditionally on the weight-generating information. Let
By Assumption 7, . On the event , the weighted risk denominator is uniformly positive, and substituting the counting-process decomposition into the weighted cumulative hazard estimator gives
Subtracting the target cumulative hazard yields
where
is the local bias term, and
is the martingale term. We first control the bias term. On the denominator is positive. Because
we have, for all ,
statML
By Assumption 5,
Therefore,
We next control the martingale term. On the predictable variation of is bounded by
There are no cross-variation terms because, conditional on the weight-generating information, the subject-specific martingales are orthogonal, having no common event jumps under the absolute-continuity condition in Assumption 4. By Assumption 4, the event hazard is uniformly bounded by on . Thus
It follows that
By Assumption 6,
and hence
Lenglart's domination inequality then implies
conditionally on the weight-generating information, and therefore also unconditionally (Lenglart, 1977; Fleming and Harrington, 1991; Andersen et al., 1993). Combining the bias and martingale bounds gives
It remains to transfer the result from cumulative hazards to survival functions. The KESurv estimator is the product-integral transform of , while the target survival function is the product-integral transform of (Fleming and Harrington, 1991; Andersen et al., 1993). On , is finite because the event hazard is bounded. Moreover, on the maximal jump of is bounded by
The inequality uses the no-common-event-time condition in Assumption 4, which implies that at most one subject has an event at any event time with probability one. Since
statML
the jumps of the estimated cumulative hazard vanish. The continuity of the product-integral map under uniform convergence of cumulative hazards with vanishing jumps then yields
This proves the theorem.