{
  "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).",
  "body": "",
  "notes": "Discovery: @hooshaaii (Hoosha) X thread 2026-10-04 11:07 PM ET (https://x.com/hooshaaii/status/2106944242949996973), 830 views; 3-part self-thread with paper figures (PreNorm vs AttnRes vs Block AttnRes diagrams, pipeline-communication block-summary figure) | 36 authors, technical report format | License: CC BY-NC-ND 4.0",
  "url": "https://arxiv.org/abs/2603.15031",
  "links": [],
  "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"
  ],
  "topics": "residual connections, PreNorm dilution, attention residuals, gradient flow, pipeline parallelism, Kimi Linear",
  "venue": "arXiv 2603.15031 [cs.CL], submitted 16 Mar 2026, technical report",
  "publisher": "",
  "source": "x",
  "language": "en",
  "access": "free",
  "license": "",
  "published_year": 2026,
  "added_at": "2026-10-05T00:00:00.000Z",
  "verified_at": "2026-10-05T00:00:00.000Z",
  "attrs": {},
  "enrichment": {},
  "enriched_at": null,
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "random-papers",
    "legacy_paper_id": "1562"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-05T06:02:48.765Z",
  "updated_at": "2026-10-05T06:02:48.765Z",
  "page": "https://papers.projxon.ai/entries/1254",
  "markdown": "https://papers.projxon.ai/entries/1254.md",
  "api": "https://papers.projxon.ai/api/entries/1254",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 789,
      "kind": "paper",
      "title": "DepthBench: Measuring How Residual Connections Enable More Computational Depth",
      "summary": "Introduces DepthBench, a controlled benchmark for studying computational depth across architectures, proposing effective computational depth as a new scaling axis. Systematically varies the width-depth aspect ratio (d_model/n_layer) from shallow-wide to deep-narrow shapes while keeping model size and the pretraining recipe fixed, across 10 representative architectures. Finds the benefit of allocating capacity to depth is strongly architecture-dependent: standard Pre-LN and most norm- and scaling-based variants (e.g. LayerNorm Scaling) give little benefit and can even degrade as models get deeper and narrower, whereas HC and Full AttnRes improve consistently even at extreme deep shapes. Gains extend beyond pretraining loss into improved domain-specific performance and effective computation; layer-level analyses link HC/Full AttnRes gains to more effective utilization of additional layers via distinct mechanisms. Concludes residual-connection design determines whether depth can serve as a meaningful scaling axis.",
      "url": "https://arxiv.org/abs/2609.32534",
      "authors": [
        "Keyu Wang",
        "Yangyi Huang",
        "Jiale Kang",
        "David Gonzalez-Martinez",
        "Weiyang Liu",
        "Shiwei Liu"
      ],
      "tags": [
        "architecture",
        "scaling-laws",
        "depth",
        "residual-connections",
        "mhc",
        "attnres",
        "benchmark",
        "transformers"
      ],
      "venue": "arXiv",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-09-29T00: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/789",
      "markdown": "https://papers.projxon.ai/entries/789.md",
      "api": "https://papers.projxon.ai/api/entries/789"
    },
    {
      "id": 707,
      "kind": "paper",
      "title": "MoBA: Mixture of Block Attention for Long-Context LLMs",
      "summary": "Proposes Mixture of Block Attention (MoBA), which applies mixture-of-experts principles to the attention mechanism: the model learns where to attend across blocks rather than using predefined sparse patterns like sink or window attention. It claims superior long-context performance with seamless switching between full and sparse attention, and has been deployed for Kimi's long-context serving.",
      "url": "https://arxiv.org/abs/2502.13189",
      "authors": [
        "Enzhe Lu",
        "Zhejun Jiang",
        "Jingyuan Liu",
        "Yulun Du",
        "Tao Jiang",
        "Chao Hong",
        "Shaowei Liu",
        "Weiran He",
        "Enming Yuan",
        "Yuzhi Wang",
        "Zhiqi Huang",
        "Huan Yuan",
        "Suting Xu",
        "Xinran Xu",
        "Guokun Lai",
        "Yanru Chen",
        "Huabin Zheng",
        "Junjie Yan",
        "Jianlin Su",
        "Yuxin Wu",
        "Neo Y. Zhang",
        "Zhilin Yang",
        "Xinyu Zhou",
        "Mingxing Zhang",
        "Jiezhong Qiu"
      ],
      "tags": [
        "attention",
        "long-context",
        "mixture-of-experts",
        "efficient-inference",
        "kimi"
      ],
      "venue": "arXiv (cs.LG)",
      "source": "arxiv",
      "license": "",
      "published_year": 2025,
      "added_at": "2026-09-29T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 215,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/707",
      "markdown": "https://papers.projxon.ai/entries/707.md",
      "api": "https://papers.projxon.ai/api/entries/707"
    },
    {
      "id": 838,
      "kind": "paper",
      "title": "Supercharging Olmo-core for Efficient and Scalable MoE Training",
      "summary": "Supercharging Olmo-core for Efficient and Scalable MoE Training (Allen AI technical report, October 2026, 168 pages; no arXiv listing at research time, lives only on allenai.org; no license notice visible on the report). Olmo-core 3 is a redesigned open MoE training stack, moving from Fully Sharded Data Parallel (FSDP) -- which gathered/resharded weights per microbatch -- to Distributed Data Parallel (DDP) + Expert Parallelism (EP) + Pipeline Parallelism (PP) + a distributed optimizer + activation recompute. Experts stay resident on GPUs and training data is routed to them, avoiding repeated weight gathering. Key techniques: NVSHMEM-based rowwise EP (tokens written directly into expert buffers), GPU-resident routing metadata, device-scheduled grouped GEMMs, and MXFP8 low-precision formats. Results on NVL8 B300 nodes: configurations from 12.9B to 1.2T total parameters on up to 512 GPUs; 858 useful-model TFLOP/s/GPU at 1.2T with MXFP8 and per-layer recompute; an experimental DeepEP v2 backend capacity test reached 2.38T total parameters. ~2.7x throughput vs Olmo-core 2's FSDP stack (47B-param MoE on 8x B300: ~52,000 vs 19,400 tokens/sec/GPU); expert pool grown 8->128 with only 4 experts/token and <5% throughput loss; ~21% higher throughput with MXFP8 vs BF16 (peak memory 103->95 GiB). Failure-mode studies include 'token gerrymandering' (the MoE router learns to hack the load-balancing loss so the score improves while the actual workload gets less balanced) and a finding that overlapping communication with computation can slow the overlapped kernels by more than it hides. Code released as Olmo-core v3.0.0 (Apache-2.0). Designed to scale into the trillion-parameter range; the next-generation Olmo will use an MoE architecture.",
      "url": "https://allenai.org/papers/olmocore3",
      "authors": [
        "Tianhua Tao",
        "Akshita Bhagia",
        "Dirk Groeneveld",
        "Pete Walsh",
        "Tyler Romero",
        "Yashas Samaga",
        "Jacob Morrison",
        "Iz Beltagy",
        "Taira Anderson",
        "Noah A. Smith",
        "Hannaneh Hajishirzi (Allen Institute for AI",
        "University of Washington)"
      ],
      "tags": [
        "moe-training",
        "expert-parallelism",
        "distributed-training",
        "nvshmem",
        "mxfp8",
        "grouped-gemm",
        "load-balancing",
        "token-gerrymandering",
        "olmo",
        "open-infrastructure",
        "b300",
        "pipeline-parallelism"
      ],
      "venue": "Allen AI technical report, 2026-10",
      "source": "paper",
      "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": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/838",
      "markdown": "https://papers.projxon.ai/entries/838.md",
      "api": "https://papers.projxon.ai/api/entries/838"
    },
    {
      "id": 649,
      "kind": "code",
      "title": "MoonEP: A Perfectly Balanced Expert Parallelism Library via Dynamic Redundant Experts",
      "summary": "Moonshot MIT EP communication library (Kimi K3 Open Day, with FlashKDA and AgentEnv). Hard invariant: every EP rank receives exactly S×K tokens regardless of router skew. An on-GPU planner duplicates a small set of experts from the current routing, prefetches their weights, and reduces duplicated grads back to home ranks. Zero-copy permute/unpermute writes tokens straight into expert-grouped remote buffers; static S×K shapes drop per-layer host sync and stop the fragmentation that OOMs DeepEP under imbalance. On H20 EP=8 vs DeepEP v2, comm time stays nearly flat as maxvio grows while DeepEP degrades, and e2e iteration time stays flat. Training prefetch slots B=E/R; inference can use B=3–4. NVIDIA GPU; Zhenwu PPU listed as coming. Cite moonep2026.",
      "url": "https://github.com/MoonshotAI/MoonEP",
      "authors": [
        "Yutian Chen",
        "Cong Li",
        "Yucheng Wang",
        "Ming Wei"
      ],
      "tags": [
        "moonep",
        "moe",
        "expert-parallelism",
        "moonshot",
        "kimi",
        "deepep",
        "x"
      ],
      "venue": "Moonshot AI (GitHub)",
      "source": "github",
      "license": "MIT",
      "published_year": 2026,
      "added_at": "2026-08-14T19:25:00.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": 1158,
      "page": "https://papers.projxon.ai/entries/649",
      "markdown": "https://papers.projxon.ai/entries/649.md",
      "api": "https://papers.projxon.ai/api/entries/649"
    },
    {
      "id": 1200,
      "kind": "paper",
      "title": "Gumbel Straight Flow: Distilling Autoregressive Models into One-step Flow Maps",
      "summary": "Can autoregressive language models be used as teachers for flow-map parallel samplers? Yes — via the Gumbel-max trick: sampling from an AR model is argmax(logits + Gumbel noise) per token. The paper defines a flow matching process directly over this noise-token coupling and theoretically demonstrates the induced coupling between Gumbel noise and one-hot token sequences yields non-intersecting linear paths from noise to sequence representations. They then distill into a bidirectional flow-map student: the AR teacher supervises the velocity along the path (tangent condition), and a consistency loss (flow map semigroup objective) trains few-step jumps. At inference, GSF maps noise to a full token sequence in parallel in just 1-4 steps. Across OpenWebText, LM1B, TinyStories, and XSum, GSF outperforms several few-step baselines (FMLM, GD, discrete diffusion) establishing a strong compute-quality Pareto frontier, and outperforms current few-step language generation baselines on pretraining and downstream tasks. Comparison table: GSF is the only method with all of parallel generation, deterministic pairing, and straight paths.",
      "url": "https://arxiv.org/abs/2610.00497",
      "authors": [
        "Yeongmin Kim",
        "Arnaud Doucet",
        "Andrew Campbell",
        "Valentin De Bortoli",
        "Thomas Mensink",
        "David Ruhe"
      ],
      "tags": [
        "gumbel-straight-flow",
        "flow-matching",
        "distillation",
        "autoregressive-teacher",
        "gumbel-max",
        "parallel-generation",
        "few-step-sampling"
      ],
      "venue": "arXiv:2610.00497 (cs.LG), submitted 30 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/1200",
      "markdown": "https://papers.projxon.ai/entries/1200.md",
      "api": "https://papers.projxon.ai/api/entries/1200"
    },
    {
      "id": 1244,
      "kind": "paper",
      "title": "Triadic Linear Attention: Three-Dimensional Recurrent States for Long-Context Sequence Modeling",
      "summary": "Generalizes linear attention from a matrix state to a third-order tensor state: writes the triadic outer product of a key, a second key, and a value (k tensor k' tensor v) into S_t in R^{d x E x d}, and reads by contracting both key axes with two queries. An E-dimensional second key yields an E-fold state-size increase while adding only two projections (negligible parameter overhead; E=16 gives 16x capacity at 1.08x non-embedding params in MQAR tests). Compatible with data-dependent forgetting (per-slice decay gates), the delta rule applied jointly to both keys (removing the value stored under the key pair), and chunkwise-parallel training via custom CuTe kernels that tile the per-head state along the value axis (blocks of 32 columns, all E slices held in registers) so no SM holds the full tensor. Applied to Gated DeltaNet and scalar-gated linear attention, it substantially improves long-context LM and recall, outperforming alternatives that enlarge state via wider heads/values, more heads, or multiple value heads per key. A pretrained linear-attention model can be converted post hoc to its triadic form during long-context extension. Training overhead over vanilla GDN (custom kernels, H100, 1.3B, 2k-64k tokens): 9-11% (E=2), 14-15% (E=4), 28-30% (E=8); E=8 is 3% slower than a Transformer at 4k but faster beyond, reaching 5.1x faster at 64k.",
      "url": "https://arxiv.org/abs/2609.36529",
      "authors": [
        "Oliver Sieberling",
        "Bharat Runwal",
        "David Jin",
        "Ryan Chin",
        "Rameswar Panda",
        "Yoon Kim"
      ],
      "tags": [
        "triadic-linear-attention",
        "tensor-state",
        "gated-deltanet",
        "recall",
        "long-context",
        "chunkwise-parallel",
        "cute-kernels"
      ],
      "venue": "arXiv 2609.36529 (cs.LG/cs.CL), submitted 29 Sep 2026, preprint",
      "source": "x",
      "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/1244",
      "markdown": "https://papers.projxon.ai/entries/1244.md",
      "api": "https://papers.projxon.ai/api/entries/1244"
    }
  ]
}
