← All entries
Paper2026#1347

Multi-Stream Attention Residuals

Summary

Attention Residuals (AttnRes) replaces fixed residual accumulation with learned depth-wise softmax retrieval over earlier layer outputs — single-head softmax attention along the depth axis. Multi-Stream Attention Residuals (MSAR) generalizes this to multi-head depth attention. The obstacle: in depth attention the retrieved value is the hidden state itself, so AttnRes's channel-splitting into heads degraded performance, and Hyper-Connection-style write-back candidates are near-identical scalar reweightings with little cross-head diversity. MSAR instead draws diversity from the sequence axis: a small set of multi-scale causal depthwise convolutions applied to each layer output produces m (default 4) full-dimensional streams whose receptive fields encode different local-context scales; each stream performs its own softmax retrieval over depth, and the retrieved states are fused by a lightweight H^pre-style adaptive mixer into the single-stream layer input. Because all streams are deterministically regenerated from the single stored residual source on demand, persistent storage and pipeline communication stay O(Nd) — matching AttnRes — and MSAR remains compatible with AttnRes block mode (~8 blocks by default), cache-based pipeline communication, and two-phase inference. Overhead at 28B MoE: +0.5% training FLOPs, +0.3% activated parameters. Across all 12 downstream benchmarks MSAR beats Vanilla, mHC, and AttnRes at both scales: 18B MoE average 45.7 vs 37.5 Vanilla (+8.2), 41.7 mHC (+4.0), 41.8 AttnRes (+3.9), with final training loss 1.750 vs 1.799/1.776/1.769; 28B MoE average 52.4 vs 44.6 (+7.8), 47.4 (+5.0), 49.4 (+3.0). Scaling-law fits across four scales give an iso-loss compute speedup of 1.58× over the standard residual baseline, vs 1.35× for AttnRes and 1.30× for mHC. Ablations on a 10B MoE (Pile loss): MSAR 1.847 vs AttnRes 1.867, mHC 1.871, and a direct AttnRes+mHC hybrid 1.861; removing the convolutions (identical replicated streams with independent queries) raises loss to 1.862, showing contextual source diversity — not merely multiple retrieval heads — carries the gain; two streams capture most of the improvement and eight add little.

Venue
arXiv:2610.13630 (cs.CL)
Source
arxiv
Access
free
Language
en
Added
Oct 12, 2026
Verified
Oct 12, 2026
Found via
#rosinality

Research notes

  • Discovery: @rosinality X post 2026-10-12 ~7:22 AM ET (~2.8K views, 70 likes, 61 bookmarks). Direct continuation of catalog 1562 (Attention Residuals, arXiv 2603.15031 — the method MSAR extends; AttnRes itself was validated at trillion-parameter scale in Kimi K3 per the paper's related work) and the Hyper-Connections line (1540 Hyper-Connection Factory; mHC is a primary baseline here). Relevance to the user's pretraining work: residual-stream design is the depth-scaling lever for his own stacks — a 1.58× iso-loss compute speedup over standard residuals at 18B/28B MoE scale, at +0.5% FLOPs, is a concrete architecture candidate, and the mechanism is orthogonal to his 3:1 SWA:full-attention hybrid (it changes how layers read depth history, not the attention pattern); any transfer claim to his stack is extrapolation unless measured. The O(Nd) on-demand stream expansion is also a useful systems pattern for pipeline-parallel training memory. Caveats: results are the authors' own pre-training runs (no independent reproduction); benchmark suite is knowledge/reasoning/math/code averages from OpenCompass-style evals; code repo listed in the paper returned 404 at catalog time, so no code verification was possible. Re-share: @arXivBangers post 2026-10-12 ~2:11 PM ET (status 2109708477874762059) highlighted the 1.58× iso-loss speedup figure — same paper, second discovery channel. Re-share: @alessio__serra (Aleph Alpha pre-training) post 2026-10-13 (status 2109961343940079816), "if AttnRes is attention rotated 90°, why not make it multi-head?" — same paper, third discovery channel.
  • License: CC BY 4.0 (paper)
  • Code: github.com/jianke0604/MSAR is live as of 2026-10-20 (created 2026-10-08, 37 stars, single commit) but is a technical-report repo only — assets/ + paper/, no code, no LICENSE file; no weights announced.

Similar entries