{
  "id": 1347,
  "kind": "paper",
  "title": "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.",
  "body": "",
  "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.",
  "url": "https://arxiv.org/abs/2610.13630",
  "links": [],
  "authors": [
    "Xiaohan Qin",
    "Xiangdong Zhang",
    "Tuo Dai",
    "Sunan Zou",
    "Huaijin Wu",
    "Yebin Yang",
    "Zhuo Xia",
    "Lin Yao",
    "Yuliang Liu",
    "Junchi Yan (Shanghai Jiao Tong University",
    "Shanghai Innovation Institute",
    "Dots Studio",
    "Xiaohongshu Inc.",
    "Peking University",
    "Junchi Yan corresponding)"
  ],
  "tags": [],
  "topics": "",
  "venue": "arXiv:2610.13630 (cs.CL)",
  "publisher": "",
  "source": "arxiv",
  "language": "en",
  "access": "free",
  "license": "",
  "published_year": 2026,
  "added_at": "2026-10-12T00:00:00.000Z",
  "verified_at": "2026-10-12T00:00:00.000Z",
  "attrs": {},
  "enrichment": {},
  "enriched_at": null,
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "rosinality",
    "legacy_paper_id": "1654"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-11-01T12:51:56.243Z",
  "updated_at": "2026-11-01T12:51:56.243Z",
  "page": "https://papers.projxon.ai/entries/1347",
  "markdown": "https://papers.projxon.ai/entries/1347.md",
  "api": "https://papers.projxon.ai/api/entries/1347",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 671,
      "kind": "paper",
      "title": "Multi-Stream LLMs: Unblocking Language Models with Parallel Streams of Thoughts, Inputs and Outputs",
      "summary": "MPI-IS/Tübingen/ETH (cite Su et al.; arXiv 2605.12460). Instruction-tune for H parallel streams with intra-stream and cross-stream causality (attend to all other streams at t'<t). Interleaved packing + per-stream RoPE/stream embeddings; empty \"-\" slots masked with no KV. Synthetic wait-k / tabular stream data with causal verification. On Qwen3-1.7B/4B, overlapping read+solve drops TNFT to 0 and cuts delay while preserving GSM8K/MATH/LogicNLI/SQuAD accuracy; adding an audit stream beats sequential reflection at lower MSL. Stream isolation lowers prompt-injection ASR (StruQ-ID −33+ pp) without adversarial training. Extra internal streams raise eval-awareness/sub-vocalization and monitor accuracy vs same-family CoT (Qwen3.5-27B 10-stream). Small SFT vs production post-training; dense cross-stream attention.",
      "url": "https://arxiv.org/abs/2605.12460",
      "authors": [
        "Guinan Su",
        "Yanwu Yang",
        "Xueyan Li",
        "Jonas Geiping"
      ],
      "tags": [
        "multi-stream",
        "parallel-decoding",
        "instruction-tuning",
        "prompt-injection",
        "monitorability",
        "geiping"
      ],
      "venue": "arXiv / MPI-IS / ELLIS Tübingen",
      "source": "arxiv",
      "license": "arXiv perpetual non-exclusive license 1.0",
      "published_year": 2026,
      "added_at": "2026-08-14T20:26:00.000Z",
      "has_dataset_profile": false,
      "license_class": "other",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 2,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/671",
      "markdown": "https://papers.projxon.ai/entries/671.md",
      "api": "https://papers.projxon.ai/api/entries/671"
    },
    {
      "id": 1254,
      "kind": "paper",
      "title": "Attention Residuals",
      "summary": "Replaces standard PreNorm residual accumulation (fixed unit weights over all layer outputs, which causes uncontrolled hidden-state growth with depth and dilutes each layer's contribution) with Attention Residuals (AttnRes): each layer selectively aggregates earlier representations via learned, input-dependent softmax attention over preceding layer outputs. Block AttnRes makes this practical at scale: partitions layers into blocks and attends over block-level representations, cutting memory from O(Ld) to O(Nd) while preserving most gains; cache-based pipeline communication and a two-phase computation strategy make it a drop-in replacement for standard residuals with minimal overhead. Scaling-law experiments show consistent improvement across sizes; ablations validate content-dependent depth-wise selection. Integrated into the Kimi Linear architecture (48B total / 3B activated) pre-trained on 1.4T tokens, AttnRes yields more uniform output magnitudes and gradient distribution across depth and improves downstream performance on all evaluated tasks (reasoning, math, coding).",
      "url": "https://arxiv.org/abs/2603.15031",
      "authors": [
        "Kimi Team (Guangyu Chen",
        "Yu Zhang",
        "Jianlin Su",
        "Weixin Xu",
        "Siyuan Pan",
        "Yaoyu Wang",
        "Yucheng Wang",
        "Guanduo Chen",
        "Bohong Yin",
        "Yutian Chen",
        "Junjie Yan",
        "Ming Wei",
        "Y. Zhang",
        "Fanqing Meng",
        "Chao Hong",
        "Xiaotong Xie",
        "Shaowei Liu",
        "Enzhe Lu",
        "Yunpeng Tai",
        "Yanru Chen",
        "Xin Men",
        "Haiqing Guo",
        "Y. Charles",
        "Haoyu Lu",
        "Lin Sui",
        "Jinguo Zhu",
        "Zaida Zhou",
        "Weiran He",
        "Weixiao Huang",
        "Xinran Xu",
        "Yuzhi Wang",
        "Guokun Lai",
        "Yulun Du",
        "Yuxin Wu",
        "Zhilin Yang",
        "Xinyu Zhou)"
      ],
      "tags": [
        "residual-connections",
        "prenorm",
        "attention-residuals",
        "gradient-flow",
        "kimi",
        "block-attention",
        "pipeline-parallelism"
      ],
      "venue": "arXiv 2603.15031 [cs.CL], submitted 16 Mar 2026, technical report",
      "source": "x",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-05T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1254",
      "markdown": "https://papers.projxon.ai/entries/1254.md",
      "api": "https://papers.projxon.ai/api/entries/1254"
    },
    {
      "id": 1199,
      "kind": "paper",
      "title": "Adaptive Reward Routing: Dynamic Multi-Reward Optimization for Joint Audio-Video Diffusion via Forward-Process RL",
      "summary": "Multi-reward RL can improve joint audio-video diffusion models along complementary objectives (modality-specific quality, cross-modal semantic alignment, temporal synchronization), but its effectiveness depends on two quantities that change during training: where reward-driven updates should act, and how competing rewards should be combined. Fixed routing and reward weights fail to track evolving model functions. Adaptive Reward Routing jointly adapts update locations and reward coordination during forward-process RL (DiffusionNFT): (i) Cross-Modal Influence-Guided Routing — bidirectional cross-attention responses as an efficient proxy for evolving cross-modal influence, dynamically reweighting token-aware losses and scaling gradients across cross-modal layers without additional model interventions; (ii) Preference-Preserving Modality-Aware Reweighting — predefined weights kept as preference priors, with branch-specific reward-gradient interactions as residual corrections after warm-up, resolving evolving conflicts without letting dominant rewards suppress weak but essential objectives. Consistent improvements in modality quality, semantic consistency, and audio-video synchronization over strong RL baselines; ablations validate the complementary benefits.",
      "url": "https://arxiv.org/abs/2609.37200",
      "authors": [
        "Songlin Yang",
        "Xiaotong Zhao",
        "Jiacheng Zhang",
        "Zhe Wang",
        "Toyota Li",
        "Eric Liu",
        "Alan Zhao",
        "Anyi Rao"
      ],
      "tags": [
        "adaptive-reward-routing",
        "diffusion",
        "audio-video-generation",
        "multi-reward-rl",
        "cross-modal-attention",
        "diffusionnft"
      ],
      "venue": "arXiv:2609.37200 (cs.CV), submitted 29 Sep 2026",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-03T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1199",
      "markdown": "https://papers.projxon.ai/entries/1199.md",
      "api": "https://papers.projxon.ai/api/entries/1199"
    },
    {
      "id": 1236,
      "kind": "paper",
      "title": "Write Back the Δ: Revisiting the Same Tokens with Fresh Representations",
      "summary": "Inference-time feedback that recycles endogenously produced computation: feeding a Transformer's full deep state back into shallow layers saturates fast (deep states are collinear copies of early residuals), but routing the depth increment Δ = z_deep − z_shallow isolates the newly accumulated computation and scales cleanly up to 6 edges. ReFlux frames depth feedback as a learnable directed-acyclic graph over layer pairs, with a tiny 2.2M-param router MLP predicting sparse gates and amplitudes over a frozen backbone — beating a 2.9M rank-8 LoRA adapter on C4 perplexity. Post-write norm projection avoids 'norm shock' on Pre-LN models like Qwen 3 (flipped Qwen3-4B from negative to +6.15% gain). Two execution flavors: sync (2 passes, 1.9x latency) and streaming (single pass, injects cached Δ(t−1) into token t — 0 extra backbone FLOPs, same KV cache, 1.02–1.08x decode latency, >80% of sync gains). Streaming serializes prefill (510x slowdown on 1,107-token prompts), so serving needs parallel prefill. Downstream: +2.1–2.3 accuracy points overall, +4.7 on multi-hop reasoning (2WikiMultiHopQA 24.6→29.7, HotpotQA 42.3→47.0); with CoT on GSM8K hits 92.0 while cutting output length 31% (1,002→691 tokens). Gemma3-4B C4 PPL 23.69→21.85 (full state only 22.79). Relevant to the user's LLM training-run and agent-harness work; related cluster: looped/recurrent models (670, 952).",
      "url": "https://arxiv.org/abs/2609.32457",
      "authors": [
        "Wencheng Ye",
        "Anning Hu",
        "Xiangdong Zhang",
        "Tianyi Wang",
        "Yikang Li",
        "Hengyu Jin",
        "Bing Li",
        "Junchi Yan"
      ],
      "tags": [
        "reflux",
        "depth-feedback",
        "looped-models",
        "residual-stream",
        "perplexity",
        "multi-hop-reasoning",
        "inference-efficiency",
        "lora"
      ],
      "venue": "arXiv:2609.32457 (cs.LG), submitted 26 Sep 2026",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-04T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1236",
      "markdown": "https://papers.projxon.ai/entries/1236.md",
      "api": "https://papers.projxon.ai/api/entries/1236"
    },
    {
      "id": 1216,
      "kind": "paper",
      "title": "You Need Better Attention Priors",
      "summary": "Generalizes attention through the lens of Entropic Optimal Transport (EOT): standard attention corresponds to a transport problem regularized by an implicit uniform prior. GOAT (Generalized Optimal Transport Attention with Trainable priors) replaces that naive assumption with a learnable, continuous prior that decouples spatial geometry from token semantics — standard positional encodings (e.g., RoPE) entangle position with meaning and corrupt semantic representations when forced to handle structural biases like attention sinks. The prior maintains full compatibility with optimized kernels like FlashAttention (zero compute overhead). GOAT also provides an EOT-based explanation of attention sinks and a solution that avoids standard attention's representational trade-offs. By absorbing spatial information into the core attention computation, GOAT learns an extrapolatable prior combining the flexibility of learned positional embeddings with the length generalization of fixed encodings — strong long-context extrapolation beyond training length.",
      "url": "https://arxiv.org/abs/2601.15380",
      "authors": [
        "Elon Litman",
        "Gabe Guo"
      ],
      "tags": [
        "goat",
        "attention-priors",
        "entropic-optimal-transport",
        "rope",
        "attention-sinks",
        "long-context-extrapolation",
        "flashattention"
      ],
      "venue": "arXiv:2601.15380 (cs.LG), submitted 21 Jan 2026, v2 23 Aug 2026",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-03T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1216",
      "markdown": "https://papers.projxon.ai/entries/1216.md",
      "api": "https://papers.projxon.ai/api/entries/1216"
    },
    {
      "id": 840,
      "kind": "paper",
      "title": "How Local Mixing Encodes Relative Position in Global NoPE Attention",
      "summary": "Explains how hybrid models with local mixing layers (sliding window attention, gated linear attention) and global NoPE attention implicitly encode relative position: local layers induce a recency bias in the residual stream that propagates to and is selected by the global attention logits. Supported by theory and experiments on randomly initialized and trained networks; recency bias persists across long sequences unlike causal-mask-only NoPE, suggesting indefinite length extrapolation.",
      "url": "https://arxiv.org/abs/2609.38109",
      "authors": [
        "Cutter Dawes",
        "Nick Alonso",
        "Tom Figliolia",
        "Beren Millidge"
      ],
      "tags": [
        "nope",
        "positional-encoding",
        "sliding-window-attention",
        "recency-bias",
        "hybrid-models",
        "length-extrapolation",
        "kimi-delta-attention"
      ],
      "venue": "arXiv:2609.38109 (cs.CL), submitted 29 Sep 2026",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-01T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/840",
      "markdown": "https://papers.projxon.ai/entries/840.md",
      "api": "https://papers.projxon.ai/api/entries/840"
    }
  ]
}
