Live data from Hacker News

Evolution Strategies as a Scalable Alternative to Reinforcement Learning

blog.openai.com

11–20 of 27 posts

Re: Evolution Strategies as a Scalable Alternative to Reinforcement Learning

#11
post #9

This is a fantastic summary of both RL and ES (know as genetoc algorithms too). Kudos to authors!

While they're in the same general family of black box optimization algorithms, ES and GAs are not really the same, and in fact were developed independently. The historical roots of both are actually quite interesting.

Re: Evolution Strategies as a Scalable Alternative to Reinforcement Learning

#12
post #3

I'm not an expert but for me it's seems that the proposed approach doesn't compute the value function . By optimizing directly the policy function aren't we losing some key ingredient for generalization? I mean could this algorithm be used in a fully non deterministic environment ? Like human vs machine?

It does not, at least not explicitly, which is a distinguishing feature of policy optimization algorithms. I don't think there's anything about this that makes it worse for non-deterministic problems. Note that the policy can still be stochastic, if desired (not sure if that's a good idea in general). A nice feature of black box policy optimization is that it's almost trivial to apply to either stochastic or deterministic problems.

Re: Evolution Strategies as a Scalable Alternative to Reinforcement Learning

#13
post #9

This is a fantastic summary of both RL and ES (know as genetoc algorithms too). Kudos to authors!

While they're in the same general family of black box optimization algorithms, ES and GAs are not really the same, and in fact were developed independently. The historical roots of both are actually quite interesting.

Might you please be able to refer some sources on their differing origins? I would be most interested to read them.

Re: Evolution Strategies as a Scalable Alternative to Reinforcement Learning

#14
"A Field Guide to Genetic Programming" (https://www.amazon.com/Field-Guide-Genetic-Programming/dp/14...) is one of the better books I've read on the matter (but I've yet to read anything by Koza). W. Langdon's webpage (http://www0.cs.ucl.ac.uk/staff/W.Langdon/) has a lot of great information.

Re: Evolution Strategies as a Scalable Alternative to Reinforcement Learning

#15

"A Field Guide to Genetic Programming" ( https://www.amazon.com/Field-Guide-Genetic-Programming/dp/14... ) is one of the better books I've read on the matter (but I've yet to read anything by Koza). W. Langdon's webpage ( http://www0.cs.ucl.ac.uk/staff/W.Langdon/ ) has a lot of great information.

Evolution Strategies is not an example of Genetic Programming, and that book by Langdon doesn't cover anything directly relevant to the linked article.

Re: Evolution Strategies as a Scalable Alternative to Reinforcement Learning

#16
post #9

This is a fantastic summary of both RL and ES (know as genetoc algorithms too). Kudos to authors!

While they're in the same general family of black box optimization algorithms, ES and GAs are not really the same, and in fact were developed independently. The historical roots of both are actually quite interesting.

Thanks for correcting me, I appreciate it! This is a nice summary of differences: [0].

[0] http://stackoverflow.com/questions/7787232/difference-betwee...

Re: Evolution Strategies as a Scalable Alternative to Reinforcement Learning

#18

Reading the code; I dont get get: 1. How to model the different actions 2. Tie future awards to action at this timestep... Can anyone help with better nitty-gritty explanation ?

The example code inline in the article just illustrates the basic idea of Evolution Strategies (ES), not their new work in applying ES.

The behavior of agents is determined by a "policy function". This function takes in inputs (e.g. what the agent sees) and outputs actions (e.g. what the agent does). The policy function has a set of internal parameters that determines the precise mapping from inputs to outputs.

In their work, they used a neural network as the policy function. The parameters are just all the weights of the network.

In a simple version, you start with some random weights for the NN. Then you make many copies of the network, each with a slight random variation made to the weights. For each of these altered networks, you use them to control an agent for a while, and see how well the agent performs during that trial period. Based on how well the different variations do during their trial runs, you adjust the weights of the network a small amount. You adjust the weights to be more similar to the variations that did well. Then you repeat the process indefinitely (generate new variations, test them, etc.).

Re: Evolution Strategies as a Scalable Alternative to Reinforcement Learning

#19

"A Field Guide to Genetic Programming" ( https://www.amazon.com/Field-Guide-Genetic-Programming/dp/14... ) is one of the better books I've read on the matter (but I've yet to read anything by Koza). W. Langdon's webpage ( http://www0.cs.ucl.ac.uk/staff/W.Langdon/ ) has a lot of great information.

I have read and own Genetic Programming III by John Koza https://www.amazon.com/Genetic-Programming-III-Darwinian-Inv... and the best part about it was that it revisited problems that had been only superficially explored with GP a decade before. The increased computing power available allowed for multiple runs and provided insights into what parameters to tune and gave hard numbers on how much computation was needed to solve various classes of problems.

In the end, it doesn't matter that much which approach is taken because it's all classification problems. We just need the solution matrix, and ideally what computation went into solving it. I feel that this simple fact is lost amidst the complexity of how ML is taught today.

ML isn’t accelerating because of better code or research breakthroughs either. It’s happening because the big CPU manufacturers didn’t do anything for 20 years and GPU manufactures had their lunch. ML is straightforward, even trivial in some cases with effectively unlimited cores and bandwidth. We’re just rediscovering parallelization algorithms that were well known in functional programming generations ago. These discoveries are inevitable in a suitable playground.

I used to have this fantasy that I would get ahead of the curve enough to be able to dabble in the last human endeavor but I'm beginning to realize that that's probably never going to happen. Machines will soon beat humans in pretty much every category, and not because someone figures out how to make it all work, but because there simply isn't enough time to stop it now. There are a dozen teams around the world racing to solve any problem and anyone’s odds of being first are perhaps 10% at best. Compounded with darwinian capitalism, the risk/reward equation is headed towards infinity so fast that it’s looking like the smartest move is not to play.

Barring a dystopian future or cataclysm, I give us 10 years, certainly no more than 20, before computers can do anything people can do, at least economically. And the really eerie thing is that that won’t be the most impressive thing happening, because kids will know it’s all just hill climbing and throwing hardware at problems. It will be all the other associated technologies that come about as people abandon the old hard ways of doing things.

Re: Evolution Strategies as a Scalable Alternative to Reinforcement Learning

#20

"A Field Guide to Genetic Programming" ( https://www.amazon.com/Field-Guide-Genetic-Programming/dp/14... ) is one of the better books I've read on the matter (but I've yet to read anything by Koza). W. Langdon's webpage ( http://www0.cs.ucl.ac.uk/staff/W.Langdon/ ) has a lot of great information.

More relevant to this is the Essentials of Metaheuristics: https://cs.gmu.edu/~sean/book/metaheuristics/ (There is a free pdf download on that page.)
Post reply on HN