← News

ResearchSources: arXiv · 30 Nov 2026

ALiBi positional encoding can underflow and blind attention heads, study finds

Researchers report that ALiBi's linearly growing bias eventually drops below floating-point precision, zeroing attention weights in pretrained models — though they also find the impact is not always harmful.

In plain words

ALiBi is a method that tells language models how far apart words are by adding a growing penalty to distant tokens. The researchers found this penalty can eventually become so small that a computer's arithmetic rounds it to zero, making some attention heads ignore distant context. They also found this does not always hurt performance, and a log-scaled variant improved retrieval tasks.

What was announced

In a preprint posted on arXiv, the authors identify a failure mode they describe as previously overlooked in ALiBi positional encoding: the bias grows linearly with distance until it underflows floating-point precision, zeroing a large fraction of attention weights and leaving affected attention heads partially blind. They formalize the distance at which each head goes blind and say they confirmed the effect in pretrained ALiBi models.

To measure the impact, the team pretrained 148M-parameter decoder models using altered slopes and four mitigation strategies, individually and combined. Clamping to prevent underflow left downstream benchmark and associative retrieval performance unchanged, suggesting underflow does not necessarily degrade ALiBi models. However, log-scaled distances with explicit slopes substantially improved associative retrieval, particularly beyond the training context length. The authors conclude with concrete recommendations for training models with ALiBi.

What it does not show

  • The evidence is the paper's abstract only; full methods, benchmarks and results are not covered, and the findings are not independently confirmed.

Sources

Source-support review completed 30 Nov 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.

Coverage: arXiv: abstract.

Updates and corrections

No corrections so far.

First published 30 Nov 2026

New to the subject? AI from the Ground Up starts from the beginning.