Attention with Linear Biases (ALiBi)
arxiv.org
arxiv.org
Thanks for posting this! You can view a video where I explain what we did and why it's useful at: https://www.youtube.com/watch?v=Pp61ShI9VGc
Have you experimented with nonlinear biases?
Nonetheless, very clever trick and congrats on the great paper!
The PE in original Viswani is based on this, they just didn't put in all the details. So effectively the model gets hints from the PE that it's a linear graph because these are the eigenvectors.