WorksMathematics
Poisson Super Learning For Survival And Competing Risks On A Discretized Time Scale
Abstract
We introduce the Poisson Super Learner, a scalable ensemble method for survival and competing risks prediction with right-censored data. The approach exploits the correspondence between the likelihood of piecewise-constant hazard models and the Poisson likelihood. After expanding the data over a chosen time partition, candidate hazard learners are trained under a common Poisson loss, and cross-validated log-hazard predictions are combined by a Poisson meta learner. The resulting ensemble is a geometric combination of candidate hazards, and can be used to estimate survival probabilities and cause-specific absolute risks. The Poisson Super Learner framework is modular and can in principle incorporate any learner that can estimate interval-specific hazards, including parametric, penalised, additive, and other machine-learning hazard models. Training targets the cause-specific hazard directly and does not require explicit modelling of the censoring distribution. For competing risks, separate cause-specific ensembles are fitted and subsequently combined to obtain individualised cumulative incidence predictions. We illustrate the approach using data from the Steno Diabetes Center collected between 2005 and 2022 to predict cardiovascular disease risk in patients with type 1 diabetes from detailed covariate information. The applied analysis is complemented by simulation studies designed to reflect key features of the data and to examine the behaviour of the method under controlled settings. All analyses were implemented using the freely available R software package poissonsuperlearner.
Introduction
Individualised prediction of time-to-event outcomes usually requires absolute risk estimates at clinically relevant time horizons. In competing-risks settings, these risks can be obtained by combining the cause-specific hazards for the event of interest and for the competing events [4]. The statistical problem is therefore not only to estimate flexible hazards, but also to choose among candidate hazard estimators in a way that is targeted to prediction. Super Learning provides a principled framework for this problem [19, 11]. Given a library of candidate algorithms and a loss function, cross-validation is used to construct an ensemble whose asymptotic performance is motivated by the oracle property. For right-censored time-to-event data, however, the choice of target and loss is central: survival probabilities and absolute risks are derived from hazard rates over time, while the observed follow-up may be censored before the prediction horizon. In this article, we introduce the Poisson Super Learner, a likelihood-based ensemble method for survival and competing-risks prediction on a discretized time scale. Follow-up is partitioned into intervals and the cause-specific hazards are represented as piecewise constant on this partition. Under this representation, the counting-process likelihood is proportional to a Poisson likelihood [1 ch. 5]. Piecewise exponential models can be embedded in generalised additive models [6, 3] and include multidimensional penalised hazard models [7] and neural-network models parameterised on a fixed time partition [12]. Our contribution is different: rather than proposing one new hazard model, we use the Poisson likelihood to combine many candidate hazard learners under a common cross-validated criterion. The Poisson Super Learner trains each candidate learner, collects cross-validated log-hazard predictions, and estimates a Poisson meta learner based on the Poisson negative log-likelihood loss. The resulting ensemble is a geometric combination of the candidate hazards. Survival probabilities and absolute risks are then obtained as derived quantities from the estimated cause-specific hazards. In competing-risks problems, separate cause-specific ensembles are fitted and combined to obtain predictions of absolute risks.
Relation to existing Super Learners for time-to-event data
Existing Super Learner approaches for censored time-to-event data differ mainly in the prediction target and loss function. Polley and van der Laan [ [15] introduced a discrete-time Super Learner based on a longitudinal data representation in which conditional event probabilities are estimated interval by interval using binary outcome learners. Golmakani and Polley [ [9] proposed a Super Learner within the Cox proportional hazards framework, where ensemble weights are estimated by minimising the cross-validated negative log partial likelihood. Westling et al. [ [20] proposed an ensemble targeting the entire conditional survival curve by minimising an integrated weighted Brier score, which requires either a censoring model or coupled estimation of survival and censoring distributions. Munch and Gerds [ [13] proposed a joint survival learner that treats censoring as an additional state and selects among tuples of event and censoring learners. Pseudo-observation-based Super Learners use transformed survival or cumulative-incidence outcomes for the second-stage ensemble [17], but this preprocessing can complicate monotonicity and range restrictions for predicted risks [11]. The Poisson Super Learner instead targets the cause-specific hazards directly. Its training criterion is the Poisson likelihood for the piecewise-constant hazard model, so the ensemble is formed on the hazard scale and does not require explicit modelling of the censoring distribution.
Contribution and outline
The contributions of this article are threefold. First, we formulate Super Learning for discretized-time hazard regression through the piecewise-constant hazard and Poisson likelihood representation. Second, we propose a Poisson meta learner that combines cross-validated log-hazard predictions, yielding a geometric ensemble of candidate hazard models. Third, we show how the resulting cause-specific ensembles can be used to obtain individualised survival and competing-risks predictions, and evaluate the method in simulation studies and in an application to cardiovascular risk prediction in patients with type 1 diabetes. The remainder of the article is organised as follows. Section 2 gives a high-level overview of the Poisson Super Learner algorithm. Sections 3–7 introduce the competing-risks framework, the Poisson representation, the cross-validation procedure, the Poisson meta learner, and prediction of survival probabilities and cumulative incidence functions. Section 6 introduces the discrete Poisson Super Learner, a cross-validated selector version of the method. Section 8 reports simulation studies, Section 9 presents the Steno Diabetes Center application, and Section 10 discusses limitations and extensions.
Overview of the Poisson Super Learner
This section provides a high-level description of the Poisson Super Learner algorithm for computing risk predictions; details are provided in the following sections. Suppose we observe independent right-censored time-to-event observations with baseline covariates, and let index the event types, that is the outcome event and the competing risks. For the setting includes right-censored survival data without competing risks. Suppose given a library of candidate learners for the cause-specific hazard functions. The construction has two stages. First, candidate learners of the hazard functions (also called base learners in the sequel) are trained using cross-validation under the Poisson likelihood loss. Second, the cross-validated log-hazard predictions are used to construct a Poisson meta learner. The meta learner combines the learners directly on the hazard scale, yielding a geometric ensemble.
Step 1: Ensemble hazard estimation
Choose a prediction horizon .
Partition the interval into smaller intervals based on a grid of time points
For each individual and interval, compute the event indicator and the time at risk.
Split the observations of the data into folds .
For each cause and each fold : (a) Estimate each base learner using the observations not contained in . (b) Predict the interval-specific cause-specific hazards for the observations in the held-out fold . (c) Store the corresponding cross-validated log-hazard predictions.
For each cause , collect the cross-validated log-hazard predictions from all folds. These predictions form the level-one data for the meta-learning step.
Fit a Poisson meta learner for each cause. The meta learner uses the cross-validated log-hazard predictions as covariates and is trained under the same Poisson likelihood. With a linear predictor in the log-hazards, the resulting ensemble hazard is a geometric combination of the candidate hazard estimates.
Re-estimate each base learner on the full data set. The resulting base-learner estimates together with the estimated meta learner define the Poisson Super Learner.
Step 2: Out-of-sample hazard and risk prediction
For a new observation:
For each cause and interval, obtain the predicted hazard from each base learner estimated on the full data.
Combine the base-learner hazard predictions to obtain the ensemble predictions of the cause-specific hazards corresponding to the Poisson meta learner.
Map the predicted cause-specific hazards into absolute risks of the competing risks at time . Without competing risks calculate predicted survival probabilities by subtracting absolute risks from 1.
General framework
Let denote a vector of covariates, the event time, the censoring time, and the event type, where . We observe and where denotes censoring and denotes an observed event of type . Our goal is to construct an ensemble estimator for the cause-specific hazard functions
We assume that censoring is conditionally independent of the event time and event type given the baseline covariates.
We consider a competing risks setting with independent and identically distributed observations , . Let
be a partition of . For , define the interval indicator function
For individual in interval we denote the event indicator for cause by
and the total time at risk by
We consider piecewise-constant approximations of the cause-specific hazard as a function of time:
for . Under the piecewise-constant approximation, the log-likelihood terms depending on are
This is the log-likelihood of a Poisson model for interval-specific event counts with mean . Equivalently, for intervals with , under a log link this corresponds to a Poisson regression model with offset . Intervals with have zero likelihood contribution. We define the corresponding loss as the negative log-likelihood,
For any function , let denote the empirical mean. The empirical risk for cause is therefore
The piecewise-constant hazard approximation does not require a particular functional form of , nor does it require that this function be indexed by a finite-dimensional parameter. The only requirement is that each candidate model provides interval-specific hazard estimates on the chosen time partition. This representation allows a broad range of candidate hazard estimators for that solve the minimisation problem
where denotes the class of admissible functions for the candidate hazard estimator. This class may encode restrictions on the functional form, smoothness, regularisation, or other learner-specific constraints. An example is the Highly Adaptive Lasso model described by Rytgaard et al. [ [16].
Base learners
For each cause , consider a library of candidate hazard learners. Learner estimates the cause-specific hazard over a learner-specific class . Using the Poisson loss in (2), we write the corresponding estimator as
The resulting piecewise-constant hazard estimate is
The class may impose learner-specific restrictions on functional form, smoothness, or regularisation. In the following subsection, we describe the learner classes used in the empirical analyses.
Learners used in the empirical analyses
For the learner families used in the empirical analyses, we parametrise the interval-specific hazard through a learner-specific function of the covariates , indexed by a parameter vector . Specifically,
where denotes the learner-specific parameters. The form of and depends on the learner family. The corresponding piecewise-constant hazard is
Let denote the learner-specific parameter space, so that
For these parametrised learners, the minimisation problem in Equation (3) becomes
The resulting hazard estimator is
For generalised linear model learners, we use the log-linear predictor
where
The parameters represent interval-specific baseline effects, while
contains the corresponding covariate effects. For an elastic-net-type learner [18], the learner-specific parameter space takes the form
where is a hyperparameter that determines the strength of regularisation, with smaller values corresponding to stronger regularisation, and determines the mixture between ridge and lasso regularisation. The special cases and correspond to lasso and ridge constraints, respectively. For a generalised additive model learner [21], we partition the covariate indices into two disjoint sets
where contains the covariates entering through smooth effects and contains the covariates entering linearly. The predictor is then written as
Here, is an interval-specific baseline effect, denotes the smooth effect of covariate for cause in learner , and is the linear coefficient of the -th covariate. Here, collects the interval-specific baseline effects, the linear coefficients, and the spline-basis coefficients representing the smooth components. For the GAM learner, define
A constrained parameter space is then
where . In practice, the GAM learner is implemented through a penalised spline representation, where smoothing parameters control the flexibility of the fitted functions.
V-Fold Cross-Validation
In this section, we describe how out-of-sample predictions are obtained from each candidate hazard learner using cross-validation. These predictions are evaluated under the Poisson loss and form the level-one data for the Poisson Super Learner [5]. Within each cross-validation fold, two steps are carried out: first, the base learners are estimated on the training portion of the data; second, predictions are generated for the held-out fold. We index the folds with and denote by
the validation set in the -th fold, so that
For each fold , we define the corresponding training set by
The folds are defined at the subject level. Thus, all rows corresponding to a given individual are kept together in either the training or validation split. In the remainder of the manuscript, we refer to as the -th training split and to as the -th fold or validation split. The empirical distributions of the training and validation data are denoted by and , respectively. We use to denote the validation fold containing individual , with .
Estimating the base learners on the training folds
For each cause , learner , and fold , the base learner is estimated using only the training observations in . We denote the corresponding fold-specific hazard estimator by
where . Here, is the negative Poisson log-likelihood loss defined in Equation (2). Learner-specific tuning parameters are selected using only the observations in the training data . The resulting fold-specific piecewise-constant hazard estimate is
Predicting on the validation folds
For each individual , cause , interval , and base learner , the learner estimated using the corresponding training set is used to compute the validation-set log-hazard prediction
Collecting these predictions over all learners gives the vector . Repeating this procedure over all folds yields, for every individual , cause , and interval , a cross-validated vector of log-hazard predictions . These predictions are out-of-sample in the sense that is computed from models estimated without using observation . We denote the level-one data for cause as
These data retain the interval-specific event indicators and times at risk from the discretized representation in § 3, but differ in two respects. First, the cross-validated log-hazard predictions from the base learners replace the original covariates . Second, the level-one data used to construct the Poisson meta learner are cause-specific.
Tuning and library construction
The Poisson Super Learner involves two types of tuning choices. The first are global configuration choices, such as the number of intervals in the time partition and the number of cross-validation folds . The second are learner-specific tuning parameters, such as penalty parameters in regularised regression or smoothing parameters in GAMs. When a learner has an internal tuning procedure, this tuning is performed inside each training split of the outer cross-validation loop. Other choices are handled by defining multiple candidate learners. For example, lasso and ridge learners correspond to different values of the elastic-net mixing parameter and are treated as separate learners in the library. Computation time increases with the number of intervals, folds, causes, and candidate learners. We examine the sensitivity of prediction performance to the number of intervals and folds in § 3 of the Supplementary Material [14]. A comparison of the computation times of the Super Learner for some fixed configurations, the base learners, and the competing methods is provided in Section 2.3 of the Supplementary Material.
| Input | Description | Parameter range |
| Meta learner | ||
| Number of base-learners | , number of base-learners included in the ensemble. | |
| Number of folds | , number of folds used in internal cross-validation. | |
| Number of intervals | , number of intervals in the time partition. | |
| GLMnet | ||
| Elastic Net Mixing Parameter | , balance between L1 (lasso) and L2 (ridge). yields lasso; yields ridge. | |
| Regularisation Path | , value or sequence of values controlling regularisation. | |
| GAM | ||
| Choice of the basis | Dimension of the basis used for smoothing. |
Table 1. Hyperparameters of the Poisson Super Learner. The first block summarises the hyperparameters of the meta learner, and the remaining blocks summarise the hyperparameters of the base-learner families considered in this article, namely GLMnet, and GAM.
The meta learner
The purpose of the meta learner is to combine the cross-validated out-of-sample log-hazard predictions from the base learners using the negative Poisson likelihood loss. The meta-learning step is formulated as another Poisson regression problem on the level-one data from § 4. We use a linear meta learner on the log-hazard scale. For cause , let
denote the meta learner coefficients, with one coefficient for each of the base learners. We use a time-invariant meta learner which uses the same coefficient for all time intervals. This keeps the meta learner low-dimensional and avoids having to estimate ensemble weights separately in each time interval. For interval , define
The corresponding piecewise-constant meta learner hazard is
where . Because , the interval-specific meta learner hazard can be written as
Thus, the Poisson meta learner combines the candidate hazards on the hazard scale through a multiplicative combination of the base-learner hazard estimates. If the coefficients are nonnegative, the combination has the form of a weighted geometric product. This differs from the standard Super Learner, which typically combines candidate predictions through an additive (arithmetic) mixture [19]. The Poisson loss applied to the level-one data is
This has the same form as the Poisson loss used to fit the base learners, with the original covariates replaced by the cross-validated log-hazard predictions. For each cause , the coefficient vector is estimated by minimising the empirical Poisson loss on the level-one data:
where . The estimated meta learner hazard for cause is
with .
The Discrete Poisson Super Learner
The previous sections define an ensemble that combines candidate hazard learners through a Poisson meta learner. In this section, we introduce the discrete Poisson Super Learner. For each competing risk , it selects the single learner from the library that minimises the cross-validated Poisson loss across the -folds. Let denote the hazard estimate produced by learner using the corresponding training fold. The discrete Poisson Super Learner for each cause , selects
The selected learner for cause is then re-estimated using all observations and used for prediction.
Predictions on new data
Let be the full-sample estimate of base learner for cause . For a covariate vector , compute the log-hazard prediction from each base learner, for and ,
with . The ensemble cause-specific hazard is then
where
Risk predictions
The cause-specific hazard estimates are mapped to estimated survival probabilities and estimated absolute risks using well-known formulae [4, 2]. Let
denote the estimated cumulative cause-specific hazard, and define the survival function
The absolute risk for cause is
For piecewise-constant hazards, this integral has an explicit form (arguments provided in the Supplementary Material). Let
denote the estimated total hazard in interval , and define
Then the estimated absolute risk of an event of cause by time is
with the convention that .
Simulation study
We examine key aspects of the Poisson Super Learner. The study is divided into two parts. The first part focuses on the right-censored survival setting where we have a common basis for comparison with existing benchmark implementations. In this part, we compare the behaviour of the proposed approach with alternative super learning methods. We focus on three main questions. First, we assess whether the Poisson Super Learner performs similar as the best candidate learners included in its library. This corresponds to the oracle property discussed in [11], namely the ability of the Super Learner to perform at least as well as the best learner in the candidate library. In settings where the library contains a learner that is expected to approximate the data-generating process well, we also examine whether the Discrete Super Learner selects this learner. Second, we study how the composition of the learner library affects the prediction performance by comparing a reduced linear library with a richer library that additionally includes a nonlinear additive learner. This comparison is carried out under two simulated scenarios, corresponding respectively to linear and nonlinear structures in the true hazard. Third, we compare the proposed method with existing survival super learning approaches and a proportional-hazards benchmark. We repeat these comparisons across several training sample sizes in order to assess finite-sample behaviour, while evaluating all models on the same large independent test sample. In the second part, we examine the scalability of the proposed approach for large data sets. Here, we simulate five data sets from a controlled competing-risks scenario in which the true cause-specific hazard satisfies the assumptions of a standard cause-specific Cox model. We then compare the computation time of the Poisson Super Learner with that of the cause-specific Cox model. This analysis is used to assess how the relative computational cost of the proposed approach changes as the sample size increases, thereby illustrating its potential for large-sample applications such as analyses of national registry data.
Data-generating mechanisms
The data-generating mechanisms were chosen to reflect key features of the Steno type 1 diabetes cohort analysed in § 10, while allowing the true signal structure to be controlled. The simulator generates hypothetical patients with baseline covariates motivated by the real application and dependence patterns induced through a structural equation model [Holst and Budtz-Jørgensen, 2013]. We consider two scenarios that share the same baseline covariate distribution, censoring mechanism, and competing-risk hazard, but differ in how the cause 1 event hazard is generated:
In Scenario Alpha, the cause 1 hazard depends linearly on all covariates.
In Scenario Beta, the linear effects of age and LDL cholesterol on the cause 1 hazard are supplemented by nonlinear hinge-squared terms.
The comparison between the two settings therefore isolates the effect of additional flexibility in the learner library when the cause 1 hazard departs from linearity.
Poisson Super Learner variants and component learners
We compare two Poisson Super Learner ensembles, the discrete version, and the individual learners entering the Poisson Super Learner library. This allows us to separate the effect of library composition from the effect of hazard-scale ensemble construction. All methods are fitted using the same baseline covariates and the same time partition. The full learner library consists of four learners: an unpenalised generalised linear model (GLM), a lasso-penalised generalised linear model (Lasso), a ridge-penalised generalised linear model (Ridge), and a generalised additive model (GAM). The Poisson Super Learner using this library is denoted PSL-Full. The corresponding discrete version, which chooses the single learner with the lowest cross-validated Poisson loss, is denoted Discrete-PSL. We also consider a reduced linear learner library containing only GLM, Lasso, and Ridge; the Poisson Super Learner using this reduced library is denoted PSL-Linear. Thus, PSL-Full and PSL-Linear differ only in whether the nonlinear GAM learner is included. Comparing the Poisson Super Learner with a richer learner library to its reduced version based only on generalised linear learners then shows when additional flexibility is beneficial and when a simpler library is sufficient.
External benchmark methods
We compare the Poisson Super Learner variants with four external benchmark methods for right-censored survival prediction. The benchmarks were chosen to represent both standard survival modelling and recently proposed ensemble approaches for time-to-event outcomes. Throughout the simulation results, we use the labels Cox, JoSL, survSL, and Pseudo SL for these methods.
Cox. As a standard regression benchmark, we fit a Cox proportional hazards model. The Cox model was specified using knowledge of the simulation design and should therefore be interpreted as a strong design-informed benchmark. In Scenario Alpha, the model includes the baseline covariates as linear terms. In Scenario Beta, the model additionally includes the nonlinear age and LDL cholesterol terms used in the event-generating mechanism. Thus, the Cox benchmark is deliberately favourable, especially with respect to the scenario-defining effects.
JoSL. We include the joint survival learner of Munch and Gerds [2026], denoted JoSL. This method evaluates combinations of learners for the event and censoring mechanisms. In our implementation, the learner library consists of an intercept-only model, a Cox proportional hazards model, and a penalised Cox model for both the event and censoring components. Because this library is based primarily on linear and penalised regression structures, we expect JoSL to behave similarly to methods based on the reduced linear library, especially in Scenario Alpha.
survSL. We also include the continuous-time survival Super Learner of Westling et al. [2024], denoted survSL. This method targets the conditional survival curve and uses an integrated Brier-score criterion. We use Kaplan–Meier, Cox, and generalised additive model learners for both the event and censoring models, with three cross-validation folds.
Pseudo SL. Finally, we include a pseudo-observation-based Super Learner, denoted Pseudo SL, based on Sachs et al. [2019]. This approach provides a conceptually different route to ensemble prediction: pseudo-observations derived from nonparametric survival or cumulative-incidence estimators are used as outcomes in a second-stage prediction model. In our implementation, the learner library consists of a generalised linear model, a penalised generalised linear model, and a generalised additive model. For prediction at five years, pseudo-observations are computed on the grid .
Performance measure
All methods are evaluated at the same prediction horizon of 5 years and on the same large test sample within each simulated scenario, using the Index of Prediction Accuracy (IPA, Gerds and Kattan, 2021) as performance measure. The IPA is a scaled Brier-score measure. It compares the prediction error of a model with that of a null model that assigns the same risk to all individuals. An IPA of 0 corresponds to the null model, while larger values indicate better prediction accuracy. In formula, the Index of Prediction Accuracy (IPA) for cause is defined as
where is the Brier score for the time-to-event model being evaluated, while is the Brier score for a reference model, here the null model with no covariates. In right-censored settings, as in the real data application, the Brier score can be calculated using inverse probability of censoring weighting (IPCW). Because the uncensored event times were available in the simulation, prediction accuracy was evaluated without estimating the censoring distribution. This isolates prediction performance from additional variability due to IPCW estimation. Specifically, each fitted model was evaluated at on an independently simulated test sample using the binary outcome . The Brier score of a fitted model was calculated as
The null model assigned every subject the same absolute-risk prediction, equal to the empirical proportion of subjects experiencing event by time 5 in the uncensored test sample: .
Results
Figures 1 and 2 show the average IPA scores across 80 simulation replicates for Scenarios Alpha and Beta, respectively. Rows correspond to the training sample sizes and columns to the methods under comparison. Darker colours indicate higher IPA values and hence better predictive performance. In each figure, the left panel contains the Poisson Super Learner variants and their component learners, while the right panel contains the external benchmark methods. Across both scenarios, prediction performance generally improved with increasing training sample size. Since all methods were evaluated on the same fixed large test sample within each scenario (10000), this pattern reflects the increased amount of information available for model fitting rather than changes in the evaluation distribution. The sample size trend should therefore be viewed primarily as a finite-sample diagnostic. The main comparisons concern how the Poisson Super Learner behaves relative to its component learners, how the learner library affects performance, and how the proposed method compares with external benchmarks. In Scenario Alpha, where the event hazard is approximately linear in the covariates, PSL-Linear and PSL-Full performed similarly. This is expected because the reduced linear library already contains learners well aligned with the data-generating mechanism. The individual GLM, Lasso, and Ridge learners also performed similarly, and the Poisson Super Learner variants tracked these strong library members. Thus, adding the nonlinear GAM learner did not materially improve performance in the approximately linear scenario, but it also did not substantially degrade performance. The external benchmarks showed a similar pattern in Scenario Alpha. Cox performed well, as expected, because it was specified using knowledge of the approximately linear event-generating mechanism. JoSL also performed competitively, consistent with its use of linear and penalised Cox-type learners. The survSL benchmark performed well, while Pseudo SL was less competitive. Overall, in the approximately linear setting, the proposed Poisson Super Learner was competitive with the strongest benchmark methods and behaved similarly to the strongest learners in its own library. In Scenario Beta, where the event hazard included nonlinear effects of age and LDL cholesterol, the methods capable of representing nonlinear structure performed best. Within the Poisson Super Learner family, PSL-Full clearly outperformed PSL-Linear across the investigated sample sizes. This difference was driven by the inclusion of the GAM learner, which was well matched to the nonlinear signal and was the strongest individual learner in the full library. The performance of PSL-Full was close to that of GAM, showing that the ensemble adapted to the strongest available nonlinear learner. The Discrete-PSL also performed close to the strongest full-library learners, particularly at larger sample sizes. Among the external benchmarks in Scenario Beta, Cox remained a strong competitor because it included the nonlinear terms used in the data-generating mechanism. The survSL method also performed well. In contrast, JoSL and Pseudo SL improved with increasing sample size but remained below the best-performing methods in this scenario. These results suggest that the richer Poisson Super Learner library is beneficial when the true hazard structure departs from linearity, provided that the library contains learners capable of capturing the relevant nonlinear effects. Taken together, the simulation study supports two conclusions. First, the results of the Poisson Super Learner were consistent with the oracle motivation of Super Learning: the ensemble performed similarly to the strongest candidate learner across the investigated settings. Second, learner-library composition mattered: the reduced linear library was sufficient in the approximately linear scenario, whereas the full library was preferable when the hazard contained nonlinear effects.

Figure 1. Scenario Alpha. Average IPA scores for increasing sample sizes (y-axis) for the different methods (x-axis).
Results on the scalability of the Poisson Super Learner
Piecewise-constant hazard models are computationally attractive in large data sets with categorical covariates, since observations sharing the same covariates can be aggregated. We refer to this well-known property as the computational scalability of Poisson regression models; see § 2 of the Supplementary Material and [1 p. 225]. In this section, we assess the computational scalability of the proposed approach empirically in a controlled competing-risks setting. We simulate data from scenario Alpha with sample sizes , 10000, 100000, 500000, and 1000000. To demonstrate our point, we compare four models. The first, CSC-Cox, is a cause-specific Cox model fitted to the synthetic version of the original covariates listed in Table 2. It satisfies the assumptions of the data generator and serves as a correctly specified benchmark. We fit it using coxph from the R package riskRegression. The second, GLM-cont, is an unpenalised Poisson generalised linear model using the same covariates. The third, GLM-disc, uses the same model after discretising the numeric covariates by rounding them down to the nearest integer using floor. The fourth model is the Poisson Super Learner, also fitted to the discretised covariates. For the cause of interest, its library comprises unpenalised, lasso-penalised, and ridge-penalised Poisson generalised linear models; for the competing event, it comprises unpenalised and lasso-penalised models. Penalty parameters are selected by internal cross-validation. The Super Learner uses and 3 time knots. Figure 3 shows the average runtime of each fitted model relative to CSC-Cox as the training sample size increases, computed over 10 refits on the same data. The choice of 10 refits was based on the experiment reported in Section 2.4 of the Supplementary Material, where the benchmark model was refitted 30 times to data from scenario Alpha with sample size 100000. In that experiment, the variability of the average runtime was negligible after 10 refits. The reference runtime of CSC-Cox is represented by the horizontal line at . The relative runtime decreases with increasing sample size for the Poisson-based models. Comparing GLM-cont and GLM-disc, the results show that discretising the covariates reduces computation time. This reduction is most pronounced for large sample sizes, where GLM-disc is faster than the CSC-Cox benchmark. Absolute runtimes in seconds are provided in Section 2.4 of the Supplementary Material. Predictive performance was essentially unchanged: across all sample sizes, the Poisson-based models achieved Brier scores comparable to those of the correctly specified CSC-Cox benchmark; see § 2 of the Supplementary Material. The simulation study presented in this section further motivates the Poisson Super Learner. In the spirit of piecewise-constant regression, discretising the covariates allows the proposed approach to use computationally inexpensive model configurations, improving computational efficiency relative to approaches based on the partial likelihood without materially affecting predictive performance.

Figure 3. Average computation time relative to the cause-specific Cox model, CSC-Cox, by training sample size, based on five data sets from Scenario Alpha. Average computation times were calculated over ten refits. The horizontal line at denotes the CSC-Cox benchmark. The Poisson-based models are PSL-disc, GLM-cont, and GLM-disc.
Table 2: Baseline covariates of the Steno data set of patients with type 1 diabetes. The covariates are listed in column 1 and described in column 2. Column 3 reports the levels of the categorical covariates. Columns 4 and 5 report the distribution of the categorical covariates in the training and test sets, respectively, or the median and interquartile range in brackets for the continuous covariates.
| Variable | Description | Level | Train: 2005-2014 (n=3583) | Test: 2015-2022 (n=1238) |
sex | Gender | Woman | 1653 (46.1) | 577 (46.6) |
age | Age | 43.5 [31.6, 55.4] | 31.7 [22.1, 48.1] | |
diabetes_duration | Duration of diabetes (years) | 19.7 [10.6, 31.1] | 10.6 [3.8, 20.8] | |
value_SBP | Systolic blood pressure (mmHg) | 131 [120.0, 143.5] | 124 [116, 133] | |
value_LDL | LDL cholesterol (mmol/L) | 2.4 [1.9, 2.9] | 2.3 [1.9, 2.9] | |
value_HBA1C | HbA1c (mmol/mol) | 64 [56, 74] | 60 [52, 70] | |
value_Smoking | Smoking habit | Yes | 1,042 (29.1) | 292 (23.6) |
value_Motion | Physical activity | Yes | 2,472 (69.0) | 846 (68.3) |
value_Albuminuria | Albuminuria status | Normal | 2,939 (82.0) | 1,106 (89.3) |
value_Albuminuria | Albuminuria status | Micro | 485 (13.5) | 100 (8.1) |
value_Albuminuria | Albuminuria status | Macro | 159 (4.4) | 32 (2.6) |
eGFR | Estimated glomerular filtration rate (mL/min/1.73m²) | 107 [93.4, 118.3] | 114.5 [102.0, 126.9] |
Table 2.

Figure 2. Scenario Beta. Average IPA scores for increasing sample sizes (y-axis) for the different methods (x-axis).
Data application on the real data
In this Section, we apply our methods to the data set of 4821 adult patients with type 1 diabetes form Steno Diabetes Center Copenhagen, Herlev, Denmark. The data were collected between 2005 and 2022 from electronic patient records and linked with national register data through a personal identification number to get information on diagnosis codes, death and emigration during follow-up until 30 April, 2022. We split the data into a training set comprising 3583 observations from the calendar years 2005 to 2014 and a test set comprising 1238 observations from the calendar years 2015 to 2022. Our aim is to study the time to the first occurrence of cardiovascular disease in the presence of a competing event, namely non-CVD death, using a set of individual measurements as baseline covariates. Patients with type 1 diabetes have an increased risk of developing cardiovascular disease, and this risk is influenced by their individual characteristics. The baseline covariates are summarised in Table 2. The second column provides a description of each covariate. The covariates include clinician-assessed measurements, such as albuminuria status and estimated glomerular filtration rate; biological characteristics, such as age; and lifestyle factors, such as smoking behavior. For categorical covariates, Table 2 reports the different levels (column 3) and their distributions in the training and test sets (columns 4 and 5). For continuous covariates, the table reports the median and interquartile range in the training and test sets (columns 4 and 5). The Poisson Superlearner and the Discrete Poisson Superlearner considered in this section are constructed using cause-specific libraries of learners. For cause 1, we use the same library of learners as described in § 8 for PSL-Linear. For cause 2, we consider a library comprising two learners: an unpenalised generalised linear model including the covariates sex and age, and a generalised additive model in which the continuous covariate age is modelled using a spline term. This choice is motivated by the small number of subjects experiencing the competing event and by considerations of computational efficiency. We refer to the Poisson Superlearner as PSL and to the Discrete Poisson Superlearner as Discrete-PSL. Table 3 reports the IPA scores by prediction horizon and model. The PSL and the Discrete-PSL are compared with the Cause-Specific Cox model (CSC) and with four individual candidate models: GLM, GAM, Lasso, and Ridge. Each of these individual candidate models is fitted using all covariates for both causes. By contrast, the Discrete-PSL is constructed through a cause-specific selection procedure: for each cause, it selects the learner with the lowest cross-validated Poisson deviance from the corresponding learner library described above. For each prediction horizon, the score of the best-performing model is highlighted in bold. The Ridge model performs best at prediction horizons 1, 4, and 5. The GAM performs best at prediction horizons 6 and 7, while the CSC model performs best at prediction horizons 2 and 3. Although the PSL does not achieve the highest score, its performance is close to that of the best-performing individual model at different prediction horizons, namely Ridge at earlier horizons and GAM at later horizons. The Discrete-PSL performs worse than the PSL.
Table 3: Integrated prediction accuracy (IPA, %) by prediction horizon and model. For each prediction horizon, the highest IPA value is shown in bold.
| Model | Prediction horizon | ||||||
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | |
| Null model | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
| GLM | 2.6 | 3.5 | 5.7 | 8.5 | 7.0 | 9.7 | 8.1 |
| GAM | 1.9 | 3.3 | 5.7 | 8.0 | 7.1 | 11.0 | 9.3 |
| Lasso | 2.5 | 3.5 | 5.7 | 8.5 | 7.1 | 9.7 | 8.1 |
| Ridge | 2.9 | 3.7 | 6.0 | 8.7 | 7.4 | 10.1 | 8.3 |
| PSL | 2.3 | 2.8 | 6.0 | 8.3 | 7.2 | 10.3 | 8.2 |
| Discrete-PSL | 0.9 | 1.8 | 5.4 | 7.6 | 6.1 | 9.4 | 7.6 |
| CSC | 2.8 | 3.8 | 6.2 | 8.5 | 6.9 | 9.7 | 8.2 |
Table 3.
Discussion and conclusions
We introduced the Poisson Super Learner, a Super Learner framework for cause-specific hazard estimation on a discretized time scale. Across the investigated settings, the Poisson Super Learner performed similarly to the strongest candidate learners in its library. The results also showed that library composition matters: a reduced linear library was sufficient when the true hazard structure was approximately linear, whereas a richer library including a nonlinear additive learner improved performance when the event hazard contained nonlinear effects. Compared with existing survival Super Learner approaches and proportional-hazards benchmarks, the proposed method was competitive while retaining a likelihood-based interpretation on the hazard scale. The scalability experiment showed that the relative computational cost of the Poisson-based models decreased with increasing sample size while predictive performance remained comparable to the correctly specified Cox benchmark. In the Steno application, the Poisson Super Learner remained close to the best-performing individual learner or benchmark across prediction horizons, whereas the Discrete Poisson Super Learner performed less well. This illustrates the advantage of combining candidate learners when their relative performance varies across causes or prediction horizons.
In the present implementation, the meta-learner coefficients do not depend on time. A time-varying meta learner could be obtained by allowing to depend on , at the cost of additional parameters and potentially greater instability in intervals with few events. Further extensions include adding more flexible learners to the framework, such as the Highly Adaptive Lasso or eXtreme Gradient Boosting.
Acknowledgments
Approval for access to and use of personal data was obtained from the Capital Region of Denmark’s Data Protection Office (approval no. P-2019-511). Approval for access to electronic patient records was obtained from the Danish Patient Safety Authority (3-3013-2959/1). According to Danish legislation, ethical committee approval and informed consent were not required for this register-based study.
Funding. Gabriele Pittarello is funded by Novo Nordisk Foundation grant NNF23OC0084961.
Supplementary material
Closed-form derivation of the predicted risks under piecewise-constant cause-specific hazards, additional details on the simulation study, and supplementary results for the real-data application.
Software and replication code. The analyses in the manuscript were performed using version 0.2.0 of the R package poissonsuperlearner, available on CRAN. The simulation study was implemented using the targets workflow manager. The replication code and instructions are provided as supplementary material and are also available at gpitt71/replication-material-psl. More material on poissonsuperlearner can be found on the project website https://gpitt71.github.io/poissonsuperlearner/index.html.
References
- [1]Odd O Aalen, Ørnulf Borgan, and Håkon K Gjessing. Survival and event history analysis: a process point of view. Springer, 2008.DOI
- [2]P. K. Andersen, O. Borgan, R. D. Gill, and N. Keiding. Statistical models based on counting processes. Springer, New York, 1993.
- [3]Andreas Bender and Fabian Scheipl. Pammtools: Piece-wise exponential additive mixed modeling tools. arXiv preprint arXiv:1806.01042, 2018.arxiv.org/abs/1806.01042
- [4]Jacques Benichou and Mitchell H Gail. Estimates of absolute cause-specific risk in cohort studies. Biometrics, pages 813–826, 1990.pubmed.ncbi.nlm.nih.gov/2242416
- [5]Leo Breiman. Stacked regressions. Machine learning, 24(1):49–64, 1996.
- [6]Ludwig Fahrmeir and Gerhard Tutz. Multivariate statistical modelling based on generalized linear models. 2nd ed. Springer Series in Statistics. New York, Springer, 2001.
- [7]Mathieu Fauvernier, Laurent Roche, Zoé Uhry, Laure Tron, Nadine Bossard, and Laurent Remontet. Multi-dimensional penalized hazard model with continuous covariates: applications for studying trends and social inequalities in cancer survival. Journal of the Royal Statistical Society: Series C (Applied Statistics), 68(5):1233–1257, 2019.DOI
- [9]Marzieh K Golmakani and Eric C Polley. Super learner for survival data prediction. The International Journal of Biostatistics, 16(2):20190065, 2020.DOI
- [11]Ruth H Keogh, Karla Diaz-Ordaz, Nan van Geloven, Jon Michael Gran, and Kamaryn T Tanner. The super learner for time-to-event outcomes: A tutorial. arXiv preprint arXiv:2509.03315, 2025.arxiv.org/abs/2509.03315
- [12]Håvard Kvamme and Ørnulf Borgan. Continuous and discrete-time survival prediction with neural networks. Lifetime data analysis, 27(4):710–736, 2021.DOI
- [13]Anders Munch and Thomas A Gerds. The joint survival super learner: A super learner for right-censored data. Statistica Neerlandica, 80(2):e70026, 2026.arxiv.org/abs/2405.17259
- [14]Gabriele Pittarello, Thomas Gerds, Pernille Falberg Rønn, and Helene Charlotte Rytgaard. Supplement to ”poisson super learning for continuous-time survival and competing risks”. 2026.
- [15]Eric C. Polley and Mark J. van der Laan. Super learning for right-censored data. In Mark J. van der Laan and Sherri Rose, editors, Targeted Learning: Causal Inference for Observational and Experimental Data, chapter 16, pages 249–258. Springer, New York, 1 edition, 2011.DOI
- [16]Helene C Rytgaard, Thomas A Gerds, and Mark J van der Laan. Continuous-time targeted minimum loss-based estimation of intervention-specific mean outcomes. The Annals of Statistics, 50(5):2469–2491, 2022.arxiv.org/abs/2105.02088
- [17]Michael C Sachs, Andrea Discacciati, Åsa H Everhov, Ola Olén, and Erin E Gabriel. Ensemble prediction of time-to-event outcomes with competing risks: A case-study of surgical complications in crohn’s disease. Journal of the Royal Statistical Society Series C: Applied Statistics, 68(5):1431–1446, 2019.arxiv.org/abs/1902.02533
- [18]J. Kenneth Tay, Balasubramanian Narasimhan, and Trevor Hastie. Elastic net regularization paths for all generalized linear models. Journal of Statistical Software, 106(1):1–31, 2023. doi: 10.18637/jss.v106.i01.DOI
- [19]Mark J Van der Laan, Eric C Polley, and Alan E Hubbard. Super learner. 2007.
- [20]Ted Westling, Alex Luedtke, Peter B Gilbert, and Marco Carone. Inference for treatment-specific survival curves using machine learning. Journal of the American Statistical Association, 119(546):1541–1553, 2024.DOI
- [21]Simon N Wood. Generalized additive models: an introduction with R. chapman and hall/CRC, 2017.