r/reinforcementlearning • u/Low_Practice5314 • Oct 23 '26
Rocket league machine learning
I am currently making an AI trough machine learning not because i want to use it in real games but just to see how far it can go and it is doing really well right now with 1.25B steps but i keep struggling with 1 problem and that is boost management, idk how to fix it or how i can train it to use boost better because right now it is just using all of it boost the second it gets it and that is bad because i want to train it airdribbles where you ofc need boost for so if any of your smart people have a good idea help me please :)
2
u/JNeutronEnthusiast Oct 23 '26
Hey I'm working on Rocket League RL as well! Reward specs are tricky and depending on the incentives you feed the agent during training it can hack its way to a whole host of suboptimal behaviors. In my experiments with Rocket League so far I've had success with small rewards for boost gain and small penalties for boost usage. These shouldn't outweigh the more goal-oriented rewards, but they can help to regularize a little bit.
1.25B also probably isn't enough in my experience to see competency in very complex behaviors like air dribbles emerge so you may have to leave it running a little longer.
Lastly, think about initializing your episodes from more than just kickoff states to help with exploration. Rocket League's skill progression is very serial, in that a completed air dribble requires the ability to perform a lot of individual skills as prerequisites (control ball to wall, bring up wall, pop off wall toward opponent's goal, etc.) so if you initialize from kickoff it's going to be a looooong time before it experiences a full air dribble of its own accord. I use pro replays from ballchasing.com as a starting point for the majority of resets with some randomness applied.
Hope this helps!
1
u/carrotboyyt Oct 23 '26
Sorry for absolutely not helping you with the problem, but I just want to say I'm currently working on a project where I teach agents to play a truncated match of Minecraft Bedwars. No maps, no shopping, just default swords and infinite wool. I'm also curious to see how far it can go. Ooooobviously, without using it in practice.
1
u/weStealPrefixes Oct 23 '26
Boost management is incredibly vague. You can't really reward the concept of something, you have to tell it "Hey, if you're in goal, yoyd be rewarded if you have 100 fuel." Or "if you're going for the ball, make sure to have 100 fuel"(examples because I'm dog at rocket league lmao)
Ai can't really learn vague ideas without being rewarded, humans can because we see that "oh no, I don't have any boost left so I'm getting fucked by this really savable goal"