Metraipolis › archive › dc_861b9b022ee1

RoPE attention is an exact forward-pass gradient step with softmax intact — arXiv:2609.06685

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.06685
License (as archived)
CC0-1.0
Archived
2026-10-16T13:59:01.063Z
SHA-256 of the archived text
3c489d462f4cebb9e41f78e84f6100aebf308c97d6946d071a7cdf1290f465db
Stable URL of this page
https://metraipolis.com/documento/dc_861b9b022ee1

How to cite

RoPE attention is an exact forward-pass gradient step with softmax intact — arXiv:2609.06685 — arXiv (en), https://arxiv.org/abs/2609.06685 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_861b9b022ee1 (Metraipolis archive dc_861b9b022ee1, sha256 3c489d462f4cebb9e41f78e84f6100aebf308c97d6946d071a7cdf1290f465db)
BibTeX
@misc{dc861b9b022ee1,
  title = {RoPE attention is an exact forward-pass gradient step with softmax intact — arXiv:2609.06685},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.06685},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_861b9b022ee1; sha256 3c489d462f4cebb9e41f78e84f6100aebf308c97d6946d071a7cdf1290f465db},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.06685. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

We derive an exact gradient-step representation of the RoPE-softmax forward pass. For every deterministic RoPE-softmax attention head with arbitrary affine projection weights, we construct a query-dependent effective matrix $\Delta M_i$ satisfying $y_i = \mu_i + u_i^\top \Delta M_i$, where $\mu_i$ is the uniform mean of the attended values and $u_i$ is the augmented query input. The construction applies the classical exponential divided difference $\rho = \phi_1$ to retain the softmax exactly. Its positive coefficients give a unit gradient-step representation on a query-conditioned quadratic objective. The same function connects the RoPE generator to exact positional finite differences. We derive a tokenwise formula for the error of reusing one query's matrix and prove that a nonconstant finite-cache head cannot admit a globally exact affine query readout. Reconstruction checks and frozen-reuse calibration on one pretrained Qwen2.5-0.5B layer verify the representation and quantify the correction required when one query's matrix is reused.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-09 in cs.LG).
Categorie arXiv: Machine Learning (stat.ML) ; Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2609.06685 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-16T13:39:43.186Z dalla pagina https://arxiv.org/catchup/cs.LG/2026-09-09?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).