CRoPE: Efficient Parametrization of Rotary Positional Embedding
Beicheng Lou, Zifei Xu
TL;DR
CRoPE reframes rotary positional embedding by parameterizing the $Q$, $K$, and $V$ projections as complex linear transformations, yielding about a 50% reduction in attention-block parameters. The authors show that the reduced function space of CRoPE is redundant in simple analytic tasks and that, in practice, CRoPE delivers comparable performance to RoPE on standard datasets (WikiText-2, PTB, PG-19) with substantially fewer parameters. Using a small GPT-2–style model ($L=4$, $H=4$, $d_{ ext{model}}=128$), CRoPE achieves validation losses close to RoPE while reducing attention-related parameters, with larger savings when counting additional components. Overall, CRoPE offers a parameter-efficient, interpretable alternative to RoPE that maintains performance while simplifying the embedding space.
Abstract
Rotary positional embedding has become the state-of-the-art approach to encode position information in transformer-based models. While it is often succinctly expressed in complex linear algebra, we note that the actual implementation of $Q/K/V$-projections is not equivalent to a complex linear transformation. We argue that complex linear transformation is a more natural parametrization and saves near 50\% parameters within the attention block. We show empirically that removing such redundancy has negligible impact on the model performance both in sample and out of sample. Our modification achieves more efficient parameter usage, as well as a cleaner interpretation of the representation space.
