tensorflow / tfjs

A WebGL accelerated JavaScript library for training and deploying ML models.
https://js.tensorflow.org
Apache License 2.0
18.34k stars 1.92k forks source link

Overfitting in DRL #8319

Closed AhdHazim closed 1 month ago

AhdHazim commented 1 month ago

Does there is possibility to DRL algorithm to face overfitting issues as the supervised learning does? if so then how could we check it and mitigate it?

I would be thankful for any information regarding this.

gaikwadrahul8 commented 1 month ago

Hi, @AhdHazim

I apologize for the delayed response and as far I know Yes, DRL algorithms can suffer from overfitting though it manifests a bit differently than in supervised learning and overfitting in DRL, The agent learns a policy that works well in the specific training environment but fails to generalize to slightly different situations.This can happen due to limited training data overly complex models or focusing too much on initial experiences.

Monitor the agent's performance on a separate validation environment that resembles real-world scenarios. A large gap between training and validation performance suggests overfitting.

Mitigating Overfitting:

Please refer official documentation of TensorFlow and tutorials which may help you to solve your overfitting issue.

If I have missed something here please let me know.

Thank you for your cooperation and patience.

github-actions[bot] commented 1 month ago

This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you.

github-actions[bot] commented 1 month ago

This issue was closed due to lack of activity after being marked stale for past 7 days.

google-ml-butler[bot] commented 1 month ago

Are you satisfied with the resolution of your issue? Yes No