Skip to content

Does BatchNorm have a wrong moving average? #2083

Answered by levskaya
Depersonalizc asked this question in Q&A
Discussion options

You must be logged in to vote

Arguably this just comes down to whether or not you wish to presume a prior for the mean and variance of the running averages. Since BatchNorm running statistics are exponentially weighted in the expectation of calculating them over a large number of batches, the choice of a zero-mean / unity-variance prior doesn't in practice matter much at all, and keeps the implementation much simpler.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by marcvanzee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1360 on April 27, 2022 20:01.