captum icon indicating copy to clipboard operation
captum copied to clipboard

need to implement the CKA function for model interpretability and understanding

Open joshua-xia opened this issue 3 years ago • 3 comments

🚀 Feature

The Centered Kernel Alignment (CKA) is function to compare two neural networks or the layers, it can be used to explain model dynamics, and it is widely used for understanding the representations learned by neural networks.

Motivation

see: https://github.com/AntixK/PyTorch-Model-Compare

Pitch

hope the CKA is implement in the captum project.

joshua-xia avatar Jan 12 '23 09:01 joshua-xia

@NarineK: Is there anybody take a look this requirement? Thanks!

joshua-xia avatar Jan 30 '23 05:01 joshua-xia

@joshua-xia, we have an implementation of CKA but we haven't open sourced it because of other high priority projects. It might take some time before we open source it.

NarineK avatar Jan 30 '23 05:01 NarineK

@joshua-xia, we have an implementation of CKA but we haven't open sourced it because of other high priority projects. It might take some time before we open source it.

Thanks a lot! Would you please open source it for me, we currently using CKA in our project, so that I think we can test the implementation for the community.

joshua-xia avatar Jan 30 '23 05:01 joshua-xia