Reinforcement learning unable to dupilcapte the best reward i had during training

2 visualizaciones (últimos 30 días)
I use matlab RL toolbox to train a model and I set following rltrainingoptions:
op = rlTraingOptions('StopTrainingCriteria','EpisodeReward','StopTrainingValue',100);
the training process stops when the episodeReawrd>100, however when i used the trained agent to simulate, the episode reward is much lower than 100. Does anybody know why? The other condition is exactly the same.

Respuestas (1)

Emmanouil Tzorakoleftherakis
Emmanouil Tzorakoleftherakis el 26 de En. de 2023
Just because the reward of a single episode meets the desired performance, this does not mean that when you stop ttraining you should see exactly the same behavior from the agent. It could be that the agent was influenced by parameters such as exploration, environment noise etc to get to this result.
Before stopping training, you shouldbe able to see consistent good behavior across multiple episodes in a row (or high average episode reward). In that case, after stopping training, the agent behavior should be close to what you saw in training.

Community Treasure Hunt

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

Start Hunting!

Translated by