Introduction
Reward-Weighted Regression (RWR) is a well-established algorithm in Reinforcement Learning (RL), particularly valued for its natural handling of continuous states and actions through an Expectation-Maximization (EM) framework. While RWR has been known to provide monotonic policy improvement—ensuring that a policy never degrades between iterations—the question of whether it ultimately converges to a global optimum remained a significant theoretical gap. This paper addresses this by providing the first formal proof of global convergence for RWR in general settings and characterizing its convergence rates.
Theoretical Framework and Methods
The authors approach the RL problem through the lens of probabilistic inference. They derive a closed-form update rule where the new policy, $\pi_{n+1}$, is calculated by weighting the current policy, $\pi_n$, by the action-value function $Q^{\pi_n}$ and normalizing by the state-value function $V^{\pi_n}$.
A critical component of their analysis involves the role of reward transformations. While practitioners often use non-linear (e.g., exponential) transformations to accelerate learning, the authors prove that only linear transformations are guaranteed to preserve the original MDP's optimal policy. Non-linear shifts can fundamentally alter the problem's objective, leading the agent toward a different "optimum" than intended.
To ensure the proof encompasses continuous action spaces—where an optimal policy might converge to a Dirac delta distribution—the authors utilize "weak convergence of measures" in a quotient space. This mathematical rigor allows them to establish convergence even when the policy representation becomes degenerate at the limit.
Convergence Analysis
The paper provides two primary theoretical results regarding convergence:
- Global Optimality: The limit of the RWR update sequence is shown to be a fixed point of the Bellman optimality operator, bridging the gap between local incremental improvement and global perfection.
- Convergence Rates: In finite state-action spaces, RWR exhibits R-linear convergence, meaning the error decreases at least as fast as a geometric progression. In continuous spaces, however, convergence may become sub-linear as the agent approaches the optimum.
The authors also highlight a "Variance Connection": the improvement in the state-value function at each iteration is directly proportional to the variance of the action-value function. If variance exists, RWR will continue to improve; zero variance indicates the agent has reached a deterministic, likely optimal, policy.
Empirical Validation
To validate these theoretical findings, the authors conducted experiments using a modified Four-Room Gridworld benchmark. The agent's task was to navigate to a goal state with a positive reward structure designed to meet the EM framework's requirements.
As shown in the results, the RMSVE consistently approached zero across numerous random initializations, empirically confirming the global convergence predicted by the theory.
Conclusion and Limitations
This work provides a foundational theoretical guarantee for a popular RL algorithm. However, the authors note several limitations. The current proof assumes a tabular or exact representation of policies; when function approximators like neural networks are used, RWR may still converge to local optima. Additionally, the requirement for strictly positive rewards necessitates prior knowledge of reward bounds. Future research is expected to extend these proofs to off-policy settings using importance sampling techniques.
Summary updated