Metraipolis › archive › dc_d077bdf47e5f

Attention, Dynamic Wave and Hybrid Sequence Mixers in Language Models — arXiv:2610.39854

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.39854
License (as archived)
CC0-1.0
Archived
2026-10-31T06:17:24.182Z
SHA-256 of the archived text
92447a68ced1cf59ee6a6aff7367794dd3de7b506e8df5c7dbb02fd4f85369af
Stable URL of this page
https://metraipolis.com/documento/dc_d077bdf47e5f

How to cite

Attention, Dynamic Wave and Hybrid Sequence Mixers in Language Models — arXiv:2610.39854 — arXiv (en), https://arxiv.org/abs/2610.39854 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_d077bdf47e5f (Metraipolis archive dc_d077bdf47e5f, sha256 92447a68ced1cf59ee6a6aff7367794dd3de7b506e8df5c7dbb02fd4f85369af)
BibTeX
@misc{dcd077bdf47e5f,
  title = {Attention, Dynamic Wave and Hybrid Sequence Mixers in Language Models — arXiv:2610.39854},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.39854},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_d077bdf47e5f; sha256 92447a68ced1cf59ee6a6aff7367794dd3de7b506e8df5c7dbb02fd4f85369af},
  year = {2026}
}

Archived text

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

Large Language Models (LLMs) rely on Multi-Head Attention (MHA) for sequence modeling, but scaling to long contexts is constrained by the quadratic cost of attention, motivating sub-quadratic recurrent alternatives. This paper formalizes a Dynamic Wave recurrent layer, based on input-dependent exponential damping and cosine phase modulation, and evaluates three 10.94M-parameter configurations (Pure Transformer, Pure Wave, and Hybrid Wave-Attention) on TinyStories under perplexity, latency, throughput and peak VRAM profiling up to 4096 tokens. The Hybrid configuration reaches the best perplexity, 5.95 on the full held-out split against 6.93 for the Transformer and 7.26 for Pure Wave. The efficiency picture, however, is governed by implementation rather than by architecture. Against an unfused attention baseline, Pure Wave uses 78.7% less peak VRAM at a 4096-token context (1404.3 MB vs. 6601.6 MB); against a fused scaled-dot-product attention kernel the same comparison yields no advantage at all (1404.3 MB vs. 1403.6 MB), and in training mode Pure Wave is 8.3% more expensive than the Transformer. Likewise, hoisting elementwise terms out of the recurrence loop speeds the layer up 2.53-fold with no custom kernel, reducing its latency gap to attention from 2.48-fold to 1.12-fold. A hybrid stack is found to inherit the cost of its more expensive mixer rather than the advantage of its cheaper one, its peak VRAM matching the Pure Transformer to within 0.1%. A closed-form memory model reproduces these measurements and predicts the context length beyond which attention overtakes the vocabulary projection. The findings indicate that reported efficiency gains for recurrent attention replacements must be stated relative to a named attention backend and a named implementation, and that hybridization is best justified on quality grounds.

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.CL, nuovi lavori del giorno).
Categorie arXiv: Machine Learning (cs.LG) ; Computation and Language (cs.CL).
Pagina del lavoro: https://arxiv.org/abs/2610.39854 — 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-31T06:07:23.416Z dalla pagina https://arxiv.org/list/cs.CL/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).