Oscillating reward in DDPG using Matlab Reinforcement learning toolbox with simulink environment
5 次查看(过去 30 天)
显示 更早的评论
I have 3 observations for each agent in a multi-agent environment.
Similirly, there is one action for each agent between [-1 1].
I am using DDPG agents to train my model. However, the graph for reward is oscillating after some episodes, at first it looks like the reward is converging to a value bit lower than optimal (i.e. episode reward 0 appx) but then it starts oscillating between high values and lower values for reward. The standard deviation for noise is 0.1, decay rate is 0.0001. What are the possible causes? how to improve reward and avoid oscillation? Thank you.
0 个评论
回答(1 个)
Emmanouil Tzorakoleftherakis
2023-1-25
I think I have mentioned this in another post as well, but you should not expect your episode reward to be monotonic. Once it "converges" around some value for a few episodes, that is a reasonable time to stop training and see if you are happy with the result. If you keep training, the optimization might move to a different direction that leads to worse behavior, similarly to what you are seeing here.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!