Lune

ICLR2026Top-tier venue

Group Representational Position Encoding

Yifan Zhang, Zixiang Chen, Yifeng Liu, Zhen Qin, Rina Hughes, Kangping Xu, Yang Yuan, Quanquan Gu, Andrew C. Yao

2026Year
5Citations
1Top-tier citations

Abstract

We present GRAPE (Group Representational Position Encoding), a unified framework for positional encoding based on group actions. GRAPE unifies two families of mechanisms: (i) multiplicative rotations (Multiplicative GRAPE) in SO⁡(d)\operatorname{SO}(d) and (ii) additive logit biases (Additive GRAPE) arising from unipotent actions in the general linear group GL\mathrm{GL}. In Multiplicative GRAPE, a position n∈Zn \in \mathbb{Z} (or t∈Rt \in \mathbb{R}) acts as G(n)=exp⁡(n ω L)\mathbf{G}(n) = \exp(n \, \omega \, \mathbf{L}) with a rank-2 skew-symmetric generator L∈Rd×d\mathbf{L} \in \mathbb{R}^{d \times d}, yielding a relative, compositional, norm-preserving map with a closed-form matrix exponential. RoPE is recovered exactly when the d/2d/2 planes correspond to canonical coordinate pairs with a log-uniform spectrum. Learned commuting subspaces and compact non-commuting mixtures strictly extend this geometry to capture cross-subspace feature coupling at O(d)O(d) and O(rd)O(r d) cost per head, respectively. In Additive GRAPE, additive logits arise from rank-1 (or low-rank) unipotent actions, recovering ALiBi and the Forgetting Transformer (FoX) as exact special cases while preserving an exact relative law and streaming cacheability. Overall, GRAPE provides a principled design space for positional geometry in long-context models, subsuming RoPE and ALiBi as special cases. Project page: https://github.com/model-architectures/GRAPE.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 295be7b6-03c8-4f17-a028-ba6e7241f3c8

Cited by top-tier papers1

Ask how each one uses it

Builds on23

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines