Rank-One Modified Value Iteration

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

TL;DR

The paper introduces Rank-One Modified Value Iteration (R1-VI) and Rank-One Q-learning (R1-QL), novel algorithms that bridge the gap between Value Iteration and Policy Iteration for solving Markov Decision Processes (MDPs). By utilizing a clever rank-one matrix approximation of the state transition matrix, these algorithms achieve the fast, robust convergence behavior of Policy Iteration while maintaining the low per-iteration computational cost of standard Value Iteration.

What Problem Does This Paper Address?

When solving Markov Decision Processes (MDPs) for planning or reinforcement learning, researchers typically choose between two classic dynamic programming algorithms: Value Iteration (VI) and Policy Iteration (PI).

This choice comes with a stark trade-off:

  • Value Iteration is computationally cheap per iteration ($O(n^2m)$ for $n$ states and $m$ actions) but suffers from slow, linear convergence, especially when the discount factor $\gamma$ is close to 1.
  • Policy Iteration converges in far fewer iterations (boasting local quadratic convergence) because it performs a full policy evaluation at each step. However, this evaluation requires inverting a large matrix, incurring a brutal $O(n^3)$ cost per iteration.

Many existing acceleration techniques borrow ideas from optimization (like Nesterov or Anderson acceleration), but they can be unstable or fail to fully exploit the underlying linear-algebraic structure of MDPs. This paper addresses the challenge of designing an algorithm that delivers the rapid convergence of PI with the lightweight computational footprint of VI.

Methods

The authors propose a novel update rule based on a rank-one approximation of the transition probability matrix ($P_k$).

Instead of fully inverting the matrix $(I - \gamma P_k)^{-1}$ as required in Policy Iteration, they approximate $P_k$ as a rank-one matrix: $$\tilde{P}_k = \mathbf{1}d_k^\top$$ where $\mathbf{1}$ is an all-one vector and $d_k$ is the stationary distribution of the Markov chain under the current greedy policy.

By substituting this approximation into the PI update rule, they can leverage the Woodbury matrix identity. This mathematical shortcut transforms a complex matrix inversion into a simple vector-matrix multiplication. To keep the algorithm cheap, they don't solve for $d_k$ exactly at each step; instead, they approximate it dynamically by running just a single iteration of the power method per time step.

The authors develop two distinct variants:

  1. R1-VI (Planning): For settings where the true MDP transition model is known.
  2. R1-QL (Learning): An extension to model-free reinforcement learning (Q-learning) that estimates the stationary distribution directly from environment samples using stochastic approximation.

Datasets

The algorithms were evaluated using synthetic, standard benchmarks common in control and RL theory:

  • Garnet MDPs: A class of randomly generated, totally abstract MDPs used to benchmark average performance. The authors tested instances with $n=200$ states, $m=5$ actions, and a branching factor of 10.
  • Graph MDPs: Structured MDPs based on graph topologies, configured following prior literature to test algorithmic robustness.
  • Gridworld Variants: Classic grid-based navigation tasks configured as either Absorbing Gridworld (positive reward at the goal state) or Terminal Gridworld (zero reward at the goal state) to analyze edge cases.

Key Insights and Ideas

  • The Woodbury Shortcut: The core "aha!" moment is realizing that the dominant eigenstructure of a stochastic matrix is captured by its stationary distribution. Approximating the matrix around this single dominant eigenvalue turns an $O(n^3)$ bottleneck into an $O(n^2)$ breeze.
  • Amortized Power Method: You don't need perfect accuracy at every step. Because greedy policies tend to stabilize and remain unchanged across multiple consecutive iterations, a single step of the power method per iteration is enough to track the stationary distribution effectively over time.
  • Immunity to $\gamma \to 1$ Slowdown: Standard VI and Q-learning degrade drastically as $\gamma$ approaches 1. Because the rank-one correction explicitly scales with $\frac{1}{1-\gamma}$, it naturally counteracts this horizon-induced slowdown, mimicking second-order optimization methods.

Key Results

  • Computational Efficiency: R1-VI maintains a per-iteration complexity of $O(n^2m)$ (identical to VI), and R1-QL maintains $O(nm^2)$ (identical to synchronous Q-learning).
  • Empirical Acceleration: Despite having the same theoretical worst-case convergence rate as VI/QL, both R1 algorithms drastically outperformed standard and accelerated first-order methods (like Nesterov-VI and Anderson-VI) in practice.
  • High-Discount Performance: At $\gamma = 0.999$, R1-VI converged to the target error threshold orders of magnitude faster than standard VI, performing comparably to full Policy Iteration.
  • Lower Variance in RL: In learning experiments, R1-QL achieved lower or comparable value errors to Speedy QL and standard QL, while exhibiting significantly lower error variance than Zap QL (which attempts a full-rank matrix inversion).

Limitations and Future Work

  • Theoretical vs. Empirical Gap: The current proofs only guarantee that the R1 methods converge at least as fast as standard VI/QL. They do not yet theoretically quantify the massive speedups observed in the experiments.
  • Vulnerability to Zero-Reward Absorbing States: In environments like Terminal Gridworld, the stationary distribution concentrates entirely on a single state that yields zero reward. In this specific case, the rank-one correction term vanishes, causing R1-VI to lose its performance edge and behave like standard VI.
  • Continuous Spaces & Function Approximation: The algorithm relies heavily on the tabular structure of transition matrices, making it difficult to directly combine with deep neural networks for continuous state-action spaces.
  • Asynchronous Complexity: While R1-QL works beautifully in synchronous updates, extending it to an asynchronous setting increases the per-iteration complexity from $O(m)$ to $O(nm)$, making it less practical for certain asynchronous RL architectures.

Summary updated

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