-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bootstrapping the value function? #17
Comments
This is done in Tianshou, check it out at https://github.com/thu-ml/tianshou If you are still interested. @XuchanBao |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, the target for the value function is the discounted sum of all future rewards. This gives unbiased estimate but will result in higher variance. An alternative is to use bootstrapped estimate, i.e. something like
target[i] = rewards[i] + gamma * prev_values * masks[i]
Bootstrapping is often preferred due to low variance, even though it results in biased gradient estimate.
The text was updated successfully, but these errors were encountered: