Mastering Diverse Domains through World Models
Paper · 2023 · Danijar Hafner, Jurgis Pasukonis, Jimmy Ba et al.
Summary
A reinforcement learning agent learns by acting in an environment and using the rewards it receives to change its behavior. The basic arrangement works for games and robot control alike, yet the settings that make learning effective can change dramatically between them. A game might provide images, discrete actions and long stretches without a reward. A simulated robot might receive measurements of its own motion, act along continuous dimensions and earn feedback frequently. DreamerV3 is designed to handle these differences with a common set of core training settings, reducing the need to tune the algorithm again for each application.
DreamerV3 learns an internal simulator, called a world model, from the agent’s experience. It encodes observations into compact states and learns how those states change after actions. It also predicts rewards and whether an episode will continue. The actor, which chooses actions, and the critic, which evaluates expected future reward, practice on trajectories generated by this simulator. When the agent returns to the environment, it draws an action directly from the actor’s learned policy. The work of imagining possible futures happens during training.
Much of the paper concerns keeping that training stable. A signed logarithm compresses large observations, and objectives with distinct weights help the simulator retain sensory information while making its states easier to predict. A small uniform contribution prevents categorical probabilities from reaching extremes. Rewards and returns are learned as distributions over numerical bins, limiting the effect of target magnitude on optimization. The actor also scales down large learning signals while leaving small ones unamplified, so that noise in a sparse-reward task is less likely to overwhelm the incentive to explore.
Across over 150 tasks in 8 domains, Dreamer exceeds a carefully configured version of Proximal Policy Optimization, or PPO. It also beats several specialist methods and matches Phasic Policy Gradient, or PPG, on ProcGen. Using its default learning settings in the authors’ MineRL-based Minecraft environment, all trained Dreamer agents find a diamond within 100M environment steps, without human demonstrations or an adaptive curriculum. Finding one sometime during training is a different achievement from finding one regularly. At that budget, Dreamer obtains diamonds in 0.4% of episodes.
The authors’ component tests give the strongest role among the robustness measures to the objective that brings predicted and observed internal states into agreement. Reconstructing observations provides the main training signal for those states, with reward and value prediction adding benefits on some tasks. Scaling tests show that raising the parameter count from 12M to 400M boosts performance while requiring less interaction for learning. The breadth demonstrated here belongs to the learning procedure. Training a single agent that carries knowledge across domains remains a direction proposed in the conclusion.
Deep dive: Mastering Diverse Domains through World Models
DreamerV3 learns to act by predicting what happens next, using a common training recipe across games, simulated robots and Minecraft. · about 43 minutes to read
The problem and its context
Why a shared interface was only a beginning
An environment can express a task through observations, actions and rewards without giving the agent a description of the task in words. A control system can issue a motor command and receive a measurement of the resulting motion. A game can accept a choice from a fixed menu of actions and return a new screen. Reward supplies a common way to say which outcomes are desirable. This shared interface makes reinforcement learning attractive as a general approach, even when the processes behind the interfaces have little in common.
The paper focuses on what happens after an engineer has defined that interface. Training still requires choices about how much past experience to reuse, how strongly to encourage exploration, and how to turn large or small numerical quantities into workable updates. Such choices are hyper-parameters, settings chosen for the learning procedure rather than learned from the task. Moving to a new kind of environment can invalidate settings that were adequate before. Each attempted adjustment can require another substantial training run, which makes the cost of finding a configuration especially important on long experiments.
Some earlier work addressed this problem by designing for a particular source of difficulty. Continuous-control algorithms could exploit the structure of adjustable actions, such as motor commands. Work on discrete decisions could instead focus on choices from a finite set. Other approaches addressed the scarcity of rewards or the difficulty of extracting a useful state from images. The paper uses this history to explain why the strongest method for an individual task may come with assumptions that make it less convenient to apply elsewhere. Continuous control with deep reinforcement learning and Reinforcement Learning with Unsupervised Auxiliary Tasks.
PPO is the paper’s main example of an existing algorithm with broad practical appeal. The authors describe it as comparatively robust and widely used, with limitations in how much interaction it needs and how often a specialist can obtain a better result. Soft Actor-Critic, or SAC, illustrates another compromise. It can learn from stored experience and is popular for continuous control, but its entropy setting, which affects exploration, can require tuning. The paper also describes difficulties applying it to inputs with many dimensions. Merely having a standard algorithm to start with leaves substantial room for improvement on both portability and performance.
The authors discuss MuZero and Gato as examples of other ways to pursue breadth. MuZero uses a learned predictor for planning and had been used for board games and Atari. The authors emphasize the complexity of its components and the challenge of reproducing it without an implementation from its authors. Gato learns across tasks by fitting a shared network to expert demonstrations. Its route to generality depends on having demonstrations available. DreamerV3 addresses settings where the learner can interact with each environment and obtain rewards, and where the aim is to make that learning process itself travel well.
Why train on predicted experience?
The approach depends on a learned account of what actions do. An agent can use experience to learn how an environment changes, then use those predictions to produce trajectories for further learning. The paper relates this idea to Dyna, visual forecasting for robot motion, and earlier work on world models. It takes its recurrent architecture from a line of research on predicting dynamics in a compact space inferred from images. Learning Latent Dynamics for Planning from Pixels.
Learning within that compact space already distinguished the earlier Dreamer approach. A trajectory can consist of successive internal states plus predicted rewards, with no need to render an image for the actor at every simulated step. The original Dreamer was limited to continuous control, and DreamerV2 demonstrated performance beyond the human reference on Atari. The third generation keeps the idea of practicing through latent predictions and addresses the engineering problem of getting that procedure to work across much more varied conditions. Dream to Control.
The approach poses a problem of its own. The predictor needs to preserve enough information to support action while keeping the future tractable to predict. A maze scene can contain visual detail that is expensive to represent and irrelevant to a route. In a different game, a detail occupying very little of the screen can change what the agent should do. The paper describes earlier world models as needing different strengths of representation regularization for such cases. DreamerV3 seeks a fixed objective under which the importance of an observed distinction can emerge through training.
Reward presents a separate source of variability. An arbitrary choice of units can make one environment’s rewards much larger than another’s. The frequency of reward, in contrast, tells the agent something useful about whether it has found productive behavior. A learning rule that responds identically to changes in frequency and changes in units can upset the balance between gathering new experience and repeating successful actions. The challenge is to reduce sensitivity to numerical scale while preserving the practical consequences of rewards being easy or hard to find.
Why use diamond collection as a test?
Minecraft combines sparse feedback, procedurally generated terrain and a goal that depends on a long sequence of prerequisites. Obtaining a diamond requires gathering resources and making tools whose usefulness may become apparent much later in the episode. An agent must also survive long enough to reach the later stages. Because each episode begins in a new world, useful behavior needs to work in more than a memorized layout.
MineRL provided competition environments and human play data for this challenge. The paper describes earlier approaches that drew on demonstrations or used a curriculum to guide learning towards harder behavior. Video PreTraining, or VPT, used human play to teach the agent before reinforcement learning. Voyager reached a similar depth in the game’s crafting progression by calling a language system and working through MineFlayer, a scripting interface with high-level game actions. These approaches supplied different kinds of prior guidance. The question Dreamer poses is whether its general training procedure can discover the necessary behavior through experience in a competition-derived environment, without those sources of guidance.
The method, step by step
Collect experience and turn it into practice
At each real decision, Dreamer updates its internal description of the current situation from the observation and its memory. The actor uses that description to select an action. The environment returns an outcome, including reward and information about whether the episode has ended. Training and interaction proceed concurrently, so the experiences collected by the changing actor become material for subsequent updates.
The learned simulator has two jobs. It must extract an informative state when observations are available, and it must be able to advance that state when given only an action. A simulated trajectory can begin at an observed state after training has established both capabilities. The actor supplies actions along the trajectory, the simulator supplies the consequences, and the critic judges how much reward can be expected beyond the part explicitly simulated. Learning improves the actor that will gather the next real experiences.
DreamerV3 training from interaction and imagined trajectories
The steps in order.
Replay is the mechanism for using collected experience again. A training minibatch begins with fresh, non-overlapping sequences from an online queue. The remaining places are filled by drawing sequences uniformly from the replay buffer. A replayed sequence can start partway through an episode. Dreamer stores latent states at collection time to initialize the recurrent computation at such starting points, and writes updated latent states back to the buffer after processing the sequences during training.
The replay ratio specifies how many timesteps are processed in training relative to the timesteps collected, with the ratio defined before accounting for action repeat. Action repeat holds a selected command across multiple environment steps. Both it and the number of timesteps in a minibatch affect how often an optimizer update occurs per environment step. The paper’s Atari example uses replay ratio 32, action repeat 4 and minibatches of shape 16 × 64. The reported schedule is 1 gradient step every 128 environment steps, or 1.5M gradient steps over the 200M-step budget in that example. This setting exposes computation as a resource distinct from interaction.
Construct a state from memory and fresh evidence
Dreamer uses a recurrent state-space model, or RSSM. “Recurrent” means that part of the computation carries a memory from one moment to the next. “State-space” means that the predictor operates in terms of an internal state, which can summarize information arriving through successive observations and actions. Dreamer’s state has a deterministic memory component and a sampled component. The memory update has the following form.
hₜ = fφ(hₜ₋₁, zₜ₋₁, aₜ₋₁)
The subscript t marks the current time and t−1 the preceding time. The symbol hₜ is the recurrent memory. The learned sequence function fφ, with parameters included in φ, updates that memory from the previous memory hₜ₋₁, the previous sampled representation zₜ₋₁ and the previous action aₜ₋₁. Thus an action affects the next state through the sequence computation.
On an observed sequence, the agent can also use the new sensory input to infer what current situation it is in.
zₜ ∼ qφ(· | hₜ, xₜ)
Here xₜ is the observation and zₜ is the sampled representation of the current step. The distribution qφ is produced by the encoder, whose parameters are part of φ. The bar means “conditioned on,” the dot marks the variable position in the distribution and ∼ indicates a draw. This is the observation-informed distribution: it can incorporate evidence that the recurrent memory alone would have missed.
An imagined sequence has a different source for that sample.
zₜ ∼ pφ(· | hₜ)
In this expression pφ is the dynamics predictor, also parameterized within φ. It generates a distribution over possible zₜ from the recurrent state hₜ. Successive actions and sampled states drive the recurrent update forward. The resulting trajectory can therefore supply new states to the actor without consulting the environment at each simulated step.
sₜ = {hₜ, zₜ}
The symbol sₜ denotes the state used for all subsequent predictions and decisions. The braces indicate that it contains hₜ and zₜ, which the implementation concatenates. A current observation may reveal something that was impossible to know from prior actions alone. The two components together let the decision use that new evidence as well as relevant history.
The sampled component consists of discrete codes drawn from several categorical distributions. A categorical distribution gives probabilities to a finite set of alternatives. The network produces scores for those alternatives and uses softmax to convert the scores to probabilities. Sampling a discrete alternative creates a difficulty for ordinary differentiation. Dreamer uses straight-through gradients, which let the forward computation use the sample while giving the backward computation a differentiable route to update the probabilities that produced it.
The recurrent sequence network is a gated recurrent unit, or GRU. Gates regulate how incoming information and existing memory influence the next recurrent state. Dreamer divides the recurrent weights into 8 blocks to increase memory capacity without incurring the full parameter and operation costs of an equally wide, fully connected recurrent matrix. A linear embedding of the latent, action and recurrent information lets material from different blocks reach the update. The GRU design draws on Learning Phrase Representations using RNN Encoder–Decoder.
Make the state answer for what happened
For the compact representation to carry useful information, Dreamer asks the joint state to account for the sensory input that produced it. This is autoencoding: learning a representation by making it possible to reconstruct the input from that representation. The training signal comes from the observation itself and therefore remains available throughout interaction, including stretches with little or no task reward. The paper traces this part of the design to Auto-Encoding Variational Bayes.
xₜ ∼ pφ(· | hₜ, zₜ)
In this expression pφ denotes the decoder’s observation prediction. The target xₜ is the observed input and the conditioning variables are the recurrent and sampled parts of the state. Image encoding and decoding use convolutional networks. For vector observations, the paper uses multilayer perceptrons, which are networks of successive fully connected layers.
rₜ ∼ pφ(· | hₜ, zₜ)
Here pφ denotes the reward predictor and rₜ is the reward at time t. In observed experience, that reward supplies the training target. During imagination, the predicted reward lets a generated trajectory convey how desirable its outcomes are under the environment’s task.
cₜ ∼ pφ(· | hₜ, zₜ)
In this expression pφ denotes the continuation predictor. The target cₜ is an indicator in {0,1}, where 1 means the episode continues and 0 means it has ended. The head learns the probability of continuation through logistic regression. Its prediction governs how much future value to carry past a simulated transition. For instance, a simulated trajectory judged likely to end should receive little credit for rewards forecast after that point.
The main objective combines prediction with pressure to make the compact states predictable over time.
ℒ(φ) = E_qφ[Σₜ₌₁ᵀ (βpred ℒpred,ₜ + βdyn ℒdyn,ₜ + βrep ℒrep,ₜ)]
The symbol ℒ denotes a loss to be minimized, and φ collects all world-model parameters. E_qφ averages over encoder samples. The sum runs over the time index t from 1 to the sequence length T. The subscripts pred, dyn and rep identify prediction, dynamics and representation losses. Their coefficients βpred, βdyn and βrep are 1, 1 and 0.1, respectively. Replay supplies the observations, actions, rewards and continuation labels for these sequences.
ℒpred,ₜ = −log pφ(xₜ | zₜ, hₜ) − log pφ(rₜ | zₜ, hₜ) − log pφ(cₜ | zₜ, hₜ)
This schematic likelihood expression assigns the prediction loss ℒpred,ₜ to the three observed targets at time t. The log is the logarithm. Each pφ refers to the corresponding prediction head evaluated on its target, with the same hₜ and zₜ as inputs. High probability assigned to a target yields a smaller negative log loss. The paper describes the reward loss inconsistently across sections. The world-model discussion groups it with symlog squared error, while the detailed prediction and implementation descriptions specify symexp twohot training for the reward head and critic. The distributional procedure below follows those detailed descriptions.
Teach the observed and predicted states to agree
A predictor that must reproduce whatever the encoder infers could inherit an unnecessarily difficult job. An encoder that only had to make the predictor’s job easy could discard important details. Dreamer assigns distinct losses to these sides of the problem. Both compare the encoder’s distribution with the dynamics distribution using Kullback–Leibler divergence, or KL. The divergence quantifies how much the predictive probabilities disagree with the probabilities inferred using the observation.
ℒdyn,ₜ = max(1, KL[sg(qφ(· | hₜ, xₜ)) ∥ pφ(· | hₜ)])
The KL notation compares its first distribution with its second, with ∥ separating the arguments. The stop-gradient operator sg preserves a quantity’s value in the forward computation and blocks its direct gradient in the backward computation. In ℒdyn,ₜ, it holds the encoder distribution fixed as a target, leaving the dynamics side to improve its prediction. The functions pφ and qφ and their conditioning variables are the same as in the state equations. The max function gives the loss a floor of 1 nat.
ℒrep,ₜ = max(1, KL[qφ(· | hₜ, xₜ) ∥ sg(pφ(· | hₜ))])
In ℒrep,ₜ, the stop-gradient holds the dynamics distribution fixed in the comparison. The encoder receives pressure to produce representations that the dynamics can predict. The argument order of KL stays the same. The placement of sg determines the direction in which this particular training signal can act. Predictability also helps the implementation use a factorized predictor, which can sample the categorical components efficiently during imagination.
The floor is the free-bits mechanism. A nat is a unit of information based on natural logarithms. The authors give the threshold of 1 nat as approximately 1.44 bits. Once the divergence falls below the threshold, the floored term is constant and offers no gradient for further reduction. The heads trained by the prediction loss can then continue to make the state more informative without a simultaneous demand to drive that already small discrepancy still lower. The representation term’s lower weight limits the strength of that demand when the divergence is above the floor.
A separate change addresses sharp probability distributions. In earlier runs the authors observed intermittent surges in KL loss. If one head assigns an event considerable probability and another assigns it extremely little, the log terms in the divergence can be large. Dreamer mixes 99% of the softmax prediction with 1% uniform probability in the categorical encoder and dynamics outputs. The implementation applies the mixture to the actor’s categorical outputs as well. Every alternative retains positive probability. This is a constraint on the distributions themselves, while free bits govern the training pressure once the two distributions are already close.
Change numerical scale before reconstructing vectors
The same network can encounter small values in one application and very large values in another. For squared-error training, a large residual can dominate a gradient update. The authors report that using absolute or Huber loss can stall progress, and they point out that normalization based on running statistics changes the effective prediction targets over time. Dreamer uses a fixed signed transformation that compresses either sign while leaving the neighborhood of zero approximately linear.
symlog(x) = sign(x) ln(|x| + 1)
The scalar x can have either sign. The function sign(x) gives that sign, |x| is the absolute magnitude and ln is the natural logarithm. Adding 1 keeps the logarithm defined at zero. The same magnitude receives the same amount of compression on either side of zero.
symexp(x) = sign(x)(exp(|x|) − 1)
The function exp is the natural exponential, and x here denotes a quantity in transformed coordinates when this expression is used as an inverse. The magnitude is expanded, the subtraction reverses the offset, and sign restores the side of zero. Applying symexp to the result of symlog recovers the original scalar.
ℒ(θ) = ½(f(x, θ) − symlog(y))²
Here f is a prediction network with parameters θ, x is its input, and y is the scalar target in its original units. The network output is compared with symlog(y). The loss ℒ is half the square of that residual, so its update depends on the error in compressed coordinates.
ŷ = symexp(f(x, θ))
The symbol ŷ denotes the scalar prediction in the original units. The network f uses the same x and θ as in the loss, and symexp reverses the target transformation for readout. Using this scheme for vectors, Dreamer compresses observations before encoding them and trains the decoder to reconstruct the compressed quantities. This protects the encoder from large numerical inputs and helps keep the reconstruction gradients in balance with the KL objectives.
Learn distributions for rewards and returns
For rewards and returns, Dreamer uses a prediction head with a range of possible outcomes. A compressed state can be compatible with several futures. A return distribution may, for instance, put substantial probability near distinct outcomes that depend on whether the actor reaches a milestone. A categorical output over numerical locations allows the head to express such possibilities, and it provides a training objective whose numerical scale comes from probability errors.
B = symexp(−20, …, +20)
The symbol B denotes the ordered collection of numerical bin locations. Symexp acts element by element. The ellipsis denotes the intervening points in the transformed range from −20 to +20. After expansion, the positions cover a wide span of values and have finer spacing around zero than at large magnitudes.
ŷ = softmax(f(x, θ))ᵀ B
The network f takes input x and uses parameters θ. Its outputs are logits, or scores before normalization. Softmax converts them to probabilities for the positions in B. The transpose and product indicate that each bin location is multiplied by its probability and the products are summed. The result ŷ is an expected value in the original units. It can lie between adjacent bins. For numerical stability in this readout, the implementation discussion advises summing positive and negative contributions separately, in order of increasing magnitude, before adding the two sums.
The training target has the form of a probability vector, even when the observed target is a single continuous number. Converting a scalar into that vector begins by locating the bracketing bins. The paper gives this counting expression for the index.
k = Σⱼ₌₁^|B| 𝟙(bⱼ < y)
Here y is the numerical target, bⱼ is the location of bin j and |B| is the number of locations. The indicator 𝟙 contributes 1 when the comparison is true and 0 otherwise. For a target between two supported locations, k is the index of the lower neighbor and k+1 is the index of the upper neighbor.
twohot(y)ₖ = |bₖ₊₁ − y| / |bₖ₊₁ − bₖ|
The entry twohot(y)ₖ is the weight on lower bin bₖ. The numerator is the distance from the target y to the upper bin bₖ₊₁. The denominator is the distance between the bins, so the lower bin receives greater weight as y approaches it.
twohot(y)ₖ₊₁ = |bₖ − y| / |bₖ₊₁ − bₖ|
The entry twohot(y)ₖ₊₁ is the weight on the upper bin. Its numerator is the distance to the lower bin. The two weights sum to 1, and entries outside these positions are 0. At an exact bin location the encoding puts all weight on that location. The term “twohot” refers to the use of up to two active positions, extending onehot encoding, which marks a single category.
ℒ(θ) = −twohot(y)ᵀ log softmax(f(x, θ))
The loss ℒ is categorical cross-entropy with a soft target. The logarithm operates on each predicted probability, and the vector product weights those log probabilities by the entries of twohot(y). The network f, input x and parameters θ have the same roles as in the readout. Changing the magnitude of y affects where the target weight falls. The bin locations themselves are absent from the cross-entropy once its target weights have been determined, so a large value does not directly generate a proportionally large regression error.
Estimate what happens beyond an imagined trajectory
During imagination, Dreamer starts from states inferred using actual replayed observations. The actor supplies the next action at each state, and the dynamics supplies the next internal state. Reward and continuation predictions complete the imagined trajectory. The decoder has already helped shape the internal representation during world-model training. The actor can work with that representation directly throughout the rollout.
aₜ ∼ πθ(· | sₜ)
The actor’s policy is the conditional distribution πθ, with parameters θ for this network. The symbol aₜ denotes the action drawn at state sₜ. The same sampling rule governs real interaction. A learned preference for good actions is available immediately when the policy is evaluated, with no planning search in the environment action loop.
Rₜ = Σ_{τ=0}^{∞} γ^τ rₜ₊τ
The return Rₜ is the cumulative discounted reward beginning at time t. The offset τ starts at 0 and indexes future rewards rₜ₊τ. The symbol ∞ expresses the potential unbounded future of this definition, and γ is the discount factor, set to 0.997. Raising γ to the offset reduces the contribution of distant rewards.
vₜ = E[pψ(· | sₜ)]
The critic’s distribution pψ, with parameters ψ, predicts return under the current actor from state sₜ. The dot denotes the return variable. The expectation E yields the scalar value vₜ through the weighted readout over bins. The symbol ψ distinguishes the critic’s parameters from those of the actor and the world model.
The imagination horizon is T = 16. Returns may depend on events lying beyond it, so the paper uses a bootstrapped estimate. Bootstrapping means that an estimate of value helps construct a training target for another estimate. Here the target combines the rewards predicted along the rollout with predictions from the critic.
Rₜ^λ = rₜ + γcₜ[(1 − λ)vₜ + λRₜ₊₁^λ]
The symbol Rₜ^λ denotes the target at time t. The coefficient λ controls the mixture between the critic’s value vₜ and the recursively accumulated target Rₜ₊₁^λ at the next step. The immediate reward is rₜ, γ discounts future contributions, and cₜ is the continuation quantity that determines how much of that future is carried forward. In an imagined trajectory, these reward and continuation quantities come from the learned heads.
R_T^λ = v_T
At the end of the rollout, T is its terminal index and the value prediction v_T initializes the backwards recursion. R_T^λ is therefore a value estimate for the tail of the trajectory. Earlier targets use that estimate together with the available imagined rewards.
ℒ(ψ) = −Σₜ₌₁ᵀ log pψ(Rₜ^λ | sₜ)
This is the critic’s likelihood objective. It sums the loss for each time t up to T, with pψ predicting from sₜ and Rₜ^λ supplying the target return. In implementation the target is encoded for the categorical prediction head, so the likelihood training uses the corresponding soft-target cross-entropy.
The critic also learns from replayed data. Imagined trajectories carry a loss weight βval of 1, and replayed trajectories carry a weight βrepval of 0.3. For the replay updates, imagined returns at rollout starting states provide value annotations reflecting the current actor. These annotations support λ-return targets built using rewards recorded along the replayed sequence. This gives value learning access to actual reward observations in environments where the reward head has difficulty predicting them.
For stability, the critic is regularized toward predictions made by a copy based on an exponential moving average of its parameters. Averaging gives the regularization target a slower rate of change, while the current critic still provides values for computing returns. At initialization the output weight matrices in the reward and critic heads are zero. The authors introduced this after observing that large predictions from random initialization could delay learning before the agent had obtained meaningful reward evidence.
Improve the actor while keeping exploration useful
The actor can learn from a comparison between the target return obtained along a trajectory and the value expected at its starting state. This difference is the advantage. A positive advantage supports increasing the probability of the action taken. The actor also receives an entropy bonus, which favors a policy that continues to spread probability over its options. Making these two pressures comparable across tasks requires particular care when the reward signal is weak.
The authors estimate the numerical range of returns from percentiles. A state or an episode with an extreme return can distort a range based on the smallest and largest samples. For example, random layouts can make some episodes unusually rewarding. The middle part of the distribution gives a scale estimate less affected by such episodes, and smoothing reduces variation between successive batches.
S = EMA(Per(R^λ, 95) − Per(R^λ, 5), 0.99)
The symbol R^λ here denotes the batch of return targets. Per returns the specified percentile of the batch. The 95th and 5th percentile values give the range inside the tails. EMA denotes an exponential moving average, using the coefficient 0.99 to smooth this range into S.
ℒ(θ) = −Σₜ₌₁ᵀ [sg((Rₜ^λ − vψ(sₜ)) / max(1, S)) log πθ(aₜ | sₜ) + η H(πθ(· | sₜ))]
Here θ belongs to the actor and ψ to the critic. The first term uses the advantage, the difference between target Rₜ^λ and critic estimate vψ(sₜ). The denominator is at least 1 because max selects the larger of 1 and S. The operator sg holds the entire scaled advantage fixed for this gradient. The log probability is for the chosen action aₜ given state sₜ. The function H is the entropy of the actor distribution at that state, and η weights its contribution. The paper sets η to 3 × 10⁻⁴. The sum covers the imagined time indices, and the outer minus sign turns the maximization terms into a loss.
The REINFORCE estimator in this objective updates action probabilities for both discrete and continuous control. A wide return range can shrink the advantage contribution, bringing it into a workable relation with the fixed entropy coefficient. A narrow range leaves the advantage on its existing scale. In a sparse-reward environment, where the estimated differences may mostly reflect approximation noise, this floor keeps a tiny denominator from turning those differences into strong instructions.
The paper discusses several alternatives that the authors found difficult to configure across domains. Standardizing advantages can give noisy differences substantial weight even before the agent is close to obtaining a reward. A standard deviation close to zero can make scaling by that statistic particularly unstable. An objective that seeks a fixed average entropy leaves less room for exploration to respond to the availability of good rewards. Dreamer’s range adjustment addresses the size of the numerical signal while allowing weak task evidence to remain weak.
Keep optimization consistent across training budgets
Dreamer uses adaptive gradient clipping. For each weight tensor, the clipping rule relates the size of its gradient to the norm of the weights it will update. The paper specifies a threshold of 30% of the corresponding weight matrix’s L2 norm and an epsilon of 10⁻³. This gives the clipping rule a reference scale tied to the parameters, reducing the need to retune a global clipping level when loss magnitudes change.
The optimizer is LaProp, which uses RMSProp normalization before smoothing the gradients by momentum. The reported epsilon is 10⁻²⁰, with coefficients β₁ = 0.9 and β₂ = 0.99. The authors report observing occasional instabilities with Adam and use LaProp’s ordering to avoid them. Adam: A Method for Stochastic Optimization.
The architecture also uses RMSNorm and SiLu. Images pass through stride 2 convolutions and corresponding transposed convolutions for reconstruction. The vector encoder and decoder, actor and critic use 3-layer multilayer perceptrons. Reward and continuation prediction use 1-layer perceptrons. These settings describe a family whose width can change while the number of layers and the number of categorical latents stay fixed. The paper reports a public implementation of Dreamer that reproduces its experiments.
Experiments and results
What the comparisons control
The evaluation includes 8 domains and over 150 tasks. Its breadth comes from differences that affect learning in different places. An image supplies a larger perception problem than a vector of measurements. Continuous actions test the policy in a different way from a finite menu. Sparse rewards make exploration and credit assignment harder, while variation in numerical reward scale tests whether the same objectives remain stable. Procedural generation changes the situations encountered across episodes. These are distinct demands on the same algorithm, making the suite an assessment of portability as well as score. Evaluation & benchmarks.
The main shared comparison is Proximal Policy Optimization using the implementation in Acme. The authors select a single PPO configuration for use across the benchmarks. They tune the learning rate, entropy coefficient and size of an epoch’s batch, choosing a batch large enough for more complex environments. PPO uses an IMPALA network architecture, shares Dreamer’s discount factor and uses a minibatch sized to the capacity of an A100 GPU. To check that this configuration is competitive, the authors compare it on ProcGen with the published result from a heavily tuned PPO implementation. Their run matches or slightly exceeds that reference.
Specialist comparisons largely come from published experiments with settings chosen for individual benchmarks. Minecraft is an exception. The authors also run and tune IMPALA and Rainbow for this task, using the Acme implementations and the architecture used for their PPO agent. They tune learning rates and exploration-related regularization. Across the domains as summarized by the authors, Dreamer substantially exceeds the shared PPO baseline. The specialist comparisons show how far the common recipe goes against methods equipped with more local design and tuning.
Each Dreamer and PPO agent is trained on a single Nvidia A100 GPU. The default Dreamer size is 200M parameters. The authors report the same performance with a faster 12M version on the control suites. The number of parallel environment instances is usually 16 and varies for specific protocols and simulation costs. BSuite requires a single instance, and Atari100k also uses a single instance in the authors’ setup. Minecraft uses 64 instances with remote CPU workers to speed up the relatively slow environment.
The usual comparison runs 5 seeds for each algorithm on a benchmark. A seed changes the starting conditions for sources of training randomness. BSuite uses 10 seeds under its protocol, and Minecraft uses 10 seeds to estimate how often a full run reaches a diamond. ProcGen uses 1 seed because of computational constraints. The learning curves summarize the mean over seeds and use one standard deviation for shading. The replication behind an apparent difference thus varies across the evaluation.
Atari with long and short interaction budgets
The Atari benchmark uses 57 Atari 2600 games with a 200M-frame budget. In the sticky-action setting, the simulator can carry over an earlier action, introducing variability into the effect of the agent’s commands. Normalization compares game scores against human and random reference scores, using the values the authors identify as the prevalent choices in the literature. This matters when combining games whose raw scoring rules assign very different numerical values to performance. The Arcade Learning Environment and Revisiting the Arcade Learning Environment.
Dreamer outperforms Rainbow, IQN and MuZero on the reported Atari comparison. The authors state that Dreamer uses a fraction of MuZero’s computational resources. The result places a policy trained through latent imagination alongside strong methods on this established discrete-action, image-based domain, while the other experiments ask whether the same training design can succeed under very different observation and action interfaces.
Atari100k emphasizes data efficiency. The protocol covers 26 games and gives the agent 400K environment steps, equivalent to 100K steps after action repeat and described as 2 hours of play. Dreamer uses the environment settings from the benchmark’s introduction. With so little interaction, the question is how rapidly a learner turns early and imperfect play into useful subsequent behavior. Dreamer outperforms SPR, SimPLe, TWM and IRIS among the comparisons emphasized by the authors.
EfficientZero uses prioritized replay, hyper-parameter scheduling, and online tree search and reports higher performance. The authors emphasize its early resets, which change the diversity of experience available during training and complicate comparison with the original protocol. The Atari100k results therefore support a claim tied to the chosen environment settings. They also show why a budget in frames is only one part of a data-efficiency evaluation: the rules for when trajectories end affect what those frames contain.
ProcGen and DMLab
ProcGen comprises 16 games with randomized levels and distracting visual features. Dreamer is evaluated on hard difficulty with an unlimited level set. The budget is 50M frames, chosen with computational cost in mind, since the protocol has no action repeat. Variation in layout and appearance makes this suite a different visual challenge from learning how to play a fixed game configuration.
Dreamer reaches the performance of the tuned PPG specialist and exceeds Rainbow on ProcGen. The shared PPO configuration achieves the published PPO performance reference, which helps anchor the comparison. The suite’s result is a benchmark-level observation under the specified budget. Its 1 seed offers less evidence about run-to-run variation than the replicated benchmarks.
DMLab contains 30 tasks in 3D environments and uses a fixed action space in the experiments. The suite poses problems in spatial and temporal reasoning, where observations separated by movement and elapsed time can bear on the same decision. The authors evaluate Dreamer at 100M environment steps. It exceeds the reported performance of IMPALA and R2D2+, even using their results at 1B steps. The original baselines were intended to demonstrate performance at scale, and the authors chose the larger reference budget because the baselines performed poorly at 100M steps. DeepMind Lab.
The DMLab result is consequently best read in terms of the actual budgets. The paper describes the published baselines as having a 10× data advantage in this comparison. Dreamer surpasses those performance references with less interaction. The comparison leaves the algorithms’ relative compute costs under an identical training protocol unresolved.
Continuous control with measurements or images
Proprioceptive Control gives the agent vectors describing the controlled system. The benchmark comprises 18 tasks with continuous actions and a budget of 500K environment steps. Tasks span classical control, locomotion and manipulation, with examples of both dense and sparse reward. The paper uses action repeat 2 and excludes the quadruped tasks from this version because the relevant published baseline results were unavailable. Dreamer achieves the strongest benchmark performance in the reported comparison with D4PG, DMPO and MPO.
Visual Control uses images as observations for 20 continuous-control tasks, also with action repeat 2. The budget is 1M environment steps. The perception problem now includes learning what visual information is needed for control. Dreamer exceeds DrQ-v2 and CURL, both developed for visual environments and using data augmentation. This is evidence that the implementation’s visual representation and training procedure work well without adopting those specialists’ particular augmentation schemes.
Taken together, these evaluations show the range of interfaces handled by Dreamer’s common training recipe. Their task sets and budgets differ, so the two scores answer separate questions. The vector suite shows that an agent built around a learned representation can work from direct measurements. The image suite shows that a related configuration can learn a representation useful for continuous control from visual observations. The reported success of the 12M version on both suites also qualifies how much capacity this part of the evaluation requires.
BSuite isolates specific learning demands
BSuite contains 23 environments and 468 configurations. These tests target properties such as credit assignment, remembering observations, exploring to find rewards, and tolerating changes in reward scale or stochasticity. Credit assignment is the problem of identifying which earlier decisions contributed to a later result. A score broken down by category can reveal whether a learner is broadly effective or whether its overall performance depends heavily on a subset of those capabilities.
Dreamer outperforms Boot DQN and the other compared approaches on the aggregate assessment, with the paper highlighting scale robustness. The supplementary analysis also identifies memory as a category where Dreamer exceeds previous methods. The scale result is particularly relevant to the method’s use of transformed inputs, distributional reward and value losses, and normalization in the actor. Several of these choices could influence the same outcome, so the benchmark result shows how the combined agent behaves. The component comparisons address the contribution of individual choices.
Minecraft’s observations, actions and rewards
The Minecraft Diamond environment is built on MineRL v0.4.4 with Minecraft version 1.11.2. Episodes begin in procedurally generated worlds. Death ends them early, and otherwise they stop after 36,000 steps, which take 30 minutes at a control frequency of 20 Hz. The environment gives Dreamer a flat categorical action space. It includes the MineRL interface’s abstract crafting actions and uses a block-breaking arrangement from earlier work to accommodate stochastic policies that would have difficulty holding a key through many successive decisions.
The authors also make changes to the interaction interface after human play testing. An action that breaks diamond ore does not always put the diamond directly in inventory. Sometimes the agent has to collect the item from the ground. The original termination rule could end the episode as soon as the ore broke, preventing the collection event from being recorded or rewarded. The authors remove this early termination. They also hold a jump command for 200ms in the background to give it time to take effect.
An observation includes the first-person image, of shape 64 × 64 × 3, and numerical information. The environment supplies current inventory counts for over 400 items and maximum counts reached so far in the episode. The maxima make previous milestone achievements available even when the corresponding material has been used. The equipped item is indicated by a onehot vector. Scalar inputs communicate health, hunger and breath. Thus the learner receives a view of the surroundings and a structured record of parts of its game state.
The sparse reward marks 12 item milestones on the way to the diamond. Early items come from gathering and processing wood. Later steps involve making progressively better pickaxes, collecting iron ore, and using a furnace to obtain iron for the tool needed to reach the diamond. The environment awards +1 when each milestone is reached for the first time in an episode. Repeated collection can still be necessary to progress. The learner must therefore discover some useful actions that earn no further milestone rewards. Health adds a reward of −0.01 per lost heart and +0.01 per restored heart.
This design makes episode return a measure of progress as well as final success. A run that frequently reaches late crafting stages can earn a substantial return even when diamond acquisition is rare. The paper reports return at 100M environment steps, a budget it describes as about 100 days of in-game time.
How far the agents get in Minecraft
The four directly compared methods show different levels of progress at the training budget. Dreamer leads on episode return, with IMPALA the next highest. The metric reflects achievement of intermediate milestones and the additional health feedback.
Minecraft Diamond episode return at 100M environment steps
Dreamer earns the highest episode return among the compared agents.
The numbers
| System or setting | episode return |
|---|---|
| Dreamer (this paper) | 9.1 |
| IMPALA | 7.1 |
| Rainbow | 6.3 |
| PPO | 5.1 |
The study separately asks whether a training run ever produces a diamond. Under that criterion, 100% of Dreamer runs succeed within the budget. The figure reports 0% for the compared baselines, some of which still reach advanced items such as the iron pickaxe. The authors describe this as the first diamond acquisition learned from scratch without human data or an adaptive curriculum. The claim concerns the specified Minecraft interface and the difference from prior approaches that relied on those sources of training assistance.
A third view counts the percentage of episodes containing successful item acquisition at the end of the budget. Dreamer reaches items more often than the baselines and continues improving through training. At 100M steps it obtains diamonds in 0.4% of episodes. Training exposes each agent to enough episodes for a rare discovery to have been observed in every run. The episode statistic establishes how uncommon the completed sequence still is, even after the earlier milestones are much more accessible.
The historical comparison with VPT adds context for training resources. The paper reports that VPT’s approach used 720 GPUs for 9 days with human data, while Dreamer’s Minecraft run uses 1 GPU for 9 days and learns from interaction without demonstrations. Dreamer also uses the remote CPU workers described above. These figures describe complete training arrangements with different data and interfaces. They give the cost context for the achievement while leaving the contribution of any single difference unmeasured.
What the ablations show
Different safeguards matter on different tasks
An ablation changes part of a system to see what performance depends on. The authors examine Dreamer’s robustness mechanisms and learning signals on 14 tasks, with individual training curves in the supplementary material. The diversity of the selected tasks matters for the interpretation. A device meant to handle large numerical values might offer little benefit in a setting with small, well-behaved observations. An adjustment intended for sparse rewards can have a larger effect when those rewards are genuinely difficult to encounter.
Each robustness technique contributes on average in the reported comparisons. The authors identify the world model’s KL objective as the most consequential, followed by actor return normalization and the distributional twohot method for reward and value. There is considerable task dependence. The same intervention can substantially affect one learning curve while leaving another close to the full system. The intended benefit of the combined recipe is that those mechanisms are present when a domain needs them, without a separate decision about which safeguard to turn on for each new task.
The KL result concerns how the learning system coordinates two sources of state. Observations let the encoder infer what is happening, whereas imagination must advance a state from history and action. If those sources diverge too far, behavior can be trained on internal trajectories with weak ties to states reached in real experience. If the representation is under excessive pressure to match a simple prediction, it can lose sensory information. The ablation lends support to balancing these demands. Its aggregate effect is evidence about the objective in this system, with individual task curves showing where the resulting behavior is most sensitive.
The return normalization result bears more directly on action selection. The entropy coefficient is shared across environments, and its effect depends on the magnitude of the opposing advantage signal. When that signal is large, controlled scaling can keep the incentive to explore in play. When task evidence is scarce, the floor in the denominator prevents a small spread from manufacturing a strong signal. The ablation supports the value of the normalization procedure across the tested tasks and leaves its precise contribution to each exploration strategy open.
The twohot comparison tests a different part of the learning chain. The reward head has to turn a state into a prediction that can be used in an imagined return, and the critic must turn return estimates into reliable value predictions. The distributional loss sets those heads a probability-fitting problem over bin locations. Its reported contribution supports the practical importance of handling target magnitude at the prediction heads, in addition to scaling how the actor uses the resulting values.
Reconstruction supplies information before reward is abundant
A separate set of comparisons selectively blocks gradients that shape the learned state. The authors suppress either gradients from reconstructing observations or the task-specific gradients associated with reward and value prediction. This tests which source teaches the state to retain useful information. For example, a reward prediction can influence the representation even when the same sensed situation would be easy to reconstruct without knowing whether it led to a good outcome.
The main dependency is on reconstruction. Across the selected tasks, the system’s performance relies predominantly on the objective that asks the latent state to explain observed inputs. Reward and value gradients can still improve performance on a subset of tasks. Together, these observations show how a representation can acquire much of its usefulness from the structure of experience, while task signals refine some of what it preserves. The trained actor and critic still depend on rewards to evaluate behavior.
This result makes sense in a long trajectory with little immediate payoff. Every observation supplies evidence about the environment’s ordinary structure. Many observations may arrive before any reward distinguishes good from bad behavior. Reconstruction can shape the state during that stretch, and the recurrent dynamics can learn which changes follow an action. When reward eventually occurs, the agent has an internal representation on which the reward and value predictions can build.
The authors see this finding as grounds for exploring unsupervised pretraining. Their intervention measures the contribution of reconstruction on the agent’s interaction data, within the joint architecture and its temporal and prediction objectives. The proposed use of separate unsupervised sources, such as videos, would add questions about how the available observations relate to the actions and rewards in the eventual task.
Capacity and updates offer different ways to spend compute
The authors study scaling on Crafter and a DMLab task. They train 6 network sizes, ranging from 12M to 400M parameters, with the learning rate and batch size held fixed. Sizes are generated from a shared dimension that governs the width of the perceptrons, the recurrent capacity, the channels used in the convolutional parts and the number of available codes per categorical latent. The number of latents and the number of hidden layers stay fixed. This is a comparison of related architectures at different capacities.
In the reported curves, performance increases monotonically with the tested sizes. The larger versions also need less environment interaction to learn successful behavior. The distinction matters because more capacity could have yielded only a higher eventual score after an equally long learning process. The performance curves instead show a benefit in the use of experience during learning in these tasks.
The paper separately varies replay ratio. Increasing the number of updates per amount of collected experience improves performance and reduces the required interaction in the tested settings. A larger network changes the amount and kind of computation performed in an update. A larger replay ratio changes how many updates the agent can make from available interactions. The two experiments therefore give evidence about different ways of allocating more computation. The observed trends apply to the sizes, replay settings and tasks that were evaluated.
Limitations
Qualifications made by the authors
The Minecraft result leaves repeatable diamond collection as an open challenge. The authors explicitly distinguish the 0.4% episode success rate at the budget from the fraction of runs that ever found a diamond. The first says how frequently a trained policy carries the sequence through in an episode. The second reports whether exploration and learning reached that outcome at some point in training. The paper establishes broad success at discovery across its runs and rare success per episode.
The authors also identify limits to benchmark comparability. EfficientZero changes the reset procedure on Atari100k, affecting the stream of available experience. The DMLab references use 1B steps and were developed for scalable performance. The authors give those baselines a larger budget because the published runs do poorly at the smaller one. They also explain that training Dreamer at the 10B steps used in some earlier DMLab work was infeasible in their experiment. Each comparison is informative within its resource and protocol choices.
ProcGen’s 1 seed reflects computational constraints. The reported match with PPG and comparison with PPO have a useful reference point in the established benchmark, and the extent to which those outcomes would vary across additional runs remains open. In Minecraft, the authors leave the contribution of the health reward untested. The measured behavior is from an agent receiving both the milestone rewards and the health feedback.
Boundaries of the evidence
The breadth result concerns repeated application of one algorithm. Each training run learns from its own environment, and the paper’s conclusion proposes a world model shared across domains as future research. Switching a trained Atari agent to a robot task, transferring state knowledge across the two, or accumulating broad competence in a single agent would require different experiments. The portable element demonstrated here is the procedure used to train the agents.
The experimental recipe also has resource and interface choices specific to a benchmark. Replay ratios are chosen to fit step budgets, the number of environment instances varies, and the smaller configuration is sufficient for the control suites. The observation and action channels adapt to what the environment supplies. These details make the fixed-settings claim most precise when applied to the core learning objectives and associated hyper-parameters. They delimit what an engineer can expect to carry over and what still has to be specified for a new application.
Minecraft’s task definition supplies useful structure. The action space includes abstract crafting, the agent observes inventory and equipment, and milestone rewards identify progress towards the final item. The corrected termination and jump behavior make that interface more workable. The evidence for autonomous learning is strong with respect to the absence of demonstrations and an adaptive curriculum. It applies to this competition-derived task, with the information and operations made available by its design. Wider Minecraft competence, or success with visual input, raw controls and a reward only for the final item, would address different conditions.
There is also a difference between evaluating prediction and evaluating behavior. The paper shows long-range forecasts for a DMLab maze and a quadruped scene using 5 context images followed by predictions for 45 frames, given the action sequence. Its Minecraft illustration likewise conditions on the first 5 frames and a sequence of actions, then predicts 45 steps ahead. These are demonstrations of prediction from selected contexts with actions supplied. They leave open how prediction error behaves across rare events, especially when the current actor visits states outside its more familiar experience. The performance results assess whether the complete system learns useful policies despite the errors it may encounter.
Finally, lower interaction requirements measure only part of the cost. The scaling evidence is for Crafter and a DMLab task across the tested sizes and replay ratios. More updates and greater capacity deliberately spend computation. Benchmark runs use an A100 GPU per agent, and the Minecraft setup also parallelizes simulation on CPUs. Practical gains from the recipe depend on the relative costs of fresh interaction, simulation, storage and training computation in an application. The experiments establish improved use of interaction under their tested conditions.
What came after
Planning and knowledge in open worlds
The later papers that cite DreamerV3 place it near several different approaches to general agents. Their connections are clearest at the level of the problems they take up and the mechanisms named in their descriptions. A citation establishes the research connection. Specific reuse of Dreamer’s recurrent states, training losses or rollout procedure would require evidence from the methods of the citing work.
Describe, Explain, Plan and Select uses interactive planning with large language models to address open-world, multitask agency. DreamerV3 asks how a policy can learn useful sequences from predictions of the consequences of an action. In this later work, description, explanation, planning and selection define the interaction with the language system. The common concern is deciding what to do when the significance of an action depends on a sequence that unfolds over time. The named approach puts language-mediated planning at the center of that decision process. Describe, Explain, Plan and Select.
Ghost in the Minecraft addresses broadly capable agents in an open world using text-based knowledge and memory. Minecraft provides a shared setting for two different questions about what makes extended behavior possible. DreamerV3 investigates what an agent can discover from sparse rewards and interaction under a given interface. Ghost draws attention to the role of information expressed in text and to retaining information in memory for later decisions. That scope moves the comparison from the diamond benchmark itself toward the sources of knowledge an open-world agent can draw on. Ghost in the Minecraft.
Augmenting Autotelic Agents with Large Language Models concerns agents that pursue goals of their own. Dreamer’s actor learns to act under a reward structure supplied by its environment, such as the progression of item milestones. The autotelic setting raises the additional question of how a system can support its own goals, with a language model used for augmentation. Both lines concern agents that learn through activity, with the later work’s emphasis on the role of language in goal-directed agency. Augmenting Autotelic Agents with Large Language Models.
Interactive simulation, code and language as predictive media
Learning Interactive Real-World Simulators makes interactive simulation the primary object of study. The simulator in DreamerV3 is trained within a control system and is useful because it can generate sequences under the agent’s actions. A study centered on interactive real-world simulation takes up the more general problem of producing a learned system whose future depends on interventions. Interactivity connects these directions. A forecast that simply continues one observed sequence poses a different problem from a simulator that responds to what someone or something chooses to do. Learning Interactive Real-World Simulators.
WorldCoder makes the form of an environment representation explicit. Its agent builds world models by writing code and interacting with the environment. DreamerV3 represents dynamics in a recurrent neural state with sampled latent codes and trains an actor from state sequences. WorldCoder brings the idea of producing a usable account of an environment into a setting where code is the medium. This preserves the importance of interaction as evidence about what happens, while changing what the learner produces to represent that evidence. WorldCoder.
Qwen-AgentWorld studies language world models for general agents. Its subject connects directly with DreamerV3’s proposal to develop more general world knowledge and competence, while pointing to a different predictive medium. The Dreamer experiments give a learned internal state value through its use in control. A language world model brings the corresponding problem of action-relevant prediction into a language representation. The connection concerns the predictive role of the representation and its use by an agent. Qwen-AgentWorld.
Can We Predict Before Executing Machine Learning Agents? shifts the object of prediction to agent execution. DreamerV3 predicts environmental outcomes conditioned on an agent’s actions and uses those predictions to improve a policy. The later work asks whether machine learning agents themselves can be anticipated before execution. The two questions illustrate different uses of a prediction made in advance. One supplies practice experience for the learner, while the other is concerned with what can be known about a prospective execution. Can We Predict Before Executing Machine Learning Agents?.
Where tasks, training experience and feedback come from
OMNI-EPIC addresses open-endedness through environments programmed in code and human notions of interestingness. DreamerV3 evaluates a common learner on a collection of specified tasks. The open-ended setting makes the creation of environments and the choice of worthwhile tasks part of the research problem. A broadly applicable learner and a process for proposing environments solve complementary parts of that larger problem. One determines how experience changes behavior on an available task. The other concerns what experiences and challenges can become available in the first place. OMNI-EPIC.
Surveying the Effects of Quality, Diversity, and Complexity in Synthetic Data From Large Language Models considers what properties make generated data matter for learning. Dreamer’s actor also learns from generated material, in its case sequences of predicted states and rewards linked by chosen actions. Quality and diversity raise concrete questions in either setting, although the material being produced and the objective it supports differ. In Dreamer, a useful trajectory must carry information about consequences under the current policy. The synthetic-data study centers on data generated by language models and examines their properties as training material. Surveying the Effects of Quality, Diversity, and Complexity in Synthetic Data From Large Language Models.
The Survey of Reinforcement Learning from Human Feedback addresses how people’s feedback can shape a learning objective, an application area already mentioned in the Dreamer paper. DreamerV3’s control experiments take reward from the environment as specified. Human-feedback research makes the origin of the feedback itself central. A related work, Language Models are Bounded Pragmatic Speakers, studies reinforcement learning from human feedback through a Bayesian cognitive perspective on language. These works connect through the broader question of how feedback shapes learned behavior. Their stated subjects extend from a general survey of the setting to an interpretation of language behavior within it. A Survey of Reinforcement Learning from Human Feedback and Language Models are Bounded Pragmatic Speakers.
Cite
Cite as Danijar Hafner, Jurgis Pasukonis, Jimmy Ba and Timothy Lillicrap. 2023. Mastering Diverse Domains through World Models. arXiv:2301.04104.
@misc{hafner2023mastering,
title = {{Mastering Diverse Domains through World Models}},
author = {Danijar Hafner, Jurgis Pasukonis, Jimmy Ba and Timothy Lillicrap},
year = {2023},
doi = {10.48550/arxiv.2301.04104},
eprint = {2301.04104},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.2301.04104}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/hafner-2023-mastering-diverse-domains-through-world/
References
- David Silver, Aja Huang, Chris J Maddison, Arthur Guez, Laurent Sifre, George Van Den Driessche, Julian Schrittwieser, Ioannis Antonoglou, Veda Panneershelvam, Marc Lanctot, et al. Mastering the game of go with deep neural networks and tree search. nature, 5290 (7587):0 484, 2016. OpenAlex ↗ · Scholar ↗
- OpenAI. OpenAI Five. https://blog.openai.com/openai-five/, 2018. OpenAlex ↗ · Scholar ↗
- Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, et al. Training language models to follow instructions with human feedback. Advances in neural information processing systems, 35:0 27730–27744, 2022. our card
- Hung Le, Yue Wang, Akhilesh Deepak Gotmare, Silvio Savarese, and Steven Chu Hong Hoi. Coderl: Mastering code generation through pretrained models and deep reinforcement learning. Advances in Neural Information Processing Systems, 35:0 21314–21328, 2022. our card
- John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347, 2017. OpenAlex ↗ · Scholar ↗
- Timothy P Lillicrap, Jonathan J Hunt, Alexander Pritzel, Nicolas Heess, Tom Erez, Yuval Tassa, David Silver, and Daan Wierstra. Continuous control with deep reinforcement learning. arXiv preprint arXiv:1509.02971, 2015. our card
- Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Andrei A Rusu, Joel Veness, Marc G Bellemare, Alex Graves, Martin Riedmiller, Andreas K Fidjeland, Georg Ostrovski, et al. Human-level control through deep reinforcement learning. Nature, 5180 (7540):0 529, 2015. OpenAlex ↗ · Scholar ↗
- Julian Schrittwieser, Ioannis Antonoglou, Thomas Hubert, Karen Simonyan, Laurent Sifre, Simon Schmitt, Arthur Guez, Edward Lockhart, Demis Hassabis, Thore Graepel, et al. Mastering atari, go, chess and shogi by planning with a learned model. arXiv preprint arXiv:1911.08265, 2019. OpenAlex ↗ · Scholar ↗
- Max Jaderberg, Volodymyr Mnih, Wojciech Marian Czarnecki, Tom Schaul, Joel Z Leibo, David Silver, and Koray Kavukcuoglu. Reinforcement learning with unsupervised auxiliary tasks. arXiv preprint arXiv:1611.05397, 2016. our card
- Ankesh Anand, Evan Racah, Sherjil Ozair, Yoshua Bengio, Marc-Alexandre Côté, and R Devon Hjelm. Unsupervised state representation learning in atari. Advances in neural information processing systems, 32, 2019. OpenAlex ↗ · Scholar ↗
- Danny Driess, Ingmar Schubert, Pete Florence, Yunzhu Li, and Marc Toussaint. Reinforcement learning with neural radiance fields. arXiv preprint arXiv:2206.01634, 2022. OpenAlex ↗ · Scholar ↗
- David Silver, Julian Schrittwieser, Karen Simonyan, Ioannis Antonoglou, Aja Huang, Arthur Guez, Thomas Hubert, Lucas Baker, Matthew Lai, Adrian Bolton, et al. Mastering the game of go without human knowledge. Nature, 5500 (7676):0 354, 2017. OpenAlex ↗ · Scholar ↗
- Marcin Andrychowicz, Anton Raichuk, Piotr Stańczyk, Manu Orsini, Sertan Girgin, Raphael Marinier, Léonard Hussenot, Matthieu Geist, Olivier Pietquin, Marcin Michalski, et al. What matters in on-policy reinforcement learning? a large-scale empirical study. arXiv preprint arXiv:2006.05990, 2020. OpenAlex ↗ · Scholar ↗
- Richard S Sutton. Dyna, an integrated architecture for learning, planning, and reacting. ACM SIGART Bulletin, 20 (4):0 160–163, 1991. OpenAlex ↗ · Scholar ↗
- Chelsea Finn and Sergey Levine. Deep visual foresight for planning robot motion. In 2017 IEEE International Conference on Robotics and Automation (ICRA), pages 2786–2793. IEEE, 2017. OpenAlex ↗ · Scholar ↗
- David Ha and Jürgen Schmidhuber. World models. arXiv preprint arXiv:1803.10122, 2018. OpenAlex ↗ · Scholar ↗
- Lukasz Kaiser, Mohammad Babaeizadeh, Piotr Milos, Blazej Osinski, Roy H Campbell, Konrad Czechowski, Dumitru Erhan, Chelsea Finn, Piotr Kozakowski, Sergey Levine, et al. Model-based reinforcement learning for atari. arXiv preprint arXiv:1903.00374, 2019. OpenAlex ↗ · Scholar ↗
- William H Guss, Cayden Codel, Katja Hofmann, Brandon Houghton, Noboru Kuno, Stephanie Milani, Sharada Mohanty, Diego Perez Liebana, Ruslan Salakhutdinov, Nicholay Topin, et al. The minerl competition on sample efficient reinforcement learning using human priors. arXiv e-prints, pages arXiv–1904, 2019. OpenAlex ↗ · Scholar ↗
- Ingmar Kanitscheider, Joost Huizinga, David Farhi, William Hebgen Guss, Brandon Houghton, Raul Sampedro, Peter Zhokhov, Bowen Baker, Adrien Ecoffet, Jie Tang, et al. Multi-task curriculum learning in a complex, visual, hard-exploration domain: Minecraft. arXiv preprint arXiv:2106.14876, 2021. OpenAlex ↗ · Scholar ↗
- Bowen Baker, Ilge Akkaya, Peter Zhokhov, Joost Huizinga, Jie Tang, Adrien Ecoffet, Brandon Houghton, Raul Sampedro, and Jeff Clune. Video pretraining (vpt): Learning to act by watching unlabeled online videos. arXiv preprint arXiv:2206.11795, 2022. OpenAlex ↗ · Scholar ↗
- Danijar Hafner, Timothy Lillicrap, Jimmy Ba, and Mohammad Norouzi. Dream to control: Learning behaviors by latent imagination. arXiv preprint arXiv:1912.01603, 2019. our card
- Danijar Hafner, Timothy Lillicrap, Mohammad Norouzi, and Jimmy Ba. Mastering atari with discrete world models. arXiv preprint arXiv:2010.02193, 2020. OpenAlex ↗ · Scholar ↗
- Diederik P Kingma and Max Welling. Auto-encoding variational bayes. arXiv preprint arXiv:1312.6114, 2013. our card
- Danijar Hafner, Timothy Lillicrap, Ian Fischer, Ruben Villegas, David Ha, Honglak Lee, and James Davidson. Learning latent dynamics for planning from pixels. arXiv preprint arXiv:1811.04551, 2018. our card
- Yoshua Bengio, Nicholas Léonard, and Aaron Courville. Estimating or propagating gradients through stochastic neurons for conditional computation. arXiv preprint arXiv:1308.3432, 2013. OpenAlex ↗ · Scholar ↗
- Durk P Kingma, Tim Salimans, Rafal Jozefowicz, Xi Chen, Ilya Sutskever, and Max Welling. Improved variational inference with inverse autoregressive flow. Advances in neural information processing systems, 29, 2016. OpenAlex ↗ · Scholar ↗
- Rewon Child. Very deep vaes generalize autoregressive models and can outperform them on images. arXiv preprint arXiv:2011.10650, 2020. OpenAlex ↗ · Scholar ↗
- Marc G Bellemare, Will Dabney, and Rémi Munos. A distributional perspective on reinforcement learning. In International Conference on Machine Learning, pages 449–458. PMLR, 2017. OpenAlex ↗ · Scholar ↗
- Richard S Sutton and Andrew G Barto. Reinforcement learning: An introduction. MIT press, 2018. OpenAlex ↗ · Scholar ↗
- Ronald J Williams and Jing Peng. Function optimization using connectionist reinforcement learning algorithms. Connection Science, 30 (3):0 241–268, 1991. OpenAlex ↗ · Scholar ↗
- Ronald J Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine learning, 80 (3-4):0 229–256, 1992. OpenAlex ↗ · Scholar ↗
- Tuomas Haarnoja, Aurick Zhou, Pieter Abbeel, and Sergey Levine. Soft actor-critic: Off-policy maximum entropy deep reinforcement learning with a stochastic actor. arXiv preprint arXiv:1801.01290, 2018. OpenAlex ↗ · Scholar ↗
- Abbas Abdolmaleki, Jost Tobias Springenberg, Yuval Tassa, Remi Munos, Nicolas Heess, and Martin Riedmiller. Maximum a posteriori policy optimisation. arXiv preprint arXiv:1806.06920, 2018. OpenAlex ↗ · Scholar ↗
- J Beau W Webber. A bi-symmetric log transformation for wide-range data. Measurement Science and Technology, 240 (2):0 027001, 2012. OpenAlex ↗ · Scholar ↗
- Steven Kapturowski, Georg Ostrovski, John Quan, Remi Munos, and Will Dabney. Recurrent experience replay in distributed reinforcement learning. In International conference on learning representations, 2018. OpenAlex ↗ · Scholar ↗
- Matteo Hessel, Hubert Soyer, Lasse Espeholt, Wojciech Czarnecki, Simon Schmitt, and Hado van Hasselt. Multi-task deep reinforcement learning with popart. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 33, pages 3796–3803, 2019. our card
- Karl W Cobbe, Jacob Hilton, Oleg Klimov, and John Schulman. Phasic policy gradient. In International Conference on Machine Learning, pages 2020–2027. PMLR, 2021. OpenAlex ↗ · Scholar ↗
- Marc G Bellemare, Yavar Naddaf, Joel Veness, and Michael Bowling. The arcade learning environment: An evaluation platform for general agents. Journal of Artificial Intelligence Research, 47:0 253–279, 2013. our card
- Marlos C Machado, Marc G Bellemare, Erik Talvitie, Joel Veness, Matthew Hausknecht, and Michael Bowling. Revisiting the arcade learning environment: Evaluation protocols and open problems for general agents. Journal of Artificial Intelligence Research, 61:0 523–562, 2018a. our card
- Matteo Hessel, Joseph Modayil, Hado Van Hasselt, Tom Schaul, Georg Ostrovski, Will Dabney, Dan Horgan, Bilal Piot, Mohammad Azar, and David Silver. Rainbow: Combining improvements in deep reinforcement learning. In Thirty-Second AAAI Conference on Artificial Intelligence, 2018. OpenAlex ↗ · Scholar ↗
- Will Dabney, Georg Ostrovski, David Silver, and Rémi Munos. Implicit quantile networks for distributional reinforcement learning. In International conference on machine learning, pages 1096–1105. PMLR, 2018. OpenAlex ↗ · Scholar ↗
- Karl Cobbe, Chris Hesse, Jacob Hilton, and John Schulman. Leveraging procedural generation to benchmark reinforcement learning. In International conference on machine learning, pages 2048–2056. PMLR, 2020. our card
- Charles Beattie, Joel Z Leibo, Denis Teplyashin, Tom Ward, Marcus Wainwright, Heinrich Küttler, Andrew Lefrancq, Simon Green, Víctor Valdés, Amir Sadik, et al. Deepmind lab. arXiv preprint arXiv:1612.03801, 2016. OpenAlex ↗ · Scholar ↗
- Weirui Ye, Shaohuai Liu, Thanard Kurutach, Pieter Abbeel, and Yang Gao. Mastering atari games with limited data. Advances in Neural Information Processing Systems, 34:0 25476–25488, 2021. OpenAlex ↗ · Scholar ↗
- Vincent Micheli, Eloi Alonso, and François Fleuret. Transformers are sample efficient world models. arXiv preprint arXiv:2209.00588, 2022. OpenAlex ↗ · Scholar ↗
- Yuval Tassa, Yotam Doron, Alistair Muldal, Tom Erez, Yazhe Li, Diego de Las Casas, David Budden, Abbas Abdolmaleki, Josh Merel, Andrew Lefrancq, et al. Deepmind control suite. arXiv preprint arXiv:1801.00690, 2018. OpenAlex ↗ · Scholar ↗
- Denis Yarats, Rob Fergus, Alessandro Lazaric, and Lerrel Pinto. Mastering visual continuous control: Improved data-augmented reinforcement learning. arXiv preprint arXiv:2107.09645, 2021. OpenAlex ↗ · Scholar ↗
- Ian Osband, Yotam Doron, Matteo Hessel, John Aslanides, Eren Sezener, Andre Saraiva, Katrina McKinney, Tor Lattimore, Csaba Szepesvari, Satinder Singh, et al. Behaviour suite for reinforcement learning. arXiv preprint arXiv:1908.03568, 2019. OpenAlex ↗ · Scholar ↗
- Olivia Dizon-Paradis, Stephen Wormald, Daniel Capecci, Avanti Bhandarkar, and Damon Woodard. Investigating the practicality of existing reinforcement learning algorithms: A performance comparison. Authorea Preprints, 2023. OpenAlex ↗ · Scholar ↗
- Danijar Hafner. Benchmarking the spectrum of agent capabilities. arXiv preprint arXiv:2109.06780, 2021. OpenAlex ↗ · Scholar ↗
- Denis Yarats, Amy Zhang, Ilya Kostrikov, Brandon Amos, Joelle Pineau, and Rob Fergus. Improving sample efficiency in model-free reinforcement learning from images. arXiv preprint arXiv:1910.01741, 2019. OpenAlex ↗ · Scholar ↗
- Scott Reed, Konrad Zolna, Emilio Parisotto, Sergio Gomez Colmenarejo, Alexander Novikov, Gabriel Barth-Maron, Mai Gimenez, Yury Sulsky, Jackie Kay, Jost Tobias Springenberg, et al. A generalist agent. arXiv preprint arXiv:2205.06175, 2022. OpenAlex ↗ · Scholar ↗
- Matthew Johnson, Katja Hofmann, Tim Hutton, and David Bignell. The malmo platform for artificial intelligence experimentation. In IJCAI, pages 4246–4247. Citeseer, 2016. OpenAlex ↗ · Scholar ↗
- Guanzhi Wang, Yuqi Xie, Yunfan Jiang, Ajay Mandlekar, Chaowei Xiao, Yuke Zhu, Linxi Fan, and Anima Anandkumar. Voyager: An open-ended embodied agent with large language models. arXiv preprint arXiv:2305.16291, 2023. OpenAlex ↗ · Scholar ↗
- Shengyi Huang, Rousslan Fernand Julien Dossa, Antonin Raffin, Anssi Kanervisto, and Weixun Wang. The 37 implementation details of proximal policy optimization. The ICLR Blog Track 2023, 2022. OpenAlex ↗ · Scholar ↗
- Matt Hoffman, Bobak Shahriari, John Aslanides, Gabriel Barth-Maron, Feryal Behbahani, Tamara Norman, Abbas Abdolmaleki, Albin Cassirer, Fan Yang, Kate Baumli, et al. Acme: A research framework for distributed reinforcement learning. arXiv preprint arXiv:2006.00979, 2020. OpenAlex ↗ · Scholar ↗
- Simon Schmitt, Matteo Hessel, and Karen Simonyan. Off-policy actor-critic with shared experience replay. In International Conference on Machine Learning, pages 8545–8554. PMLR, 2020. OpenAlex ↗ · Scholar ↗
- Tom Schaul, John Quan, Ioannis Antonoglou, and David Silver. Prioritized experience replay. arXiv preprint arXiv:1511.05952, 2015. OpenAlex ↗ · Scholar ↗
- Andy Brock, Soham De, Samuel L Smith, and Karen Simonyan. High-performance large-scale image recognition without normalization. In International Conference on Machine Learning, pages 1059–1071. PMLR, 2021. OpenAlex ↗ · Scholar ↗
- Liu Ziyin, Zhikang T Wang, and Masahito Ueda. Laprop: Separating momentum and adaptivity in adam. arXiv preprint arXiv:2002.04839, 2020. OpenAlex ↗ · Scholar ↗
- Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. our card
- Audrunas Gruslys, Will Dabney, Mohammad Gheshlaghi Azar, Bilal Piot, Marc Bellemare, and Remi Munos. The reactor: A fast and sample-efficient actor-critic agent for reinforcement learning. arXiv preprint arXiv:1704.04651, 2017. OpenAlex ↗ · Scholar ↗
- Kyunghyun Cho, Bart Van Merriënboer, Caglar Gulcehre, Dzmitry Bahdanau, Fethi Bougares, Holger Schwenk, and Yoshua Bengio. Learning phrase representations using rnn encoder-decoder for statistical machine translation. arXiv preprint arXiv:1406.1078, 2014. our card
- Matthijs Van Keirsbilck, Alexander Keller, and Xiaodong Yang. Rethinking full connectivity in recurrent neural networks. arXiv preprint arXiv:1905.12340, 2019. OpenAlex ↗ · Scholar ↗
- Marlos C Machado, Marc G Bellemare, Erik Talvitie, Joel Veness, Matthew Hausknecht, and Michael Bowling. Revisiting the arcade learning environment: Evaluation protocols and open problems for general agents. Journal of Artificial Intelligence Research, 61:0 523–562, 2018b. our card
- Lasse Espeholt, Hubert Soyer, Remi Munos, Karen Simonyan, Volodymir Mnih, Tom Ward, Yotam Doron, Vlad Firoiu, Tim Harley, Iain Dunning, et al. Impala: Scalable distributed deep-rl with importance weighted actor-learner architectures. arXiv preprint arXiv:1802.01561, 2018. OpenAlex ↗ · Scholar ↗