Watch cars evolve using genetic algorithm
61–70 of 76 posts
Re: Watch cars evolve using genetic algorithm
#62Re: Watch cars evolve using genetic algorithm
#63It seems to always get into a rut where one design lucks out and dominates generation after generation, with no mutations producing anything even close to working. Like, the top ten don't change after hundreds of generations. Maybe this is just an attribute of genetic algorithms. They quickly zero in on something kind of good, and then get stuck at this local maxima. Or maybe I need to just play around with the Mutat…
Sounds like you're running with a single elite clone. That's a really bad idea in genetic heuristics for exactly the phenomenon you mention.
Re: Watch cars evolve using genetic algorithm
#64It seems to always get into a rut where one design lucks out and dominates generation after generation, with no mutations producing anything even close to working. Like, the top ten don't change after hundreds of generations. Maybe this is just an attribute of genetic algorithms. They quickly zero in on something kind of good, and then get stuck at this local maxima. Or maybe I need to just play around with the Mutat…
I wasn't fooling. Think about it for a second, if your process involves a lot of crossover that means large sections of working genome will be passed on. If the ONLY mechanism for changing anything is mutation, then mostly you're just breaking what works.
That's what you're describing, so I'd look at how the genome is constructed to understand why it's not doing more.
Re: Watch cars evolve using genetic algorithm
#65The new candidate might actually survive because its prior history kept it from ever getting into that particular death state, but I think biasing towards designs that don't immediately die in those hard cases is good anyways, since given a long enough run it would likely encounter a similar state.
One could co-evolve the test case collection by simulating only the best candidates according to the test cases, and then retaining test cases based on a running score for how well they predicted the actual performance.
Re: Watch cars evolve using genetic algorithm
#66It seems to always get into a rut where one design lucks out and dominates generation after generation, with no mutations producing anything even close to working. Like, the top ten don't change after hundreds of generations. Maybe this is just an attribute of genetic algorithms. They quickly zero in on something kind of good, and then get stuck at this local maxima. Or maybe I need to just play around with the Mutat…
>Maybe this is just an attribute of genetic algorithms It happened to crocodiles and it could happen to you too.
Re: Watch cars evolve using genetic algorithm
#67Re: Watch cars evolve using genetic algorithm
#68If you like things like this, join us at https://old.reddit.com/r/WatchMachinesLearn/
Re: Watch cars evolve using genetic algorithm
#69so whats the optimal design?
That, or one BIG wheel, a very tiny second wheel, and almost no "body".
Re: Watch cars evolve using genetic algorithm
#70It seems to always get into a rut where one design lucks out and dominates generation after generation, with no mutations producing anything even close to working. Like, the top ten don't change after hundreds of generations. Maybe this is just an attribute of genetic algorithms. They quickly zero in on something kind of good, and then get stuck at this local maxima. Or maybe I need to just play around with the Mutat…