Variance-Adaptive Upper Confidence Bounds for Multi-Armed Bandits with Kaplan--Meier Survival Estimation

Yangfan Cui, Andrew PapanicolaouarXiv 2026 · arXiv

TL;DR

Researchers have developed KM-UCB, a new multi-armed bandit algorithm designed specifically for clinical trials where outcomes are delayed and often incomplete (right-censored). By using Greenwood’s variance formula to create "variance-adaptive" confidence bounds, the algorithm identifies superior treatments faster and with less "regret" than traditional methods that ignore the nuances of survival data.

What Problem Does This Paper Address?

In a standard Multi-Armed Bandit (MAB) problem, you pull a lever and get an immediate reward. In clinical trials, the "reward" is often a patient’s survival probability at a specific milestone (e.g., 5-year disease-free survival). This introduces two massive headaches for algorithm designers:

  1. Delayed Feedback: You don't know if a treatment "worked" until years later.
  2. Right-Censoring: Patients might drop out of a study or the study might end before an event (like a relapse) occurs. We know they survived at least until time $X$, but not what happened after.

Previous attempts to solve this used "Hoeffding-type" bounds. These are mathematically safe but overly conservative because they treat all uncertainty the same, regardless of how much data is censored. They ignore heteroscedasticity—the fact that the variance of our survival estimates changes dynamically based on how many patients are still "at risk" at any given time.

Methods

The authors introduce KM-UCB (Kaplan-Meier Upper Confidence Bound). The core innovation lies in how the algorithm calculates its "optimism" bonus.

  • Kaplan-Meier (KM) Estimator: Instead of simple averages, it uses the KM estimator, the gold standard in medicine for estimating survival fractions from censored data.
  • Greenwood’s Variance: The algorithm uses Greenwood’s formula to estimate the variance of the KM estimator. This allows the confidence bounds to shrink or grow based on the actual "at-risk" population, making the exploration much more efficient.
  • Empirical Bernstein Bound: The authors used martingale theory and influence functions to derive a new concentration inequality. This provides a tighter, data-adaptive bound compared to the "one-size-fits-all" approach of Hoeffding bounds.
  • The Review Step: To handle real-time data where reports might be lagging (administrative delays), they added a "review step." This uses a secondary bound based only on completed records to double-check if the algorithm should reconsider an arm it previously passed over.

Datasets

The paper evaluates the algorithm using two primary methods:

  1. Dual-Layer Delayed Simulation: A synthetic environment where survival times follow an exponential distribution, but feedback is hampered by both "biological" waiting time and "administrative" geometric delays.
  2. Breast Cancer Trial Replay: A retrospective analysis using real-world data from a clinical trial comparing different chemotherapy backbones (CA vs. T) and durations (4 vs. 6 cycles). This "replay" simulates how the algorithm would have performed if it had been in charge of assigning patients during the original trial.

Key Insights and Ideas

  • Censoring-Awareness is Key: Standard algorithms get "stalled" because they can't distinguish between an arm with truly high variance and one where variance is high simply due to heavy censoring. KM-UCB’s use of Greenwood variance solves this.
  • Martingales as the Mathematical Engine: By treating the survival process as a continuous-time martingale, the authors were able to prove that their algorithm achieves logarithmic expected regret. This means the "cost" of learning which arm is best grows very slowly over time.
  • Efficiency in Safety-Critical Settings: In clinical trials, every "suboptimal" pull is a real patient receiving inferior care. KM-UCB’s tighter bounds mean the algorithm converges on the best treatment faster, potentially saving lives during the trial itself.

Key Results

  • Lower Regret: In simulations, KM-UCB achieved a mean cumulative regret of 31.7, significantly outperforming the previous state-of-the-art "Censored-UCB" (43.1) and a "Naive-UCB" that simply threw away censored data (49.9).
  • Real-World Performance: In the breast cancer trial replay, KM-UCB’s regret was approximately 8% lower than Censored-UCB.
  • Stability: The algorithm showed much more stable estimation of survival probabilities (lower Greenwood variance over time) compared to baselines, especially for the optimal treatment arm.

Limitations and Future Work

While KM-UCB is a significant step forward, the authors note several areas for expansion:

  • Patient Covariates: The current model assumes all patients are the same. Future versions could incorporate "contextual" information (age, genetics, etc.) using Cox proportional hazards models to personalize treatment.
  • Non-Proportional Hazards: The theoretical guarantees currently rely on certain survival distribution assumptions that might not hold in every medical scenario.
  • Minimax Optimality: While they proved logarithmic regret, a formal proof of "minimax" optimality (the absolute best possible theoretical performance) for this specific censoring structure is still an open question.

Summary updated

Abstract

We study the stochastic multi-armed bandit problem in which the reward associated with each arm is the survival probability at a pre-specified time horizon, and the observed outcome is a right-censored time-to-event variable. Standard bandit algorithms face delayed and partial observations in this setting. Prior adaptations for the Kaplan--Meier (KM) estimator rely on Hoeffding-type bounds that ignore the inherent heteroscedasticity of continuous survival processes. To bridge this gap, we propose KM-UCB, a variance-adaptive policy that unites continuous-time survival analysis with discrete sequential decision-making. By leveraging martingale theory and continuous influence functions, we derive a fixed-cohort empirical Bernstein bound parameterized by Greenwood's variance formula. For realtime allocation, we retain the Greenwood index and use a survival bound from completed records to review the recommended arm. Under catch-up reporting, the policy has logarithmic expected regret with an arm-specific variance term in the exploration bound. We evaluate the original policy in a dual-layer delayed simulation and a retrospective replay of breast cancer trial data, and evaluate the correction in a separate paired simulation.
BibTeX
@misc{cui2026variance,
  author = {Yangfan Cui and Andrew Papanicolaou},
  title = {{Variance-Adaptive Upper Confidence Bounds for Multi-Armed Bandits with Kaplan--Meier Survival Estimation}},
  year = {2026},
  eprint = {2611.24988},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.24988},
}
Figure