TL;DR
For nearly three decades, reinforcement learning researchers assumed one of the field's simplest textbook algorithms—Monte Carlo Exploring Starts (MCES)—had to converge to the optimal solution; they just couldn't prove it. This paper settles that famous open question with a surprising "no," proving that standard MCES can get permanently trapped in suboptimal loops. Better yet, the authors diagnose why this happens and introduce a lightweight learning-rate tweak that restores guaranteed convergence for the initial-visit variant.
What Problem Does This Paper Address?
Imagine learning a game by starting in random configurations ("exploring starts"), playing to the end using your current best strategy, and averaging the scores you get for each move ("sample-average updates"). In reinforcement learning (RL), this tabular algorithm—specifically the First-Visit, Sample-Average (FV/SA) variant of MCES—is about as foundational as it gets.
In 1999, RL pioneer Richard Sutton remarked that it was hard to imagine any RL method simpler or more likely to converge, calling it "one of the most fundamental open theoretical questions in reinforcement learning." While researchers previously found edge cases where a stripped-down initial-visit (IV) version—which only updates the very first state-action pair of an episode—fails if you heavily bias starts toward bad actions, whether standard FV/SA MCES converges under strict exploring starts remained an open mystery.
Methods
The authors tackle this mystery from two angles: breaking the algorithm with carefully crafted counterexamples, and fixing it via stochastic approximation theory.
- Mean-Field Trap Design: To build counterexamples for both IV and FV MCES, the authors first analyze the noiseless "mean-field" dynamics (where updates use exact expected values) to find cyclic Markov Decision Processes (MDPs) where policies endlessly chase their own tails. They then add stochastic transitions and strict exploring starts (guaranteeing every state-action pair has a uniform minimum probability of starting an episode) to show that real, noisy trajectories still get sucked into these suboptimal attractors.
- State-Conditional Learning Rate Fix: For IV MCES, the authors replace historical sample-average step sizes ($1/n_k(s,a)$) with a local normalisation: $\eta_k(s,a) = \alpha_k / g_k(a|s)$, where $\alpha_k$ is a standard decaying scalar schedule and $g_k(a|s)$ is the conditional probability of picking initial action $a$ given start state $s$. They prove convergence not via traditional contraction mappings, but by adapting the combined stability-ODE method to show that the underlying mean-field policies monotonically improve.
Datasets
Not discussed in the paper. Rather than empirical datasets, this theoretical study evaluates algorithms on three custom-designed synthetic tabular MDPs:
- A 3-state cyclic MDP for testing initial-visit MCES.
- A 13-state cyclic chain MDP for simulating first-visit MCES.
- A 2-state episodic MDP small enough to admit a rigorous analytical proof of non-convergence for first-visit MCES.
Key Insights and Ideas
- Historical memory can sabotage you: Why does sample-averaging fail even when you favor greedy (good) actions? Suppose an agent spends a long time cycling through suboptimal policies where a good action $a_*$ is tried much more often than a bad action $\bar{a}$. Its count $n_k(s, a_*)$ becomes huge, making its learning rate $1/n_k(s, a_*)$ tiny. If noise finally bumps the agent into the optimal policy, updates to $a_*$ are sluggish while updates to the neglected $\bar{a}$ are comparatively massive—kicking the agent right back out of the optimal region!
- Local balance beats global knowledge: Previous fixes for IV MCES scaled learning rates by the inverse joint probability $1/\sigma_k(s,a)$, which requires knowing the probability of visiting every state—impossible in games like chess with $O(10^{45})$ states. Dividing only by $g_k(a|s)$ equalizes effective update sizes across actions within each state, requiring zero knowledge of the global state distribution.
- Exploring starts aren't a silver bullet: Even when updating every first-visit pair along an episode and guaranteeing uniform random exploration at every start, FV/SA MCES can permanently lock onto ties between good and bad actions.
Key Results
- IV/SA Counterexample: On the 3-state MDP—even with strict exploring starts and a bias toward greedy actions—99.6% of simulated IV/SA MCES runs converged to a suboptimal boundary point ($q \approx 1.615$), with only 0.4% escaping to optimality.
- IV Fix (Theorem 1): Scaling step sizes by $1/g_k(a|s)$ guarantees almost sure (100% probability) convergence to optimal action values $q_{\pi_*}$ for IV MCES on finite discounted or episodic MDPs.
- FV/SA Simulations & Proof (Theorem 2): On the 13-state MDP, out of 40,000 runs up to $10^9$ steps, nearly all late-start trajectories remained trapped; every run tested up to $10^{12}$ steps failed to escape. Finally, on the 2-state MDP starting from standard zero counts ($n_0=0$), Theorem 2 proves analytically that with strictly positive probability, FV/SA MCES remains forever trapped within $5 \times 10^{-6}$ of a suboptimal point, nearly $0.2$ away from $q_{\pi_*}$.
Limitations and Future Work
- Initial-visit scope: The proposed learning-rate fix only applies to initial-visit MCES, where updates don't depend on downstream trajectory dynamics. Fixing first-visit MCES remains an open problem.
- Known action probabilities: Theorem 1 assumes the conditional start distribution $g_k(a|s)$ is known (such as in $\epsilon$-greedy starts). If $g_k$ must be estimated on the fly, convergence robustness depends heavily on the specific MDP.
- Technical assumptions: The proof relies on sufficient conditions—like greedy tie-breaking inertia and weakly monotone step sizes—that the authors note could likely be relaxed in future work, alongside characterizing broader update rules that preserve optimal convergence.
Summary updated