Why do agents trained by the reinforcement learning PPO algorithm get different results each time they load?

1 visualizzazione (ultimi 30 giorni)
In the process of reinforcement learning, a problem will be encountered. During the training process, an effective agent will appear. At this time, the training will be finished in advance, but the result of the saved agent running out will be worse

Risposte (1)

Shivansh
Shivansh il 18 Ago 2024
Hello Ye,
The behaviour shown by the agents trained by the reinforcement learning PPO algorithm suggests there might be some randomness involved in the environment. Since, the performance worsens for saved agents, it is also possible that the agent might be overfitted on certain episodes while training and the performance might not be same for other episodes. Try to remove any stochasticity in the model using deterministic seeds. You can also try to evaluate the model on various episodes to get a better understanding of the issue.
If the issue still remains unclear, share more information regarding the model and the environment.
I hope it helps!

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by