Training AI to Play Pokemon with Reinforcement Learning

6,215,357
0
Published 2023-10-08
Code:
github.com/PWhiddy/PokemonRedExperiments

Discord:
discord.gg/RvadteZk4G

Collaborations, Sponsors:
See channel email

Buy me a tuna melt:
www.buymeacoffee.com/peterwhidden

Sections:

0:00 - Intro
1:20 - How it works
2:54 - Let the games begin
4:04 - Exploration, distraction
5:46 - Level reward
6:38 - Viridian Forest
8:06 - A new issue
8:44 - PC Trauma
10:10 - Healing
10:45 - Gym Battle
12:43 - Route 3
14:44 - Mt Moon
15:54 - Map Visualizations
18:53 - RNG manipulation
20:07 - First Outro
20:26 - Technical Intro, Challenges
21:44 - Simplify
22:43 - Efficient Iteration
23:56 - Environment, Reward function
26:26 - Metrics & Visualization
27:46 - Future Improvements
29:24 - Run it yourself
32:58 - Final Outro

All Comments (21)
  • @deesh6378
    An AI being traumatized by using a pc is the most ironic thing I've heard in a while
  • @markcooper4876
    I laughed so hard when the AI refused to press the A button when it lost.
  • @cappuccinocappy
    I dunno why but the clips were all the AIs aimlessly walk around like a colony of small ants is unbelievably adorable to me
  • @butterfish6799
    “The ai is learning how to move, and is just walking around” really explains a lot of my online teammates in first person shooters.
  • @Hitmonstahp
    it was unreasonably adorable when the AI stopped in Pallet Town to enjoy the scenery
  • @brandonbrsndon
    i love that the AI decided to just hang out and watch the scenery. reminds me of my favorite poem “Stopping by the woods on a snowy evening” by Robert Frost
  • @lateusbetelgeuse
    Since I'm all into both Pokémon and coding, YouTube suggested your video just minutes after you uploaded it. I subscribed after a few minutes watching it, and now I watched it again and noticed you have almost 50k subscribers! With just one video! Please take that as a public, worldwide testament of the effort you have put into this. Thank you so much!
  • @Tommybgoode
    The AI is cool and all, lots of comments discussing it, but. I just wanna say, the editing is so awesome for a video like these, you don't often see such excellent presentation
  • @pengwino828
    The ai discovering rng manipulation is mindblowing. I wonder if games in future could use ai to learn tedious or very specific glitches during beta testing.
  • @mishi6525
    I'm deeply impressed by how the AI, despite being non-human, developed opinions and experiences so similar to ours. Huge respect for the dedication it took to create this.
  • As a Pokemon enthusiast with 4 Pokemon tattoos and a data analyst aspiring to become a data scientist, this project was one of the coolest to watch! I was so fascinated that I decided to replicate the project myself. I encountered some difficulties along the way, but the Discord community was incredibly helpful. Congratulations on the project! 🙌
  • @kylehill
    This was extremely well made. Great job
  • @DolanDarker
    This must've taken an insane amount of time to not only simulate but also edit, really good video, nice work
  • Your findings, implementation, logic, and ANIMATION is incredible. 👏👏
  • @elrudiiisimo3066
    I’m not sure if you noticed this or not Peter, but this is historic. In terms of R&D and just human science. Very impressed with this creativity and passion. Cheers 🥂
  • Honestly the AI becoming traumatized from the PC was heartbreaking. Poor lil guy didnt understand what happened
  • @olemew
    That whole traumatic experience with the PC and the Pokecenter was fascinating. Thank you for making this
  • @e4e5e2e7
    Extremely impressive visualization of the simultaneous iterations. It can be hard to grasp that machine learning is happening in batches of mass parallel attempts, not each progressive scenario after another one by one. Excellent video!
  • @DNAngelOtaku
    how many grew a gambling addiction trying to win an eevee?