Rank-One Modified Value Iteration

Arman Sharifi Kolarijani, Tolga Ok, Peyman Mohajerin Esfahani, Mohamad Amin Sharifi Kolarijani

Abstract

Solving Markov Decision Processes (MDPs) traditionally involves a trade-off between the low per-iteration cost of Value Iteration (VI) and the rapid convergence of Policy Iteration (PI). This paper introduces Rank-One Modified Value Iteration (R1-VI) and its reinforcement learning variant, R1-QL. By utilizing a rank-one approximation of the transition matrix based on the stationary distribution, the proposed method leverages the Woodbury matrix identity to perform quasi-second-order updates with the computational complexity of first-order methods. Empirical results on Garnet and Graph MDPs demonstrate that R1-VI significantly outperforms standard and accelerated VI methods, particularly in high-discount regimes, while maintaining stability and efficiency.

1. Introduction

In the field of Reinforcement Learning and planning, solving Markov Decision Processes (MDPs) usually forces a choice between two computational extremes. Value Iteration (VI) is a first-order method similar to gradient descent; it is computationally inexpensive per step ($O(n^2m)$) but suffers from slow linear convergence, especially as the discount factor $\gamma$ approaches 1. Conversely, Policy Iteration (PI) behaves like a second-order method (Newton’s method), converging in very few iterations. However, PI requires an expensive $O(n^3)$ matrix inversion at every step to solve the system $(I - \gamma P_k)^{-1}$, making it impractical for large state spaces.

Researchers from TU Delft and the University of Toronto propose a "best of both worlds" approach. By employing a clever rank-one approximation of the transition matrix, they have developed algorithms that maintain the low computational cost of VI while achieving convergence speeds that rival PI, particularly in "hard" problems where the discount factor is close to 1.

2. Methodology

2.1 The Rank-One Approximation

The core innovation lies in the modification of the standard Bellman update. The authors propose a novel update rule: $$v_{k+1} = v_k + G_k (T(v_k) - v_k)$$ Where $G_k$ is a "gain matrix." In standard PI, $G_k = (I - \gamma P_k)^{-1}$. The authors replace the full transition matrix $P_k$ with a rank-one approximation $\tilde{P}_k = \mathbf{1}d_k^\top$, where $d_k$ is the stationary distribution of the current greedy policy.

This approach is computationally viable due to the Woodbury Matrix Identity. Because the approximation is rank-one, the inverse $(I - \gamma \tilde{P}_k)^{-1}$ can be computed analytically and extremely quickly. The resulting update simplifies to a standard Bellman step plus a scalar "correction term" based on the stationary distribution. To find $d_k$ without a full eigen-decomposition, the authors use a single iteration of the power method at each step. Since policies often remain stable for several iterations, this single-step approach effectively tracks the stationary distribution over time.

2.2 Extension to Reinforcement Learning: R1-QL

The authors extend this logic to the model-free setting with R1-QL. In this variant, the algorithm maintains a running stochastic approximation of the stationary distribution using samples from the environment. This allows the benefits of the rank-one correction to be applied to Q-learning without requiring explicit knowledge of the transition dynamics.

3. Experimental Evaluation

The algorithms were evaluated on three primary benchmarks:

  • Garnet MDPs: Randomly generated MDPs used to test robustness across various state and action densities.
  • Graph MDPs: Challenging structures designed to highlight the limitations of standard Q-learning and the benefits of second-order methods.
  • Gridworld: Specifically used to analyze performance in "reducible" MDPs containing absorbing goal states.

3.1 Key Results

  • High-Discount Performance: In planning tasks with $\gamma = 0.999$, R1-VI reached error thresholds in approximately 100 iterations. In contrast, standard VI and Nesterov-accelerated VI required over 10,000 iterations to reach the same threshold.
  • Stability and Acceleration: R1-VI consistently outperformed other acceleration schemes like Anderson and Nesterov acceleration. Unlike these methods, which can be non-monotonic or unstable in certain MDP configurations, R1-VI provided a consistent descent toward the optimal value function.
  • RL Benchmarks: R1-QL achieved significantly lower Bellman error and lower variance compared to Speedy Q-learning and standard Q-learning. It performed comparably to Zap Q-learning but with significantly lower computational overhead and improved stability.

4. Discussion and Limitations

4.1 Theoretical Insights

The authors prove that the stationary distribution provides the "best" rank-one approximation of a transition matrix in terms of its spectral radius. This ensures the approximation captures the most important long-term dynamics of the policy. Effectively, the R1-VI update approximates the inverse of the "Hessian" of the Bellman error by focusing on its most dominant eigenvalue ($1/(1-\gamma)$).

4.2 Limitations

Despite its strengths, the algorithm has specific limitations:

  • Reducible MDPs: The method relies on the stationary distribution. In "Terminal Gridworlds" where a goal state is absorbing, the stationary distribution collapses to that single state. In such cases, the correction term vanishes, and R1-VI reverts to standard VI performance.
  • Function Approximation: The current study focuses on tabular MDPs. Extending rank-one logic to deep RL with continuous state spaces is challenging, as defining and tracking a stationary distribution with neural networks is non-trivial.
  • Theoretical Gaps: While empirical results are strong, current convergence proofs for R1-QL assume synchronous updates. Proving stability in the more common asynchronous setting remains an open area for future research.

5. Conclusion

Rank-One Modified Value Iteration represents a significant step in bridging the gap between first-order and second-order MDP solvers. By focusing on the dominant spectral components of the transition matrix, R1-VI and R1-QL provide a scalable, stable, and highly efficient alternative to traditional acceleration methods, particularly for problems with long horizons.

Summary updated

BibTeX
@inproceedings{kolarijani2025rank,
  author = {Arman Sharifi Kolarijani and Tolga Ok and Peyman Mohajerin Esfahani and Mohamad Amin Sharifi Kolarijani},
  title = {{Rank-One Modified Value Iteration}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=44WiPvzDbu},
}
Figure