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

Check weights and gradients for anomalies #3

Open
pasky opened this issue Feb 23, 2016 · 1 comment
Open

Check weights and gradients for anomalies #3

pasky opened this issue Feb 23, 2016 · 1 comment

Comments

@pasky
Copy link
Member

pasky commented Feb 23, 2016

We are maybe a little careless in the way we train the more complex (CNN, RNN etc.) models, in that we should carefully check the gradients and also the actual weight matrices; for CNN, some papers renormalize weights if their norm is too large, for RNN something similar might be necessary. I suspect that since we are getting reasonable-looking results, it's probably not a crucial issue, nevertheless we might get some improvements from deeply understanding the practical progression of training in our models.

@pasky
Copy link
Member Author

pasky commented Mar 21, 2016

http://www.lab41.org/taking-keras-to-the-zoo/ suggests that high dropout might contribute to vanishing gradient. This could explain why on Ubuntu Dialogue with very long sentences (spad=160), dropout=0 is much worse than high dropout that is beneficial for AnsSentSel (spad=80). Should be easy to verify experimentally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant