Papers
Topics
Authors
Recent
Search
2000 character limit reached

NE-Dreamer: Decoder-Free Model-Based RL

Updated 5 March 2026
  • NE-Dreamer is a decoder-free model-based RL agent that predicts next-step encoder embeddings using a causal temporal transformer.
  • It employs a next-embedding loss inspired by Barlow Twins, eliminating pixel-space reconstruction to focus on predictive state representations.
  • Benchmark results on DMC and DMLab demonstrate that NE-Dreamer achieves competitive or superior performance in memory- and reasoning-heavy tasks.

NE-Dreamer is a decoder-free model-based reinforcement learning (MBRL) agent that optimizes temporal predictive alignment in latent representation space by predicting the next-step encoder embedding from sequences of latent states using a temporal causal transformer. This design eliminates the requirement for pixel-space reconstruction or auxiliary supervision and focuses on learning predictive state representations that are relevant for downstream control tasks in partially observable, high-dimensional domains. NE-Dreamer achieves competitive or superior performance to DreamerV3 and other leading decoder-free agents in benchmarks such as the DeepMind Control Suite (DMC) and exhibits substantial gains in challenging memory- and reasoning-heavy tasks from DeepMind Lab (DMLab) (Bredis et al., 3 Mar 2026).

1. Model Architecture and Components

NE-Dreamer incorporates the established Dreamer pipeline—comprising world-model training, imagined rollouts, and actor–critic updates—but replaces pixel reconstruction by next-embedding prediction enforced through a causal transformer. The model architecture consists of the following components:

  • Encoder Module: At each time step tt, the agent receives an observation xt∈Rnx_t\in\mathbb{R}^n (e.g., a 64×64×3 image). A convolutional or transformer-based encoder fenc(â‹…)f_{\text{enc}}(\cdot) transforms xtx_t into an embedding et=fenc(xt)∈Rde_t = f_{\text{enc}}(x_t) \in \mathbb{R}^d.
  • Recurrent State-Space Model (RSSM): A deterministic hidden state ht∈Rhh_t\in\mathbb{R}^h is updated via recurrence:

ht=frec(ht−1,zt−1,at−1),h_t = f_{\text{rec}}(h_{t-1}, z_{t-1}, a_{t-1}),

where zt∈Rzz_t\in\mathbb{R}^z is a stochastic latent sampled from a Gaussian posterior qϕ(zt∣ht,et)q_\phi(z_t|h_t, e_t) regularized towards a prior pϕ(zt∣ht)p_\phi(z_t|h_t). Reward (xt∈Rnx_t\in\mathbb{R}^n0) and continuation (xt∈Rnx_t\in\mathbb{R}^n1) predictions are made from xt∈Rnx_t\in\mathbb{R}^n2.

  • Causal Temporal Transformer: The architecture collects the history xt∈Rnx_t\in\mathbb{R}^n3 and actions xt∈Rnx_t\in\mathbb{R}^n4. A lightweight transformer xt∈Rnx_t\in\mathbb{R}^n5 with xt∈Rnx_t\in\mathbb{R}^n6 layers, hidden size xt∈Rnx_t\in\mathbb{R}^n7, and xt∈Rnx_t\in\mathbb{R}^n8 attention heads processes these inputs to predict the next embedding

xt∈Rnx_t\in\mathbb{R}^n9

Causal masking in self-attention ensures autoregressive prediction.

  • Decoder-Free Design: By omitting the pixel decoder fenc(â‹…)f_{\text{enc}}(\cdot)0, NE-Dreamer precludes reconstruction of non-informative visual details. The architecture is simpler to train, reduces parameter count, and directs model capacity to task-relevant predictive features.

2. Next-Embedding Prediction Objective

NE-Dreamer introduces next-embedding (NE) prediction as its principal learning signal, leveraging a Barlow Twins-style redundancy-reduction objective.

  • One-Step Prediction Loss: Let fenc(â‹…)f_{\text{enc}}(\cdot)1 denote the stop-gradient ground-truth embedding. The predicted embedding fenc(â‹…)f_{\text{enc}}(\cdot)2 and the target are layer-normalized across the minibatch. Valid transitions fenc(â‹…)f_{\text{enc}}(\cdot)3 are indexed for which fenc(â‹…)f_{\text{enc}}(\cdot)4 (not truncated). The cross-correlation matrix is defined:

fenc(â‹…)f_{\text{enc}}(\cdot)5

The NE loss is:

fenc(â‹…)f_{\text{enc}}(\cdot)6

where fenc(â‹…)f_{\text{enc}}(\cdot)7.

  • World-Model Loss Integration: The total world-model objective is:

fenc(â‹…)f_{\text{enc}}(\cdot)8

with fenc(â‹…)f_{\text{enc}}(\cdot)9 and xtx_t0 being reward and continuation prediction losses, xtx_t1 the KL divergence term as in variational inference, and xtx_t2 a weighting factor (typically 1.0).

  • Multi-Step Alignment: Although only one-step NE loss is employed in practice, the causal transformer's field implicitly encodes longer horizons by stacking layers. An explicit overshooting loss can be introduced, but empirical results indicate that the one-step objective is sufficient.

3. Training, Data Management, and Planning

NE-Dreamer employs established data collection and RL optimization methods, modified for its decoder-free objective.

  • Parallel Data Collection: The agent runs xtx_t3 environments in parallel, storing xtx_t4 transitions in a FIFO replay buffer with a capacity of xtx_t5.
  • Gradient Updates: For each update, xtx_t6 trajectories of length xtx_t7 are sampled. Observations are encoded and latents inferred, reward and continuation losses accumulated, and NE prediction computed for all valid one-step transitions.
  • Pseudocode Overview:

et=fenc(xt)∈Rde_t = f_{\text{enc}}(x_t) \in \mathbb{R}^d8

  • Planning by Imagination: Starting from the final real state xtx_t8, the agent generates xtx_t9 latent steps using the policy and world-model prior. et=fenc(xt)∈Rde_t = f_{\text{enc}}(x_t) \in \mathbb{R}^d0-returns are estimated for value (critic) and policy (actor) updates.

4. Comparative Analysis with Prior Work

NE-Dreamer departs from pixel-reconstruction-based MBRL and prior decoder-free agents through its use of next-embedding prediction and causal transformers.

Method Predictor Auxiliary Loss Transform/Attention Decoder
DreamerV3 RSSM Pixel reconstruction None Yes
R2-Dreamer RSSM Same-step invariance None Optional
DreamerPro RSSM Same-step alignment None Optional
NE-Dreamer RSSM + Transformer Next-embedding (et=fenc(xt)∈Rde_t = f_{\text{enc}}(x_t) \in \mathbb{R}^d1) Causal Transformer No

Unlike DreamerV3, which optimizes pixel-level reconstruction, NE-Dreamer eliminates et=fenc(xt)∈Rde_t = f_{\text{enc}}(x_t) \in \mathbb{R}^d2 and replaces it with et=fenc(xt)∈Rde_t = f_{\text{enc}}(x_t) \in \mathbb{R}^d3 using predicted and target embeddings. Prior decoder-free agents such as R2-Dreamer and DreamerPro typically align latent representations for the same step, whereas NE-Dreamer explicitly predicts the next-step embedding and employs causal self-attention. Furthermore, NE-Dreamer's focus is on self-supervised embedding prediction in contrast to latent value/policy supervision as in MuZero and TDMPC (Bredis et al., 3 Mar 2026).

5. Empirical Results and Diagnostics

NE-Dreamer has been evaluated on established continuous control and memory-intensive benchmarks:

  • DeepMind Control Suite (DMC): On 20 continuous-action domains (1M steps, 5 seeds, et=fenc(xt)∈Rde_t = f_{\text{enc}}(x_t) \in \mathbb{R}^d4M parameters), NE-Dreamer matches or marginally surpasses DreamerV3 and other decoder-free baselines in normalized return; the methods converge within approximately et=fenc(xt)∈Rde_t = f_{\text{enc}}(x_t) \in \mathbb{R}^d5 of each other in aggregate scores.
  • DeepMind Lab Rooms (DMLab): On four "Rooms" tasks with high demands on mapping, memory, and long-horizon consistency (50M steps), NE-Dreamer shows 20–50% absolute improvement in return over DreamerV3, R2-Dreamer, and DreamerPro. For example, on "Memory Maze," DreamerV3 achieves ≈40% versus NE-Dreamer's ≈75%; for "Key Rooms," scores are ≈30% for DreamerV3 and ≈65% for NE-Dreamer.
  • Ablation Studies: Removing the transformer reduces DMLab performance to near zero. Eliminating the next-step shift (predicting et=fenc(xt)∈Rde_t = f_{\text{enc}}(x_t) \in \mathbb{R}^d6 rather than et=fenc(xt)∈Rde_t = f_{\text{enc}}(x_t) \in \mathbb{R}^d7) nearly abolishes performance gains. Absence of the projection head has minor effect on speed, not final score.
  • Representation Diagnostics: Post-hoc pixel decoders trained on NE-Dreamer’s frozen latents reconstruct object layout stably, in contrast to flickering or omission observed in other agents’ latent spaces.

6. Interpretations, Implications, and Limitations

Next-embedding prediction compels the RSSM to encode all features predictive of future observations, promoting temporally consistent representations, especially under partial observability. The causal transformer enables flexible aggregation of history, facilitating solution of memory-reliant or long-horizon tasks without rigid ad hoc recurrent depths. The decoder-free design ensures model capacity is focused on control-relevant features, unfettered by irrelevant pixel-level details (Bredis et al., 3 Mar 2026).

A plausible implication is that next-step embedding prediction, when combined with scalable transformer architectures and redundancy-reduction objectives, could extend to longer-horizon alignment, alternative self-supervised losses (such as VICReg or SimSiam), and cross-modal or reward-aware conditioning. However, domains where detailed texture or high-fidelity generative modeling are critical may still necessitate pixel decoders. While multi-step overshooting is theoretically extensible, empirical results indicate that the single-step Barlow Twins loss suffices for strong performance in the considered settings.

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 NE-Dreamer.