Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Evolution Strategies as a Scalable Alternative to Reinforcement Learning

Evolution Strategies can match reinforcement learning while scaling across many CPUs

  • Problem Q-learning and policy gradients are the usual tools for hard RL problems, and black-box optimizers are assumed to be weaker on them.
  • Method The authors perturb policy parameters with Gaussian noise and update them from episode returns. Workers share random seeds, so only scalar returns are exchanged.
  • Results ES solved 3D humanoid walking in 10 minutes using 1,440 parallel workers.

Why revisit black-box search for RL

Q-learning and policy gradients are the usual tools for hard decision problems, and they rest on the MDP formalism and value functions. Black-box methods are generally seen as weaker on such problems, even though they have properties that matter for RL: they do not depend on the shape of the reward distribution, they need no backpropagated gradients, and they tolerate very long time horizons.

The study therefore asks whether a black-box method, Evolution Strategies in this case, can be competitive on the hardest environments used by the deep RL community and whether it can scale to many more parallel workers.

One update step of Evolution Strategies

The ES used here belongs to the natural evolution strategies family, which keeps a distribution over parameters and follows the gradient of the average objective with respect to that distribution's parameters. Instead of learning the covariance, the distribution is fixed to an isotropic Gaussian with mean theta and covariance sigma squared times the identity, so the optimizer works directly on the mean vector theta.

Smoothing the objective with this Gaussian gives a stochastic objective that the policy's non-smooth returns cannot break, and its gradient can be estimated from samples of the perturbation epsilon. \[\nabla_\theta \mathbb{E}_{\epsilon}F(\theta+\sigma\epsilon)=\frac{1}{\sigma}\mathbb{E}_{\epsilon}\{F(\theta+\sigma\epsilon)\epsilon\}\]

Each iteration samples n noise vectors, runs an episode for each perturbed policy theta plus sigma epsilon_i to get its return F_i, and moves theta by a learning-rate-scaled average of the returns times the perturbations. \[\theta_{t+1}=\theta_t+\frac{\alpha}{n\sigma}\sum_{i=1}^{n}F_i\epsilon_i\] Two phases alternate: perturbed policies are evaluated by running episodes, and then their returns are combined into a gradient estimate for the update.

To reduce variance, each noise vector epsilon is paired with minus epsilon, and the returns are rank-transformed before the update so that outlier individuals have less influence. Weight decay keeps the policy parameters from growing large compared with the perturbations, and sigma is kept fixed rather than adapted during training. Optimization is done directly in parameter space, and indirect encodings are left for future work.

Scaling with shared random seeds

ES operates on complete episodes, so workers communicate infrequently. The only quantity a worker produces is the scalar return of an episode, and if random seeds are synchronized beforehand, each worker can regenerate the perturbations of the other workers. Each worker therefore sends one scalar to every other worker, and this shared-seed scheme is the communication strategy based on common random numbers that the study introduces.

In the parallel algorithm, each worker samples its own noise, computes its return, sends that scalar to the others, and then rebuilds all perturbations from the known seeds before applying the same update locally. The update step takes only a small fraction of total time even with up to 1,440 parallel workers, and for much larger worker counts or networks each worker can perturb only a subset of the parameters.

Because the episode length is capped at a constant m that is adjusted over training, long episodes do not leave CPUs idle for long; setting m to twice the mean episode length keeps CPU utilization above 50% in the worst case.

Making random perturbations explore

ES explores through the parameters rather than through sampled actions, so the perturbed parameters must produce different behaviour. With DeepMind's convolutional architecture, many random perturbations produced policies that always took one specific action regardless of the input. Using virtual batch normalization in the policy let the authors match the performance of policy gradient methods on most games.

Virtual batch normalization is batch normalization with the minibatch used for normalizing statistics chosen at the start of training and then held fixed. This makes the policy more sensitive to small input changes early in training, when its weights are random, so it keeps taking a varied set of actions and collects occasional rewards.

On MuJoCo the standard multilayer perceptron with continuous actions worked well on nearly all environments, and discretizing the actions encouraged more exploration on some of them. Discretization made the actions non-smooth with respect to observations and parameter perturbations, which produced a wider range of behaviours during rollouts.

Parameter-space versus action-space smoothing

Both methods make a decision problem smooth by adding noise, but policy gradients add it to the actions, sampling them from a distribution, whereas ES adds it to the parameters and then picks actions from the perturbed policy. Interpreted as a Gaussian blur of the original objective, the parameter-space version gives a smooth function with gradients that can be estimated from samples.

In a simple variance comparison with REINFORCE and a baseline, the variance of the policy gradient estimate grows nearly linearly with the episode length T, because the log-likelihood of the action sequence is a sum of T terms. The corresponding ES term, the log-likelihood of the perturbed parameters, does not depend on T, so ES has an advantage on long episodes.

Discounting and value function approximation reduce this variance in policy gradients, but they can bias the gradient when actions have long-lasting effects, which makes ES attractive when no good value estimates are available.

Dimension of the model and difficulty of the problem are different things: duplicating the features in a linear regression leaves the problem unchanged if the noise scale and learning rate are divided by two. In practice the larger A3C network gave slightly better Atari results than the smaller one, which the authors attribute to large networks having fewer local minima.

Because ES does not compute gradients, it communicates only returns and seeds, sees only total episode returns, and avoids the memory and exploding-gradient issues tied to backpropagation. Parameter-space smoothing also makes ES invariant to how often the agent acts, while MDP-based methods are sensitive to frame-skip.

MuJoCo sample efficiency against TRPO

ES and TRPO trained policies with identical architectures of two 64-unit hidden layers with tanh nonlinearities on OpenAI Gym tasks simulated by MuJoCo. ES was run with 6 random seeds and its mean learning curves were compared with similarly computed TRPO curves, over 5 million timesteps. ES reached TRPO's final performance on these tasks within that horizon, with discrete actions used for the hopping and swimming tasks, where the actions were split into 10 bins per component.

Table 1 gives the ratio of ES timesteps to TRPO timesteps at 25%, 50%, 75% and 100% of TRPO's learning progress at 5 million timesteps. On the harder Hopper and Walker2d tasks, the ratios at 100% are 6.94 and 7.88, and the authors describe the cost there as less than a 10x penalty in sample complexity. On simpler environments ES reached progress with fewer timesteps, with ratios at 100% of 0.58 on HalfCheetah, 0.88 on InvertedPendulum and 0.30 on Swimmer, and up to 3x better sample complexity than TRPO.

The InvertedDoublePendulum ratio at 100% is 1.23, so it is above 1 there.

On the humanoid task ES produced a wider range of gaits, including walking sideways and backwards, which the authors did not observe with TRPO and interpret as a different exploration behaviour.

Atari results against A3C

Each game was trained for 1 billion frames, with perturbed parameters evaluated across 720 CPUs on Amazon EC2, bringing training to about one hour per game.

The comparison is against the published one-day A3C results, which use 320 million frames; the difference in frames is attributed to ES not performing backpropagation and not using a value function. ES needed about 3x less computation than policy gradient methods, and it needed between 3x and 10x as much data to match A3C's final performance on most Atari environments.

3D Humanoid wall-clock scaling

Figure 1 reports the median time to reach a score of 6000 over 7 repeated runs for each core count: 657 minutes on 18 cores and 10 minutes on 1,440 cores. The authors report that ES achieves a linear speedup in the number of CPU cores over this range.

Frame-skip invariance on Pong

Frame-skip sets how often the agent decides, and in MDP-based RL too low a frame-skip lengthens the effective episode and hurts optimization, while too high a frame-skip prevents fine-grained decisions. ES's gradient estimate is invariant to episode length, so the study tests it on Pong with frame-skip set to 1, 2, 3 or 4.

The learning curves for the four settings look very similar, and each run converges in around 100 weight updates, although individual performance is stochastic.

Limits of the reported evidence

ES needs more data than A3C, with a 3x to 10x factor on most Atari environments, and the paper's advantage is in parallelism and wall-clock time rather than sample efficiency. The Atari comparison uses published one-day A3C results rather than a matched rerun, and the comparison counts 23 games better and 28 games worse.

The MuJoCo comparison uses 6 random seeds and a 5 million timestep horizon, and the ratios at 100% of TRPO's progress are not uniformly below 1 across environments. Hyperparameters were held fixed across Atari games and separately across MuJoCo games, with one binary hyperparameter varied between MuJoCo environments. The study does not test indirect encodings, and the dimension analysis is a theoretical bound for general non-smooth problems rather than a measurement on these networks.

Paper info

Authors
Tim Salimans, Jonathan Ho, Xi Chen, Szymon Sidor, Ilya Sutskever
Venue
arXiv · Preprint
First published
2017-3-10
Added
2026-11-12
Updated
2017-9-7
Version
v2
arXiv
1703.03864
Category
stat.ML · cs.AI · cs.LG · cs.NE
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Tim Salimans, Jonathan Ho, Xi Chen, Szymon Sidor, Ilya Sutskever (2017). Evolution Strategies as a Scalable Alternative to Reinforcement Learning. arXiv:1703.03864v2. https://arxiv.org/abs/1703.03864v2

BibTeX
@misc{salimans2017evolution,
  title = {{Evolution Strategies as a Scalable Alternative to Reinforcement Learning}},
  author = {Tim Salimans and Jonathan Ho and Xi Chen and Szymon Sidor and Ilya Sutskever},
  year = {2017},
  eprint = {1703.03864},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1703.03864v2}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up