Reinforcement Learning with Hidden Parameter Markov Decision Processes

This direction is no longer present in the current build. Its last version stays readable and citable here.

Version 1 of 122 papers26 conceptsfrozen 2026-10-04

In standard Reinforcement Learning (RL), an agent typically learns to master a single, static environment. However, the real world is rarely so consistent. A robot might move from a carpeted floor to a slippery tile one; a medical treatment that works for one patient might fail for another due to unique physiological traits.

To handle these variations, researchers have converged on a powerful framework: the Hidden Parameter Markov Decision Process (HiP-MDP), also referred to as the Latent MDP. The core intuition is that while the environment's dynamics may change, they do so according to a set of unobservable but fixed parameters. By identifying these "hidden" factors, an agent can generalize across a vast family of related tasks without starting from scratch.

The Anatomy of a Hidden Parameter

In a standard MDP, the transition function $P(s' | s, a)$ tells us the probability of landing in state $s'$ after taking action $a$ in state $s$. In a HiP-MDP, this function is augmented with a latent parameter $\theta$:

$$P(s' | s, a, \theta)$$

Here, $\theta$ represents the "hidden" physical or environmental properties—such as friction, mass, or a patient’s metabolic rate. As Taylor W. Killian, George Konidaris, and Finale Doshi-Velez describe in their foundational work, this allows the agent to model a distribution of tasks. Instead of learning a new policy for every possible value of $\theta$, the agent learns a single, universal dynamics model that is conditioned on this latent context.

Inference Through Interaction

The primary challenge is that the agent does not know $\theta$ upfront. It must infer the hidden parameters through interaction.

Jiachen Hu, Lihong Li, and Chi Jin provide a theoretical bridge for this in their analysis of Domain Randomization. They show that by training on a variety of simulated environments, an agent effectively learns to use its interaction history as a proxy for the latent state. If the agent pushes a block and it moves less than expected, it can "infer" a higher mass or friction and adjust its subsequent actions accordingly.

This inference is often handled by an encoder network. For instance, Rui Wang, Robin Walters, and Rose Yu developed DyAd, which uses an encoder to extract time-invariant latent variables (like buoyancy or viscosity) from past states to forecast dynamics in entirely new physical environments (Wang et al., 2021).

Decoupling State from Physics

A key breakthrough in making these models robust is the separation of observable state attributes from latent physical parameters.

Amy Zhang, Shagun Sodhani, and Khimya Khetarpal argue that for agents to handle high-dimensional visual inputs, they must learn robust state abstractions. By isolating task-specific physical variations into a separate embedding space, the agent can maintain a stable understanding of the "world" while only updating the latent $\theta$ when the environment changes.

Similarly, Fan Feng and Sara Magliacane introduced DAFT-RL, which decouples attributes like position and velocity from latent factors like friction (Feng & Magliacane, 2023). This decoupling enables compositional generalization: an agent can solve a task involving a heavy block on a slippery surface even if it has only seen "heavy blocks" and "slippery surfaces" separately during training.

From Simulation to the Real World

The HiP-MDP framework is particularly potent for bridging the "sim-to-real" gap. In simulation, we have access to "privileged information"—the exact values of mass and friction.

M. Travis Byrd and colleagues leverage this in PrivilegedDreamer (Byrd et al., 2025). During training, the world model is explicitly conditioned on these known parameters. During deployment, the agent uses its history to "imagine" what those privileged parameters must be, allowing for rapid adaptation to real-world conditions that were never explicitly modeled.

This approach has even reached high-precision physics. Francesco Capuano and Gabriele Tiboni applied Latent MDPs to shape laser pulses, treating system drift and unobservable internal variations as hidden parameters. By doing so, they created a control policy that remains robust even as the physical laser system changes over time.

Why It Works: Statistical Similarity

The power of the HiP-MDP lies in its ability to leverage statistical similarities across tasks. As Killian et al. demonstrated by replacing Gaussian Processes with Bayesian Neural Networks, treating latent parameters as direct inputs allows the model to learn complex, nonlinear interactions between the environment's underlying physics and the specific task at hand.

Instead of seeing every new environment as a brand-new puzzle, the agent sees it as a familiar structure with a slightly different "tuning." By solving for the tuning ($\theta$), the agent solves the environment.

Papers in this version

History & citationVersion 1 · 2026-10-04

No longer present in the current build · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_reinforcement_learning_with_hidden_param_149adb53,
  title = {Reinforcement Learning with Hidden Parameter Markov Decision Processes},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/reinforcement-learning-with-hidden-parameter-markov-decision-processes/rdr_149adb53119547f790fae8c3502bf9f1},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-26},
}

This exact version (version 1, frozen text):

@misc{lacuna_reinforcement_learning_with_hidden_param_149adb53_v1,
  title = {Reinforcement Learning with Hidden Parameter Markov Decision Processes},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/reinforcement-learning-with-hidden-parameter-markov-decision-processes/rdr_149adb53119547f790fae8c3502bf9f1/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-26},
}