Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Fix bug in how noise scale is computed #2

Merged
merged 1 commit into from Aug 9, 2021

Conversation

lvdmaaten
Copy link
Member

Per Equation 15 in the paper, the relation between the noise parameter sigma (scale) and the spectral norm of the Jacobian (eta_max) should involve division by eta, not multiplication. Simply put: to guarantee a lower FIL, you need to add noise with a larger scale.

This corrects that mistake in the code.

Per Equation 15 in [the paper](https://arxiv.org/pdf/2102.11673.pdf), the relation between the noise parameter sigma (`scale`) and the spectral norm of the Jacobian (`eta_max`) should involve division by `eta`, not multiplication. Simply put: to guarantee a lower FIL, you need to add noise with a larger scale.

This corrects that mistake in the code.
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 6, 2021
@lvdmaaten lvdmaaten merged commit 7c8718e into facebookresearch:master Aug 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants