cs.LGMar 3, 2026

Learning in Markov Decision Processes with Exogenous Dynamics

Authors: Davide Maran, Davide Salaorni, Marcello Restelli

Organizations: Department of DEIB, Politecnico di Milano, Milan, Italy.

Abstract

Reinforcement learning algorithms are typically designed for generic Markov Decision Processes (MDPs), where any state-action pair can lead to an arbitrary transition distribution. In many practical systems, however, only a subset of the state variables is directly influenced by the agent's actions, while the remaining components evolve according to exogenous dynamics and account for most of the stochasticity. In this work, we study a structured class of MDPs characterized by exogenous state components whose transitions are independent of the agent's actions. We show that exploiting this structure yields significantly improved learning guarantees, with only the size of the exogenous state space appearing in the leading terms of the regret bounds. We further establish a matching lower bound, showing that this dependence is information-theoretically optimal. Finally, we empirically validate our approach across classical toy settings and real-world-inspired environments, demonstrating substantial gains in sample efficiency compared to standard reinforcement learning methods.

Figures & tables

Appendix figures & tables9 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

Sep 22, 2024

Exploiting Exogenous Structure for Sample-Efficient Reinforcement Learning

We study a structured class of Markov Decision Processes, known as Exo-MDPs, in which the state space is partitioned into exogenous and endogenous components. Exogenous states evolve stochastically, independent of the agent's actions, while endogenous states evolve deterministically based on both state components and actions. Exo-MDPs capture many operations research settings, including inventory control, resource management, and ride-sharing. Our first contribution is structural: we establish a representational equivalence between discrete MDPs, Exo-MDPs, and discrete linear mixture MDPs. Our second contribution is statistical. We characterize the minimax regret of learning in Exo-MDPs when the effective dimension r is small relative to the endogenous state and action spaces. When the exogenous states are unobserved, we prove matching upper and lower regret bounds of order Θ(HrK)Θ(Hr \sqrt{K}) over KK episodes of horizon HH, where rr is the effective dimension of the Exo-MDP. When exogenous states are observed, the minimax regret improves to Θ(HrK)Θ(H\sqrt{ r K}), revealing a Θ(r)Θ(\sqrt{r}) statistical gap due to observation of the exogenous states. These results show that Exo-MDPs decouple sample complexity from action space and endogenous state space. We validate these insights with experiments on inventory control and resource allocation.
Jun 23, 2026

Minimax PAC Bounds for Learning in Exogenous Contextual MDPs

We introduce a PAC framework in which the learner can access sampling oracles both before and at decision time. Sample complexity is measured by a pair (n,m)(n,m), where nn is the learning budget spent before a query is known and mm is the additional sampling budget per query. We demonstrate its relevance in discounted Markov decision processes with exogenous i.i.d.\ contexts revealed before acting. Contexts may affect both rewards and transitions but remain uncontrolled by the agent. The learner can sample the unknown context distribution and the transition kernel. We study policy evaluation (PE), best-value estimation (BVE), and best-policy extraction (BPE). When rewards and transitions are known, a variance-reduced algorithm solves all three tasks with sample complexity (O~((1−γ)−3ε−2),0)\bigl(\widetilde O((1-γ)^{-3}\varepsilon^{-2}),0\bigr), which is minimax optimal up to logarithmic factors. Let X\mathcal{X} be the controlled state space. When transitions are also unknown, we give a PE algorithm with complexity (O~(∣X∣(1−γ)−3ε−2),O~((1−γ)−2ε−2))\bigl(\widetilde O(|\mathcal X|(1-γ)^{-3}\varepsilon^{-2}), \widetilde O((1-γ)^{-2}\varepsilon^{-2})\bigr) and matching lower bounds at this budget pair. For BVE and BPE, we give an algorithm with a common offline budget O~(∣X∣2∣A∣(1−γ)−4ε−2)\widetilde O(|\mathcal X|^2|\mathcal A|(1-γ)^{-4}\varepsilon^{-2}) and respective query costs O~(∣A∣(1−γ)−2ε−2)\widetilde O(|\mathcal A|(1-γ)^{-2}\varepsilon^{-2}) and O~(∣A∣(1−γ)−3ε−2)\widetilde O(|\mathcal A|(1-γ)^{-3}\varepsilon^{-2}). Importantly, all bounds are independent of the context-space cardinality.
Mar 6, 2026

Joint MDPs and Reinforcement Learning in Coupled-Dynamics Environments

Many distributional quantities in reinforcement learning are intrinsically joint across actions, including distributions of gaps and probabilities of superiority. However, the classical Markov decision process (MDP) formalism specifies only marginal laws and leaves the joint law of counterfactual one-step outcomes across multiple possible actions at a state unspecified. We study coupled-dynamics environments with a multi-action generative interface which can sample counterfactual one-step outcomes for multiple actions under shared exogenous randomness. We propose joint MDPs (JMDPs) as a formalism for such environments by augmenting an MDP with a multi-action sample transition model which specifies a coupling of one-step counterfactual outcomes, while preserving standard MDP interaction as marginal observations. We adopt and formalize a one-step coupling regime where dependence across actions is confined to immediate counterfactual outcomes at the queried state. In this regime, we derive Bellman operators for nnth-order return moments, providing dynamic programming and incremental algorithms with convergence guarantees.