arXiv:2610.24233stat.MLOct 2026

Manuscript Offprint

arXiv:2610.24233

Censored Flow Matching for Synthetic Time-to-Event Generation

Jianbin Tan, Xingran Chen, Kevin He, Zhenke Wu, Bhramar Mukherjee, Anru R. Zhang

Abstract

Generating time-to-event data is increasingly important in survival analysis, but it remains statistically challenging because event times are often censored and thus prevent flexible generative modeling. To fill this gap, we propose a novel method called censored flow matching (CFM), aiming at providing a flexible flow-based generative mechanism for synthesizing time-to-event data as well as learning their corresponding probabilistic densities. Unlike existing methods, CFM does not rely on survival likelihoods to handle censoring, but instead exploits the monotonicity property of differential flows to address censoring via pullback sampling. Under this framework, we implement an alternating procedure between pullback sampling and CFM steps, leading to a flow-based expectation-maximization (EM) algorithm tailored for time-to-event inference. Under mild distributional conditions, we establish the convergence of CFM to the true event-time distribution as the EM iterations proceed. We then apply CFM to generate time-to-event data and estimate their probabilistic densities, where the observed censoring time can be incorporated to provide truncated sampling or truncated density estimation for survival inference. Through extensive simulation studies, we demonstrate the benefits of CFM for complex and large-scale data generation. Finally, we apply CFM to analyze data from the Organ Procurement and Transplantation Network (OPTN) and the Medical Information Mart for Intensive Care IV (MIMIC-IV), showcasing its benefits for synthetic and predictive survival analyses in terms of data fidelity, predictive performance, and empirical privacy characteristics.

Keywords: Flow-based expectation-maximization algorithm, flow matching, ordinary differential equation, survival analysis, time-to-event generation

1 Introduction

Generating time-to-event data is essential for many real-world applications in survival analysis, including imputing event times or estimating probabilistic densities for individualized prediction, as well as synthesizing event-time datasets when direct access to survival data is restricted. These tasks are fundamental in clinical analysis, where clinical decision often requires individualized inference, uncertainty quantification, and privacy-preserving analysis of time-to-event data. However, survival time data are often subject to censoring; that is, for some subjects, the exact event time is not observed, and we only know that the event occurs after the last recorded follow-up time (Royston

*Department of Biostatistics & Bioinformatics, Duke University

†^{\dagger}Department of Biostatistics, University of Michigan

‡^{\ddagger}Department of Biostatistics, University of Michigan

§^{§}Department of Biostatistics, University of Michigan

^{¶}Department of Biostatistics, Yale University

1^{1}Department of Biostatistics & Bioinformatics and Department of Computer Science, Duke University and Parmar, 2002; Kalbfleisch and Prentice, 2002; Xu et al., 2014; Apellániz et al., 2024; Su et al., 2026). This phenomenon leads to a missing-data issue in clinical analysis, preventing the direct generation of time-to-event due to the incomplete nature of observed data. Addressing censoring is therefore a central issue in synthetic survival analysis and has received increasing attention in recent literature (Norcliffe et al., 2023; Apellániz et al., 2024; Brockschmidt et al., 2025).

Broadly speaking, existing event-time generative methods may be summarized into two paradigms. The first focuses on generating time-to-event data together with censoring indicators, such as Norcliffe et al. (2023); Ashhad and Henao (2024); Brockschmidt et al. (2025). This perspective treats the observed data as a tabular dataset (Y,Δ,X)(Y, \Delta, \mathbf{X}) and generates data in the same form, where Y is the observed time, Δ\Delta indicates whether Y is the true event time (Δ=1)(\Delta = 1) or a censoring time (Δ=0)(\Delta = 0), and X denotes potential covariates. Accordingly, existing tabular generative methods can be extended to time-to-event generation by incorporating survival mechanisms into training and generation processes (Norcliffe et al., 2023; Brockschmidt et al., 2025). However, because these approaches generate the survival tuple (Y,Δ,X)(Y, \Delta, \mathbf{X}) rather than the underlying uncensored event time, the resulting synthetic data reflect uncertainty in both event times and the censoring process. This uncertainty may carry over to and potentially increase variability in downstream analyses. Moreover, the existing methods are designed to match the observed censored-data distribution rather than directly recover the underlying uncensored distribution, and therefore may not serve the goal of predicting latent event times for censored subjects.

The second paradigm focuses on generating latent uncensored event times T from censored observations, which is applicable to event-time imputation, individualized prediction, and addressing censoring in synthetic data analysis. To handle missingness in event time, this paradigm usually combines survival analysis tools with likelihood-based generative methods (Xiu et al., 2020; Ausset et al., 2021), such as variational autoencoders (VAE; Doersch, 2016) and neural ordinary differential equations (NODE; Chen et al., 2018). However, these methods may have limitations in generative modeling: VAEs typically generate event times through a direct transport from latent variables, where the transport is not guaranteed to be optimal and the learned latent representations may not match the prespecified latent prior, compromising the fidelity of generated data; NODE, on the other hand, requires adjoint-based computation for likelihood evaluation and model training (Chen et al., 2018), which can be computationally expensive and less scalable for large datasets.

Recently, state-of-the-art generative methods, including diffusion models (Ho et al., 2020; Yang et al., 2023) and flow matching (Liu et al., 2022; Lipman et al., 2022), have demonstrated strong empirical performance over VAEs and NODEs (Ho et al., 2020; Lipman et al., 2022; Yang et al., 2023; Gat et al., 2024; Chen and Lipman, 2024; Tan and Zhang, 2025). A key advantage of these methods is that they do not directly fit the likelihood, but instead learn a continuous transport path from a base distribution to the data distribution. By decomposing a potentially complex transport into a sequence of local transformations, diffusion-/flow-based methods make the base-to-target transport easier to learn, enabling expressive representations for distributional learning and data generation. Furthermore, these methods permit adjoint-free training through a least-squares objective, yielding a computationally efficient and scalable framework for generative modeling of large datasets.

Despite their success, existing continuous generation methods mainly focus on structured tabular data rather than incomplete target generation. This is because training such generative paths usually requires fully observed samples to guide the transport from latent to target samples. For time-to-event data, however, censoring provides only a lower bound on the true event time rather

Figure

Figure 1: An illustration of the iterative procedure in censored flow matching. The purple, yellow, red, and blue solid curves represent the density of a base variable (e.g., an exponential random variable), the observed time for non-censored subjects ( Δ=1\Delta = 1), the observed time for censored subjects ( Δ=0\Delta = 0), and the imputed time for censored subjects based on the flow matched in the previous iteration, respectively. The flow at each iteration is obtained by matching the interpolation paths from the base to the target mixture represented by the blue (or red) and yellow solid curves. The red dashed curve denotes the latent time density for censored subjects, which is approached by the imputed density as the iterations proceed.

than full guidance for the generative path, making continuous generation difficult to define in this setting.

To address these challenges, we develop a novel flow-matching framework for continuously generating uncensored event times from censored survival data. To handle censoring, we utilize the monotonicity property of ordinary differential equations (ODEs) to construct a censored flow matching (CFM) step, which enables pullback-flow sampling to impute event times from the observed censoring lower bound. We then establish an iterative CFM algorithm that alternates between pullback sampling and flow estimation, mimicking the E-step and M-step of an expectation-maximization (EM) algorithm (see Figure 1). We prove that this procedure is exactly a flow-based EM algorithm, where both the imputation distribution and the observed-data distribution are modeled through ODE flows. Under mild distributional conditions, we establish the convergence of CFM across EM iterations, highlighting its nonparametric flexibility for time-to-event generation.

Building upon this framework, we propose a neural-network-based CFM algorithm for empirical time-to-event data using stochastic minibatch optimization. The algorithm is survival-likelihood-free and adjoint-free during flow training, relying on iterative least-squares fitting guided by the pullback-flow sampling. The learned flow provides a continuous mechanism that is guaranteed to be an optimal transport for time-to-event generation and can be used to (i) generate full event times for non-censored subjects or truncated event times for censored subjects given the last recorded follow-up time, and (ii) estimate the corresponding full or truncated densities directly from the flow. These tasks are fundamental in real-world synthetic and predictive survival analyses. A pipeline of the proposed CFM is shown in Figure 2.

Through extensive simulations, we show that CFM better generates event times than existing survival generative methods. In real-data analyses, we apply CFM to the Organ Procurement and Transplantation Network (OPTN) database for synthetic survival data generation and to the Medical Information Mart for Intensive Care IV (MIMIC-IV) database (Johnson et al., 2024) for survival prediction. On the OPTN data, CFM more closely reproduces overall and subgroup-specific survival distributions than existing survival generative methods, while exhibiting favorable empirical privacy characteristics. On the MIMIC-IV data, CFM allows direct distribution-level prediction for censored subjects and achieves competitive prediction accuracy compared with existing survival

(A) Observed data

Figure

(B) Censored flow matching

(C) Generation & prediction

Figure 2: A pipeline for censored flow matching. Panel (A) illustrates the input data including uncensored and right-censored observations. Panel (B) illustrates the CFM step, where pullback transport guides forward transport to generate event times beyond the observed time Y for a censored subject. Panel (C) presents the outputs of CFM for synthetic event time generation and individual survival-time density estimation.

methods.

References (35)