-
Notifications
You must be signed in to change notification settings - Fork 5
Train-Test disparity #3
Copy link
Copy link
Open
Description
Hi, thanks for your inspiring work and open-sourced codebase.
I noticed that in the "skim attention" module, the 1/0 mask is directly multiplied by the attention probability matrix to prevent skipped tokens from being attended by other tokens. In the paper, it is said that "By doing so, the remaining tokens will have the
identical computational value as actually pruning.". However, during training, the attention probability of remaining tokens does not sum up to 1 because some probability masses are zeroed-out. On the contrary, during inference, the attention probability of remaining tokens always equals 1. This causes train-test disparity and contradicts what is described in the paper.
Looking forward to your reply.
Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels