Small steps no more: Global convergence of stochastic gradient bandits for arbitrary learning rates

Jincheng Mei, Bo Dai, Alekh Agarwal, Sharan Vaswani, Anant Raj, Csaba Szepesvári, Dale Schuurmans · DOI

Abstract

In reinforcement learning (RL), policy gradient methods like REINFORCE are often deployed with large, constant learning rates that defy standard optimization theory, which typically requires vanishingly small steps to guarantee global convergence. This paper bridges the gap between theory and practice by proving that the stochastic gradient bandit algorithm—the foundational unit of policy gradients—converges to the globally optimal policy for any constant learning rate $\eta > 0$. We demonstrate that the algorithm naturally balances exploration and exploitation without explicit bonuses, establishing an asymptotic convergence rate of $O(\ln(T)/T)$.

Introduction

Policy gradient methods are a cornerstone of modern artificial intelligence, powering breakthroughs from game-playing agents to the alignment of Large Language Models (LLMs). Despite their success, a fundamental theoretical mystery remains: why do these algorithms converge even when practitioners use aggressive, constant learning rates? Standard convergence proofs for non-convex optimization usually necessitate decaying step sizes or extremely small constants to prevent the algorithm from oscillating or becoming trapped in sub-optimal local optima.

This research investigates the stochastic gradient bandit algorithm in a multi-armed bandit setting. We provide the first rigorous proof that this algorithm is globally convergent for arbitrary learning rates, revealing that the inherent structure of the Softmax policy provides a self-regulating mechanism for exploration.

The Stochastic Gradient Bandit Algorithm

The study focuses on the gradient bandit algorithm using a Softmax policy. In this framework, the agent maintains a preference parameter $\theta_a$ for each action $a$. The probability of selecting action $a$ at time $t$ is defined by the Softmax function:

$$P_t(a) = \frac{e^{\theta_t(a)}}{\sum_{b} e^{\theta_t(b)}}$$

Upon receiving a reward, the agent updates its preferences using the stochastic gradient of the expected reward. A critical challenge in this setting is the "exploration-exploitation trade-off." If the agent increases the preference for a sub-optimal action too quickly, the probability of choosing the optimal action might decay so fast that the agent never gathers enough data to correct its mistake.

Theoretical Framework: Three Pillars of Convergence

To prove global convergence for any $\eta$, the authors moved away from traditional smoothness-based analysis, which fails when $\eta$ is large. Instead, they developed a proof based on action sampling rates and three logical pillars:

  1. Avoiding the "One-Arm" Trap: The authors prove that the algorithm is incapable of sampling only a single action indefinitely. It is mathematically guaranteed to explore at least two actions infinitely often, preventing premature total commitment to a single sub-optimal choice.
  2. Signal vs. Noise Dominance: By decomposing parameter updates into cumulative progress (the reward signal) and cumulative noise, the proof shows that the signal eventually outweighs the stochastic noise over time, regardless of the initial step size.
  3. Recursive Elimination: For environments with more than two actions, a recursive argument demonstrates that the probability of selecting any sub-optimal action eventually decays to zero, leaving only the optimal action.

Key Insights: The Softmax "Brake"

A pivotal discovery in this work is the "Softmax Brake." In many optimization problems, large steps lead to catastrophic divergence. However, in the gradient bandit, as the probability of an action approaches 1, the gradient update for that action naturally scales toward zero due to the Jacobian term of the Softmax function. This inherent mechanism slows down updates as the agent becomes more confident, providing a built-in buffer that allows the agent to "recover" even if it initially spends millions of iterations favoring a sub-optimal action.

Unlike algorithms such as Upper Confidence Bound (UCB), which require an explicit exploration bonus, the gradient bandit achieves exploration implicitly through its stochastic nature and the way it processes noise.

Empirical Validation

The theoretical findings were validated using synthetic multi-armed bandit environments with Gaussian reward distributions. The researchers tested learning rates ranging from $\eta = 1$ to $\eta = 1000$.

While massive learning rates (e.g., $\eta = 1000$) often caused the agent to enter long "plateaus"—periods where it appeared stuck on a sub-optimal action for millions of iterations—the agent eventually and inevitably transitioned to the optimal action. Once the transition occurred, the higher learning rates achieved significantly lower error rates ($e^{-200}$) compared to smaller learning rates ($e^{-14}$) within the same timeframe.

Conclusion and Future Work

This paper establishes that for stochastic gradient bandits, global convergence is an inevitability rather than a matter of hyperparameter tuning. The learning rate $\eta$ influences the path to convergence and the duration of sub-optimal plateaus, but it does not prevent the eventual discovery of the global optimum.

Future research remains to be done in extending these guarantees to full Markov Decision Processes (MDPs), where actions influence future states, and in characterizing the exact duration of the "plateau" phase to better predict convergence times in practical applications.

Summary updated

BibTeX
@inproceedings{mei2024small,
  author = {Jincheng Mei and Bo Dai and Alekh Agarwal and Sharan Vaswani and Anant Raj and Csaba Szepesvári and Dale Schuurmans},
  title = {{Small steps no more: Global convergence of stochastic gradient bandits for arbitrary learning rates}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=q9dKv1AK6l},
}
Figure