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

Fix RPS LJE and update documentation #32

Merged
merged 26 commits into from
Apr 10, 2024
Merged

Fix RPS LJE and update documentation #32

merged 26 commits into from
Apr 10, 2024

Conversation

Agustin-Picard
Copy link
Member

Fix RPS LJE and update documentation

Although it provided satisfactory results in the CIFAR10 benchmark, the implementation of RPS LJE didn't actually follow the description in the paper. This is fixed in 55bffb1 . An abstraction is also implemented to simplify the shared code between RPS L2 and RPS LJE in c28abb6 .

The tests were adjusted to follow the current implementation.

I was forced to opt for a less optimized version in 727e5e4 without end-to-end lazy computations for the estimation of the hessian as it led to cuBLAS errors when applying the pinv operation.

#21 is also fixed by removing the abstract method without the actual implementation in dev@f1a360f

More thorough documentation was added throughout and more notebooks are included in the README.

Copy link
Collaborator

@lucashervier lucashervier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! I have a few questions as you will see in the comments. Nothing that requires change but where I am wondering about certain choices

deel/influenciae/common/base_influence.py Show resolved Hide resolved
deel/influenciae/rps/rps_l2.py Show resolved Hide resolved
deel/influenciae/rps/rps_lje.py Show resolved Hide resolved
Copy link
Collaborator

@lucashervier lucashervier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All conversation are resolved now. Congrats!

@Agustin-Picard Agustin-Picard merged commit 971ee2e into main Apr 10, 2024
8 checks passed
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

Successfully merging this pull request may close these issues.

2 participants