Rereading the Transformer Upgrade Path
Rereading the Transformer Upgrade Path (2): How RoPE Writes Relative Position into Attention
Starting from a single identity for two-dimensional rotations, this article explains how RoPE uses the same sin/cos signals to rotate Queries and Keys so that position enters the attention score only through relative displacement.