How an A.I. is Becoming the World's Best Pokemon Player
Video Statistics and Information
Channel: The Third Build
Views: 780,205
Rating: undefined out of 5
Keywords:
Id: rhvj7CmTRkg
Channel Id: undefined
Length: 26min 52sec (1612 seconds)
Published: Mon Jul 19 2021
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.
You should X-post this into r/Pokemon. I know thereโs a lot of competitive players that donโt know about this sub. And maybe some casual fans would enjoy it too!
The video is so well made and thoughtful, the kid deserves the exposure! Super cool post, thank you for sharing it
Hi! Just wanted to say thanks for sharing my video. Your comments are so nice!
I'm going through and reading your comments and there are some interesting points. First, because I've been hearing this comment for a year, I do agree with the fact that a good prediction tool shouldn't be used in tournaments. Right now, it's not that great because it's still using the faulty machine learning, but when I adapted It to use the code the AI runs with, it might be a problem. I probably won't do that until I can figure out a way to make sure it can't be used in tournament games (I have some ideas and probably will have to work with the Showdown team on that), but until then it should be ok.
When it comes to how many turns deep it could possibly look, I also agree that there is a pretty low limit. From my testing, the most turns ahead I've ever gotten it to look on the first turn of a battle (the one with the most options) is 3. It could totally be optimized to go a good amount further, but the time complexity of this approach makes probably any farther than ~7 turns ahead impractical. I've been working on a way to go around looking turns ahead, and right now it's worse enemy is stall teams because of this limitation.
I just saw this yesterday! I think it's really neat and he clearly put a lot of work into it. It's probably the highest rated bot I've seen so far. Just some thoughts:
He doesn't reveal any big details about the algorithm, but from what I can tell his final iteration is some kind of expectiminimax + pruning, where essentially the bot is looking forward a few turns and based on all possible (or usually all "reasonable") outcomes, picks the moves that minimize the worst outcome, aka your traditional "safe" player. There are definitely limitations to this approach, first of all is the depth of search. To give context, Stockfish for chess regularly searches to 30 moves ahead. I am pretty sure that a lot of implementations are limited to a mere 3 moves ahead, as illustrated here (https://github.com/pmariglia/showdown/issues/53). So, I suspect that ~1600 is going to be a pretty hard limit because you can't use this approach by itself to really develop long-term strategies. Another thing I wanted to point out is that this algorithm is also really prone to exploitability- knowing that your opponent is always a safe player is going to lead to easy manipulation by the best players. He even mentions it here in his Smogon post:
This however is incredibly awesome work, and I think 1600 is now the new baseline to beat for Pokemon AI which is exciting. I've been in (very) early development of a Pokemon AI using reinforcement learning through self-play, and I'm hoping it'll also do well!
Edit: included link to Smogon post
Hi! So I wasn't too sure if this had already been posted or discussed in this sub, but thought it could spark some interesting discussion-its starting gaining traction less than 24 hours ago and it is extremely fascinating: but I also want to hear the opinion of the sub on what this means for the competitive community.
This is not my video or my project-please support the original creator, I'm just a messenger. Regardless of how it might impact us, this is an incredible feat of coding and might change how we see battles from now on.
The fact that this video has less than 2k views is CRIMINAL! This guy is fantastic and needs to be shared everywhere!
I was thinking about this last year and how really while there is hidden information in Pokemon there are only AT MAXIMUM, 9 options on a given turn for the AI to take.
Glad to see someone is exploring creating an undefeatable Pokemon AI bot.
Great video, Iโve thought about something like this existing for Pokรฉmon would be really interesting seeing how complex the game is. The team building aspect of this seems especially interesting
Iโd like to see it allowed to only select rental Pokรฉmon from Stadium 1 and 2 and see what teams it picks for different cups
Wow, this looks amazing