Reinforcement Learning (RL) relies heavily on Stochastic Approximation (SA) to update value functions and policies. However, the theoretical foundations for the stability of these updates often rest on the assumption of independent and identically distributed (i.i.d.) noise. In a paper published in the Journal of Machine Learning Research (2025), researchers present a significant advancement by extending the Borkar-Meyn theorem to accommodate Markovian noise—the standard in RL environments. This work bridges a long-standing gap between theoretical stability and the practical reality of RL algorithms.
The Stability Problem in Reinforcement Learning
In machine learning, proving that an algorithm actually works requires proving it is stable—meaning the values it generates will not "blow up" to infinity. The standard mathematical tool for this is the Borkar-Meyn theorem. However, this theorem assumes that the noise in the system is i.i.d., which is rarely the case in RL. Because an agent moves through a sequence of states, the noise is inherently Markovian (the current state depends on the previous one).
Previous attempts to address Markovian noise required restrictive assumptions, such as assuming the noise stays within a small, "compact" box. In off-policy RL with eligibility traces, importance sampling ratios can cause the noise to grow unbounded, violating these assumptions. This paper provides a framework to prove stability without such unrealistic restrictions.
Methodology: The ODE Approach
The authors utilize the ODE Method, which treats discrete algorithmic updates as if they were following a continuous path defined by an Ordinary Differential Equation (ODE). The core innovation is a "subsequence view" of stability:
- Scaling Iterates: The researchers analyze "scaled" versions of the algorithm's iterates to observe their behavior as they grow large.
- Calculus Theorems: By applying the Arzela-Ascoli and Moore-Osgood theorems, they demonstrate that even if the entire sequence is erratic, there is always a well-behaved subsequence that converges to a limiting ODE.
- Averaging Noise: They leverage the Strong Law of Large Numbers (LLN) and the Law of the Iterated Logarithm (LIL) to show that the average effect of Markovian noise settles down quickly enough to avoid destabilizing the system.
By proving that these scaled iterates are eventually pulled back toward the equilibrium of the ODE, the authors establish that the original algorithm cannot diverge to infinity.
Key Theoretical Insights
- Breaking the "Deadly Triad": The "deadly triad" refers to the instability that occurs when combining function approximation, bootstrapping, and off-policy learning. This paper provides a more robust theoretical shield against this instability.
- The Hurwitz Condition: For linear algorithms, the authors show that the expected update matrix only needs to be Hurwitz (all eigenvalues have negative real parts). This is a much weaker and more practical condition than the "negative definite" requirement often found in previous proofs.
- Handling Unboundedness: The framework is specifically designed to handle the unbounded noise typical of eligibility traces in off-policy settings, where importance sampling ratios can occasionally become massive.
Results and Applications
As a theoretical contribution, the paper's "evaluation" consists of applying the new theorem to existing algorithms to provide rigorous proofs of their convergence:
- GTD($\lambda$) Convergence: The paper provides the first almost-sure convergence proof for Gradient TD with eligibility traces without requiring artificial "tricks" like projection operators that add bias to the final solution.
- ETD($\lambda$) Simplification: It significantly simplifies the existing, highly complex convergence proofs for Emphatic TD, making the underlying theory more accessible to the research community.
Limitations and Future Work
While this paper settles the question of if these algorithms converge, it leaves open several questions regarding the nature of that convergence:
- Convergence Rates: The paper does not establish how fast the algorithms reach a solution (e.g., $L^p$ convergence rates).
- Central Limit Theorem: The authors suggest that a functional central limit theorem could be developed for this Markovian setting to better understand error distribution.
- Rank Deficiency: Future work could explore cases where the feature matrix does not have full column rank, a common occurrence in very large-scale problems.
Summary updated