Modifying Loss Function for Deep Reinforcement Learning Agent
Hi.
Im Looking to use the DQN agent for some initial study of a problem that Im working on. The problem requires that I modify the loss function used in training of the Q-approximation network in DQN. I have the equation that I need to use to modify the loss function, it will be an additional term added to the standard loss function, which is squares sum of target and predicted Q network values. The new term will be like sum of squares of predicted and some expert Q value.
I would like to know if its possible to just modify the loss function, add the new term, and still use the framework presented by Reinforcement Learning Toolbox? Or this is not possible and I would have to atleast write all the code for DQN agents learning part?
Thanks for your time and help!Hi.
Im Looking to use the DQN agent for some initial study of a problem that Im working on. The problem requires that I modify the loss function used in training of the Q-approximation network in DQN. I have the equation that I need to use to modify the loss function, it will be an additional term added to the standard loss function, which is squares sum of target and predicted Q network values. The new term will be like sum of squares of predicted and some expert Q value.
I would like to know if its possible to just modify the loss function, add the new term, and still use the framework presented by Reinforcement Learning Toolbox? Or this is not possible and I would have to atleast write all the code for DQN agents learning part?
Thanks for your time and help! Hi.
Im Looking to use the DQN agent for some initial study of a problem that Im working on. The problem requires that I modify the loss function used in training of the Q-approximation network in DQN. I have the equation that I need to use to modify the loss function, it will be an additional term added to the standard loss function, which is squares sum of target and predicted Q network values. The new term will be like sum of squares of predicted and some expert Q value.
I would like to know if its possible to just modify the loss function, add the new term, and still use the framework presented by Reinforcement Learning Toolbox? Or this is not possible and I would have to atleast write all the code for DQN agents learning part?
Thanks for your time and help! reinforcement learning, loss function, dqn MATLAB Answers — New Questions