[Paper Review] Near-Optimal Time and Sample Complexities for Solving Discounted Markov Decision Process with a Generative Model
This paper presents a variance-reduced Q-value iteration algorithm that achieves near-optimal time and sample complexity for computing an $C2$-optimal policy in discounted Markov Decision Processes (DMDPs) using a generative model. The method matches the sample complexity lower bound up to logarithmic factors and achieves runtime complexity equal to its sample complexity up to constant factors, making it both sample- and runtime-optimal in the regime $1/\sqrt{(1-\gamma)|\mathcal{S}|} \leq \epsilon \leq 1$.
In this paper we consider the problem of computing an $ε$-optimal policy of a discounted Markov Decision Process (DMDP) provided we can only access its transition function through a generative sampling model that given any state-action pair samples from the transition function in $O(1)$ time. Given such a DMDP with states $S$, actions $A$, discount factor $γ\in(0,1)$, and rewards in range $[0, 1]$ we provide an algorithm which computes an $ε$-optimal policy with probability $1 - δ$ where \emph{both} the time spent and number of sample taken are upper bounded by \[ O\left[\frac{|S||A|}{(1-γ)^3 ε^2} \log \left(\frac{|S||A|}{(1-γ)δε} ight) \log\left(\frac{1}{(1-γ)ε} ight) ight] ~. \] For fixed values of $ε$, this improves upon the previous best known bounds by a factor of $(1 - γ)^{-1}$ and matches the sample complexity lower bounds proved in Azar et al. (2013) up to logarithmic factors. We also extend our method to computing $ε$-optimal policies for finite-horizon MDP with a generative model and provide a nearly matching sample complexity lower bound.
Motivation & Objective
- Address the gap in existing algorithms that are not simultaneously sample- and runtime-optimal for computing $C2$-optimal policies in DMDPs with a generative model.
- Close the theoretical gap between the best-known upper bounds and the established sample complexity lower bounds for this problem.
- Develop an algorithm that achieves optimal sample and runtime complexity up to polylogarithmic factors in the regime of interest.
- Extend the method to finite-horizon MDPs and provide a nearly matching sample complexity lower bound.
- Overcome the limitation of prior methods that require $O((1-\gamma)^{-5}\epsilon^{-2})$ samples to achieve $C2$-optimality by improving the dependence on $(1-\gamma)$.
Proposed method
- The paper introduces a randomized Variance-Reduced Q-Value Iteration (vQVI) algorithm that leverages variance reduction techniques to improve convergence and stability during value iteration.
- Variance reduction is applied to the Q-value update step to reduce the noise in gradient estimates, enabling faster convergence with fewer samples.
- Each state-action pair is sampled via a generative model that provides $O(1)$-time access to transition distributions.
- The algorithm uses sparse updates to maintain low runtime complexity, ensuring that the total time is proportional to the number of samples used.
- Key theoretical components include the use of concentration inequalities and martingale arguments to bound the deviation of estimated values from true values with high probability.
- The method is extended to finite-horizon MDPs by constructing a correspondence between finite-horizon and infinite-horizon problems using a discount factor transformation.
Experimental results
Research questions
- RQ1What is the optimal sample complexity for computing an $C2$-optimal policy in a discounted MDP with a generative model?
- RQ2Can an algorithm be designed that achieves both optimal sample complexity and optimal runtime complexity simultaneously?
- RQ3How does the dependence on the discount factor $(1-\gamma)^{-1}$ affect the sample and runtime complexity in existing algorithms?
- RQ4What is the tightest possible lower bound on the number of samples required to compute an $C2$-optimal policy?
- RQ5Can the proposed method be extended to finite-horizon MDPs with a matching sample complexity lower bound?
Key findings
- The proposed vQVI algorithm computes an $C2$-optimal policy with probability $1-\delta$ using $O\left[\frac{|\mathcal{S}||\mathcal{A}|}{(1-\gamma)^3\epsilon^2}\log\left(\frac{|\mathcal{S}||\mathcal{A}|}{(1-\gamma)\delta\epsilon}\right)\log\left(\frac{1}{(1-\gamma)\epsilon}\right)\right]$ samples.
- The algorithm’s runtime complexity matches its sample complexity up to constant factors, assuming $O(1)$ time per sample transition.
- The sample complexity of the algorithm matches the known sample complexity lower bound from [AMK13] up to logarithmic factors.
- For finite-horizon MDPs, the method achieves a nearly matching sample complexity lower bound of $\Omega(H^{-3}\epsilon^{-2}|\mathcal{S}||\mathcal{A}|/\log\epsilon^{-1})$.
- The algorithm improves upon prior work by reducing the dependence on $(1-\gamma)^{-1}$ by a factor of $(1-\gamma)^{-1}$, closing a long-standing gap in the literature.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.