Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Question about EWC Implementation #7

Description

@yunboouyang

Hello developers! I looked at the implementation of EWC and got confused about computing the diagonal of the empirical Fisher Information Matrix. In

pg = p.grad.data.clone().pow(2)
the square of the sum of gradients of all data points in the memory are computed, but this is not equal to the sum of squares of gradients. The latter should be used to compute Empirical Fisher, see https://wiseodd.github.io/techblog/2018/03/11/fisher-information/. Could you confirm this?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions