TL;DR
This paper provides the first theoretical finite-time regret analysis for ReMax, a bandit algorithm designed for "retry-aware" objectives (like pass@k or max@k in large language models) that value the single best outcome across multiple attempts. Focusing on the $M=2$ virtual draws case with Gaussian rewards, the authors prove a sublinear regret bound and uncover a unique "underestimation effect" where the algorithm can become overly exploitative if the optimal action initially yields a poor estimate.
What Problem Does This Paper Address?
Traditional multi-armed bandit (MAB) algorithms, such as Upper Confidence Bound (UCB) or Thompson Sampling (TS), are designed to maximize the cumulative reward of single actions. However, many modern applications—especially evaluating generative AI and large language models—care about the best outcome out of several attempts (e.g., generating 10 code snippets and checking if at least one passes the unit tests).
The ReMax algorithm was recently introduced to directly optimize this "best-of-$M$" objective by choosing a sampling distribution that maximizes the posterior expected maximum reward over $M$ virtual draws. While ReMax showed strong empirical performance in reinforcement learning settings, its theoretical properties and regret bounds in bandit problems remained entirely unknown. This paper tackles that gap by providing the first formal regret analysis for ReMax.
Methods
The authors analyze ReMax under the first non-trivial setting: $M=2$ virtual draws with Gaussian rewards and unit variance.
To do this, they first mathematically characterize the ReMax sampling rule using a Bayesian expected-improvement balance condition. This condition dictates that all arms assigned a positive probability by ReMax must yield the exact same posterior-averaged marginal contribution to the best-of-two objective.
Building on this structural insight, they derive a frequentist regret upper bound by decomposing the regret into two distinct regimes:
- Saturation term: The standard bandit challenge of bounding how often suboptimal arms are pulled due to overestimation.
- Underestimation term: A ReMax-specific challenge that bounds how long the algorithm ignores the optimal arm if it suffers from an early, unfavorable reward estimate.
Datasets
The authors evaluate ReMax against standard baselines (Thompson Sampling and KL-UCB) using both synthetic and real-world-derived datasets:
- Synthetic Gaussian Instances: Two-arm, three-arm, and ten-arm environments with tightly constrained suboptimality gaps designed to induce the "freeze" or underestimation behavior.
- Open Bandit Dataset (OBD): A real-world e-commerce dataset containing click feedback for advertisements ($K=80$ arms), transformed into a unit-variance Gaussian bandit.
- MovieLens 1M: A classic movie recommendation dataset ($K=31$ arms), where normalized user ratings are used to define the true Gaussian mean rewards.
Key Insights and Ideas
- Variance-Adaptive Exploration: Unlike Thompson Sampling, which randomizes actions based solely on the probability of an arm being the absolute best, ReMax explicitly accounts for the magnitude of potential improvement. An arm with a lower empirical mean can still receive a high sampling allocation if its posterior variance is large enough to offer a high peak reward.
- The Underestimation Bottleneck: ReMax is inherently more exploitative than Thompson Sampling. If the optimal arm is initially underestimated, mutual comparisons among the remaining suboptimal arms can yield a higher expected improvement than comparing them to the optimal arm. This causes ReMax to temporarily "freeze" and delay its return to the optimal arm, creating a delicate $O(\tilde{T}^{2/3})$ bottleneck in the regret proof.
- Mitigation via Variance Inflation: To combat severe underestimation, the authors propose inflating the posterior variance by a scale factor ($c^2 \ge 3$). This simple tweak aggressively boosts the upper-tail probability of underestimated arms, allowing the optimal arm to quickly re-enter the sampling support.
Key Results
- First Sublinear Regret Bound: The paper proves that for $M=2$, ReMax achieves a sublinear frequentist regret bound of $o(T)$, formalizing its long-term convergence properties.
- Empirical Superiority: In experiments where underestimation is mild, ReMax consistently outperforms both Thompson Sampling and KL-UCB across synthetic and real-world datasets.
- Underestimation Verification: In the more complex ten-arm synthetic setting, ReMax suffers from noticeably more underestimation rounds than TS or KL-UCB, validating the authors' theoretical focus on the underestimation bottleneck.
Limitations and Future Work
- Restricted to $M=2$: The current theoretical framework and expected-improvement balance equations are strictly proven for the best-of-two case. Extending this finite-time regret analysis to $M > 2$ remains an open mathematical challenge.
- Loose Theoretical Bound: The proven underestimation regret term scales as $O(\tilde{T}^{2/3})$, which is theoretically looser than the typical $O(\log T)$ bounds enjoyed by asymptotically optimal algorithms like KL-UCB, despite ReMax performing better empirically. Tightening this bound by refining the underestimation analysis is a clear path for future research.
Summary updated