[Summary] Add perturbation feature attribution methods
gsarti opened this issue ยท 2 comments
gsarti commented
๐ Feature Request
The following is a non-exhaustive list of perturbation-based feature attribution methods that could be added to the library:
Notes:
- For more information on Editing, see point 3 in #112 .
Footnotes
- Called ablation, but perform masking of features using a baseline.
- Editing replaces tokens with their nearest neighbors in the vocabulary embedding space and measures saliency as the drop in performance for the target. In the future, this can allow users to specify a custom editing strategy via an input
Callable
. - Possibly overlapping with feature ablation up to some measure.
- Valid only for decoder-only models.
- Verify whether it would be exactly equivalent to Value Zeroing, include only if functionally different (alias otherwise).
nfelnlp commented
More methods related to Occlusion:
gsarti commented
Added to method table!