Constrained Markov Decision Processes

Definition

A Constrained Markov Decision Process is an MDP augmented with auxiliary cost functions and thresholds, so a policy must maximize reward while satisfying expected cumulative cost constraints.

Why It Matters

CMDPs separate “what the agent is trying to do” from “what it is not allowed to spend, violate, or risk too much.” That separation is often cleaner than burying safety in a reward penalty, because feasibility remains a first-class object.

Formalism / Key Objects

  • A discounted CMDP can be written as an MDP (S,A,P,R,mu,gamma) plus cost functions C_1,...,C_m and thresholds d_1,...,d_m.
  • The reward objective is:
  • Each cost return is:
  • The feasible policy set is:
  • The constrained RL problem is pi* in argmax_{pi in Pi_C} J(pi).
  • Constrained Policy Optimization approximates this problem with trust-region surrogate reward and cost constraints.
  • Probabilistic Shielding can enforce CMDP constraints by augmenting states with a cost budget x and filtering the sampled policy distribution through a backup cost critic.

Connections

Common Confusions

  • A CMDP cost is not automatically a hard safety invariant; it is usually an expected cumulative constraint unless the model encodes an invariant directly.
  • A fixed reward penalty is not equivalent to a CMDP unless the penalty coefficient is known to recover the intended constrained solution.
  • Feasibility during training is different from feasibility only at convergence.

Key Sources