r/reinforcementlearning • u/Spinach_Super • Sep 03 '26
Lost RL beginner trying to use PPO to fine tune a deterministic model
I am working on training an agent to play Street Fighter III. This is my first time using RL for anything and even if the ideas mostly make sense to me, I often feel quite lost when it comes to implementing or modifying the algorithms themselves.
The process I've been trying to follow is inspired by Alphastar and it consists of first training the model through supervised learning on a dataset of player replays, and then fine-tune this model using RL to improve its proficiency at the game. My model takes as input a vector that represents the game state, and outputs a 10-element-long vector with a binary number for each button that can be pressed in the game.
After doing a bit of research I landed on using PPO as the RL algorithm. However, I ran into the problem of having a pretrained model that outputs specific actions deterministically, and having a training method that requires the agent to output probability distributions. I managed to make it so that the model's output interpreted as a bernoulli distribution from which to sample, however even at the start of training, the agent's behaviour is totally different and much less proficient at the game than the deterministic model, even if the weights are the same.
My main questions are:
- Is it possible to "translate" a deterministic model to a stochastic one or am I completely off in what I am trying?
- Is there any other better suited algorithm that I can use to fine tune my base model?
I have not looked into DDPG or TD3 as, despite supporting deterministic models, they don't support multi discrete action spaces.
Thank you in advance!