[KongchangAI]
ConceptAttention with Linear Biases

ALiBi

A positional encoding scheme for Transformer models that encodes position information implicitly by adding a linear penalty proportional to the distance between tokens directly to attention scores, rather than modifying token embeddings. The approach is straightforward to implement and demonstrates favorable extrapolation behavior on sequences longer than those seen during training.

Timeline (last 90 days)

Nov 24

In the pure bf16 training setting, the baseline's miscalibration on long contexts reaches 37-58%, and the three modifications of block-sparse pretraining, attention dropout, and ALiBi each appear 6-35% better.

Unverified50%
Nov 24

After temperature calibration, the advantages of all three modifications—block sparsity, attention dropout, and ALiBi—disappear entirely, and ALiBi in fact falls about 5% behind RoPE.

Unverified50%
Sep 21

ALiBi directly superimposes a linear penalty term proportional to distance onto attention scores, achieving a clean implementation that is friendly to length extrapolation

Unverified50%
Sep 11

Positional encoding improvements such as RoPE and ALiBi allow models to extrapolate to sequence lengths not seen during training.

Unverified60%

All Facts (7)

Unverified

Positional encoding improvements such as RoPE and ALiBi allow models to extrapolate to sequence lengths not seen during training.

60%
Unverified

The expansion of context windows is attributed to technical breakthroughs such as ALiBi positional encoding, extrapolation extensions of RoPE, Flash Attention, and Ring Attention.

60%
Unverified

In the pure bf16 training setting, the baseline's miscalibration on long contexts reaches 37-58%, and the three modifications of block-sparse pretraining, attention dropout, and ALiBi each appear 6-35% better.

50%
Unverified

After temperature calibration, the advantages of all three modifications—block sparsity, attention dropout, and ALiBi—disappear entirely, and ALiBi in fact falls about 5% behind RoPE.

50%
Unverified

ALiBi directly superimposes a linear penalty term proportional to distance onto attention scores, achieving a clean implementation that is friendly to length extrapolation

50%
Unverified

Ultra-long context technologies include ALiBi, extrapolation improvements to RoPE, and distributed attention mechanisms such as Ring Attention, which are used to address the bottleneck of the Transformer attention mechanism's computational complexity scaling quadratically with sequence length.

50%
Unverified

Context window extension techniques such as NTK-aware scaling of RoPE, ALiBi, and Ring Attention have pushed context length from the early 4K to 128K or even millions of tokens, but face the limitations of quadratic growth in computational cost and long-range attention decay.

50%

Source Articles