Metraipolis › archive › dc_442ab6c0d7e5
ReWY: Faster Gradient Computation for Delta-Rule Attention Family — arXiv:2611.01940
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2611.01940
- License (as archived)
- CC0-1.0
- Archived
- 2026-11-03T18:26:50.815Z
- SHA-256 of the archived text
69577ace04430e1cd57f139a0b6313a3de4d2f1b8db4842443089a9c2d9cb8d6- Stable URL of this page
https://metraipolis.com/documento/dc_442ab6c0d7e5
How to cite
ReWY: Faster Gradient Computation for Delta-Rule Attention Family — arXiv:2611.01940 — arXiv (en), https://arxiv.org/abs/2611.01940 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_442ab6c0d7e5 (Metraipolis archive dc_442ab6c0d7e5, sha256 69577ace04430e1cd57f139a0b6313a3de4d2f1b8db4842443089a9c2d9cb8d6)
BibTeX
@misc{dc442ab6c0d7e5,
title = {ReWY: Faster Gradient Computation for Delta-Rule Attention Family — arXiv:2611.01940},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2611.01940},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_442ab6c0d7e5; sha256 69577ace04430e1cd57f139a0b6313a3de4d2f1b8db4842443089a9c2d9cb8d6},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2611.01940. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Delta-rule linear attention underlies language models such as Kimi Linear and Qwen3-Next. Chunkwise implementations expose matrix parallelism, but their backward passes compute unnecessary auxiliary adjoints. We present ReWY, an algebraic reformulation that reduces this work before optimizing accelerator execution. Differentiating the chunk correction as one triangular residual system eliminates the inverse adjoint and reduces seven local WY matrix products to three. Two complementary transformations expose further reuse: centered matrix contractions replace pairwise vector-gate processing, and scalar-gate reductions reuse key-gradient products instead of forming a key Gram matrix. These identities simplify backward computation for DeltaNet, GDN, KDA, and GDN2 while preserving the recurrence and gradients in exact arithmetic, without changing the architecture or training objective. We implement the reduced graph on GPUs and Ascend NPUs. Under matched recomputation and full-saving policies, precision-qualified six-shape comparisons with frozen FLA references yield 1.15-1.81$\times$ geometric-mean complete low-level backward speedups on NVIDIA GPUs. All four operators achieve 1.18-1.70$\times$ on H100 and H200 while retaining original FP32 working matrices. A separate public-autograd evaluation on Ascend 950DT, including gradient conversions, yields 1.09-2.89$\times$ under available matched policies. Paired ablations establish further ReWY gains after optimizing the complementary contractions. Complete-gradient checks validate the recorded operator cases; supplementary full-model backward measurements assess integration into community FLA models and a GDN2 layer port. Code and reproduction materials: this https URL . Tema degli esploratori: calcolo e infrastrutture (elenco arXiv cs.DC, nuovi lavori del giorno). Categorie arXiv: Machine Learning (cs.LG) ; Distributed, Parallel, and Cluster Computing (cs.DC). Pagina del lavoro: https://arxiv.org/abs/2611.01940 — 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-11-03T18:10:22.857Z dalla pagina https://arxiv.org/list/cs.DC/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).