arXiv:2610.25511cs.LGOct 2026

Manuscript Offprint

arXiv:2610.25511

Dynamics-Aligned Representation Learning under Induced Partial Observability

SM Mazharul Islam, Manfred Huber

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

SM Mazharul Islam †1^{\dagger 1} and Manfred Huber 1^{1}

Abstract— Model-based reinforcement learning (MBRL) has enabled sample-efficient learning of continuous control policies from high-dimensional observations through learned latent dynamics models. These models are typically trained with observation reconstruction objectives, which provide strong supervision but can bias representations toward visual fidelity leading to an undertrained prior and unreliable long-horizon predictions. We propose a stochastic gating mechanism that induces controlled partial observability during training by sampling a spatial binary mask from a Beta-Bernoulli random field and applying it to the raw observation. The gate probability is resampled at each time step, exposing the encoder to conditions ranging from near-total occlusion to near-full visibility. Integration of our method requires minimal architectural changes from existing dynamics models: the gated observation and the binary mask are channel-wise concatenated and passed to the encoder as a single augmented input, with no modifications to the broader training pipeline. We evaluate the proposed approach on a set of pixel-based continuous control tasks selected from the DeepMind Control Suite. Using model predictive control for evaluation, which relies solely on open-loop model rollouts, we show that stochastic gating improves planning performance and data efficiency across tasks. Further analysis demonstrates that performance is robust to the spatial scale of the mask, and a balanced observability during training outperforms configurations biased toward either sparser or denser observations.

I. INTRODUCTION

Recent advances in model-based reinforcement learning (MBRL) have made many control tasks involving high-dimensional visual observations tractable, largely due to the improved sample efficiency offered by compact latent state-space models [1], [2], [3]. These approaches learn a latent dynamics model that predicts future states conditioned on the current latent state and action, enabling planning or policy learning in the latent space. Visual observations provide a rich supervision signal for training such models, often through reconstruction-based objectives that encourage the latent state to capture sufficient information about the environment.

However, accurate reconstruction of observations is not the primary objective for control. Instead, the goal is to learn representations that capture the dynamics relevant for decision-making, i.e., how the environment evolves under different action sequences. In many settings, it is sufficient to predict reward trajectories—or even their relative ordering—rather than reconstruct pixel-level observations. This suggests that an ideal representation should be aligned with the underlying dynamics and task-relevant signals, rather than the full observation distribution.

Consequently, learning an accurate prior over latent states is critical, as it governs multi-step predictions used in planning and policy optimization. Previous works [4], [5] have shown that strong reconstruction objectives combined with expressive decoders can lead to representations that overfit to observations while under-utilizing the learned dynamics. In such cases, the latent dynamics model may fail to generalize under open-loop rollouts, limiting its usefulness for downstream control.

Although most MBRL methods are formulated under the partially observable Markov decision process (POMDP) framework [6], many commonly used benchmarks are effectively fully observable for large portions of the state space. For example, tasks in the DeepMind Control Suite [7] used in works such as PlaNet [2] and Dreamer series [8], [9] provide observations that are often sufficient to infer the underlying state with little ambiguity.

In such settings, posterior inference becomes relatively easy, as the model can rely heavily on the current observation. In contrast, learning a consistent and predictive prior remains challenging. This imbalance, combined with powerful decoders, often leads to a failure mode where the model ignores the prior during training [10], wherein the KL divergence between posterior and prior is driven toward zero and the dynamics model receives no meaningful gradient signal to develop predictive representations. As a result, the learned dynamics model becomes unreliable for open-loop prediction, which is precisely the regime required for planning and policy optimization.

To address both the decoder dominance due to trivial posterior estimation and as a consequence collapsed posterior, we propose a stochastic gating mechanism that enforces partial observability conditions even in environments where such conditions are only loosely satisfied. The core idea is to randomly mask pixels in the input observation before encoding, simulating the information loss characteristic of a true POMDP. The encoder is modified minimally: a single additional channel is introduced to carry the gate state, indicating which pixels survived the masking process. The partially occluded observation and the gate state are jointly encoded to produce the posterior estimate, preserving the encoder's ability to exploit available information while preventing it from trivially inverting the full observation. Figure 1 illustrates an overview of our proposed method.

Since stochastic gating introduces a variable number of active pixels at each timestep, the observation reconstruction

†^{\dagger} corresponding author, mazharul2752@gmail.com

1^{1} are with the Department of Computer Science and Engineering, University of Texas at Arlington, TX-76019, USA

Figure

Fig. 1. Posterior estimation under induced partial observability. By limiting observation access, stochastic gating prevents posterior collapse onto observations and drives learning in the prior.

loss must be adapted accordingly. We restrict the reconstruction loss to only the pixels that survive the gating process. The values of masked pixels are unobserved and, therefore, do not contribute to a meaningful reconstruction target. This loss-asymmetry creates a strong inductive bias toward routing information through the prior branch, which is precisely the dynamics model that we seek to learn. We stabilize prior learning through KL balancing [8] and free bits [11].

We evaluate the proposed method on a set of DeepMind Control Suite (DMC) tasks [7] that are near-fully observable. To isolate the effect of the learned representations from confounds introduced by policy optimization, we deliberately avoid the commonly used actor-critic framework [12], [13]. Instead, we evaluate policy quality solely through model-predictive control via cross entropy method (MPC-CEM) [14], which relies entirely on the model's open-loop predictive capability to select actions. This design choice allows us to attribute performance differences directly to the quality of the learned dynamics model rather than to the policy optimizer. Experimental results demonstrate that partial observation though stochastic gating consistently improves downstream task performance over the baseline, enabling the model to identify better policies in fewer environment steps.

The main contributions of this work are as follows:

  • We propose a stochastic gating mechanism that induces partial observability at the input level, providing a principled way to prevent posterior dominance and collapse in near-fully observable environments.

  • We introduce a gating-aware reconstruction loss that conditions supervision on the surviving pixels, coupled with KL balancing and free bits to stabilize prior learning throughout training.

  • The proposed module integrates seamlessly into existing MBRL architectures based on the Recurrent State Space Model (RSSM) [2], requiring only a single additional encoder input channel and no changes to the broader training regimen.

  • Through MPC-CEM evaluation on DMC tasks, we demonstrate that the proposed approach remains robust under the spatial scale of gating and improves task performance when an agent is trained with a balanced visibility condition.

The rest of this paper develops and evaluates our approach to address posterior collapse and facilitate dynamics-aligned representation learning in MBRL. Section II surveys relevant previous work on latent dynamics modeling and representation learning with partial observability in MBRL. Section III introduces the necessary background on MBRL, including the baseline RSSM method. In Section IV, we formalize our stochastic gating method, related loss terms, and it's integration with RSSM. Section V presents experimental results with task performance on continuous control tasks and ablation studies evaluating the effect of key hyperparameters. Finally, Section VI concludes the paper and discusses potential directions for future research.