Skip to main content
QUICK REVIEW

[Paper Review] DreamerPro: Reconstruction-Free Model-Based Reinforcement Learning with Prototypical Representations

Fei Deng, Ingook Jang|arXiv (Cornell University)|Oct 27, 2021
Reinforcement Learning in RoboticsComputer Science36 references11 citations
TL;DR

DreamerPro proposes a reconstruction-free model-based reinforcement learning agent that leverages prototypical representations to improve robustness to visual distractions while maintaining strong performance in standard environments. By learning prototypes from recurrent world model states, it distills temporal dynamics into cluster centers, outperforming both Dreamer and contrastive-based TPC across standard and natural background DeepMind Control tasks.

ABSTRACT

Top-performing Model-Based Reinforcement Learning (MBRL) agents, such as Dreamer, learn the world model by reconstructing the image observations. Hence, they often fail to discard task-irrelevant details and struggle to handle visual distractions. To address this issue, previous work has proposed to contrastively learn the world model, but the performance tends to be inferior in the absence of distractions. In this paper, we seek to enhance robustness to distractions for MBRL agents. Specifically, we consider incorporating prototypical representations, which have yielded more accurate and robust results than contrastive approaches in computer vision. However, it remains elusive how prototypical representations can benefit temporal dynamics learning in MBRL, since they treat each image independently without capturing temporal structures. To this end, we propose to learn the prototypes from the recurrent states of the world model, thereby distilling temporal structures from past observations and actions into the prototypes. The resulting model, DreamerPro, successfully combines Dreamer with prototypes, making large performance gains on the DeepMind Control suite both in the standard setting and when there are complex background distractions. Code available at https://github.com/fdeng18/dreamer-pro .

Motivation & Objective

  • Address the limitations of reconstruction-based world models in MBRL, which overfit to task-irrelevant visual details and are computationally expensive.
  • Overcome the instability and batch-size dependency of contrastive learning in reconstruction-free MBRL by adopting a prototype-based approach.
  • Integrate temporal dynamics into prototypical representations to preserve sequential structure, which standard clustering methods neglect.
  • Improve robustness to visual distractions without sacrificing performance in standard RL benchmarks.
  • Demonstrate that prototype-based representation learning can be effectively combined with world model dynamics for superior MBRL performance.

Proposed method

  • Learn prototypes from the recurrent hidden states of the world model’s dynamics network, rather than from raw observations.
  • Use a contrastive-like objective that encourages uniform cluster assignment across the batch to separate different observations.
  • Train the world model to reconstruct the cluster assignment of each observation, not the raw observation, reducing focus on low-level visual noise.
  • Maintain a differentiable recurrent state-space model (RSSM) for rollouts and planning, enabling end-to-end training via backpropagation.
  • Replace the standard observation reconstruction loss with a prototype reconstruction loss, decoupling representation learning from pixel-level detail.
  • Use a momentum encoder to stabilize prototype updates, similar to MoCo or SwAV, improving training stability.

Experimental results

Research questions

  • RQ1Can prototypical representation learning improve robustness to visual distractions in model-based reinforcement learning without reconstruction?
  • RQ2How does combining prototypes with recurrent world model dynamics affect long-horizon planning and sample efficiency?
  • RQ3Does a prototype-based world model outperform both reconstruction-based (Dreamer) and contrastive-based (TPC) approaches in diverse visual environments?
  • RQ4Can prototype learning maintain high performance in standard control tasks while excelling in distracting backgrounds?
  • RQ5Is it feasible to distill temporal structure into prototypes without explicit supervision or instance-level contrastive comparisons?

Key findings

  • DreamerPro consistently outperforms Dreamer and TPC across all tasks in the DeepMind Control suite, especially under natural background distractions.
  • In the standard DMC setting, DreamerPro achieves performance comparable to or better than Dreamer, despite eliminating reconstruction loss.
  • Under natural background settings, where background distractors are replaced with real-world video clips, DreamerPro significantly outperforms both Dreamer and TPC.
  • The prototype-based approach reduces sensitivity to visual noise and task-irrelevant details, as evidenced by more stable and accurate world model rollouts.
  • The model achieves better sample efficiency and policy performance by focusing on predictable, task-relevant dynamics encoded in the prototypes.
  • The ablation study confirms that using recurrent states for prototype learning is crucial—direct observation-based prototypes fail to capture temporal structure and underperform.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.