AlgorithmsMachine learningEdit on GitHubEdit history
ALiBi
Attention with Linear Biases2021
A method that, instead of position embeddings, adds to attention scores a negative bias proportional to the query–key distance with a fixed slope per head. It allows extrapolation to inputs longer than those seen in training.
Origin
Ofir Press, Noah A. Smith, Mike Lewis (2021). Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolation. ICLR 2022.arXiv:2108.12409 — checked against arXiv, 2026-11-08
Lineage
Algorithms 18 · Relations 21
Parent algorithms
Where it came from
Transformer2017
CitationALiBi replaces the position embeddings of the Transformer with a distance bias added to attention scores — arXiv:2108.12409
Notable implementations
Paths checked against the GitHub default branch
Find more: GitHub · Semantic Scholar · Google Scholar · arXiv
Claims & disputes
Loading…