NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Configurable Markov Decision Processes

Alberto Maria Metelli, Mirco Mutti, Marcello Restelli

TL;DR

Standard Reinforcement Learning (RL) assumes the environment is a fixed "black box" that the agent must adapt to. This paper introduces Configurable Markov Decision Processes (Conf-MDPs), a framework where the environment itself can be partially tuned to maximize agent performance. The authors propose Safe Policy-Model Iteration (SPMI), an algorithm that jointly optimizes the agent's policy and the environment's configuration while providing theoretical guarantees that performance will never decrease during the learning process.

The Challenge: Fixed vs. Configurable Environments

In most RL scenarios, the environment's dynamics—how the world moves from state to state—are considered immutable. However, in many real-world applications, we actually have some control over the environment. For example:

  • Education: An automated teacher can adjust the difficulty of questions to help a student learn faster.
  • Retail: A store manager can rearrange product placement to influence customer behavior.
  • Engineering: A car's stability control or tire type can be configured to suit a specific driver's style.

The challenge is that the optimal policy depends on the environment configuration, and the optimal configuration depends on the agent's policy. Trying to optimize both simultaneously often leads to instability or performance drops. This paper seeks a principled way to handle this "co-optimization" safely and efficiently.

Framework and Methodology

The authors extend the standard MDP tuple $(S, A, P, R, \gamma, \mu)$ into a Configurable MDP (Conf-MDP) by adding a set of available environment configurations $\mathcal{P}$ and a policy space $\Pi$.

The core contribution is the Safe Policy-Model Iteration (SPMI) algorithm. Its key features include:

  1. Performance Improvement Bounds: The authors derive new "Coupled" and "Decoupled" lower bounds on performance. These bounds allow the algorithm to calculate exactly how much a change in policy or environment will help, ensuring monotonic improvement (i.e., the agent's expected return only goes up).
  2. Decoupled Optimization: The "Decoupled Bound" is particularly clever because it separates the contribution of the policy update from the environment update. This allows the algorithm to decide whether it's more beneficial to tweak the agent's behavior or the world's dynamics at any given step.
  3. Target Selection: The paper introduces "Persistent Choice" for selecting target configurations, which helps avoid the oscillations and instabilities common in "Greedy" update strategies.

Experimental Domains

The paper evaluates the framework on two custom-designed simulation domains:

  • Student-Teacher Domain: A model of concept learning where an agent (student) learns literals from a teacher (environment). The environment is "unconstrained," meaning the teacher can choose the difficulty of statements to optimize the student's learning curve.
  • Racetrack Simulator: A more complex, parametric environment representing an autonomous driving task. Here, the environment configuration involves tuning "vehicle stability" and "engine boost." This domain tests how the algorithm handles a limited, parameterized space of environment configurations.

Key Insights and Ideas

  • The Environment as a Lever: Instead of viewing the environment as a constraint, Conf-MDPs treat it as a controllable parameter. This shifts the goal from "finding the best policy for this world" to "finding the best world-policy pair."
  • Safety via Monotonicity: By using lower bounds inspired by Conservative Policy Iteration (CPI), the authors ensure that updates are "safe." This is critical for industrial applications where a sudden drop in performance (e.g., a robot crashing due to a bad environment tweak) is unacceptable.
  • Vertex Models: In the parametric setting, the authors show that the optimal environment configuration is often a "mixture" of extreme (vertex) models, rather than just one of the predefined extremes.
  • Local vs. Global: The paper highlights a "measure mismatch" problem—local improvements in environment configuration don't always lead to global performance gains. Their safe bounds specifically account for this to ensure global progress.

Key Results

  • Superiority of Joint Optimization: In both domains, SPMI outperformed sequential approaches (e.g., optimizing the policy first, then the model, or vice versa).
Expected return over iterations showing SPMI outperforming sequential optimization baselines.
  • Faster Convergence: In the Racetrack task, SPMI was able to exploit high-speed stability configurations early in the learning process, allowing the agent to reach the finish line and collect rewards much sooner than standard RL baselines.
  • Stability: The "Persistent Choice" strategy proved significantly more stable than "Greedy" selection, which often caused the learning process to stall or oscillate.
Policy dissimilarity over iterations comparing SPMI-persistent and SPMI-greedy.
  • Theoretical Soundness: The authors proved that SPMI converges to a local optimum where no further small changes to the policy or environment can improve the expected return.

Limitations and Future Work

  • Model Knowledge: The current SPMI algorithm assumes the agent knows the transition model of the configurable parts of the environment. The authors suggest that a "sample-based" version (where the model is unknown and must be estimated) is a logical next step.
  • Complexity: While the bounds are theoretically tight, calculating them for very high-dimensional state spaces could be computationally expensive.
  • Continuous Action Spaces: The experiments focused on discrete or limited parametric spaces. Extending this to fully continuous state-action spaces (e.g., using policy search methods) remains an open research direction.

Summary updated

BibTeX
@inproceedings{metelli2018configurable,
  author = {Alberto Maria Metelli and Mirco Mutti and Marcello Restelli},
  title = {{Configurable Markov Decision Processes}},
  booktitle = {International Conference on Machine Learning},
  year = {2018},
  url = {https://openreview.net/forum?id=rkVOasZOWS},
}
Figure