TRAIS-Lab / dattri

`dattri` is a PyTorch library for developing, benchmarking, and deploying efficient data attribution algorithms.
https://trais-lab.github.io/dattri/
24 stars 8 forks source link

[dattri.algorithm] Re-add RPS attributor #98

Closed tingwl0122 closed 1 month ago

tingwl0122 commented 1 month ago

Description

This PR implements the Representer Point Selection Attributor as another data attribution algorithm.

1. Motivation and Context

To migrate the official RPS implementation into our context. This PR will close #57 .

2. Summary of the change

3. What tests have been added/updated for the change?

jiaqima commented 1 month ago

Also update dattri/docs/source/api/algorithm.rst?

tingwl0122 commented 1 month ago

Also update dattri/docs/source/api/algorithm.rst?

updated.

TheaperDeng commented 1 month ago

LGTM.