Abstract We provide faster randomized algorithms for computing an $\epsilon$-optimal policy in a discounted Markov decision process (MDP) with $A_{\text{tot}}$ state-action pairs, bounded rewards, and discount factor $\gamma$. We introduce a variant of stochastic variance-reduced value iteration that carefully truncates the progress of its iterates to improve the variance of new sampling procedures. Our approach yields an $\tilde{O}(A_{\text{tot}}[(1 - \gamma)^{-3}\epsilon^{-2} + (1 - \gamma)^{-2}])$-time algorithm in the sampling setting and an $\tilde{O}(s + (1-\gamma)^{-2})$-time algorithm in the offline setting where the transition matrix is $s$-sparse. These results improve upon the prior state-of-the-art and take a significant step in closing the sample-complexity gap between model-free and model-based methods while maintaining $\tilde{O}(A_{\text{tot}})$ space complexity.
Introduction
Solving discounted Markov Decision Processes (MDPs) is a cornerstone of reinforcement learning. In these environments, an agent seeks to maximize a stream of rewards discounted by a factor $\gamma \in (0, 1)$. The difficulty of these problems is often dictated by the "effective horizon," roughly $1/(1-\gamma)$. As $\gamma$ approaches 1, the long-term consequences of actions become more significant, and the computational challenge increases.
Historically, researchers have navigated a trade-off between two settings:
- The Sample Setting: The transition rules are unknown, but accessible via a generative model (simulator).
- The Offline Setting: The transition matrix is fully known and stored in memory.
While "model-based" methods—which construct an explicit map of the environment—are sample-efficient, they are often memory-intensive. Conversely, "model-free" methods like Value Iteration (VI) are memory-efficient but have historically suffered from higher computational complexity, often scaling with $(1-\gamma)^{-3}$. This paper introduces Truncated Variance Reduced Value Iteration (TruncatedVRVI) to bridge this gap, achieving near-optimal runtimes with a low memory footprint.
The TruncatedVRVI Framework
The core innovation of this work is the integration of recursive variance reduction with a novel truncation mechanism. The algorithm is built upon three primary pillars:
1. Recursive Variance Reduction
Drawing inspiration from optimization techniques such as SARAH, TruncatedVRVI avoids re-estimating the entire utility of state-action pairs from scratch. Instead, it estimates the change in utility between successive iterations and adds this to a running total. This "telescoping" approach ensures that estimation errors do not accumulate aggressively, keeping the total variance manageable.
2. The Truncation Insight
A significant hurdle in variance-reduced methods for MDPs is that sudden, large jumps in value estimates can cause the variance of stochastic samples to explode. The authors address this by introducing a truncation step. By manually capping the change of any single value estimate to a maximum of $(1-\gamma)\alpha$ (where $\alpha$ represents the current error level), the algorithm maintains stability. This ensures the "martingale" structure tracking the error does not fluctuate wildly, allowing for high-accuracy estimates with fewer samples.
3. Monotonicity
The algorithm is designed to ensure that value estimates increase monotonically toward the optimal value. This property allows the truncation to be implemented as a simple min operation, preventing the iterates from "overshooting" the target and preserving the convergence guarantees established in the paper's theoretical proofs.
Key Results and Complexity Improvements
The theoretical contributions of this paper significantly advance the state-of-the-art for both offline and sampling regimes:
- Offline Setting: For a known transition matrix with $s$ non-zero entries, the runtime is improved from $\tilde{O}(s + A_{\text{tot}}(1-\gamma)^{-3})$ to $\tilde{O}(s + (1-\gamma)^{-2})$. For sparse matrices, this represents a substantial leap in efficiency.
- Sample Setting: The algorithm achieves a complexity of $\tilde{O}(A_{\text{tot}}[(1 - \gamma)^{-3}\epsilon^{-2} + (1 - \gamma)^{-2}])$. This matches the best-known sample complexity for a wide range of $\epsilon$ while utilizing significantly less memory than model-based alternatives.
- Space Efficiency: By operating in $\tilde{O}(A_{\text{tot}})$ space, the method demonstrates that model-free approaches can match the efficiency of model-based methods without the need to store large transition models.
Discussion and Future Work
TruncatedVRVI demonstrates that limiting short-term algorithmic progress through truncation can lead to massive gains in overall stability and speed. While this work improves the additive term of the complexity from $(1-\gamma)^{-3}$ to $(1-\gamma)^{-2}$, a remaining open challenge in the field is reaching the theoretical lower bound of $(1-\gamma)^{-1}$.
Furthermore, as a theoretical framework, the practical application of these "truncated" updates in deep reinforcement learning—where value overestimation is a common issue—remains an area for future empirical study. Finally, extending these variance reduction benefits from a generative model (simulator) setting to a continuous "online" setting remains a critical next step for the field.
Summary updated