Skip to content
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

Fix RL stochastic optimization problem (currently 11.1) #231

Open
hjsuh94 opened this issue Mar 27, 2023 · 0 comments
Open

Fix RL stochastic optimization problem (currently 11.1) #231

hjsuh94 opened this issue Mar 27, 2023 · 0 comments
Assignees

Comments

@hjsuh94
Copy link
Collaborator

hjsuh94 commented Mar 27, 2023

The stochastic approximation has

x <- x - eta * [ l(x + w) - l(x) ] w

but the true gradient should be

x <- x - eta * [ l(x + w) - l(x) ] w / sigma^2

so we seem to be off at a scale.

This exercise is also bit misleading since it gives you the impression that we got out of local minima because we did zeroth-order, when in fact, we could have achieved the same effect by doing first order while injecting stochasticity.

I'd love to reimplement this problem with what we've learned with various gradient estimators over the past year.

@RussTedrake RussTedrake self-assigned this Jan 1, 2025
@RussTedrake RussTedrake changed the title Fix Exercise 11.1 Fix RL stochastic optimization problem (currently 11.1) Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants