Rotations and exponential decay can emerge from the same mathematical rule for representing position in a sequence. Jane Street's analysis starts with attentionThe mechanism that lets a model weigh which earlier words matter for the word it's currently processing — the core operation of a transformer.Full definition →, which compares internal representations but needs an added mechanism to account for where they occur.
The analysis restricts that mechanism to linear transformations, relative-position dependence, continuity, and unchanged comparisons at equal positions. Two successive position shifts must then have the same effect as one combined shift. This yields a family of matrix transformations containing rotary positional encoding, or RoPE, and exponential decay. The result gives ModelA computational system that uses learned patterns to produce an output from information supplied to it.Full definition → designers a way to relate familiar choices under explicit assumptions, rather than an empirical ranking of their quality.
Terms in this piece · Glossary
attention — The mechanism that lets a model weigh which earlier words matter for the word it's currently processing — the core operation of a transformer.
Model — A computational system that uses learned patterns to produce an output from information supplied to it.