OCMDP: Observation-Constrained Markov Decision Process

Taiyi Wang, Jianheng Liu, Bryan Lee, Zhihao Wu, Yu Wu

TL;DR

The Observation-Constrained Markov Decision Process (OCMDP) framework addresses environments where gathering information is just as costly as taking the wrong action. By decoupling the decision of what and when to observe from how to act, the proposed model-free reinforcement learning algorithm avoids the curse of dimensionality and significantly cuts down on observation costs without sacrificing performance.

What Problem Does This Paper Address?

In standard reinforcement learning (RL), agents typically assume full observability or operate within a Partially Observable MDP (POMDP) where the level of partial information is fixed. However, in real-world scenarios—especially healthcare—acquiring information isn't free. Medical tests, imaging, and continuous monitoring incur financial costs, take time, and can be invasive for patients.

If an agent has to actively decide whether or not to acquire each piece of information, the action space expands exponentially. For $|O|$ possible observations and $|A_{control}|$ control actions, the total action space becomes $2^{|O|} \times |A_{control}|$. This exponential growth leads to the curse of dimensionality, making standard RL algorithms grind to a halt. The authors introduce OCMDPs to learn optimal observation and control strategies simultaneously in these cost-sensitive environments.

Active observations within full state space across different dimensions and healthcare scenarios.

Methods

To handle the massive action space, the authors propose a model-free, iterative deep RL framework that separates the sensing (observation) policy $\pi^o$ and the control policy $\pi^c$.

The architecture relies on three neural networks:

  1. Belief State Extractor ($f_\psi$): Encodes the history of observations, actions, and costs into a compact belief state $b_t$.
  2. Observation Policy ($\pi^o_\phi$): Determines which observation actions $a^o_t$ to take based on the current belief state.
  3. Control Policy ($\pi^c_\theta$): Selects the control action $a^c_t$ based on the newly updated history and immediate observations.

Instead of optimizing everything at once, the algorithm alternates:

  • Step 1: Fix the observation policy and optimize the control policy to maximize expected rewards (accounting for observation costs).
  • Step 2: Fix the control policy and optimize the observation policy to minimize both observation costs and belief state inference error.

The authors provide theoretical guarantees showing that this alternating approach satisfies the Bellman contraction mapping and converges to a locally optimal joint policy.

Diagram of the OCMDP Solver architecture showing the decoupled policy loops and backpropagation paths.

Datasets

The framework was evaluated on two environments:

  • The Diagnostic Chain: A custom-designed, simulated Markov chain ($N=5$) where an agent must transition a patient to a target health state. The agent chooses between two treatments (control) and an Observe/Not Observe action. Choosing not to observe forces the agent to rely on noisy, "blurred" state information.
  • HeartPole: A modified version of the rule-based healthcare simulator. The agent's goal is to maximize a patient's productivity (via actions like drinking coffee, beer, sleeping, or doing nothing) while preventing a heart attack. The state consists of 6 continuous variables, each costing $-0.05$ to observe.

Key Insights and Ideas

  • Decoupling is the Key to Scalability: Trying to learn a joint action that decides both observation and control simultaneously is too complex. Separating them allows the agent to treat "sensing" as an information-efficiency problem and "control" as a task-performance problem.
  • Prioritizing Control First: The authors found that initializing the observation policy with a curiosity-driven approach (to gather rich data early on) and then optimizing the control policy first yields better results. A well-optimized control policy naturally clarifies which observations are actually relevant to make good decisions later.
  • Model-Free Flexibility: Unlike prior active-sensing methods that require explicit, complex environment dynamics models (like VAEs for feature imputation), this approach is entirely model-free, making it highly scalable to complex environments where dynamics are hard to model.

Key Results

  • Diagnostic Chain Task: The OCMDP framework achieved a 71% relative improvement in expected cumulative reward over baseline model-free control policies (like PPO, SAC, and DDPG). Crucially, it reduced observation costs by 50% compared to a fixed "always observe" strategy.
  • HeartPole Simulator: OCMDP outperformed PPO (the best baseline) by 75% in episodic return.
  • Observation Efficiency: In HeartPole, the adaptive "optimal observe" strategy yielded an 80% higher return than "always observe" and a 90% higher return than "never observe," proving that selective looking is vastly superior to both blindness and hyper-vigilance.
  • Faster Convergence: OCMDP reached stable performance in HeartPole around 60k timesteps, whereas baseline algorithms required 80k–100k timesteps.

Limitations and Future Work

The authors note a few areas for improvement:

  • Multi-Agent Systems: The current framework is single-agent. Extending OCMDP to multi-agent settings would allow collaborative sensing where agents share the cost of information.
  • Static Cost Functions: The cost of observations is currently fixed. Future work could explore adaptive cost functions that dynamically change based on environmental uncertainty or task complexity (e.g., making a test "cheaper" if the patient is in critical danger).
  • Real-World Deployment: The approach has only been validated on simulators; testing it against real-world sensory data in fields like autonomous vehicles or industrial IoT remains an open step.

Summary updated

BibTeX
@inproceedings{wang2025ocmdp,
  author = {Taiyi Wang and Jianheng Liu and Bryan Lee and Zhihao Wu and Yu Wu},
  title = {{OCMDP: Observation-Constrained Markov Decision Process}},
  booktitle = {IJCNN},
  year = {2025},
  doi = {10.1109/ijcnn64981.2025.11228072},
}
Figure