ray/rllib/agents/dreamer
2022-02-08 16:29:25 -08:00
..
tests [CI] Format Python code with Black (#21975) 2022-01-29 18:41:57 -08:00
__init__.py [RLlib] Dreamer (#10172) 2020-08-26 13:24:05 +02:00
dreamer.py [CI] Replace YAPF disables with Black disables (#21982) 2022-02-08 16:29:25 -08:00
dreamer_model.py [CI] Format Python code with Black (#21975) 2022-01-29 18:41:57 -08:00
dreamer_torch_policy.py [CI] Format Python code with Black (#21975) 2022-01-29 18:41:57 -08: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 [CI] Format Python code with Black (#21975) 2022-01-29 18:41:57 -08: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