Solving multi-model MDPs by coordinate ascent and dynamic programming

Xihong Su, Marek Petrik

Abstract

Multi-model Markov decision process (MMDP) is a promising framework for computing policies that are robust to parameter uncertainty in MDPs. MMDPs aim to find a policy that maximizes the expected return over a distribution of MDP models. Because MMDPs are NP-hard to solve, most methods resort to approximations. In this paper, we derive the policy gradient of MMDPs and propose CADP, which combines a coordinate ascent method and a dynamic programming algorithm for solving MMDPs. The main innovation of CADP compared with earlier algorithms is to take the coordinate ascent perspective to adjust model weights iteratively to guarantee monotone policy improvements to a local maximum. A theoretical analysis of CADP proves that it never performs worse than previous dynamic programming algorithms like WSU. Our numerical results indicate that CADP substantially outperforms existing methods on several benchmark problems.

Introduction

In standard Reinforcement Learning (RL), environments are often assumed to have known or perfectly estimable transition probabilities and rewards. However, real-world scenarios typically involve a distribution of possible models derived from limited data. Multi-Model MDPs (MMDPs) address this uncertainty by seeking a policy that maximizes the expected return across a distribution of potential models.

Solving MMDPs optimally is NP-hard. Existing approaches generally fall into two categories: Dynamic Programming (DP) methods, which are fast but often use fixed model weights, and Policy Gradient methods, which are flexible but computationally expensive and prone to local optima. This work introduces an algorithm that bridges this gap, offering the efficiency of DP with the principled optimization of policy gradients.

Methodology: Coordinate Ascent Dynamic Programming (CADP)

The proposed CADP algorithm introduces two core innovations to solve MMDPs effectively. First, it utilizes adjustable model weights. Unlike previous DP methods that rely on a fixed prior distribution, CADP uses weights representing the joint probability of being in a specific state and a specific model being the "true" one. This allows the agent to update its belief about the model based on its current state.

Second, CADP adopts a coordinate ascent perspective. While the overall MMDP objective is non-convex, it is linear with respect to the policy at any single time step. CADP exploits this by iteratively optimizing the policy one time step at a time while holding others fixed. These steps are interleaved with a backward dynamic programming pass, ensuring efficient value function updates.

Figure 1: Mean return over iterations for different initial policies, demonstrating monotone improvement and convergence to a local maximum.

A key theoretical contribution is the proof of monotone improvement: CADP is guaranteed to never perform worse than its predecessors (like WSU) and will improve the policy return at every iteration until a local maximum is reached.

Experimental Evaluation

The algorithm was evaluated on several benchmarks, including Riverswim (RS), Population (POP/POPS), HIV Management, and Inventory (INV). The researchers used a train/test split for models to ensure the policies generalized well to model uncertainty.

Key Results

CADP consistently achieved superior returns across all tested domains. Notably, in the "Population-small" (POPS) domain, CADP achieved a mean return of -1067, significantly outperforming WSU (-1915) and the baseline MVP (-2147).

Figure 3: Mean returns across various benchmark domains. CADP achieves the highest returns in most scenarios, particularly in the POP and POPS challenges.

In terms of efficiency, while CADP is 3–10 times slower than simple one-pass DP methods due to its iterative nature, it remains orders of magnitude faster than POMDP solvers. For instance, in the HIV domain, CADP solved the problem in 0.0053 minutes, compared to 0.71 minutes for QMDP, while also achieving a higher return.

Conclusion

CADP provides a robust and efficient framework for solving MMDPs by combining coordinate ascent with dynamic programming. While it is currently limited to tabular MDPs and finding local maxima, its performance on benchmarks demonstrates its practical utility. Future work may explore integrating CADP with function approximation for high-dimensional problems and incorporating limited memory to further bridge the gap between Markov and history-dependent policies.

Summary updated

BibTeX
@inproceedings{su2023solving,
  author = {Xihong Su and Marek Petrik},
  title = {{Solving multi-model MDPs by coordinate ascent and dynamic programming}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2023},
  url = {https://openreview.net/forum?id=kxs1oxeTMC},
}
Figure