Papers
Topics
Authors
Recent
Search
2000 character limit reached

MrCoM: Meta-Regularized Contextual World-Model

Updated 16 November 2025
  • The paper presents MrCoM, a model-based reinforcement learning framework that decomposes latent states and applies meta-regularization to achieve robust cross-scenario generalization.
  • MrCoM employs a modularized architecture with a shallow Transformer for contextual encoding and a three-part latent-state decomposition handling stochastic, deterministic, and auxiliary elements.
  • Empirical evaluations show MrCoM outperforms baselines in handling dynamics, reward, and observation perturbations, backed by theoretical error bounds on generalization.

The Meta-Regularized Contextual World-Model (MrCoM) is a model-based reinforcement learning (MBRL) framework that addresses generalization in multi-scenario settings by building a unified, meta-regularized world model. MrCoM isolates latent representations aligned with dynamic characteristics and scenario relevance, regularizes both state and value representations via meta-objectives, and provides theoretical guarantees on generalization gap. Empirical evaluations demonstrate that MrCoM attains superior generalization and robustness compared to contemporary world-model baselines under diverse alterations in environmental dynamics, rewards, and observations (Xiong et al., 9 Nov 2025).

1. Architecture and Components

MrCoM introduces a modularized architecture structured around scenario-agnostic and scenario-specific elements to facilitate cross-scenario transfer. The core elements are:

  • Contextual Encoder: At each time step tt, a context window Ct={otm,atm,,ot1,at1}C_t = \{o_{t-m}, a_{t-m}, \ldots, o_{t-1}, a_{t-1}\} of length mm is ingested by a shallow Transformer (1–2 layers, 3 heads) to extract contextual embeddings. This architectural choice enables scenario-conditional inference and prediction.
  • Latent-State Decomposition: The unified latent state s~t\tilde{s}_t is factorized into:
    • utu_t (stochastic): Encodes aleatoric uncertainty; governed by a Gaussian prior p0(utCt,at)p_0(u_t|C_t, a_t) and posterior q(utCt,at,ot)q(u_t|C_t, a_t, o_t).
    • dtd_t (deterministic): A recurrent hidden state evolving as p(dtdt1,ut,at)p(d_t|d_{t-1}, u_t, a_t).
    • hth_t (auxiliary): Captures residual structure, with its own prior and posterior distributions.

A probabilistic decoder Ct={otm,atm,,ot1,at1}C_t = \{o_{t-m}, a_{t-m}, \ldots, o_{t-1}, a_{t-1}\}0 reconstructs the original observations, tying the latent components to observed data. All modules map diverse input scenarios to a shared latent space Ct={otm,atm,,ot1,at1}C_t = \{o_{t-m}, a_{t-m}, \ldots, o_{t-1}, a_{t-1}\}1.

  • Policy and Value Heads: The learning framework integrates (a) scenario-specific value heads Ct={otm,atm,,ot1,at1}C_t = \{o_{t-m}, a_{t-m}, \ldots, o_{t-1}, a_{t-1}\}2, (b) a shared meta-value head Ct={otm,atm,,ot1,at1}C_t = \{o_{t-m}, a_{t-m}, \ldots, o_{t-1}, a_{t-1}\}3, and (c) a policy Ct={otm,atm,,ot1,at1}C_t = \{o_{t-m}, a_{t-m}, \ldots, o_{t-1}, a_{t-1}\}4, all operating on the unified latent embedding.

This design partitions scenario-relevant structure within Ct={otm,atm,,ot1,at1}C_t = \{o_{t-m}, a_{t-m}, \ldots, o_{t-1}, a_{t-1}\}5 and Ct={otm,atm,,ot1,at1}C_t = \{o_{t-m}, a_{t-m}, \ldots, o_{t-1}, a_{t-1}\}6, captures temporal dependencies in Ct={otm,atm,,ot1,at1}C_t = \{o_{t-m}, a_{t-m}, \ldots, o_{t-1}, a_{t-1}\}7, and ensures that policies and value estimations generalize across scenarios through a shared representation.

2. Meta-State Regularization

Meta-state regularization is designed to enforce that Ct={otm,atm,,ot1,at1}C_t = \{o_{t-m}, a_{t-m}, \ldots, o_{t-1}, a_{t-1}\}8 encodes only information in Ct={otm,atm,,ot1,at1}C_t = \{o_{t-m}, a_{t-m}, \ldots, o_{t-1}, a_{t-1}\}9 relevant given mm0. To achieve this, MrCoM directly penalizes the conditional mutual information mm1, effectively discouraging encoding of scenario-irrelevant noise.

Formally, employing a variational upper bound [Poole et al. 2019]: mm2

The meta-state loss is: mm3

This procedure strips mm4 of features from mm5 that cannot be predicted from context and action, yielding latent representations robust to irrelevant observation noise and scenario-specific peculiarities.

3. Meta-Value Regularization

Meta-value regularization aligns policy learning and world-model optimization across diverse objectives. It incorporates two core loss terms:

  • Scenario-Specific Bellman Update:

mm6

This enforces value consistency per scenario.

  • Meta-Value Alignment:

mm7

This loss encourages all scenario-specific values to align with a unified meta-value function.

  • Meta-Value Rollout Consistency:

mm8

This tripartite value regularization ensures effective Bellman propagation in all scenarios and constrains the learned world-model to support meta-policy learning.

4. Generalization Error Bound

The theoretical framework established in MrCoM provides generalization error upper bounds under multi-scenario settings, assuming dynamics homogeneity and encoder approximation error mm9.

  • Lemma 1: Dynamics representation error: s~t\tilde{s}_t0
  • Lemma 2: Policy representation error: s~t\tilde{s}_t1
  • Lemma 3: Performance gap: s~t\tilde{s}_t2
  • Theorem 2: s~t\tilde{s}_t3

The bound decomposes the total generalization error into contributions from dynamics modeling error (s~t\tilde{s}_t4), encoder error (s~t\tilde{s}_t5), and policy mismatch (s~t\tilde{s}_t6). MrCoM’s regularization objectives map directly onto these error sources.

5. Training Algorithms and Procedural Details

The MrCoM training process consists of two stages:

  • World-Model Training:
    • Sample scenario utu_t2, collect transitions using utu_t3.
    • Update utu_t4 with respect to utu_t5 (Bellman loss).
    • Update policy utu_t6 via standard actor-critic updates on both true and model-simulated rollouts.
    • Store utu_t7 pairs for meta-value alignment.
    • 3. Update meta-value head utu_t8 using utu_t9.
    • 4. Optimize overall world-model loss:

    p0(utCt,at)p_0(u_t|C_t, a_t)0

    Key hyperparameters: p0(utCt,at)p_0(u_t|C_t, a_t)1, batch size 32, learning rates p0(utCt,at)p_0(u_t|C_t, a_t)2 (actor), p0(utCt,at)p_0(u_t|C_t, a_t)3 (critic), rollout horizon p0(utCt,at)p_0(u_t|C_t, a_t)4, latent state sizes 128 per component.

  • Scenario Adaptation:

    • For a new scenario p0(utCt,at)p_0(u_t|C_t, a_t)5, fix the world-model p0(utCt,at)p_0(u_t|C_t, a_t)6, learn policy and value heads via mixed real+simulated rollouts, optionally fine-tune p0(utCt,at)p_0(u_t|C_t, a_t)7 with p0(utCt,at)p_0(u_t|C_t, a_t)8.

6. Empirical Evaluation and Results

Experiments are conducted on the MuJoCo-based DeepMind Control Suite (Hopper, Walker, Cheetah) with controlled scenario variations:

  • Dynamics changes: Uniform random perturbation of limb size/length by p0(utCt,at)p_0(u_t|C_t, a_t)9, for q(utCt,at,ot)q(u_t|C_t, a_t, o_t)0.
  • Reward changes: Randomization of target speed q(utCt,at,ot)q(u_t|C_t, a_t, o_t)1, q(utCt,at,ot)q(u_t|C_t, a_t, o_t)2.

Training is performed in a multi-scenario manner by merging trajectories from all environments and fitting a unified world-model. Baselines considered include DreamerV3, CaDM, and MAMBA.

  • In-distribution and out-of-distribution generalization is evaluated by training and testing under disjoint perturbation settings (e.g., train at q(utCt,at,ot)q(u_t|C_t, a_t, o_t)3, test at q(utCt,at,ot)q(u_t|C_t, a_t, o_t)4).
  • Performance Comparison:
    • MrCoM outperforms all baselines in 11/12 multi-scenario in-distribution runs and 11/12 out-of-distribution runs (see Table 1 in (Xiong et al., 9 Nov 2025)).
    • Under pure dynamics shifts, MrCoM achieves the highest return in 5/6 cases.
    • For observation corruptions (Gaussian noise, dimension addition, random masking), MrCoM attains top performance in 8/12 scenarios.

Ablation studies indicate that removal of any latent component (q(utCt,at,ot)q(u_t|C_t, a_t, o_t)5), context prompt (q(utCt,at,ot)q(u_t|C_t, a_t, o_t)6), meta-state loss (q(utCt,at,ot)q(u_t|C_t, a_t, o_t)7), or meta-value loss (q(utCt,at,ot)q(u_t|C_t, a_t, o_t)8) degrades performance, with the context prompt being most crucial in the multi-scenario regime.

7. Context and Significance

MrCoM's unified world-model approach, three-fold latent decomposition, and regularization mechanisms are designed to meet the challenges of scenario transfer in MBRL by structurally decoupling scenario-dependent and -independent information. The explicit theoretical error bounds allow precise control of the sources of generalization loss, tightly linking architecture and training procedure to expected empirical performance. Main empirical findings demonstrate that its design increases robustness and transferability under broad changes in underlying transition dynamics, reward functions, and observation corruptions. A plausible implication is that this paradigm could provide a scalable route to robust MBRL in real-world, non-stationary domains where scenario variation is the norm.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Meta-Regularized Contextual World-Model (MrCoM).