Title: V-MPO: ON-POLICY MAXIMUM A POSTERIORI POLICY OPTIMIZATION FOR DISCRETE AND CONTINUOUS CONTROL

Abstract: Some of the most successful applications of deep reinforcement learning to challenging domains in discrete and continuous control have used policy gradient methods in the on-policy setting. However, policy gradients can suffer from large variance that may limit performance, and in practice require carefully tuned entropy regularization to prevent policy collapse. As an alternative to policy gradient algorithms, we introduce V-MPO, an on-policy adaptation of Maximum a Posteriori Policy Optimization (MPO) that performs policy iteration based on a learned statevalue function. We show that V-MPO surpasses previously reported scores for both the Atari-57 and DMLab-30 benchmark suites in the multi-task setting, and does so reliably without importance weighting, entropy regularization, or population-based tuning of hyperparameters. On individual DMLab and Atari levels, the proposed algorithm can achieve scores that are substantially higher than has previously been reported. V-MPO is also applicable to problems with high-dimensional, continuous action spaces, which we demonstrate in the context of learning to control simulated humanoids with 22 degrees of freedom from full state observations and 56 degrees of freedom from pixel observations, as well as example OpenAI Gym tasks where V-MPO achieves substantially higher asymptotic scores than previously reported.

1. INTRODUCTION:

Deep reinforcement learning (RL) with neural network function approximators has achieved superhuman performance in several challenging domains (Mnih et al., 2015; Silver et al., 2016; 2018) . Some of the most successful recent applications of deep RL to difficult environments such as Dota 2 (Ope-nAI, 2018a), Capture the Flag (Jaderberg et al., 2019) , Starcraft II (Vinyals et al., 2019) , and dexterous object manipulation (OpenAI, 2018b) have used policy gradient-based methods such as Proximal Policy Optimization (PPO) (Schulman et al., 2017) and the Importance-Weighted Actor-Learner Architecture (IMPALA) (Espeholt et al., 2018) , both in the approximately on-policy setting.

Policy gradients, however, can suffer from large variance that may limit performance, especially for high-dimensional action spaces (Wu et al., 2018) . In practice, moreover, policy gradient methods typically employ carefully tuned entropy regularization in order to prevent policy collapse. As an alternative to policy gradient-based algorithms, in this work we introduce an approximate policy iteration algorithm that adapts Maximum a Posteriori Policy Optimization (MPO) (Abdolmaleki et al., 2018a; b) to the on-policy setting. The modified algorithm, V-MPO, relies on a learned state-value function V (s) instead of the state-action value function used in MPO. Like MPO, rather than directly updating the parameters in the direction of the policy gradient, V-MPO first constructs a target distribution for the policy update subject to a sample-based KL constraint, then calculates the gradient that partially moves the parameters toward that target, again subject to a KL constraint.

As we are particularly interested in scalable RL algorithms that can be applied to multi-task settings where a single agent must perform a wide variety of tasks, we show for the case of discrete actions that the proposed algorithm surpasses previously reported performance in the multi-task setting for both the Atari-57 (Bellemare et al., 2012) and DMLab-30 (Beattie et al., 2016) benchmark suites, and does so reliably without population-based tuning of hyperparameters (Jaderberg et al., 2017a) . For a few individual levels in DMLab and Atari we also show that V-MPO can achieve scores that are substantially higher than has previously been reported in the single-task setting, especially in the challenging Ms. Pacman.

V-MPO is also applicable to problems with high-dimensional, continuous action spaces. We demonstrate this in the context of learning to control both a 22-dimensional simulated humanoid from full state observations-where V-MPO reliably achieves higher asymptotic performance than previous algorithms-and a 56-dimensional simulated humanoid from pixel observations (Tassa et al., 2018; Merel et al., 2019) . In addition, for several OpenAI Gym tasks (Brockman et al., 2016) we show that V-MPO achieves higher asymptotic performance than has previously been reported.

2. BACKGROUND AND SETTING:

We consider the discounted RL setting, where we seek to optimize a policy π for a Markov Decision Process described by states s, actions a, initial state distribution ρ env 0 (s 0 ), transition probabilities P env (s t+1 |s t , a t ), reward function r(s t , a t ), and discount factor γ ∈ (0, 1). In deep RL, the policy π θ (a t |s t ), which specifies the probability that the agent takes action a t in state s t at time t, is described by a neural network with parameters θ. We consider problems where both the states s and actions a may be discrete or continuous. Two functions play a central role in RL: the state-value function V π (s t ) = E at,st+1,at+1,... ∞ k=0 γ k r(s t+k , a t+k ) and the state-action value function Q π (s t , a t ) = E st+1,at+1,... ∞ k=0 γ k r(s t+k , a t+k ) = r(s t , a t ) + γE st+1 V π (s t+1 ) , where s 0 ∼ ρ env 0 (s 0 ), a t ∼ π(a t |s t ), and s t+1 ∼ P env (s t+1 |s t , a t ). In the usual formulation of the RL problem, the goal is to find a policy π that maximizes the expected return given by J(π) = E s0,a0,s1,a1,... ∞ t=0 γ t r(s t , a t ) . In policy gradient algorithms (Williams, 1992; Sutton et al., 2000; Mnih et al., 2016) , for example, this objective is directly optimized by estimating the gradient of the expected return. An alternative approach to finding optimal policies derives from research that treats RL as a problem in probabilistic inference, including Maximum a Posteriori Policy Optimization (MPO) (Levine, 2018; Abdolmaleki et al., 2018a; b) . Here our objective is subtly different, namely, given a suitable criterion for what are good actions to take in a certain state, how do we find a policy that achieves this goal?

As was the case for the original MPO algorithm, the following derivation is valid for any such criterion. However, the policy improvement theorem (Sutton & Barto, 1998) tells us that a policy update performed by exact policy iteration, π(s) = arg max a [Q π (s, a) -V π (s)], can improve the policy if there is at least one state-action pair with a positive advantage and nonzero probability of visiting the state. Motivated by this classic result, in this work we specifically choose an exponential function of the advantages

A π (s, a) = Q π (s, a) -V π (s).

Notation. In the following we use s,a to indicate both discrete and continuous sums (i.e., integrals) over states s and actions a depending on the setting. A sum with indices only, such as s,a , denotes a sum over all possible states and actions, while s,a∼D , for example, denotes a sum over sample states and actions from a batch of trajectories (the "dataset") D.

3. RELATED WORK:

V-MPO shares many similarities, and thus relevant related work, with the original MPO algorithm (Abdolmaleki et al., 2018a; b) . In particular, the general idea of using KL constraints to limit the size of policy updates is present in both Trust Region Policy Optimization (TRPO; Schulman et al., 2015) and Proximal Policy Optimization (PPO) (Schulman et al., 2017) ; we note, however, that this corresponds to the E-step constraint in V-MPO.

It is worth noting here the following main differences with MPO, which is conceptually quite similar to V-MPO. MPO is primarily designed to be a sample-efficient off-policy algorithm in which the The agent also receives the action and reward from the previous step as an input to the LSTM. For DMLab an additional LSTM is used to process simple language instructions. E-step constructs a conditional target distribution q(a|s), which requires a state-action value function Q(s, a) that can evaluate multiple sampled actions for a given state. In contrast, V-MPO is primarily (though not exclusively) designed to be an on-policy algorithm in which the E-step constructs a joint distribution ψ(s, a), and in the absence of a learned Q-function only one action per state is used. In this regard V-MPO can also be compared to Fitted Q-iteration by Advantage Weighted Regression (Neumann & Peters, 2009) , which learns a Q-function but uses only one action per state.

V-MPO can also be related to Relative Entropy Policy Search (REPS) (Peters et al., 2008) . Two distinguishing features of V-MPO from REPS are the introduction of the M-step KL constraint and the use of top-k advantages. Moreover, in REPS the value function is a linear function of a learned feature representation whose parameters are trained by matching the feature distributions under the policy's stationary state distribution. In V-MPO, the nonlinear neural network value function is instead learned directly from n-step returns. Interestingly, previous attempts to use REPS with neural network function approximators reported very poor performance, being particularly prone to local optima (Duan et al., 2016) . In contrast, we find that the principles of EM-style policy optimization, when combined with this learned value function and appropriate constraints, can reliably train powerful neural networks, including transformers, for RL tasks.

Like V-MPO, Supervised Policy Update (SPU) (Vuong et al., 2019) seeks to exactly solve an optimization problem and fit the parametric policy to this solution. As we argue in Appendix D, however, SPU uses this nonparametric distribution quite differently from V-MPO; as a result, the final algorithm is closer to a policy gradient algorithm such as PPO.

4. METHOD:

V-MPO is an approximate policy iteration (Sutton & Barto, 1998) algorithm with a specific prescription for the policy improvement step. In general, policy iteration uses the fact that the true state-value function V π corresponding to policy π can be used to obtain an improved policy π . Thus we can 1. Generate trajectories τ from an old policy π θold (a|s) whose parameters θ old are fixed. To control the amount of data generated by a particular policy, we use a target network which is fixed for T target learning steps (Fig. 1a ).

2. Evaluate the policy π θold (a|s) by learning the value function V π θ old (s) from empirical returns and estimating the corresponding advantages A π θ old (s, a) for the actions that were taken (Section 4.1). 3. Based on A π θ old (s, a), estimate an improved policy π θ (a|s) which we call the "online" policy to distinguish it from the fixed target network (Section 4.2).

The first two steps are standard, and describing V-MPO's approach to step 3 is the essential contribution of this work. At a high level, our strategy is to first construct a nonparametric target distribution for the policy update, then partially move the parametric policy towards this distribution subject to a KL constraint. We first review policy evaluation (step 2) in Section 4.1, then derive the V-MPO policy improvement (step 3) in Section 4.2. Ultimately, we use gradient descent to optimize a single, relatively simple loss, which is given in Eq. 10 following the derivation. A summary of the full algorithm is also presented in Algorithm 1.

4.1. POLICY EVALUATION:

In the present setting, policy evaluation means learning an approximate state-value function V π (s) given a policy π(a|s), which we keep fixed for T target learning steps (i.e., batches of trajectories). We note that the value function corresponding to the target policy is instantiated in the "online" network receiving gradient updates; bootstrapping uses the online value function, as it is the best available estimate of the value function for the target policy. Thus in this section π refers to π θold , while the value function update is performed on the current φ, which may share parameters with the current θ.

We fit a parametric value function V π φ (s) with parameters φ by minimizing the squared loss

EQUATION

where G

(n) t

is the standard n-step target for the value function at state s t at time t (Sutton & Barto, 1998) . This return uses the actual rewards in the trajectory and bootstraps from the value function for the rest: for each = t, . . . , t + n -1 in an unroll, G

(n) = t+n-1 k= γ k-r k + γ t+n-V π φ (s t+n ). The advantages, which are the key quantity of interest for the policy improvement step in V-MPO, are then given by A π (s t , a t ) = G (n) t -V π φ (s t ) for each s t , a t in the batch of trajectories. PopArt normalization. As we are interested in the multi-task setting where a single agent must learn a large number of tasks with differing reward scales, we used PopArt (van Hasselt et al., 2016; Hessel et al., 2018) for the value function, even when training on a single task. We observed benefits in using PopArt even in the single-task setting, partly due to the fact that we do not tune the relative weighting of the policy evaluation and policy improvement losses despite sharing most parameters for the policy and value networks. Specifically, the value function outputs a separate value for each task in normalized space, which is converted to actual returns by a shift and scaling operation, the statistics of which are learned during training. We used a scale lower bound of 10 -2 , scale upper bound of 10 6 , and learning rate of 10 -4 for the statistics. The lower bound guards against numerical issues when rewards are extremely sparse.

Importance-weighting for off-policy data. It is possible to importance-weight the samples using V-trace to correct for off-policy data (Espeholt et al., 2018) , for example when data is taken from a replay buffer. For simplicity, however, no importance-weighting was used for the experiments presented in this work, which were mostly on-policy.

4.2. POLICY IMPROVEMENT IN V-MPO:

In this section we show how, given the advantage function A π θ old (s, a) for the state-action distribution p θold (s, a) = π θold (a|s)p(s) induced by the old policy π θold (a|s), we can estimate an improved policy π θ (a|s). More formally, let I denote the binary event that the new policy is an improvement (in a sense to be defined below) over the previous policy: I = 1 if the policy is successfully improved and 0 otherwise. Then we would like to find the mode of the posterior distribution over parameters θ conditioned on this event, i.e., we seek the maximum a posteriori (MAP) estimate

EQUATION

where we have written p(I = 1|θ) as p θ (I = 1) to emphasize the parametric nature of the dependence on θ. We use the well-known identity log p(X) = E ψ(Z) log p(X,Z) ψ(Z)

+ D KL ψ(Z) p(Z|X) for any latent distribution ψ(Z), where D KL (ψ(Z) p(Z|X)) is the Kullback-Leibler divergence between ψ(Z) and p(Z|X) with respect to Z, and the first term is a lower bound because the KL divergence is always non-negative. Then considering s, a as latent variables,

EQUATION

Policy improvement in V-MPO consists of the following two steps which have direct correspondences to the expectation maximization (EM) algorithm (Neal & Hinton, 1998 ): In the expectation (E) step, we choose the variational distribution ψ(s, a) such that the lower bound on log p θ (I = 1) is as tight as possible, by minimizing the KL term. In the maximization (M) step we then find parameters θ that maximize the corresponding lower bound, together with the prior term in Eq. 2.

4.2.1. E-STEP:

In the E-step, our goal is to choose the variational distribution ψ(s, a) such that the lower bound on log p θ (I = 1) is as tight as possible, which is the case when the KL term in Eq. 3 is zero. Given the old parameters θ old , this simply leads to ψ(s, a) = p θold (s, a|I = 1), or

ψ(s, a) = p θold (s, a)p θold (I = 1|s, a) p θold (I = 1) , p θold (I = 1) = s,a p θold (s, a)p θold (I = 1|s, a). (4)

Intuitively, this solution weights the probability of each state-action pair with its relative improvement probability p θold (I = 1|s, a). We now choose a distribution p θold (I = 1|s, a) that leads to our desired outcome. As we prefer actions that lead to a higher advantage in each state, we suppose that this probability is given by

EQUATION

for some temperature η > 0, from which we obtain the equation on the right in Eq. 12. This probability depends on the old parameters θ old and not on the new parameters θ. Meanwhile, the value of η allows us to control the diversity of actions that contribute to the weighting, but at the moment is arbitrary. It turns out, however, that we can tune η as part of the optimization, which is desirable since the optimal value of η changes across iterations. The convex loss that achieves this, Eq. 13, is derived in Appendix A by minimizing the KL term in Eq. 3 subject to a hard constraint on ψ(s, a).

Top-k advantages. We found that learning improves substantially if we take only the samples corresponding to the highest 50% of advantages in each batch for the E-step, corresponding to the use of D rather than D in Eqs. 12, 13. Importantly, these must be consistent between the maximum likelihood weights in Eq. 12 and the temperature loss in Eq. 13, since, mathematically, this corresponds to a specific choice of the policy improvement probability in Eq. 5 to only use the top half of the advantages. This is similar to the technique used in the Cross Entropy Method (CEM) (Mannor et al., 2003) and Covariance Matrix Adaptation -Evolutionary Strategy (CMA-ES) (Hansen et al., 1997; Abdolmaleki et al., 2017) , and is a special case of the more general feature that any rank-preserving transformation is allowed under this formalism. For example, in Fig. 8 of the Appendix we show an example of an agent trained with uniform weights given to the top-k samples, instead of optimizing the temperature. Other choices are possible, and in future work we will investigate the suitability of different choices for specific applications.

Importance weighting for off-policy corrections. As for the value function, importance weights can be used in the policy improvement step to correct for off-policy data. While not used for the experiments presented in this work, details for how to carry out this correction are given in Appendix E.

4.2.2. M-STEP: CONSTRAINED SUPERVISED LEARNING OF THE PARAMETRIC POLICY:

In the E-step we found the nonparametric variational state-action distribution ψ(s, a), Eq. 4, that gives the tightest lower bound to p θ (I = 1) in Eq. 3. In the M-step we maximize this lower bound together with the prior term log p(θ) with respect to the parameters θ, which effectively leads to a constrained weighted maximum likelihood problem. Thus the introduction of the nonparametric distribution in Eq. 4 separates the RL procedure from the neural network fitting.

We would like to find new parameters θ that minimize

EQUATION

Note, however, that so far we have worked with the joint state-action distribution ψ(s, a) while we are in fact optimizing for the policy, which is the conditional distribution π θ (a|s). Writing p θ (s, a) = π θ (a|s)p(s) since only the policy is parametrized by θ and dropping terms that are not parametrized by θ, the first term of Eq. 6 is seen to be the weighted maximum likelihood policy loss

EQUATION

In the sample-based computation of this loss, we assume that any state-action pairs not in the batch of trajectories have zero weight, leading to the normalization in Eq. 12.

As in the original MPO algorithm, a useful prior is to keep the new policy π θ (a|s) close to the old policy π θold (a|s): log p(θ) ≈ -αE s∼p(s) D KL π θold (a|s) π θ (a|s) . While intuitive, we motivate this more formally in Appendix B. It is again more convenient to specify a bound on the KL divergence instead of tuning α directly, so we solve the constrained optimization problem

θ * = arg min θ - s,a ψ(s, a) log π θ (a|s) s.t. E s∼p(s) D KL π θold (a|s) π θ (a|s) < α . (8)

Intuitively, the constraint in the E-step expressed by Eq. 18 in Appendix A for tuning the temperature only constrains the nonparametric distribution; it is the constraint in Eq. 8 that directly limits the change in the parametric policy, in particular for states and actions that were not in the batch of samples and which rely on the generalization capabilities of the neural network function approximator.

To make the constrained optimization problem amenable to gradient descent, we use Lagrangian relaxation to write the unconstrained objective as

EQUATION

which we can optimize by following a coordinate-descent strategy, alternating between the optimization over θ and α. Since η and α are Lagrange multipliers that must be positive, after each gradient update we project the resulting η and α to a small positive value which we choose to be η min = α min = 10 -8 throughout the results presented below.

KL constraints in both the E-step and M-step are generally well satisfied, especially for the E-step since the temperature optimization is convex. Fig. 7 in the Appendix shows an example of how the KL constraints behave in the Atari Seaquest experiment presented below. We note, in particular, that it is desirable for the bounds to not just be satisfied but saturated.

4.3. FULL LOSS FUNCTION:

In this section we provide the full loss function used to implement V-MPO, which is perhaps simpler than is suggested by the derivation. Consider a batch of data D consisting of a number of trajectories, with |D| total state-action samples. Each trajectory consists of an unroll of length n of the form τ = (s t , a t , r t+1 ), . . . , (s t+n-1 , a t+n-1 , r t+n ), s t+n including the bootstrapped state s t+n , where r t+1 = r(s t , a t ). The total loss is the sum of a policy evaluation loss and a policy improvement loss,

EQUATION

where φ are the parameters of the value network, θ the parameters of the policy network, and η and α are Lagrange multipliers. In practice, the policy and value networks share most of their parameters in the form of a shared convolutional network (a ResNet) and recurrent LSTM core, and are optimized together (Fig. 1b ) (Mnih et al., 2016) . We note, however, that the value network parameters φ are considered fixed for the policy improvement loss, and gradients are not propagated.

The policy evaluation loss for the value function, L V (φ), is the standard regression to n-step returns and is given by Eq. 1 above. The policy improvement loss L V-MPO (θ, η, α) is given by

EQUATION

Here the policy loss is the weighted maximum likelihood loss

EQUATION

where the advantages A target (s, a) for the target network policy π θtarget (a|s) are estimated according to the standard method described above. The tilde over the dataset, D, indicates that we take samples corresponding to the top half advantages in the batch of data. The η, or "temperature", loss is

EQUATION

)

We perform the alternating optimization over θ and α while keeping a single loss function by alternately applying a "stop-gradient" to the Lagrange multiplier and KL term. Then the KL constraint, which can be viewed as a form of trust-region loss, is given by

EQUATION

where sg [[•] ] indicates a stop gradient, i.e., that the enclosed term is assumed constant with respect to all variables. Note that here we use the full batch D, not D.

For continuous action spaces parametrized by Gaussian distributions, we use decoupled KL constraints for the M-step in Eq. 14 as in Abdolmaleki et al. (2018b) ; the precise form is given in Appendix C.

We used the Adam optimizer (Kingma & Ba, 2015) with default TensorFlow hyperparameters to optimize the total loss in Eq. 10. In particular, the learning rate was fixed at 10 -4 for all experiments.

Algorithm 1 V-MPO

given Batch size B, unroll length n, T target , KL bounds η , α . initialize Network parameters θ online , φ online , Lagrange multipliers η, α. repeat θ target ← θ online for i = 1, . . . , T target do Use policy π θtarget to act in the environment and collect B trajectories τ of length n. Update θ online , φ online , η, α using Adam to minimize the total loss in Eq. 10.

η ← max(η, η min ) α ← max(α, α min ) end for until Fixed number of steps.

5. EXPERIMENTS:

Details on the network architecture and hyperparameters used for each task are given in Appendix F.

5.1. DISCRETE ACTIONS: DMLAB, ATARI:

DMLab. DMLab-30 (Beattie et al., 2016) is a collection of visually rich, partially observable 3D environments played from the first-person point of view. Like IMPALA, for DMLab we used pixel control as an auxiliary loss for representation learning (Jaderberg et al., 2017b; Hessel et al., 2018) . However, we did not employ the optimistic asymmetric reward scaling used by previous IMPALA Multi-task Atari-57. In the IMPALA experiment, hyperparameters were evolved with PBT. For V-MPO each of the 24 lines represents a set of hyperparameters that were fixed throughout training, and all runs achieved a higher score than the best IMPALA run. Data for IMPALA ("Pixel-PopArt-IMPALA" for DMLab-30 and "PopArt-IMPALA" for Atari-57) was obtained from the authors of Hessel et al. (2018) . Each agent step corresponds to 4 environment frames due to the action repeat. Additional details for the settings used in DMLab can be found in Table 5 of the Appendix.

Fig. 2a shows the results for multi-task DMLab-30, comparing the V-MPO learning curves to data obtained from Hessel et al. (2018) for the PopArt IMPALA agent with pixel control. We note that the result for V-MPO at 10B environment frames across all levels matches the result for the Recurrent Replay Distributed DQN (R2D2) agent (Kapturowski et al., 2019) trained on individual levels for 10B environment steps per level. Fig. 3 shows example individual levels in DMLab where V-MPO achieves scores that are substantially higher than has previously been reported, for both R2D2 and IMPALA. The pixel-control IMPALA agents shown here were carefully tuned for DMLab and are similar to the "experts" used in Schmitt et al. (2018) ; in all cases these results match or exceed previously published results for IMPALA (Espeholt et al., 2018; Kapturowski et al., 2019) .

Atari. The Atari Learning Environment (ALE) (Bellemare et al., 2012) is a collection of 57 Atari 2600 games that has served as an important benchmark for recent deep RL methods. We used the standard preprocessing scheme and a maximum episode length of 30 minutes (108,000 frames), see Table 6 in the Appendix. For the multi-task setting we followed Hessel et al. (2018) in setting the discount to zero on loss of life; for the example single tasks we did not employ this trick, since it can prevent the agent from achieving the highest score possible by sacrificing lives. Similarly, while in the multi-task setting we followed previous work in clipping the maximum reward to 1.0, no such clipping was applied in the single-task setting in order to preserve the original reward structure. Additional details for the settings used in Atari can be found in Table 6 in the Appendix.

Fig. 2b shows the results for multi-task Atari-57, demonstrating that it is possible for a single agent to achieve "superhuman" median performance on Atari-57 in approximately 4 billion (∼70 million per level) environment frames. Again, while we did not employ PBT in order to demonstrate that individual V-MPO runs can exceed the performance of a population of IMPALA agents, Fig. 6 shows that with population-based tuning of hyperparameters even higher performance is possible.

We also compare the performance of V-MPO on a few individual Atari levels to R2D2 (Kapturowski et al., 2019) , which previously achieved some of the highest scores reported for Atari. Again, V-MPO can match or exceed previously reported scores while requiring fewer interactions with the environment. In Ms. Pacman, the final performance approaches 300,000 with a 30-minute timeout (and the maximum 1M without). Inspired by the argument in Kapturowski et al. (2019) that in a fully observable environment LSTMs enable the agent to utilize more useful representations than is available in the immediate observation, for the single-task setting we used a Transformer-XL (TrXL) (Dai et al., 2019) to replace the LSTM core. Unlike previous work for single Atari levels, we did not employ any reward clipping (Mnih et al., 2015; Espeholt et al., 2018) or nonlinear value function rescaling (Kapturowski et al., 2019) .

5.2. CONTINUOUS CONTROL:

To demonstrate V-MPO's effectiveness in high-dimensional, continuous action spaces, here we present examples of learning to control both a simulated humanoid with 22 degrees of freedom from full state observations and one with 56 degrees of freedom from pixel observations (Tassa et al., 2018; Merel et al., 2019) . As shown in Fig. 5a , for the 22-dimensional humanoid V-MPO reliably achieves higher asymptotic returns than has previously been reported, including for Deep Deterministic Policy Gradients (DDPG) (Lillicrap et al., 2015) , Stochastic Value Gradients (SVG) (Heess et al., 2015) , and MPO. These algorithms are far more sample-efficient but reach a lower final performance.

In the "gaps" task the 56-dimensional humanoid must run forward to match a target velocity of 4 m/s and jump over the gaps between platforms by learning to actuate joints with position-control (Merel et al., 2019) . Previously, only an agent operating in the space of pre-learned motor primitives was able to solve the task from pixel observations (Merel et al., 2018; 2019) ; here we show that V-MPO can learn a challenging visuomotor task from scratch (Fig. 5b ). For this task we also demonstrate the importance of the parametric KL constraint, without which the agent learns poorly.

In Figs. 5c-d we also show that V-MPO achieves the highest asymptotic performance reported for two OpenAI Gym tasks (Brockman et al., 2016) . Again, MPO and Stochastic Actor-Critic (Haarnoja et al., 2018) are far more sample-efficient but reach a lower final performance.

These experiments are presented to demonstrate the existence of higher-return solutions than have previously been reported, and an algorithm, V-MPO, that can reliably converge to these solutions. However, in the future we desire algorithms that can do so while using fewer interactions with the environment.

6. CONCLUSION:

In this work we have introduced a scalable on-policy deep reinforcement learning algorithm, V-MPO, that is applicable to both discrete and continuous control domains. For the results presented in this work neither importance weighting nor entropy regularization was used; moreover, since the size of neural network parameter updates is limited by KL constraints, we were also able to use the same learning rate for all experiments. This suggests that a scalable, performant RL algorithm may not require some of the tricks that have been developed over the past several years. Interestingly, both the original MPO algorithm for replay-based off-policy learning (Abdolmaleki et al., 2018a; b) and V-MPO for on-policy learning are derived from similar principles, providing evidence for the benefits of this approach as an alternative to popular policy gradient-based methods.

where λ = η log p θold (I = 1) after multiplying through by η, which up to this point in the derivation is given. We wish to automatically tune η so as to enforce a bound η on the KL term D KL ψ(s, a) p θold (s, a) multiplying it in Eq. 16, in which case the temperature optimization can also be viewed as a nonparametric trust region for the variational distribution with respect to the old distribution. We therefore consider the constrained optimization problem 

EQUATION

We can now use Lagrangian relaxation to transform the constrained optimization problem into one that maximizes the unconstrained objective

EQUATION

) with η ≥ 0. (Note we are re-using the variables η and λ for the new optimization problem.) Differentiating J with respect to ψ(s, a) and setting equal to zero, we obtain

EQUATION

Normalizing over s, a (using the freedom given by λ) then gives

EQUATION

which reproduces the general solution Eq. 4 for our specific choice of policy improvement in Eq. 5.

However, the value of η can now be found by optimizing the corresponding dual function. Plugging Eq. 21 into the unconstrained objective in Eq. 19 gives rise to the η-dependent term

EQUATION

Replacing the expectation with samples from p θold (s, a) in the batch of trajectories D leads to the loss in Eq. 13.

B M-STEP KL CONSTRAINT:

Here we give a somewhat more formal motivation for the prior log p(θ). Consider a normal prior N (θ; µ, Σ) with mean µ and covariance Σ. We choose Σ -1 = αF (θ old ) where α is a scaling parameter and F (θ old ) is the Fisher information for π θ (a|s) evaluated at θ = θ old . Then

log p(θ) ≈ -α × 1 2 (θ -θ old ) T F (θ old )(θ -θ old ) + {term independent of θ},

where the first term is precisely the second-order approximation to the KL divergence D KL (θ old θ). We now follow TRPO (Schulman et al., 2015) in heuristically approximating this as the state-averaged expression, E s∼p(s) D KL π θold (a|s) π θ (a|s) . We note that the KL divergence in either direction has the same second-order expansion, so our choice of KL is an empirical one (Abdolmaleki et al., 2018a) .

C DECOUPLED KL CONSTRAINTS FOR CONTINUOUS CONTROL:

As in Abdolmaleki et al. (2018b) , for continuous action spaces parametrized by Gaussian distributions we use decoupled KL constraints for the M-step. This uses the fact that the KL divergence between two d-dimensional multivariate normal distributions with means µ 1 , µ 2 and covariances Σ 1 , Σ 2 can be written as

EQUATION

where | • | is the matrix determinant. Since the first distribution and hence Σ 1 in the KL divergence of Eq. 9 depends on the old target network parameters, we see that we can separate the overall KL divergence into a mean component and a covariance component:

EQUATION

EQUATION

)

With the replacement D KL π θold π θ → D C KL π θold π θ for C = µ, Σ and corresponding α → α µ , α Σ , we obtain the total loss

EQUATION

where L π (θ) and L η (η) are the same as before. Note, however, that unlike in Abdolmaleki et al. (2018a) we do not decouple the policy loss.

We generally set Σ to be much smaller than µ (see Table 7 ). Intuitively, this allows the policy to learn quickly in action space while preventing premature collapse of the policy, and, conversely, increasing "exploration" without moving in action space.

D RELATION TO SUPERVISED POLICY UPDATE:

Like V-MPO, Supervised Policy Update (SPU) (Vuong et al., 2019) adopts the strategy of first solving a nonparametric constrained optimization problem exactly, then fitting a neural network to the resulting solution via a supervised loss function. There is, however, an important difference from V-MPO, which we describe here.

The network that generates the data may lag behind the target network in common distributed, asynchronous implementations (Espeholt et al., 2018) . We can compensate for this by multiplying the exponentiated advantages by importance weights ρ(s, 

EQUATION

where θ D are the parameters of the behavior policy that generated D and which may be different from θ target . The clipped importance weights ρ(s, a) are given by ρ(s, a) = min 1, π θold (a|s) π θ D (a|s) .

(34)

As was the case with V-trace for the value function, we did not find it necessary to use importance weighting and all experiments presented in this work did not use them for the sake of simplicity.

F NETWORK ARCHITECTURE AND HYPERPARAMETERS:

For DMLab the visual observations were 72×96 RGB images, while for Atari the observations were 4 stacked frames of 84×84 grayscale images. The ResNet used to process visual observations is similar to the 3-section ResNet used in Hessel et al. (2018) , except the number of channels was multiplied by 4 in each section, so that the number of channels were (64, 128, 128) (Schmitt et al., 2019) . For individual DMLab levels we used the same number of channels as Hessel et al. (2018), i.e., (16, 32, 32) . Each section consisted of a convolution and 3 × 3 max-pooling operation (stride 2), followed by residual blocks of size 2, i.e., a convolution followed by a ReLU nonlinearity, repeated twice, and a skip connection from the input residual block input to the output. The entire stack was passed through one more ReLU nonlinearity. All convolutions had a kernel size of 3 and a stride of 1.

For the humanoid control tasks from vision, the number of channels in each section were (16, 32, 32) .

Since some of the levels in DMLab require simple language processing, for DMLab the agents contained an additional 256-unit LSTM receiving an embedding of hashed words as input. The output of the language LSTM was then concatenated with the output of the visual processing pathway as well as the previous reward and action, then fed to the main LSTM.

For multi-task DMLab we used a 3-layer LSTM, each with 256 units, and an unroll length of 95 with batch size 128. For the single-task setting we used a 2-layer LSTM. For multi-task Atari and the 56-dimensional humanoid-gaps control task a single 256-unit LSTM was used, while for the 22-dimensional humanoid-run task the core consisted only of a 2-layer MLP with 512 and 256 units (no LSTM). For single-task Atari a Transformer-XL was used in place of the LSTM. Note that we followed Radford et al. (2019) in placing the layer normalization on only the inputs to each sub-block. For Atari the unroll length was 63 with a batch size of 128. For both humanoid control tasks the batch size was 64, but the unroll length was 40 for the 22-dimensional humanoid and 63 for the 56-dimensional humanoid.

In all cases the policy logits (for discrete actions) and Gaussian distribution parameters (for continuous actions) consisted of a 256-unit MLP followed by a linear readout, and similarly for the value function.

For discrete actions we initialized the linear policy layer with zero weights and biases to ensure a uniform policy at the start of training.

The initial values for the Lagrange multipliers in the V-MPO loss are given in Table 1 Implementation note. We implemented V-MPO in an actor-learner framework (Espeholt et al., 2018) that utilizes TF-Replicator (Buchlovsky et al., 2019) for distributed training on TPU 8-core and 16-core configurations (Google, 2018). One practical consequence of this is that a full batch of data D was in fact split into 8 or 16 minibatches, one per core/replica, and the overall result obtained by averaging the computations performed for each minibatch. More specifically, the determination of the highest advantages and the normalization of the nonparametric distribution, Eq. 12, is performed within minibatches. While it is possible to perform the full-batch computation by utilizing crossreplica communication, we found this to be unnecessary.

DMLab action set. Ignoring the "jump" and "crouch" actions which we do not use, an action in the native DMLab action space consists of 5 integers whose meaning and allowed values are given in Table 2 . Following previous work on DMLab (Hessel et al., 2018) , we used the reduced action set given in 

(FW) [ 0, 0, 0, 1, 0] Backward (BW) [ 0, 0, 0, -1, 0] Strafe left [ 0, 0, -1, 0, 0] Strafe right [ 0, 0, 1, 0, 0]

Small look left (LL) [-10, 0, 0, 0, 0] Small look right (LR) [ 10, 0, 0, 0, 0] Large look left (LL )

[-60, 0, 0, 0, 0] Large look right (LR) [ 60, 0, 0, 0, 0]

Look down [ 0, 10, 0, 0, 0] Look up [ 0, -10, 0, 0, 0] (Jaderberg et al., 2017a) . All settings of the PBT experiment were the same as without except the learning rates were also sampled log-uniformly from [8 × 10 -5 , 3 × 10 -4 ) and η from [0.05, 0.5). Along with α sampled loguniformly from [0.001, 0.01) as in the original experiment, hyperparameters were evolved via copy and mutation operators roughly once every 4 × 10 8 environment frames. 

FW + small LL [-10, 0, 0, 1, 0] FW + small LR [ 10, 0, 0, 1, 0] FW + large LL [-60, 0, 0, 1, 0] FW + large LR [ 60, 0, 0, 1, 0] Fire [ 0, 0, 0, 0, 1]

:



Figures and Tables:

Figure1: (a) Actor-learner architecture with a target network, which is used to generate agent experience in the environment and is updated every T target learning steps from the online network. (b) Schematic of the agents, with the policy (θ) and value (φ) networks sharing most of their parameters through a shared input encoder and LSTM[or Transformer-XL (TrXL)  for single Atari levels]. The agent also receives the action and reward from the previous step as an input to the LSTM. For DMLab an additional LSTM is used to process simple language instructions.

(a) Multi-task DMLab-30. (b) Multi-task Atari-57.

Figure 2: (a) Multi-task DMLab-30. IMPALA results show 3 runs of 8 agents each; within a run hyperparameters were evolved via PBT. For V-MPO each line represents a set of hyperparameters that are fixed throughout training. The final result of R2D2+ trained for 10B environment steps on individual levels (Kapturowski et al., 2019) is also shown for comparison (orange line). (b)Multi-task Atari-57. In the IMPALA experiment, hyperparameters were evolved with PBT. For V-MPO each of the 24 lines represents a set of hyperparameters that were fixed throughout training, and all runs achieved a higher score than the best IMPALA run. Data for IMPALA ("Pixel-PopArt-IMPALA" for DMLab-30 and "PopArt-IMPALA" for Atari-57) was obtained from the authors ofHessel et al. (2018). Each agent step corresponds to 4 environment frames due to the action repeat.

Figure3: V-MPO trained on single example levels from DMLab-30, compared to IMPALA and more recent results from R2D2+, the larger, DMLab-specific version of R2D2(Kapturowski et al., 2019). The IMPALA results include hyperparameter evolution with PBT.

Figure 4: Example levels from Atari. In Breakout, V-MPO achieves the maximum score of 864 in every episode. No reward clipping was applied, and the maximum length of an episode was 30 minutes (108,000 frames). Supplementary video for Ms. Pacman: https://bit.ly/2lWQBy5

a): ψ(s, a) = ρ(s, a)p θ D (s, a) exp A π θ D (s,a) η s,a ρ(s, a)p θ D (s, a) exp A π θ D (s,a) η ,

Figure 6: Multi-task Atari-57 with population-based training (PBT)(Jaderberg et al., 2017a). All settings of the PBT experiment were the same as without except the learning rates were also sampled log-uniformly from [8 × 10 -5 , 3 × 10 -4 ) and η from [0.05, 0.5). Along with α sampled loguniformly from [0.001, 0.01) as in the original experiment, hyperparameters were evolved via copy and mutation operators roughly once every 4 × 10 8 environment frames.

Figure 7: KL constraints during optimization for the Seaquest example in Fig. 4c. Values are subsampled but not smoothed to show the variability.

Figure 8: Same as Fig. 4c (Atari Seaquest), but trained with uniform weights on the top 50% of advantages.

Figure 9: Same as Fig. 2a (multi-task DMLab-30), but trained without top-k, i.e., all advantages are used in the E-step. Note the small dip in the middle is due to a pause in the experiment and resetting of the human-normalized scores.

Figure10: Example frame from the humanoid gaps task, with the agent's 64×64 first-person view on the right. The proprioceptive information provided to the agent in addition to the primary pixel observation consisted of joint angles and velocities, root-to-end-effector vectors, root-frame velocity, rotational velocity, root-frame acceleration, and the 3D orientation relative to the z-axis.

Table 3 with an action repeat of 4. Values for common V-MPO parameters.

Table content: <table><tr><td>HYPERPARAMETER</td><td/><td>VALUE</td><td/></tr><tr><td colspan="4">DMLab Atari Continuous control</td></tr><tr><td>Initial η</td><td>1.0</td><td>1.0</td><td>1.0</td></tr><tr><td>Initial α</td><td>5.0</td><td>5.0</td><td>-</td></tr><tr><td>Initial αµ</td><td>-</td><td>-</td><td>1.0</td></tr><tr><td>Initial αΣ</td><td>-</td><td>-</td><td>1.0</td></tr><tr><td>ACTION NAME</td><td/><td/><td>RANGE</td></tr><tr><td colspan="4">LOOK LEFT RIGHT PIXELS PER FRAME [-512, 512]</td></tr><tr><td colspan="3">LOOK DOWN UP PIXELS PER FRAME</td><td>[-512, 512]</td></tr><tr><td>STRAFE LEFT RIGHT</td><td/><td/><td>[-1, 1]</td></tr><tr><td colspan="2">MOVE BACK FORWARD</td><td/><td>[-1, 1]</td></tr><tr><td>FIRE</td><td/><td/><td>[0, 1]</td></tr></table>

Native action space for DMLab. See https://github.com/deepmind/lab/blob/ master/docs/users/actions.md for more details.

Table content: <table><tr><td>ACTION</td><td>NATIVE DMLAB ACTION</td></tr><tr><td>Forward</td><td/></tr></table>

Reduced action set for DMLab fromHessel et al. (2018).

Table content: <table><tr><td>LEVEL NAME</td><td colspan="2">EPISODE REWARD</td><td colspan="2">HUMAN-NORMALIZED</td></tr><tr><td/><td>IMPALA</td><td>V-MPO</td><td>IMPALA</td><td>V-MPO</td></tr><tr><td>alien</td><td>1163.00 ± 148.43</td><td>2332.00 ± 290.16</td><td>13.55 ± 2.15</td><td>30.50 ± 4.21</td></tr><tr><td>amidar</td><td>192.50 ± 9.16</td><td>423.60 ± 20.53</td><td>10.89 ± 0.53</td><td>24.38 ± 1.20</td></tr><tr><td>assault</td><td>4215.30 ± 294.51</td><td>1225.90 ± 60.64</td><td>768.46 ± 56.68</td><td>193.13 ± 11.67</td></tr><tr><td>asterix</td><td>4180.00 ± 303.91</td><td>9955.00 ± 2043.48</td><td>47.87 ± 3.66</td><td>117.50 ± 24.64</td></tr><tr><td>asteroids</td><td>3473.00 ± 381.30</td><td>2982.00 ± 164.35</td><td>5.90 ± 0.82</td><td>4.85 ± 0.35</td></tr><tr><td>atlantis</td><td>997530.00 ± 3552.89</td><td>940310.00 ± 6085.96</td><td>6086.50 ± 21.96</td><td>5732.81 ± 37.62</td></tr><tr><td>bank heist</td><td>1329.00 ± 2.21</td><td>1563.00 ± 15.81</td><td>177.94 ± 0.30</td><td>209.61 ± 2.14</td></tr><tr><td>battle zone</td><td>43900.00 ± 4738.04</td><td>61400.00 ± 5958.52</td><td>119.27 ± 13.60</td><td>169.52 ± 17.11</td></tr><tr><td>beam rider</td><td>4598.00 ± 618.09</td><td>3868.20 ± 666.55</td><td>25.56 ± 3.73</td><td>21.16 ± 4.02</td></tr><tr><td>berzerk</td><td>1018.00 ± 72.63</td><td>1424.00 ± 150.93</td><td>35.68 ± 2.90</td><td>51.87 ± 6.02</td></tr><tr><td>bowling</td><td>63.60 ± 0.84</td><td>27.60 ± 0.62</td><td>29.43 ± 0.61</td><td>3.27 ± 0.45</td></tr><tr><td>boxing</td><td>93.10 ± 0.94</td><td>100.00 ± 0.00</td><td>775.00 ± 7.86</td><td>832.50 ± 0.00</td></tr><tr><td>breakout</td><td>484.30 ± 57.24</td><td>400.70 ± 18.82</td><td>1675.69 ± 198.77</td><td>1385.42 ± 65.36</td></tr><tr><td>centipede</td><td>6037.90 ± 994.99</td><td>3015.00 ± 404.97</td><td>39.76 ± 10.02</td><td>9.31 ± 4.08</td></tr><tr><td>chopper command</td><td>4250.00 ± 417.91</td><td>4340.00 ± 714.45</td><td>52.29 ± 6.35</td><td>53.66 ± 10.86</td></tr><tr><td>crazy climber</td><td>100440.00 ± 9421.56</td><td>116760.00 ± 5312.12</td><td>357.94 ± 37.61</td><td>423.09 ± 21.21</td></tr><tr><td>defender</td><td>41585.00 ± 4194.42</td><td>98395.00 ± 17552.17</td><td>244.78 ± 26.52</td><td>604.01 ± 110.99</td></tr><tr><td>demon attack</td><td>77880.00 ± 8798.44</td><td>20243.00 ± 5434.41</td><td colspan="2">4273.35 ± 483.72 1104.56 ± 298.77</td></tr><tr><td>double dunk</td><td>-0.80 ± 0.31</td><td>12.60 ± 1.94</td><td>809.09 ± 14.08</td><td>1418.18 ± 88.19</td></tr><tr><td>enduro</td><td>1187.90 ± 76.10</td><td>1453.80 ± 104.37</td><td>138.05 ± 8.84</td><td>168.95 ± 12.13</td></tr><tr><td>fishing derby</td><td>21.60 ± 3.46</td><td>33.80 ± 2.10</td><td>213.77 ± 6.54</td><td>236.79 ± 3.96</td></tr><tr><td>freeway</td><td>32.10 ± 0.17</td><td>33.20 ± 0.28</td><td>108.45 ± 0.58</td><td>112.16 ± 0.93</td></tr><tr><td>frostbite</td><td>250.00 ± 0.00</td><td>260.00 ± 0.00</td><td>4.33 ± 0.00</td><td>4.56 ± 0.00</td></tr><tr><td>gopher</td><td>11720.00 ± 1687.71</td><td>7576.00 ± 973.13</td><td>531.92 ± 78.32</td><td>339.62 ± 45.16</td></tr><tr><td>gravitar</td><td>1095.00 ± 232.75</td><td>3125.00 ± 191.87</td><td>29.01 ± 7.32</td><td>92.88 ± 6.04</td></tr><tr><td>hero</td><td>13159.50 ± 68.90</td><td>29196.50 ± 752.06</td><td>40.71 ± 0.23</td><td>94.53 ± 2.52</td></tr><tr><td>ice hockey</td><td>4.80 ± 1.31</td><td>10.60 ± 2.00</td><td>132.23 ± 10.83</td><td>180.17 ± 16.50</td></tr><tr><td>jamesbond</td><td>1015.00 ± 91.39</td><td>3805.00 ± 595.92</td><td>360.12 ± 33.38</td><td>1379.11 ± 217.65</td></tr><tr><td>kangaroo</td><td>1780.00 ± 18.97</td><td>12790.00 ± 629.52</td><td>57.93 ± 0.64</td><td>427.02 ± 21.10</td></tr><tr><td>krull</td><td>9738.00 ± 360.95</td><td>7359.00 ± 1064.84</td><td>762.53 ± 33.81</td><td>539.67 ± 99.75</td></tr><tr><td>kung fu master</td><td>44340.00 ± 2898.70</td><td>38620.00 ± 2346.48</td><td>196.11 ± 12.90</td><td>170.66 ± 10.44</td></tr><tr><td>montezuma revenge</td><td>0.00 ± 0.00</td><td>0.00 ± 0.00</td><td>0.00 ± 0.00</td><td>0.00 ± 0.00</td></tr><tr><td>ms pacman</td><td>1953.00 ± 227.12</td><td>2856.00 ± 324.54</td><td>24.77 ± 3.42</td><td>38.36 ± 4.88</td></tr><tr><td>name this game</td><td>5708.00 ± 354.92</td><td>9295.00 ± 679.83</td><td>59.33 ± 6.17</td><td>121.64 ± 11.81</td></tr><tr><td>phoenix</td><td>37030.00 ± 6415.95</td><td>19560.00 ± 1843.44</td><td>559.60 ± 98.99</td><td>290.05 ± 28.44</td></tr><tr><td>pitfall</td><td>-4.90 ± 2.34</td><td>-2.80 ± 1.40</td><td>3.35 ± 0.04</td><td>3.39 ± 0.02</td></tr><tr><td>pong</td><td>20.80 ± 0.19</td><td>21.00 ± 0.00</td><td>117.56 ± 0.54</td><td>118.13 ± 0.00</td></tr><tr><td>private eye</td><td>100.00 ± 0.00</td><td>100.00 ± 0.00</td><td>0.11 ± 0.00</td><td>0.11 ± 0.00</td></tr><tr><td>qbert</td><td>5512.50 ± 741.08</td><td>15297.50 ± 1244.47</td><td>40.24 ± 5.58</td><td>113.86 ± 9.36</td></tr><tr><td>riverraid</td><td>8237.00 ± 97.09</td><td>11160.00 ± 733.06</td><td>43.72 ± 0.62</td><td>62.24 ± 4.65</td></tr><tr><td>road runner</td><td>28440.00 ± 1215.99</td><td>51060.00 ± 1560.72</td><td>362.91 ± 15.52</td><td>651.67 ± 19.92</td></tr><tr><td>robotank</td><td>29.60 ± 2.15</td><td>46.80 ± 3.42</td><td>282.47 ± 22.22</td><td>459.79 ± 35.29</td></tr><tr><td>seaquest</td><td>1888.00 ± 63.26</td><td>9953.00 ± 973.02</td><td>4.33 ± 0.15</td><td>23.54 ± 2.32</td></tr><tr><td>skiing</td><td>-16244.00 ± 592.28</td><td>-15438.10 ± 1573.39</td><td>6.69 ± 4.64</td><td>13.01 ± 12.33</td></tr><tr><td>solaris</td><td>1794.00 ± 279.04</td><td>2194.00 ± 417.91</td><td>5.03 ± 2.52</td><td>8.64 ± 3.77</td></tr><tr><td>space invaders</td><td>793.50 ± 90.61</td><td>1771.50 ± 201.95</td><td>42.45 ± 5.96</td><td>106.76 ± 13.28</td></tr><tr><td>star gunner</td><td>44860.00 ± 5157.74</td><td>60120.00 ± 1953.60</td><td>461.05 ± 53.80</td><td>620.24 ± 20.38</td></tr><tr><td>surround</td><td>2.50 ± 1.04</td><td>4.00 ± 0.62</td><td>75.76 ± 6.31</td><td>84.85 ± 3.74</td></tr><tr><td>tennis</td><td>-0.10 ± 0.09</td><td>23.10 ± 0.26</td><td>152.90 ± 0.61</td><td>302.58 ± 1.69</td></tr><tr><td>time pilot</td><td>10890.00 ± 787.46</td><td>22330.00 ± 2443.11</td><td>440.77 ± 47.40</td><td>1129.42 ± 147.07</td></tr><tr><td>tutankham</td><td>218.50 ± 13.53</td><td>254.60 ± 9.99</td><td>132.59 ± 8.66</td><td>155.70 ± 6.40</td></tr><tr><td>up n down</td><td>175083.00 ± 16341.05</td><td>82913.00 ± 12142.08</td><td>1564.09 ± 146.43</td><td>738.18 ± 108.80</td></tr><tr><td>venture</td><td>0.00 ± 0.00</td><td>0.00 ± 0.00</td><td>0.00 ± 0.00</td><td>0.00 ± 0.00</td></tr><tr><td>video pinball</td><td>59898.40 ± 23875.14</td><td>198845.20 ± 98768.54</td><td>339.02 ± 135.13</td><td>1125.46 ± 559.03</td></tr><tr><td>wizard of wor</td><td>6960.00 ± 1730.97</td><td>7890.00 ± 1595.77</td><td>152.55 ± 41.28</td><td>174.73 ± 38.06</td></tr><tr><td>yars revenge</td><td>12825.70 ± 2065.90</td><td>41271.70 ± 4726.72</td><td>18.90 ± 4.01</td><td>74.16 ± 9.18</td></tr><tr><td>zaxxon</td><td>11520.00 ± 646.81</td><td>18820.00 ± 754.69</td><td>125.67 ± 7.08</td><td>205.53 ± 8.26</td></tr><tr><td>Median</td><td/><td/><td>117.56</td><td>155.70</td></tr></table>

Multi-task Atari-57 scores by level after 11.4B total (200M per level) environment frames. All

Table content: <table/>

Peer review (iclr2020):
The paper proposes an online variant of MPO, V-MPO. Compared to MPO, the main difference seems to be in the E-step. Instead of optimizing the non-parametric distribution towards a parameterized Q-function, V-MPO learns the V-function and updates the non-parametric distribution towards the advantages, which can be estimated on the samples of the last roll-outs based on the empirical returns and the learned V-function. Of course, updating towards (exponentiated and normalized) Q- or A-function does not make a difference. There are also some minor changes (which might still be crucial) such as an entropy constraint in the M-step and using only the top-k advantages during the E-Step (an option that was discussed in Abdolmaleki, et al. 2018a). V-MPO is evaluated on DLM, ALE and two humanoid tasks from the DeepMind Control Suite. In most of these tasks V-MPO achieves returns that are to the best of my knowledge higher than any previously reported ones. However, the experiments also use a very large number of system interactions (in the order of billions). Contribution / Significance: I think that there will be relatively high interest in the paper due to the reported performances. The technical contribution seems a bit incremental compared to MPO. Also, by learning a value function V-MPO gets closer to REPS. The submission lists the use of top-k samples and the M-step KL bound as the main differences to REPS. However, the former is not evaluated in the submission and the latter, albeit crucial, seems to be a relatively small modification. I do think that there are more differences to REPS, most important probably in the way of learning the value function and the corresponding differences in the derivations. However, I think that the differences abd similarities to MPO and REPS need to be discussed more thoroughly. Soundness: The derivation of V-MPO is relatively sound. The optimization of the KL constraints seems very approximate, although it seems to work well in practice. Clarity: I do not like the way the algorithm is presented. The submission specifies the complete loss function already at the beginning of the *Method*-Section and derives/motivates the individual terms in hindsight. The spaghetti-code like structure unnecessarily forces the reader to jump between pages or keeps the reader in the dark. I also do not like the *stop-gradient* notation which in my opinion puts the focus on low-level implementation details at the cost of not properly explaining what the optimization actually does. I think that paper is well-written in general, but the structure needs to be improved. Experiments: The evaluation clearly focuses on achieving the best performance, and does a good job in that regard. However, a good evaluation should also help in understanding the mechanics of V-MPO. How does k (in top-k) affect the performance? How well are the constraints met during optimization? How does V-MPO compare to related on-policy methods (e.g. TRPO/PPO) on slightly more computational constrainted settings (eg rllab/mujoco with < 1e7 steps)? Questions: - Did you experiment with controlled entropy reduction akin to MORE, instead of using fixed epsilon eta? - Can you give a rough estimate of the computational time required to perform these experiments on a standard desktop pc? It really is difficult for me to even roughly estimate it. Assessment: Currently, I am leaning to accept because I think that V-MPO is overall a nice work. However I do think that submission needs to be revised. I mainly think that the structure needs to be improved and that V-MPO needs to better related to closely related work. I listed some additional experiments that would significantly improve the submission in my opinion.