Efficiently Solving Discounted MDPs with Predictions on Transition Matrices

Lixing Lyu, Jiashuo Jiang, Wang Chi CheungarXiv 2025

Abstract

This paper addresses the challenge of accelerating the solution of infinite-horizon Discounted Markov Decision Processes (DMDPs) by utilizing predicted transition matrices. We introduce Optimistic-Predict Mirror Descent (OpPMD), a parameter-free algorithm that leverages these "hints" to improve sample complexity. OpPMD is designed to be both consistent—achieving superior performance with accurate predictions—and robust—maintaining standard performance bounds when predictions are inaccurate. Our theoretical results establish a fundamental lower bound for advice-augmented MDP solvers and demonstrate that OpPMD bridges the performance gap between primal-dual methods and optimal value iteration approaches.

1. Introduction

Reinforcement learning (RL) often relies on a generative model to sample transitions and rewards to find an optimal policy. In the context of Discounted Markov Decision Processes (DMDPs), the sample complexity is typically bounded by a minimax limit, representing the absolute minimum number of samples needed to guarantee a solution in the worst-case scenario. However, practical applications often provide prior information, such as physics-based simulators (e.g., MuJoCo) or historical clinical data, which can be viewed as a predicted transition matrix $\hat{P}$.

The central question is how to integrate these potentially biased predictions to accelerate learning without compromising the algorithm's performance if the predictions are flawed. This paper introduces a "judicious" approach to this problem, ensuring that advice is used effectively when accurate and ignored when misleading.

2. Problem Formulation

We consider a DMDP defined by a state space $\mathcal{S}$, action space $\mathcal{A}$, transition probability matrix $P$, reward function $r$, and discount factor $\gamma \in (0, 1)$. The goal is to find a policy that maximizes the expected discounted reward. This is formulated as a minimax bilinear optimization problem using the dual representation of the MDP:

$$\min_{v} \max_{\mu} \mathcal{L}(\mu, v)$$

where $\mu$ represents the discounted occupancy measure and $v$ represents the value function. The authors specifically target the sample complexity required to reach an $\epsilon$-optimal solution.

3. The OpPMD Algorithm

The proposed algorithm, Optimistic-Predict Mirror Descent (OpPMD), incorporates several key technical innovations to utilize transition predictions efficiently:

3.1 Optimistic Mirror Descent with Predictions

Standard mirror descent updates based on past gradients. OpPMD employs an "optimistic" approach by using the predicted transition matrix $\hat{P}$ to "peek ahead" and estimate future gradients. This look-ahead mechanism allows the algorithm to converge faster if $\hat{P}$ is a close approximation of the true transition matrix $P$.

3.2 Adaptive and Parameter-Free Learning

A significant challenge in advice-augmented algorithms is determining the weight of the advice. OpPMD is parameter-free, meaning it does not require prior knowledge of the prediction's accuracy or the target error $\epsilon$ in advance. It automatically adjusts its learning rates based on the observed variance and the empirical error of the prediction.

3.3 Variance Reduction

To handle the noise inherent in stochastic gradient estimation, OpPMD utilizes a variance reduction technique. This ensures that as more samples are collected, the gradient estimates become increasingly stable, facilitating faster convergence to the optimal policy.

4. Theoretical Contributions

The paper provides a rigorous analysis of the sample complexity of OpPMD, highlighting both the potential and the limits of advice-based solvers.

4.1 The Fundamental "Speed Limit"

The authors prove a sobering theoretical impossibility result: without knowing the accuracy of the prediction beforehand, no algorithm can surpass the minimax lower bound of $\tilde{O}((1-\gamma)^{-3}N\epsilon^{-2})$. This result establishes that while predictions can help in specific instances, they cannot lower the global worst-case complexity for unknown advice quality.

4.2 Improved Primal-Dual Bounds

Historically, primal-dual methods have suffered from a sample complexity of $\tilde{O}((1-\gamma)^{-4}N\epsilon^{-2})$, which has lagged behind the theoretical lower bounds achieved by value iteration. OpPMD bridges this gap. Its complexity is sensitive to the prediction error: when the prediction is accurate, the sample complexity drops significantly, making primal-dual methods competitive with the best-known value-based approaches.

5. Numerical Experiments

The effectiveness of OpPMD was validated using synthetic MDP environments designed to test the algorithm's ability to distinguish between states based on rewards and transition probabilities.

  • Accuracy vs. Robustness: The algorithm was tested under two primary conditions: OpPMD-AC (Accurate Prediction) and OpPMD-NAC (Inaccurate/Noisy Prediction).
  • Performance: In scenarios with perfect predictions, OpPMD demonstrated significantly faster convergence to the optimal value function compared to standard benchmarks like SMD-DMDP-JINSID.
  • Graceful Degradation: When faced with highly noisy or misleading predictions, OpPMD's performance did not collapse. Instead, it performed similarly to standard algorithms, proving its robustness against "bad advice."

6. Conclusion and Future Work

OpPMD represents a significant step in making primal-dual RL algorithms more efficient by incorporating external "hints." By balancing optimism with robustness, the algorithm leverages available data without being tethered to its potential inaccuracies.

Future research directions include expanding the framework to incorporate predictions for reward functions or Q-values, and extending these techniques to average-reward MDPs or constrained MDP environments.

Summary updated

BibTeX
@misc{lyu2025efficiently,
  author = {Lixing Lyu and Jiashuo Jiang and Wang Chi Cheung},
  title = {{Efficiently Solving Discounted MDPs with Predictions on Transition Matrices}},
  year = {2025},
  eprint = {2502.15345},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.15345},
}
Figure