Skip to content

Great work! Some thoughts on the optimization of the network #11

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

Open
KasperEinarson opened this issue Apr 4, 2019 · 0 comments
Open

Comments

@KasperEinarson
Copy link

Dear Vahid Noroozi!
Thanks for the code - very useful! I'm interested in hearing your opinion on the optimization of the network. You say that your implementation differs from the Galen Andrews (2013) original paper

"I used RMSProp (an adaptive version of gradient descent) instead of GD with momentum. "

But he uses L-BFGS because it's a full batch optimizer because:

"
Because the correlation objective is a function of the
entire training set that does not decompose into a sum
over data points, it is not clear how to use a stochastic
optimization procedure that operates on data points
one at a time[mini batches]"

doesn't this make both RMSprop and GD with momentum invalid?
From the original paper he includes how to take the derivative of the correlation function the two outputs of the two networks - how does this special derivative of the loss come into play in your code?

Thanks again for the great work i appreciate it very much!

Kind regards
Kasper

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

1 participant