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

Is ResNet 3f causal? #18

Closed
cohendrake opened this issue Jan 21, 2020 · 4 comments
Closed

Is ResNet 3f causal? #18

cohendrake opened this issue Jan 21, 2020 · 4 comments

Comments

@cohendrake
Copy link

Good job. As layer normalization is widely used in the ResNet 3f, I doubt that it's a causal network—‘future’ features are actually included. I've tried to remove all the layer normalizations and the results turn out to be much worse.
Is layer normalization dispensable?

@anicolson
Copy link
Owner

anicolson commented Jan 21, 2020 via email

@cohendrake
Copy link
Author

Thanks! Do you mean this causal form of layer normalization is applied over different dimensions of the feature for the current frame?

@anicolson
Copy link
Owner

So the statistics are calculated over all of the dimensions of the current frame. e.g. over the 257 frequency bins of the current frame, giving a mean and variance both of size 1. Each of the frequency bins is then normalised using the same mean and variance.

Hope this helps

@cohendrake
Copy link
Author

Got it.

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