NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning from Unfinished Follow-up: Censoring-Aware Dirichlet Sampling for Adaptive Immunotherapy Trials

Adaptive clinical trials shift new patients toward treatments that seem to be working. Cancer immunotherapy is where this should help most and where current methods fit worst. Checkpoint inhibitors, antibodies that release the immune system's brakes, give long-lasting benefit to only a minority of patients. What matters is survival, and survival takes months to observe. Its shape is also awkward: a plateau of durable responders sits next to a cluster of patients who progress within weeks. Existing bandit-style trial designs, which balance trying each option against favoring the current best, sidestep all of this. They reduce the outcome to a quick yes/no response and assume that response follows a textbook distribution. As a result they either wait for complete outcomes or throw away the tail of the survival distribution that clinicians care about.

We propose an allocation rule that learns from patients whose follow-up is still in progress. For each patient stratum, defined by an imaging-based stratification score, and each treatment arm, it keeps a Kaplan–Meier survival curve built from all enrolled patients. A patient whose follow-up is ongoing counts as censored at their current follow-up time. The rule randomly reweights each curve with Dirichlet weights, which amounts to a "Bayesian bootstrap" of the curve. It then assigns the next patient to whichever arm has the best score under that random draw. The score is either restricted mean survival time up to a horizon $\tau$ or the mean of the worst $\alpha$-fraction of truncated survival times. The two choices together are what make this work. Truncating at $\tau$ gives the outcome a known upper bound, which is the condition under which Dirichlet-perturbation sampling is known to be asymptotically optimal without parametric assumptions. Treating unfinished follow-up as censoring turns delayed feedback into partial information the sampler can use from the first week.

Core Claim

The claim is that censoring-aware Dirichlet sampling on truncated survival does three things better than binary-response adaptive designs and parametric survival designs. It assigns more patients to their stratum's best arm, measured by restricted mean survival time. It sends fewer patients to arms with poor lower-tail survival. It does both without tuning to the true shape of the survival curves. The advantage should be largest exactly when immunotherapy curves look like immunotherapy: a cure-like plateau, early hyperprogression, and best-arm reversals across strata.

This builds on three pieces of prior work.

The method comes from the sub-sampling and re-weighting line of non-parametric bandits:

Neither method handles censored or delayed observations, and neither was tested outside synthetic or agricultural rewards. The file lists support dependence as an open limitation of B-CVTS. Our observation is that in survival trials the known support is not a limitation but a design choice, because truncation at a clinically chosen $\tau$ supplies it.

The motivating contrast is A Contextual-bandit-based Approach for Informed Decision-making in Clinical Trials. It applied UCB and Thompson sampling to the International Stroke Trial with a binary 2-week survival reward and a single binary context. It shows adaptive allocation pays off in practice. We differ on three points: the reward is time-to-event and censored, exploration is distribution-agnostic, and there is a tail-risk objective.

The application side supplies the strata. Pre-treatment PET/CT deep scores from Non-invasive measurement of PD-L1 status and prediction of immunotherapy response using deep learning of PET/CT images separate median progression-free survival of 15.8 versus 5.4 months under checkpoint inhibitors. Pathology scores from Weakly Supervised Deep Learning Predicts Immunotherapy Response in Solid Tumors Based on PD-L1 Expression predict PD-L1 status with AUC 0.80 on a pan-cancer validation cohort. We do not try to learn from raw high-dimensional images inside the bandit. Gap 1 in our notes points that way, but with a few hundred trial patients it would be data-starved. Instead we treat a frozen stratification score, discretized into a small number of strata, as the context. This is the regressogram idea from Making the most of your day: online learning for optimal allocation of time.

The Mechanism

Fix stratum $s$ and arm $a$ at the current calendar time. Let $\hat S_{s,a}^{w}(t)$ be the Kaplan–Meier curve computed with patient weights $w \sim \mathrm{Dirichlet}(1,\dots,1)$, plus one pseudo-observation at $\tau$, following the optimism device in B-CVTS. Each enrolled patient contributes either an event time or a censoring time equal to their follow-up so far. The sampled score is either

$$ \mathrm{RMST}^{w}_{s,a} = \int_0^{\tau} \hat S_{s,a}^{w}(t)\,dt \quad\text{or}\quad \mathrm{CVaR}^{w}_{\alpha,s,a} = \frac{1}{\alpha}\int_0^{\alpha} \hat Q_{s,a}^{w}(u)\,du . $$

Here $\mathrm{RMST}^{w}_{s,a}$ is the expected survival time capped at $\tau$ under the reweighted curve. $\hat Q_{s,a}^{w}$ is the quantile function of the $\tau$-truncated survival time implied by $\hat S_{s,a}^{w}$, so the CVaR score is the expected survival of the worst-off $\alpha$ share of patients.

The next patient in stratum $s$ receives $\arg\max_a$ of the chosen score. With little follow-up the curve is heavily censored, the Dirichlet draws spread widely, and the rule explores. As follow-up matures the draws concentrate. Because the weights are random, the allocation probabilities are strictly positive and can be estimated by Monte Carlo. This is the condition needed for the post-trial inference described below.

Research Program

The program has four parts. The first is the algorithm above, together with a limited-memory variant in the spirit of On Limited-Memory Subsampling Strategies for Bandits, since the per-step cost is dominated by recomputing weighted Kaplan–Meier curves.

The second is theory in a deliberately restricted setting. We assume independent administrative censoring and fixed follow-up windows. We then ask whether the asymptotic optimality argument of B-CVTS carries over when observations enter as censored samples that are later upgraded to events. We expect the regret constant to worsen by a factor tied to the average fraction of follow-up observed at decision time, and we will state this as a conjecture if it resists proof.

The third is a semi-synthetic trial simulator calibrated to the reported survival splits. Stratum-by-arm survival curves are mixture-cure distributions. Their checkpoint-inhibitor arms match reported medians: 15.8 versus 5.4 months by PET/CT score in Mu et al., and 8.4 versus 1.5 months overall and 11.1 versus 3.3 months within stable disease in A multi-omics-based serial deep learning approach to predict clinical outcomes of single-agent anti-PD-1/PD-L1 immunotherapy in advanced stage non-small-cell lung cancer..

The comparator arms, chemotherapy and a chemo–immunotherapy combination, have no calibration source in our material. They are explicit design parameters that we sweep. We never present them as estimates. The simulator also includes three further ingredients:

The fourth part addresses whether a regulator could use the trial. Post-Contextual-Bandit Inference shows that standard estimators on adaptively collected data can cover only about 70% of the time. Its CADR estimator restores coverage under known, positive propensities. We will pair our sampler with a CADR-style stabilized estimator of stratum-wise RMST differences, using inverse-probability-of-censoring weights and Monte Carlo propensities. We will then measure coverage. This is secondary to the allocation question, but a design that fails it is not deployable.

Baselines

The naive reference is fixed 1:1:1 randomization within each stratum, with a log-rank or RMST analysis at the end. This is what a conventional trial does. Every adaptive method must beat it on patient outcomes while not collapsing on end-of-trial inference.

The strongest existing adaptive competitor on this exact question is the design of Varatharajah et al.: stratum-wise Beta–Bernoulli Thompson sampling on a binary reward. We run it with the same strata. The reward is a clinically standard 90-day response or durable-benefit indicator, and a patient contributes only once their 90-day window closes. On the stroke trial, that paper reports that Thompson sampling incurred about 11% of the regret of random assignment and a 72.63% gain in optimal assignment over static randomization, in A Contextual-bandit-based Approach for Informed Decision-making in Clinical Trials. We found no reported result on Lacuna for any bandit design on immunotherapy survival outcomes, so all comparisons here come from our simulator. Beating this baseline means lower cumulative RMST regret and a smaller fraction of patients on arms with inferior lower-tail survival, across the majority of the scenario grid, with no scenario where we lose by more than a pre-registered margin.

The second competitor is parametric survival Thompson sampling. It uses conjugate exponential or Weibull posteriors per stratum and arm and uses censored data correctly. This isolates whether the gain comes from using censored follow-up at all, which the parametric method also does, or from being distribution-agnostic. We expect it to be competitive when curves are close to exponential and to misallocate under cure plateaus.

For the context-free risk objective, we reproduce the M-CVTS/B-CVTS setup on the DSSAT simulator as a sanity check. The target there is the reported cumulative regret of 38.8 for M-CVTS versus 219.7 for CVaR-UCB at $\alpha = 10\%$, from Optimal Thompson Sampling strategies for support-aware CVaR bandits. This confirms our implementation before censoring enters.

Two ablations isolate the key ingredient. The first is "complete-case Dirichlet sampling," which ignores patients whose follow-up has not reached $\tau$. The second is "naive-censoring Dirichlet sampling," which treats censored times as events and so biases survival downward. If complete-case matches the full method, censoring-awareness is not doing the work. We also include uncorrected bootstrap Thompson sampling without the $\tau$ pseudo-observation. This echoes the divergence of heuristic bootstrapping reported for BootLinHeu in Robust Contextual Bandits via Bootstrapping.

Every method sees the same simulated patient streams (common random numbers), enrollment rate, strata, and horizon. Each parametric method gets the same tuning budget: its prior or noise scale is chosen on a held-out calibration scenario family, not the test grid.

Why not just…?

Why not just use Thompson sampling on 90-day response, as prior clinical bandit work does? This is the real threat. Short binary endpoints are simple and fast, and at high enrollment rates the 90-day delay may cost little. Two things favor our approach. The binary endpoint discards the durable-benefit plateau that separates arms in immunotherapy: the stable-disease survival splits in the SimTA study show that the same short-term status hides very different survival. It also cannot see early hyperprogression as distinct from ordinary non-response. The simulator settles the question by sweeping enrollment rate and the correlation between 90-day response and RMST. We will report the regime where the binary design is as good, and we expect that regime to exist.

Why not just fit a parametric survival model and do Thompson sampling on it? It uses censored data, which is most of our advantage, and it is cheap. The failure mode is the curve shape: exponential and Weibull families cannot represent a cure plateau next to an early-death cluster. Tang et al. show that assuming the wrong noise model makes linear bandits over-explore or diverge, and we expect the survival analogue here. The comparison against parametric survival Thompson sampling on plateau and hyperprogression scenarios decides this directly. If parametric sampling matches us everywhere, the distribution-agnostic ingredient is unnecessary and we will say so.

Why not just randomize fixed and stratify afterward with a better biomarker? Randomize-then-analyze keeps inference trivial, and better scores like the PET/CT and pathology models improve post-hoc subgroup findings. It does nothing for patients inside the trial, though, and it fixes the allocation before learning which stratum benefits from which arm. We report both patient-level outcomes and end-of-trial power, as RMST-difference confidence-interval width and coverage, so the cost of adaptivity in statistical efficiency is visible next to its benefit to patients.

Proposed Experiments and Decisive Checks

The main experiment runs every method on a grid of simulated trials. The grid covers 300–600 patients, $\tau$ of 12 and 18 months, two to four strata, and three arms, crossed with scenario families:

  • a stratum-specific best-arm reversal,
  • a cure-plateau arm with a lower median but higher RMST,
  • a hyperprogression arm whose mean is competitive but whose lower tail is poor,
  • stratum misclassification calibrated to the reported score AUCs.

Metrics are cumulative RMST regret, lower-tail regret at $\alpha$ of 10% and 20%, the fraction of patients on the stratum-optimal arm, and, for the inference component, the empirical coverage of nominal 95% intervals for stratum-wise RMST differences.

Three results would decide the proposal:

  • Censoring-aware Dirichlet sampling must beat complete-case Dirichlet sampling at realistic enrollment rates. Otherwise the core mechanism is not doing the work.
  • It must beat parametric survival Thompson sampling on plateau and hyperprogression scenarios while staying within a small margin on exponential scenarios. Otherwise distribution-agnosticism does not pay.
  • Coverage from the CADR-style estimator must stay near 95%, compared with the roughly 70% that naive estimators achieve under adaptive collection. Otherwise the design cannot serve a confirmatory trial.

A secondary check replays the stroke trial with a binary reward. Here our method reduces to Dirichlet sampling on Bernoulli outcomes, so it should roughly match Varatharajah et al., showing that it costs nothing when the survival structure is absent.