14 ms·
Genetic Algorithms for Evolution of QWOP Gaits
- uoaei 3y agoThis paper could just as likely be from 2013.
- hyperthesis 3y agoI googled for video https://www.google.com/search?q=Genetic+Algorithms+for+Evolution+of+QWOP+Gaits&tbm=vid https://www.google.com/search?q=Genetic+Algorithms+for+Evolu... - closest hit is from 2014 https://youtube.com/watch?v=eWxFI3NHtT8 https://youtube.com/watch?v=eWxFI3NHtT8 [1:41, "able to complete the QWOP race in about 2 minutes"] BTW I hope no one tries this with LLMs. It will turn them against humanity.
- im3w1l 3y agoI found this video from Wesley Liao that may be state of the art (finished the run in 47.34s), https://www.youtube.com/watch?v=82sTpO_EpEc https://www.youtube.com/watch?v=82sTpO_EpEc
- demondemidi 3y agoWell, genetic algorithms are what, 50 years old or something? EDIT: 66 years old, ca. 1957 ... https://en.wikipedia.org/wiki/Genetic_algorithm#History https://en.wikipedia.org/wiki/Genetic_algorithm#History
- EvanAnderson 3y agoAdvent of Computing had a nice episode about this recently: https://adventofcomputing.libsyn.com/episode-115-digital-lifeforms https://adventofcomputing.libsyn.com/episode-115-digital-lif...
- im3w1l 3y ago> A short video of the best runners we discovered is available for viewing using the following link: TODO: youtube video. How disappointing, I hope they can add it soon.
- huytersd 3y agoWell there goes the only reason I would visit that page.
- emmelaich 3y agoThis is related, but from four years ago. https://www.youtube.com/watch?v=ET1fRlm4IO0 https://www.youtube.com/watch?v=ET1fRlm4IO0
- thih9 3y agoAnother, from 2 years ago: https://www.youtube.com/watch?v=-0WQnwNFqJM https://www.youtube.com/watch?v=-0WQnwNFqJM
- mappum 3y agoMissed out on an opportunity to name it "QWOPtimizer"
- pjs_ 3y agoMy once-a-decade opportunity to post this thing that I wrote: https://peteshadbolt.co.uk/posts/ga/ https://peteshadbolt.co.uk/posts/ga/ Now back to life thanks to Ruffle.
- juunpp 3y agoI think it's interesting and deserves a longer dive, particularly in car representation and crossover/mutation functions, as well as: > The optimality of a particular candidate solution (the fitness function) is determined by how far it travels before a) a mass touches the ground or b) time runs out. How do you sort among the millions of possible solutions that automatically die upon touching ground.
- HanClinto 3y agoThis was great, thanks! Really enjoyed this
- lemper 3y agobro, your cert is expired. just a friendly reminder.
- godelski 3y ago> The certificate for peteshadbolt.co.uk expired on 11/21/2023. What are the odds of that?
- riverdweller 3y agoApproximately 1.11%. Certificates issued by LetsEncrypt (the CA for this certificate) are valid for 90 days. Most users automate their renewal.
- godelski 3y agoLOL well thanks for doing the math!
- pjs_ 3y ago
- viraptor 3y agoIs there a reason that everyone seems to train qwop RL on the actual game rather than reverse engineering the model? I can't find a single gym which implements the movement itself in python, they all rely on node or interacting with the browser itself. (Even the most feature rich, popular one https://pypi.org/project/qwop-gym/ https://pypi.org/project/qwop-gym/)
- grrowl 3y agoAt a certain level you can't guarantee the outcome of calculations will be 1:1. For example python and node both perform floating point calculations differently, so "identical" simulations will drift apart over time.
- viraptor 3y agoSure, but it should be possible to run enough tests to show the error over X frames doesn't cross Y. Then you can learn on that model and validate on the real thing (and use it to fine-tune if needed). The chosen action has very little effect after a few frames anyway.
- godelski 3y agoIn this same vein, don't go down the rabbit hole of Image libraries. PIL resizing is different than Pytorch resizing. The effects are actually large enough to affect your models. Yes, even one trained at fp16. It can also result in people being displaced on leaderboards even when just changing things during evaluation. I think a lot of people, including a lot of ML researchers, would be surprised by these subtle effects and their influences. It really makes metrics a bit fuzzier than they already are (which is already pretty fuzzy not that we're in high quality domains). But at the same time it __shouldn't__ surprise people given how strong the lottery effect is. Evaluation is just fucking hard but we all light to get caught up in leaderboards. Just just can't quantify concepts as "most realistic image" or "most realistic language." Hell, that's a big reason why we invented RLHF.
- imtringued 3y ago
- ClassyJacket 3y agoI can run in QWOP, ask me anything.
- noman-land 3y agoHow did you learn to do it? Can you teach me?
- astrange 3y agoBy the way, Bennett Foddy is working on a new "AAA" QWOP-like game for PS5 called Baby Steps. https://www.babystepsgame.com/ https://www.babystepsgame.com/
- h0l0cube 3y agoThe trailer doesn't really explain how the controls will be, but it's much better than what I expected for a "QWOP-like" game
- hoseja 3y agoThat's a lot of hacks to avoid hacking into the .swf I mean, damn, you'd think they'd come up with a better methodology than having a Python bot playing online, in real time, one instance at a time, with 50ms maximum speed, ORCing the screen to see the score.
- larsga 3y agoA bit strange that they write that timing is essential, yet don't actually allow the GA to experiment with timing. They could have added to their representation a symbol for "no change". Surprised they didn't.
- BigglesB 3y agoThey actually did, one of the approaches they tested included holding down combinations of keys for variable durations (the "Representation 4: Bitmask-Duration Sequence"), however they didn't get any viable runners using that approach. Their conclusion was that with the constraints they were operating under (ie. only 1,000 fitness evaluations etc), the solution space was too broad for that approach to find any viable strategies. Main takeaway for me was that this form of genetic algorithm works best & converges most quickly the simpler you can make the search space.