ray/rllib/agents/dreamer
2021-12-04 22:05:26 +01:00
..
tests [RLlib] Dreamer fixes and reinstate Dreamer test. (#17821) 2021-08-18 18:47:08 +02:00
__init__.py [RLlib] Dreamer (#10172) 2020-08-26 13:24:05 +02:00
dreamer.py [RLlib] Sub-class Trainer (instead of build_trainer()): All remaining classes; soft-deprecate build_trainer. (#20725) 2021-12-04 22:05:26 +01:00
dreamer_model.py [RLlib] Dreamer fixes and reinstate Dreamer test. (#17821) 2021-08-18 18:47:08 +02:00
dreamer_torch_policy.py [RLlib] Fix deprecated warning for torch_ops.py (soft-replaced by torch_utils.py). (#19982) 2021-11-03 10:00:46 +01:00
README.md [RLLib] Readme.md Documentation for Almost All Algorithms in rllib/agents (#13035) 2020-12-29 18:45:55 -05:00
utils.py [RLlib] Dreamer fixes and reinstate Dreamer test. (#17821) 2021-08-18 18:47:08 +02:00

Dreamer

Alt Text

Overview

Dreamer is a model-based off-policy RL algorithm that learns by imagining and works well in visual-based enviornments. Like all model-based algorithms, Dreamer learns the environment's transiton dynamics via a latent-space model called PlaNet. PlaNet learns to encode visual space into latent vectors, which can be used as pseudo-observations in Dreamer.

Dreamer is a gradient-based RL algorithm. This means that the agent imagines ahead using its learned transition dynamics model (PlaNet) to discover new rewards and states. Because imagining ahead is fully differentiable, the RL objective (maximizing the sum of rewards) is fully differentiable and does not need to be optimized indirectly such as policy gradient methods. This feature of gradient-based learning, in conjunction with PlaNet, enables the agent to learn in a latent space and achieves much better sample complexity and performance than other visual-based agents.

For more details, there is a Ray/RLlib blogpost that better covers the components of PlaNet and the distributed execution plan.

Documentation & Implementation:

Dreamer.

Detailed Documentation

Implementation