SESK: Stuff Everyone Should Know · sesk.info/ai-position-needed-without-recurrence
Why does a Transformer add positional information to token embeddings?
Attention alone does not encode sequence order.
- To represent token order ✔
- To eliminate embeddings
- To count model parameters
Why: The original architecture has no recurrence or convolution to carry position implicitly. Positional encodings tell it where tokens occur in the sequence.
Huh, didn't know that: The positional and token embeddings share a dimension so they can be added.
The tokens needed positions because nobody liked unassigned seating.
Like this card?
References
Answer: To represent token order. The original architecture has no recurrence or convolution to carry position implicitly. Positional encodings tell it where tokens occur in the sequence.
- Attention Is All You Need arxiv.org/html/1706.03762
we must inject some information about the relative or absolute position of the tokens
Checked 2026-10-10.
Think this answer is wrong? Tap "Challenge this answer" on the card in the game and tell us why.
More stuff everyone should know
That's stuff everyone should know.