[KongchangAI]
Conceptabsolute position encoding / 绝对位置编码

Absolute Positional Encoding

An encoding scheme that assigns a fixed position vector to each position in a sequence. It provides order information effectively within the training length, but when sequences exceed that length the position indices enter untrained regions, limiting extrapolation capability.

Timeline (last 90 days)

Nov 24

In controlled state-tracking tasks, multi-token template representations and absolute positional encoding severely limit extrapolation, whereas atomic operation representations significantly enhance length generalization.

Unverified50%
Nov 24

Absolute positional encoding assigns a fixed position vector to each position in the sequence; when the sequence length exceeds the training range, the position indices enter untrained regions, the encoding loses meaning, and extrapolation ability is limited.

Unverified50%
Nov 15

The advantage of relative positional encoding is that the same relative distance shares one set of parameters across different absolute positions, making it friendlier to changes in sequence length; the cost is more complex implementation, with the relative position term requiring extra handling in attention computation and sometimes truncation or bucketing of distances beyond a certain range.

Unverified50%
Nov 15

When training and inference lengths match, learnable absolute encodings are simple and effective; when inference on longer sequences is needed, relative encodings and RoPE are preferred.

Unverified50%
Nov 15

No single positional-encoding scheme dominates across all dimensions: absolute encodings are simple to implement but extrapolate poorly, relative encodings are flexible but computationally complex, and RoPE expresses relative positions at the attention level but also requires additional extrapolation strategies.

Unverified50%
Nov 2

Regarding the encoding of absolute physical position, the community is divided: some argue for direct normalized input, while others believe relative position encoding or learnable position embeddings should be used, because absolute position may introduce unnecessary bias.

Unverified50%

All Facts (6)

Unverified

In controlled state-tracking tasks, multi-token template representations and absolute positional encoding severely limit extrapolation, whereas atomic operation representations significantly enhance length generalization.

50%
Unverified

Absolute positional encoding assigns a fixed position vector to each position in the sequence; when the sequence length exceeds the training range, the position indices enter untrained regions, the encoding loses meaning, and extrapolation ability is limited.

50%
Unverified

The advantage of relative positional encoding is that the same relative distance shares one set of parameters across different absolute positions, making it friendlier to changes in sequence length; the cost is more complex implementation, with the relative position term requiring extra handling in attention computation and sometimes truncation or bucketing of distances beyond a certain range.

50%
Unverified

When training and inference lengths match, learnable absolute encodings are simple and effective; when inference on longer sequences is needed, relative encodings and RoPE are preferred.

50%
Unverified

No single positional-encoding scheme dominates across all dimensions: absolute encodings are simple to implement but extrapolate poorly, relative encodings are flexible but computationally complex, and RoPE expresses relative positions at the attention level but also requires additional extrapolation strategies.

50%
Unverified

Regarding the encoding of absolute physical position, the community is divided: some argue for direct normalized input, while others believe relative position encoding or learnable position embeddings should be used, because absolute position may introduce unnecessary bias.

50%

Source Articles