Replicable Bandits with UCB based Exploration

Rohan Deb, Udaya Ghai, Karan Singh, Arindam BanerjeearXiv 2026

TL;DR

This paper introduces the first optimistic (UCB-style) algorithms for replicable multi-armed, linear, and generalized linear bandits. By combining determinant-triggered batching with a novel randomized grid-rounding technique in a "whitened" coordinate space, the authors drastically reduce the "price of replicability," improving the regret bound for linear bandits by a factor of $O(d/\rho)$.

What Problem Does This Paper Address?

In machine learning, the reproducibility crisis has spurred interest in replicable learning. An algorithm is considered $\rho$-replicable if two separate executions—using the exact same internal random seed but trained on completely independent samples from the same distribution—yield the exact same output with a probability of at least $1-\rho$.

While replicability has been studied in offline settings, applying it to sequential decision-making like Multi-Armed Bandits (MAB) and Linear Bandits introduces a fundamental conflict. Standard bandit algorithms rely on the principle of Optimism Under Uncertainty (like Upper Confidence Bound, or UCB), updating their empirical estimates after every single reward observation. However, this continuous updating makes the action sequence hyper-sensitive to sample-level noise. Two parallel runs with different reward realizations will quickly drift apart, destroying replicability.

Prior attempts to fix this relied on elimination-based strategies or coarse action-space discretization. For linear bandits with infinite action spaces, these methods suffer from highly suboptimal dependencies on both the feature dimension ($d$) and the replicability parameter ($\rho$). This paper tackles the challenge of designing direct, optimistic UCB algorithms that are both highly replicable and sample-efficient.

Methods

The authors bridge the gap between optimism and replicability using two core techniques: policy batching and geometric randomized rounding.

  1. Batched Action Selection: Instead of updating the algorithm's policy at every time step, the authors freeze the policy over blocks of time (batches). For multi-armed bandits, the batch sizes simply double. For linear and generalized linear bandits, they use a determinant-triggered batching rule, starting a new batch only when the volume of the data covariance matrix grows significantly.
  2. Replicable Oracles via Whitened Rounding: To ensure that the parameter estimates at the start of each batch are identical across parallel runs, the authors modify standard regression techniques:
  3. RepUCB: Uses a replicable mean-estimation oracle (RepMean) to stabilize arm selection.
  4. RepRidge & RepGLM: For linear and generalized linear settings, standard ridge regression yields an ellipsoidal confidence region. The authors first whiten the coordinate space, transforming this ellipsoid into a perfect sphere. They then apply a Randomized Grid Rounding technique to this whitened vector before mapping it back to the parameter space. Because nearby estimates map to the same grid cell with high probability, parallel runs are highly likely to output the exact same parameter estimate.
[Ellipsoidal Ridge Estimate] ──(Whiten)──> [Spherical Space] ──(Randomized Grid Rounding)──> [Stable Replicable Estimate]

Datasets

This is a purely theoretical paper focused on proving mathematical guarantees (regret bounds and replicability probabilities). No empirical datasets were used for training or evaluation.

Key Insights and Ideas

  • Optimism is Replicable: The conventional wisdom suggested that elimination-based algorithms were uniquely suited for replicability because they naturally drop bad actions in large, stable blocks. This paper proves that optimistic (UCB) methods can be made replicable without losing their characteristic sample efficiency.
  • The Power of Whitening: Rounding parameters in standard coordinate space fails because it ignores the directional uncertainty of the data. Whitening the coordinates ensures that geometric closeness under the data distribution translates directly into grid-rounding stability.
  • Inductive Trajectory Matching: For linear bandits, the authors show that replicability can be proven inductively. If two runs match their action sequences up to the start of a batch, they share the exact same historical design matrix. This shared history ensures that their next batch-start estimators will also match with high probability.

Key Results

Stochastic Linear Bandits (RepLinUCB)

The proposed algorithm achieves a regret bound of: $$\widetilde{O}\left(\left(d + \frac{d^3}{\rho}\right)\sqrt{T}\right)$$ This improves upon the previous best elimination-based algorithm by a factor of $O(d/\rho)$. Crucially, this is the first linear bandit algorithm to achieve an optimal dependence on $\rho$ for large action spaces.

Stochastic Multi-Armed Bandits (RepUCB)

Achieves an instance-dependent regret bound of: $$O\left(\frac{K^2\log^2 T}{\rho^2}\sum_{a:\Delta_a>0}\left(\Delta_a + \frac{\log(KT\log T)}{\Delta_a}\right)\right)$$ This matches the best-known elimination-based bounds up to logarithmic factors, serving as a clean blueprint for the more complex linear settings.

Generalized Linear Bandits (RepGLMUCB)

The framework successfully extends to non-linear link functions (like logistic regression), providing the first-ever replicability guarantees for generalized linear bandits.

Limitations and Future Work

  • Oblivious Adversary Assumption: For the linear and GLM bandit proofs, the sequence of action sets must be fixed in advance or chosen by an oblivious adversary. Extending this to an adaptive adversary (where the environment changes the available action sets based on the user's past choices) remains an open problem.
  • The MAB Lower Bound Gap: For multi-armed bandits, a gap still remains between this algorithm's upper bound and the known theoretical lower bound of $\Omega(\sqrt{T/\rho})$. Closing this gap is a clear direction for future research.

Summary updated

BibTeX
@misc{deb2026replicable,
  author = {Rohan Deb and Udaya Ghai and Karan Singh and Arindam Banerjee},
  title = {{Replicable Bandits with UCB based Exploration}},
  year = {2026},
  eprint = {2604.20024},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.20024},
}
Figure