News for hackers. Stuff that matters.
Re:Attention with Linear Biases (ALiBi) by ofirpress on Sunday May 14, 2023 @03:14AM (#35936024)
(I wrote ALiBi)

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

Re:Attention with Linear Biases (ALiBi) by zuzun on Sunday May 14, 2023 @05:35AM (#35936669)
If I understand it correctly, you are only attending preceding tokens in your paper. Can the constant bias matrix be made symmetric for unmasked tasks?
Re:Attention with Linear Biases (ALiBi) by espadrine on Sunday May 14, 2023 @08:26AM (#35937461)
Thanks a lot! I always felt weird about positional embeddings, because positions are not a set, they’re a continuum. My initial guess for why they don’t extrapolate was that the extrapolated embeddings step on the others’ turf once a few computations or layers are applied, causing the model to be confused about order, as if random concepts were inserted here and there. (Position overfit seems like it would weigh in though indeed.)

Have you experimented with nonlinear biases?

Re:Attention with Linear Biases (ALiBi) by jerpint on Sunday May 14, 2023 @08:28AM (#35937471)
I’m curious as to whether this inductive bias wouldn’t hurt on tasks where the first sentence of a long corpus would contain the most useful information.

Nonetheless, very clever trick and congrats on the great paper!

Re:Attention with Linear Biases (ALiBi) by Eridrus on Sunday May 14, 2023 @11:06PM (#35943482)
Is ALiBi still the sota for this setting, or have there been advances beyond this in the last 8 months? I know there has been a lot of interest in longer context lengths recently.
Re:Attention with Linear Biases (ALiBi) by ipsum2 on Tuesday May 16, 2023 @02:59AM (#35958525)
xpos is SoTA right now: https://arxiv.org/pdf/2212.10554.pdf
Re:Attention with Linear Biases (ALiBi) by Eridrus on Wednesday May 17, 2023 @07:02AM (#35973638)
Thanks!