Introduction
In the idealized world of contextual bandits, a model makes a recommendation—such as an advertisement or a medical treatment—and receives immediate feedback. In reality, this is rarely the case. In e-commerce, a user might see a product recommendation now but only convert hours or days later. In clinical trials, the outcome of a treatment might not be known for weeks.
When rewards are delayed, the decision-maker faces a dilemma: they must continue making decisions for new users without knowing the results of previous ones. Standard algorithms that assume immediate feedback can become biased or over-confident. This paper introduces Delayed UCB, the first delay-adaptive algorithm for generalized linear contextual bandits (GLCB) that handles stochastic, unbounded feedback delays. By dynamically adjusting exploration based on the number of "in-flight" rewards, the authors prove that standard Upper Confidence Bound (UCB) learning remains robust and theoretically sound even when feedback arrives much later than the decisions.
Algorithmic Frameworks
The authors propose two primary algorithmic frameworks to tackle delayed feedback:
1. DUCB-GLCB (Delayed UCB for GLMs)
This algorithm is designed for Generalized Linear Models (GLMs), which use features to predict rewards via functions like logistic or Poisson regression.
- Selective Learning: It uses Maximum Likelihood Estimation (MLE) to update the model, but strictly relies on data points where the reward has actually arrived.
- Delay-Adaptive Confidence: This is the core innovation. The algorithm tracks $G_t$, the number of missing rewards at time $t$. It then inflates the "uncertainty" width of its predictions based on $G_t$. If many rewards are missing, the algorithm explores more cautiously to account for the pending information.
2. Delayed SupLinUCB (for Linear Bandits)
For the specific case of linear rewards and a finite number of actions, the authors adapt the "Sup-Base" decomposition technique. Unlike the GLM version, this uses a biased estimator that incorporates all features—even those without rewards yet—to achieve a tighter regret bound. Knowing the context (features) of the pending rewards proves valuable for stabilizing the model's estimation.
Key Insights and Theoretical Results
This is a purely theoretical paper focused on establishing mathematical proofs and regret bounds; no empirical experiments on real-world or synthetic datasets were conducted. The core contribution lies in quantifying exactly how much delay hurts performance.
A major insight is that UCB-style exploration is fundamentally robust to delays, provided the confidence intervals are widened to account for the missing information currently in the pipeline. The regret—the difference between the algorithm's performance and the optimal strategy—depends not just on the average delay ($\mu_D$), but also on the tail of the delay distribution ($\sigma_G$). If delays are "heavy-tailed" (occasionally very long), the regret increases.
The paper provides formal regret bounds describing how the error grows over time ($T$):
- General Case (GLM): The algorithm achieves a high-probability regret bound of approximately $\tilde{O}((\sqrt{\mu_D d} + \sqrt{\sigma_G d} + d)\sqrt{T})$, where $d$ is the feature dimension. For context, without delays, the state-of-the-art is $\tilde{O}(d\sqrt{T})$. The delay adds a penalty related to the square root of the delay statistics.
- Linear Case: For linear bandits with finite actions, they achieve a tighter bound of $\tilde{O}((1 + \mu_D + \sigma_G)\sqrt{dT})$. This improves the dependence on the feature dimension ($d$) from linear to square root, representing a significant theoretical win.
Limitations and Future Work
While theoretically rigorous, the proposed methods have a few limitations that pave the way for future research:
- Independent Delays: The authors assume that the length of the delay is independent of the context and the action. In reality, a poor recommendation might lead to a faster "no-click" than a good recommendation leads to a "purchase." Modeling action-dependent delays remains an open challenge.
- Computational Efficiency: The DUCB-GLCB algorithm requires solving a Maximum Likelihood problem at every step. While theoretically sound, this can be computationally expensive for high-speed production systems.
- Finite Action Constraint: The tighter $\sqrt{d}$ bound for linear bandits currently only applies when the number of possible actions is finite. Extending this efficiency to infinite action spaces (like choosing a price on a continuous scale) is a potential next step.
Summary updated