Generalization in Monitored Markov Decision Processes (Mon-MDPs)

Montaser Mohammedalamen, Michael Bowling · DOI

Introduction

Standard Reinforcement Learning (RL) typically assumes a continuous stream of reward signals. However, real-world applications often involve scenarios where rewards are only occasionally observable—a framework formalized as Monitored Markov Decision Processes (Mon-MDPs). For instance, a robotic gardener might only receive feedback on soil health when a human inspector is present or when an energy-intensive sensor is activated. While prior work on Mon-MDPs was restricted to small, tabular environments, this paper extends the framework to high-dimensional spaces using deep learning and function approximation.

The Monitored-MDP Framework

In a Mon-MDP, the agent interacts with an environment but only receives a reward signal $r^E$ when a "monitor" is active. The agent must decide not only which environmental actions $a^E$ to take but also when to perform a monitoring action $a^M$, often at a cost. This creates a trade-off between information gain and monitoring overhead.

Comparison between standard MDP and Monitored-MDP diagrams.

Methodology

The authors bridge the gap between tabular theory and practical application by combining Deep Q-Networks (DQN) with a learned reward model.

  1. Reward Modeling: A separate neural network is trained to predict environmental rewards based on state-action pairs. This model is updated only during monitored steps.
  2. Generalization via Function Approximation: By using convolutional architectures, the agent can generalize reward predictions from monitored states to visually similar unmonitored states. This allows agents to achieve near-optimal policies in regions that would be formally "unsolvable" in a tabular setting.
  3. Cautious Policy Optimization: To mitigate the risk of "overgeneralization"—where an agent incorrectly applies learned rewards to novel, potentially harmful states—the authors implement a robust optimization strategy. They utilize an ensemble of 500 reward models and optimize against a pessimistic estimate using $k$-of-$N$ Counterfactual Regret Minimization (CFR). This forces the agent to account for epistemic uncertainty.

Experimental Setup

Evaluation is conducted in a custom grid-world Plant-Watering Environment with high-dimensional egocentric visual observations. Four variants test different generalization capabilities:

  • Binary Monitor: Agent-controlled monitoring with a penalty.
  • Half-room: Rewards are spatially restricted to one side of the environment.
  • Plant-cactus: Introduces "distractor" objects (cacti) in unmonitored zones to test if the agent incorrectly treats them like thirsty plants.
  • Botanical Garden: A complex setup with novel plants to evaluate robustness against overgeneralization.

Key Results and Discussion

The proposed reward modeling approach significantly outperforms baselines that either ignore unmonitored steps or assume a zero reward for them.

Training performance showing discounted joint reward and monitor action frequency.

In the "Half-room" task, agents successfully learned to water plants in unmonitored regions by generalizing from the monitored half. However, this same generalization can lead to the "Overgeneralization Trap," where agents water harmful cacti because they resemble thirsty plants. The cautious optimization strategy proved effective here; in the "Botanical Garden" task, a robust policy reduced incorrect watering of novel plants by up to 5x compared to a standard risk-neutral agent while maintaining high performance on familiar plants.

Conclusion

This work demonstrates that function approximation allows Mon-MDP agents to solve problems previously deemed "unsolvable" by leveraging visual similarity. While generalization is a powerful tool for inferring rewards, it necessitates cautious optimization to ensure safety in novel environments. Future work will explore extending these methods to continuous action spaces and addressing the observed "loss of plasticity" during extended training periods.

Summary updated

BibTeX
@misc{mohammedalamen2025generalization,
  author = {Montaser Mohammedalamen and Michael Bowling},
  title = {{Generalization in Monitored Markov Decision Processes (Mon-MDPs)}},
  year = {2025},
  eprint = {2505.08988},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.08988},
}
Figure