arXiv:2610.12538cs.LGOct 2026

Manuscript Offprint

arXiv:2610.12538

Efficient Learning of Survival Analysis Models Under Outcome-Dependent Truncation and Censoring

Itai Zilberstein, Ioannis Anagnostides, Arman Kilic, Tuomas Sandholm

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Modern machine learning models are typically trained on data assumed to be representative of the predictive tasks the model will face in the future, but practical datasets violate this assumption. We focus on outcome-dependent truncation in which an observation appears in the training data depending on its label. Our work connects two largely distinct literatures: efficient learning under truncation and survival analysis. Existing methods for truncated survival analysis do not characterize the optimization landscape and instead rely on iterative procedures such as expectation maximization. We address this gap and prove that Cox regression can be efficiently learned under truncated and right-censored data using first-order optimization when the baseline hazard is known (despite nonconvexity). In contrast, when the baseline hazard is learned jointly, we construct identifiable and correctly specified models whose negative log-likelihood contains strict suboptimal local minima. On experiments with four survival datasets, we show that accounting for truncation reduces the prediction bias induced by naive Cox regression and extends to neural networks. We also show orders of magnitude speedups compared to standard expectation maximization.

∗^{*}Correspondence to izilbers@cs.cmu.edu.

1 Introduction

Modern machine learning models are typically optimized using large amounts of data that are assumed to be representative of the predictive tasks the model will face in the future. However, many practical datasets violate this assumption; observations are often selected non-randomly. If this selection is not accounted for during training, bias can propagate into a model's predictions [Vanderschueren et al., 2023]. When predictions inform high-stakes decisions, such as treatment decisions, organ allocation, and financial decision making, these biases can have adverse consequences.

Truncation is a common form of selection bias in which the training data is filtered according to a known (or unknown) mechanism [Tsai et al., 1987, Breen, 1996]. Truncation can take many forms, and we focus on outcome-dependent truncation, in which the data is filtered based on the value of the label. Many different reasons can cause truncation to occur, including constrained data collection, study design, or legal restrictions. For example, a medical study starting today can only enroll patients who are still alive; patients who died beforehand are never observed. More generally, datasets collected based on a selection criterion can overrepresent individuals whose outcomes make them more likely to be selected and observed in training data. Unlike censoring, where an observation remains in the dataset but its outcome is only partially observed (e.g., due to loss of follow-up), truncation removes the observation entirely. Naively fitting a predictive model to the observed samples can yield a model that performs well on the selected samples, but is biased for the underlying population.

Survival analysis is an especially important setting in which truncation and censoring arise together. A survival model predicts a distribution over time until an event occurs for a patient, such as death, disease progression, or graft failure. Survival analysis is particularly relevant in transplantation, where post-transplant outcomes are observed only for patients who are selected to receive an organ, and selection depends in part on characteristics predictive of transplant benefit and survival [OPTN, 2025, Gottlieb et al., 2017, Kamath et al., 2001, Zilberstein et al., 2026b]. Patients predicted to have poor post-transplant outcomes may be less likely to receive a transplant. Conversely, patients predicted to live the longest following a transplant may be healthy enough to remain on the waitlist while more urgent candidates are prioritized, making them less likely to be transplanted. Example 1 illustrates how a selection mechanism can bias a predictive model.

Example 1 (Bias from left truncation). Consider a hypothetical study of graft survival following heart transplantation. Suppose a large historical registry contains transplant outcomes that can be used to estimate the baseline graft survival distribution. A new follow-up study begins three years later to collect additional donor and recipient covariates from patients in this registry. The data for this new study is left truncated: only patients who survive until enrollment can enter the study, while patients who die within the first three years are entirely absent.

We fit a Cox regression model to predict graft survival based on two newly collected covariates. Because graft survival itself determines whether a patient appears in the sample, fitting a standard Cox model produces biased coefficients, as shown in Figure 1. Accounting for the truncation in the likelihood instead recovers the true coefficients. This bias can have important downstream consequences: in our example, the naively trained model substantially overestimates graft survival for some patients. This occurs even without censoring and under simple one-sided left truncation.

There is a long literature in statistical estimation of survival models from truncated data, including left, right, and double truncation, biased sampling, and censoring [Rennert and Xie, 2018, 2022, Shen and Liu, 2019]. These methods provide consistent estimators, but largely focus on statistical identifiability and asymptotic properties rather than the global optimization problem. In practice, learning such a model can be computationally challenging, relying on methods such as expectation maximization (EM) [Rennert and Xie,

Figure

Figure 1: Illustrative example of learning a Cox model with truncated samples. When the likelihood accounts for truncation, SGD converges to the true regression coefficients, whereas the standard Cox likelihood converges to biased parameters (left). The resulting parameter bias can translate into substantial errors in predicted graft survival for individual patients (right).

2018, 2022], which can become costly in high-dimensional settings. In parallel to this body of work, machine learning researchers have developed computationally efficient methods for learning regression models and exponential families from truncated samples [Daskalakis et al., 2019, Ilyas et al., 2020, Lee et al., 2023]. As datasets increasingly grow in size and dimension, efficient methods for learning survival models under truncation is an important intersection of these two literatures. We provide a broader discussion of these two literatures in Section A.

Our contributions We study whether Cox regression can be learned efficiently from outcome-dependent truncated and right-censored data. We consider a general truncation mechanism in which an observation is retained probabilistically if it falls in one of multiple intervals. This captures standard left, right, and interval truncation as special cases, while also permitting disconnected multiple intervals, which may arise from merging multiple data collection processes.

Our main positive result shows that, despite nonconvexity, the population negative log-likelihood has a unique stationary point at the true parameter and its gradient always has a component pointing away from it when the baseline hazard is known (Theorem 7). This implies convergence of projected stochastic gradient descent (SGD) to the true parameter under standard conditions (Corollary 8). The analysis relies on a connection between Cox regression and weighted truncated exponential distributions that remains valid under right censoring.

We then show that these guarantees need not extend to an unknown baseline. In the worst case, the model can become non-identifiable (Example 3). We further show that even when the model is correctly specified, identifiable, and there is no censoring, jointly estimating the regression coefficient and baseline can create a suboptimal local minimum (Theorem 9). We also show that after optimizing over a class of baseline hazards for each regression coefficient, the resulting profiled population loss can be flat and suboptimal over an entire interval of incorrect parameters (Theorem 10).

This characterization highlights when, and when not, Cox regression is efficiently learnable under truncation. A known or accurately estimated baseline hazard can arise naturally from external data. For example, a large disease registry may provide reliable population-level survival information while a smaller study collects richer biomarkers or clinical covariates [Zhou, 2006, Huang et al., 2016, Royston and Altman, 2013]. In such settings, the registry can supply the baseline survival distribution while the smaller, potentially truncated cohort is used to estimate covariate effects.

Finally, we illustrate that our theoretical guarantees translate into practical gains on semi-synthetic experiments with four clinical datasets. Optimizing the truncated Cox likelihood consistently reduces prediction error compared to optimizing the standard likelihood as truncation levels increase. We also show that our results extend practically to neural network survival models, which can be trained efficiently with gradient-based methods under truncation. Compared with a commonly used EM approach, our first-order methods are substantially faster. On an enlarged dataset with hundreds of thousands of observations and thousands of covariates, they reduce training time by roughly 100×100\times while maintaining or improving predictive accuracy.

References (90)