Papers › Dream to Control: Learning Behaviors by Latent Imagination

Dream to Control: Learning Behaviors by Latent Imagination

3 Dec 2019ICLR 2020 1arXiv:1912.01603archive 2025-07-28

Danijar Hafner, Timothy Lillicrap, Jimmy Ba, Mohammad Norouzi

Learned world models summarize an agent's experience to facilitate learning complex behaviors. While learning world models from high-dimensional sensory inputs is becoming feasible through deep learning, there are many potential ways for deriving behaviors from them. We present Dreamer, a reinforcement learning agent that solves long-horizon tasks from images purely by latent imagination. We efficiently learn behaviors by propagating analytic gradients of learned state values back through trajectories imagined in the compact state space of a learned world model. On 20 challenging visual control tasks, Dreamer exceeds existing approaches in data-efficiency, computation time, and final performance.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1912.01603")

Code

Syntology Ran 43 of 62 code samples harvested from 10 repositories linked to this paper; 19 have no recorded run. Of those that ran: 1 ran · honoured contract; 7 ran · our draft was wrong; 35 ran with no contract checked.

By repository: official repository: 6 samples from 1 repository, 1 ran; community (archive-listed): 56 samples from 9 repositories, 42 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

21 repositories listed; official and paper-mentioned ones first.

danijar/dreamer officialmentioned on GitHubtfMIT report
AliengirlLiv/xrl-dreamer mentioned on GitHubtfMIT report
KohMat/carracing-dreamer mentioned on GitHubpytorchMIT report
Yizhao111/dreamer-pytorch mentioned on GitHubpytorch report
adityabingi/Dreamer mentioned on GitHubpytorch report
agiachris/STAP mentioned on GitHubpytorchMIT report
chamorajg/pl-dreamer mentioned on GitHubpytorch report
cross32768/Dreamer_PyTorch mentioned on GitHubpytorch report
enikhu/dreamer mentioned on GitHubtfMIT report
facebookresearch/denoised_mdp mentioned on GitHubpytorchNOASSERTION report
google-research/dreamer mentioned on GitHubtfApache-2.0 report
juliusfrost/dreamer-pytorch mentioned on GitHubpytorchMIT report
kc-ml2/SimpleDreamer mentioned on GitHubpytorchMIT report
yusukeurakami/dreamer-pytorch mentioned on GitHubpytorch report
zdhnarsil/stochastic-marginal-actor-critic mentioned on GitHubpytorchMIT report
zhixuan-lin/dreamer-pytorch mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

62 samples harvested; 43 ran; 1 honoured the contract we drafted; 19 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
7ran · our draft was wrong
35ran
19unverified

Licence: 9 of the 62 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 10 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

load_baselines danijar/dreamer/plotting.py official repository ran · honoured contract MIT (permissive) · 2f2cf1bbab74e2d7 · report
encode_gif danijar/dreamer/tools.py official repository unverified MIT (permissive) · 427c760e638127dd · report
graph_summary danijar/dreamer/tools.py official repository unverified MIT (permissive) · 1a89b7d1602aedb6 · report
load_run danijar/dreamer/plotting.py official repository unverified MIT (permissive) · 8e5272c2d61dcc1d · report
load_runs danijar/dreamer/plotting.py official repository unverified MIT (permissive) · 6dd3eb82ea8db085 · report
nest_summary danijar/dreamer/tools.py official repository unverified MIT (permissive) · 0ff405af2200f366 · report
ActionDecoder chamorajg/pl-dreamer/planet.py community (archive-listed) ran · metamorphic tier: deterministic no licence file found · pointer only · 83372b051144a5c7 · report
ActionDecoder zhixuan-lin/dreamer-pytorch/dreamer.py community (archive-listed) ran · metamorphic tier: deterministic MIT (permissive) · 0b707e9f2a68a262 · report
ActionDecoder adityabingi/Dreamer/dreamer.py community (archive-listed) ran MIT (permissive) · 032906ec0da4a020 · report
ActorModel Yizhao111/dreamer-pytorch/agent.py community (archive-listed) ran MIT (permissive) · 1e69bdfedcc82427 · report
AttrDict zhixuan-lin/dreamer-pytorch/dreamer.py community (archive-listed) ran · metamorphic tier: deterministic MIT (permissive) · 4000edd2f154ac83 · report
AverageMeter zhixuan-lin/dreamer-pytorch/dreamer.py community (archive-listed) ran MIT (permissive) · 06a7b70ff704fbf8 · report
Config zhixuan-lin/dreamer-pytorch/dreamer.py community (archive-listed) ran · metamorphic tier: deterministic MIT (permissive) · 36c19e60097cae7a · report
ConvDecoder zhixuan-lin/dreamer-pytorch/dreamer.py community (archive-listed) ran · metamorphic tier: deterministic MIT (permissive) · 478198ae4e61532f · report
ConvDecoder adityabingi/Dreamer/dreamer.py community (archive-listed) ran MIT (permissive) · c2fb17f9cc07745b · report
ConvEncoder zhixuan-lin/dreamer-pytorch/dreamer.py community (archive-listed) ran · metamorphic tier: deterministic MIT (permissive) · 5a3d541c43e302f3 · report
ConvEncoder adityabingi/Dreamer/dreamer.py community (archive-listed) ran MIT (permissive) · ea21fcd799d8f65e · report
Decoder chamorajg/pl-dreamer/planet.py community (archive-listed) ran · metamorphic tier: deterministic no licence file found · pointer only · feeb1770217fa3ec · report
DenseDecoder chamorajg/pl-dreamer/planet.py community (archive-listed) ran · metamorphic tier: deterministic no licence file found · pointer only · 846d8e32c15e22b1 · report
DenseDecoder zhixuan-lin/dreamer-pytorch/dreamer.py community (archive-listed) ran · metamorphic tier: deterministic MIT (permissive) · 9c449af65508ffc5 · report
DenseDecoder adityabingi/Dreamer/dreamer.py community (archive-listed) ran MIT (permissive) · 9647814e70d10581 · report
Encoder chamorajg/pl-dreamer/planet.py community (archive-listed) ran · metamorphic tier: deterministic no licence file found · pointer only · 491e2697053dd0fc · report
Encoder Yizhao111/dreamer-pytorch/agent.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 5903294d08bd52f9 · report
ObservationModel Yizhao111/dreamer-pytorch/agent.py community (archive-listed) ran · our draft was wrong MIT (permissive) · be5a219bf8efda66 · report
PCONTModel Yizhao111/dreamer-pytorch/agent.py community (archive-listed) ran MIT (permissive) · 9d8facfbbfad7e8e · report
RSSM chamorajg/pl-dreamer/planet.py community (archive-listed) ran · metamorphic tier: deterministic no licence file found · pointer only · 5fd2e204f8b1686c · report
RSSM zhixuan-lin/dreamer-pytorch/dreamer.py community (archive-listed) ran MIT (permissive) · d0fb3df4884ed3da · report
RSSM adityabingi/Dreamer/dreamer.py community (archive-listed) ran MIT (permissive) · 6ed93a3bd0b35bbd · report
RecurrentStateSpaceModel cross32768/Dreamer_PyTorch/model.py community (archive-listed) ran MIT (permissive) · 06dafb6454d57ef2 · report
ReplayBuffer zhixuan-lin/dreamer-pytorch/dreamer.py community (archive-listed) ran MIT (permissive) · 8c761148be72a1af · report
ReplayBuffer adityabingi/Dreamer/dreamer.py community (archive-listed) ran MIT (permissive) · 9250128488be37e8 · report
Reshape chamorajg/pl-dreamer/planet.py community (archive-listed) ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · 78cb080bf8cd18b0 · report
RewardModel Yizhao111/dreamer-pytorch/agent.py community (archive-listed) ran MIT (permissive) · ff12acbebe54d7cc · report
SampleDist Yizhao111/dreamer-pytorch/agent.py community (archive-listed) ran MIT (permissive) · 56dcf30a95968f30 · report
SampleDist adityabingi/Dreamer/dreamer.py community (archive-listed) ran MIT (permissive) · f09ab92bd73f0a92 · report
SymbolicEncoder Yizhao111/dreamer-pytorch/agent.py community (archive-listed) ran fingerprinted MIT (permissive) · 8440a6eb02fe1454 · report
SymbolicObservationModel Yizhao111/dreamer-pytorch/agent.py community (archive-listed) ran MIT (permissive) · 2e24f94844e096be · report
TanhBijector chamorajg/pl-dreamer/planet.py community (archive-listed) ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · d4396c5590abd108 · report
TanhBijector adityabingi/Dreamer/dreamer.py community (archive-listed) ran fingerprinted MIT (permissive) · e441022cca867bcd · report
TransitionModel Yizhao111/dreamer-pytorch/agent.py community (archive-listed) ran MIT (permissive) · 2a61bebe2088ddb9 · report
ValueModel Yizhao111/dreamer-pytorch/agent.py community (archive-listed) ran MIT (permissive) · 097f32971f48a3db · report
VisualEncoder Yizhao111/dreamer-pytorch/agent.py community (archive-listed) ran MIT (permissive) · bf63a45ab9d6bbf2 · report
VisualObservationModel Yizhao111/dreamer-pytorch/agent.py community (archive-listed) ran MIT (permissive) · c42784e0cc95cfe0 · report
atanh chamorajg/pl-dreamer/planet.py community (archive-listed) ran · our draft was wrong fingerprinted no licence file found · pointer only · 094cf207447fa2a5 · report
cal_returns Yizhao111/dreamer-pytorch/agent.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · 8463fe3398301135 · report
compute_stochastic_state Eclectic-Sheep/sheeprl/sheeprl/algos/dreamer_v1/agent.py community (archive-listed) ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · fa76beb6fb8d8865 · report
freeze zhixuan-lin/dreamer-pytorch/dreamer.py community (archive-listed) ran · our draft was wrong MIT (permissive) · d1d08bc76fe301d5 · report
preprocess_obs adityabingi/Dreamer/dreamer.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · b3d662dabfc89979 · report
Dreamer zhixuan-lin/dreamer-pytorch/dreamer.py community (archive-listed) unverified MIT (permissive) · af793972b29d01fd · report
Dreamer Yizhao111/dreamer-pytorch/agent.py community (archive-listed) unverified MIT (permissive) · 5d8eb8c3fb19bbac · report
Dreamer adityabingi/Dreamer/dreamer.py community (archive-listed) unverified MIT (permissive) · e6c80bdd218b3f8f · report
PLANet chamorajg/pl-dreamer/planet.py community (archive-listed) unverified no licence file found · pointer only · 8cd4d48928170685 · report
RSSM Eclectic-Sheep/sheeprl/sheeprl/algos/dreamer_v1/agent.py community (archive-listed) unverified Apache-2.0 (permissive) · 6f6fbb1df0959d34 · report
TransitionModel yusukeurakami/dreamer-pytorch/models.py community (archive-listed) unverified MIT (permissive) · 28f50a7941b7cc60 · report
apply KohMat/carracing-dreamer/dreamer/utils/apply.py community (archive-listed) unverified MIT (permissive) · 956ceb6333c8ac66 · report
bottle Yizhao111/dreamer-pytorch/agent.py community (archive-listed) unverified MIT (permissive) · 25c79a6d1db5ea05 · report
conv_out KohMat/carracing-dreamer/dreamer/carracing/network.py community (archive-listed) unverified MIT (permissive) · ecebf2e9b74c28b2 · report
conv_out_shape KohMat/carracing-dreamer/dreamer/carracing/network.py community (archive-listed) unverified MIT (permissive) · bda617dc1839d3c5 · report
get_parameters KohMat/carracing-dreamer/dreamer/utils/freeze_parameter.py community (archive-listed) unverified MIT (permissive) · c53ea31731e9c271 · report
get_parameters juliusfrost/dreamer-pytorch/dreamer/utils/module.py community (archive-listed) unverified MIT (permissive) · 00749ea05ebef1a6 · report
kl_divergence_between_states KohMat/carracing-dreamer/dreamer/rssm.py community (archive-listed) unverified MIT (permissive) · 5108b244cb3972b4 · report
output_padding KohMat/carracing-dreamer/dreamer/carracing/network.py community (archive-listed) unverified MIT (permissive) · b733787027a71a6d · report

Tasks

Continuous ControlReinforcement LearningReinforcement Learning (RL)reinforcement-learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections