{
  "id": 1381,
  "kind": "paper",
  "title": "xHC: Expanded Hyper-Connections",
  "summary": "xHC (Expanded Hyper-Connections) is the first Hyper-Connections-family method to achieve meaningful residual-stream expansion beyond N=4. Hyper-Connections expand the Transformer residual stream into N parallel streams (memory scaling beyond width and depth); mHC stabilized this at scale but stopped at N=4, where scaling mHC further gives diminishing gains at rising cost. xHC combines (1) temporal feature augmentation — MLP write-back enriched with multi-scale local features from causal depthwise convolutions (kernels {4,8,12}) over neighboring tokens — with (2) sparse residual-stream updates: dense read access to all N=16 streams, but residual mixing/write-back routed through only k=4 active streams (2 fixed + 2 routed), cutting residual-mapping generation cost from O(N³C) to O(k³C); mixing is Sinkhorn-normalized over active streams. On an 18B MoE, xHC improves the average downstream score over mHC by 4.0 points across 12 benchmarks (3.1 points at 28B, winning 11/12), with only modest extra training FLOPs; vanilla and mHC need 1.50× and 1.19× xHC's compute to reach the same loss; expanding N=4→16 improves xHC's loss by 0.012 at +4% FLOPs vs 0.006 at +32% for mHC. xHC-Flash (sharing full-state ops across sublayers) cuts per-sublayer memory traffic from 73.5C to 40C (Flash-4sub), near mHC's 34C at N=4, while retaining the gains. Fused Triton forward/backward kernels: mHC adds ~15% training overhead over baseline, xHC-Flash-4sub ~11% on top of mHC; inference prefill +11.4%/+12.9%. Author-open-sourced the training code (Megatron-LM based; xHC-Flash not included): github.com/aHapBean/xHC (Apache 2.0).",
  "body": "",
  "notes": "Discovery: Hudson shared Xiangdong Zhang's (@aHapBean, PhD student @sjtu1896, pre-training @dotsstudioai) X thread 2026-10-16 (2 posts, 546 views) announcing the training-code open-source: \"You can train your own xHC (Expanded Hyper-Connections) now!\" Relevance: core to his residual-connection line — xHC is the direct descendant of mHC, from the same author group (Zhang, Qin, Dai, Zou also authored MSAR, queued #11). The actionable part is the open-sourced Megatron-LM training code with fused Triton forward/backward kernels, plus baseline and mHC implementations, reference configs, and a public Dolma3 pipeline. The release is independently reproducible at 2.5B on public Dolma3; the 18B result is on private data (author-reported, not reproducible). xHC-Flash is not in the release. Pairs with: mHC (the method it extends), MSAR #11 / MGVR #15 / ScalingDepth #41 / DepthBench #870 (the residual-stream-expansion cluster; teortaxesTex's note on #870 that mHC saturates at 24 layers in a 400M experiment is the small-scale counterpart to this paper's diminishing-gains diagnosis). Caveats: paper license resolved 2026-10-16 as arXiv default nonexclusive-distrib; NeurIPS 2026 acceptance author-announced; release excludes xHC-Flash and uses 1,000-step reference budgets (token budgets undisclosed). Cluster: residual connections (mHC, AttnRes, KEEL, LNS, MoDA, MSAR, MGVR), memory scaling, pretraining efficiency. | License: paper license arXiv default nonexclusive-distribution (resolved 2026-10-16; abs page shows no CC/custom license marker); code Apache 2.0 (verified in repo README)",
  "url": "https://arxiv.org/abs/2607.14530",
  "links": [],
  "authors": [
    "Xiangdong Zhang",
    "Xiaohan Qin",
    "Sunan Zou",
    "Tuo Dai",
    "Xiaoming Shi",
    "Huaijin Wu",
    "Yebin Yang",
    "Zhuo Xia",
    "Shaofeng Zhang",
    "Lin Yao",
    "Yuliang Liu",
    "Yu Cheng",
    "Junchi Yan"
  ],
  "tags": [],
  "topics": "",
  "venue": "arXiv 2607.14530 (cs.LG, submitted 16 Jul 2026); NeurIPS 2026 accepted (per GitHub README badge — author-announced, verify in proceedings)",
  "publisher": "",
  "source": "arxiv",
  "language": "en",
  "access": "free",
  "license": "",
  "published_year": 2026,
  "added_at": "2026-10-16T00:00:00.000Z",
  "verified_at": "2026-10-16T00:00:00.000Z",
  "attrs": {},
  "enrichment": {},
  "enriched_at": null,
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "aHapBean",
    "legacy_paper_id": "1688"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-11-01T12:53:46.114Z",
  "updated_at": "2026-11-01T12:53:46.114Z",
  "page": "https://papers.projxon.ai/entries/1381",
  "markdown": "https://papers.projxon.ai/entries/1381.md",
  "api": "https://papers.projxon.ai/api/entries/1381",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 1231,
      "kind": "code",
      "title": "Hyper-Connection Factory",
      "summary": "Open-source repo with unified implementations of 11 residual-connection variants for decoder LLMs (HC, mHC, Frac, DenseFormer, MUDDFormer, LAuReL, AttnRes, MHAR, DAR) behind a single interface on one shared transformer body — same attention/MLP, init, data, optimizer, schedule, so differences are due to wiring alone. Trains with one recipe from 38M to 1.2B params at ~20 tokens/param on FineWeb-Edu (8xH100; checkpoints, configs, sweep scripts, logs, plots all in repo). Key result: what survives scale is dynamic, input-dependent mixing — MUDDFormer best at every size (Δ val loss vs pre-norm: -0.112 S / -0.070 M / -0.071 L / -0.061 XL); mHC and dynamic HC shrink smoothly but stay positive; static HC's gain fades at M then recovers at L with depth. Gotchas: plain MUDDFormer diverges at 24 layers (fixed by PrePostDANorm, previously only in the paper's JAX code); small-scale rankings don't transfer (mHC looked worse than pre-norm on laptop but is among the best on GPU); fancy variants train at ~0.5x pre-norm throughput. Single seed at L/XL. Relevant to the user's LLM pretraining and Launch Helm work.",
      "url": "https://github.com/wdlctc/hyper-connection-factory",
      "authors": [
        "Cheng Luo"
      ],
      "tags": [
        "hyper-connections",
        "residual",
        "muddformer",
        "denseformer",
        "laurel",
        "attnres",
        "architecture",
        "scaling",
        "fineweb-edu"
      ],
      "venue": "GitHub: wdlctc/hyper-connection-factory, created 25 Sep 2026, MIT",
      "source": "github",
      "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/1231",
      "markdown": "https://papers.projxon.ai/entries/1231.md",
      "api": "https://papers.projxon.ai/api/entries/1231"
    },
    {
      "id": 1568,
      "kind": "paper",
      "title": "On the Design of Hyper-Connections: Simplification, Stability, and Scalability",
      "summary": "Ablation-driven simplification of Hyper-Connections (HC / mHC), the expanded-residual architecture increasingly adopted in frontier LMs, whose components the authors argue are poorly understood and carry non-negligible training overhead (arXiv 2611.05984, Nov 4 2026). Two findings drive the redesign: (1) the HC interaction decomposes into two independently effective groups - learned read/write gating WITHOUT residual mixing, and unconstrained mixing with FIXED gates - and either alone matches full mHC performance, so the full combination is redundant; (2) repeated access to the expanded residual state is a major source of training overhead even without any mixing. The resulting architecture, SimpleHC, removes residual mixing entirely and simplifies execution through shared memory access, exploiting the additive structure and shared gate inputs: layer-specific gates share a group-entry state, enabling batched reads and deferred writes, and scalar corrections exactly preserve the contributions of preceding sublayer outputs. Results: SimpleHC costs only 2.4% extra end-to-end training time over a vanilla residual baseline at the largest tested scale, maintains performance comparable to mHC when scaling from 15B to 30B MoE models, shows smoother gradient dynamics during standard training, and remains stable under stress tests. Flags, as entered: abstract-level record (ablation details and per-component numbers live in the full text); evidence is at 15B-30B MoE scale, far above small-model regimes, so the transferable claim for smaller stacks is the qualitative one - that HC's mixing machinery appears dispensable and its systems overhead is mostly memory access, not the mixing itself; license not confirmed from the arXiv record at cataloging time. Cross-references: the catalog's HC family - ID 1540 (Hyper-Connection Factory repo), ID 1688 (xHC: Expanded Hyper-Connections), ID 1654 (Multi-Stream Attention Residuals); Junchi Yan also co-authored ID 1805 (DepthGraft), whose references cite this work.",
      "url": "https://arxiv.org/abs/2611.05984",
      "authors": [
        "Xiangdong Zhang",
        "Xiaohan Qin",
        "Sunan Zou",
        "Tuo Dai",
        "Bizhao Shi",
        "Zhuo Xia",
        "Yebin Yang",
        "Yizhou Chen",
        "Yuliang Liu",
        "Yu Cheng",
        "Junchi Yan"
      ],
      "tags": [],
      "venue": "arXiv preprint",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-11-08T00: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/1568",
      "markdown": "https://papers.projxon.ai/entries/1568.md",
      "api": "https://papers.projxon.ai/api/entries/1568"
    },
    {
      "id": 599,
      "kind": "code",
      "title": "nanowhale",
      "summary": "huggingface/nanowhale ports DeepSeek-V4 (MLA, 4+1 MoE with top-2, Hyper-Connections hc_mult=4 / Sinkhorn, MTP) into HF Trainer/SFTTrainer at hidden 320 / 8 layers / vocab 129,280 / ctx 2048 (~110M params: 41M embed + 69M non-embed). Pretrain 5K steps on FineWeb-Edu (~2.6B tokens, final loss ~5.3, 1×H100) then 3K-step SmolTalk SFT. Checkpoints on HF as cmpatino/nanowhale-100m-base and cmpatino/nanowhale-100m. README flags bf16 NaNs from Hyper-Connections at this scale (use fp32) and a from_pretrained re-init quirk. README license MIT; GitHub API has no SPDX (no LICENSE file). Companion HF base card is Apache-2.0.",
      "url": "https://github.com/huggingface/nanowhale",
      "authors": [
        "cmpatino"
      ],
      "tags": [
        "nanowhale",
        "deepseek-v4",
        "moe",
        "mla",
        "hyper-connections",
        "huggingface",
        "small-lm"
      ],
      "venue": "Hugging Face (GitHub)",
      "source": "github",
      "license": "MIT",
      "published_year": 2026,
      "added_at": "2026-08-14T18:35:00.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": 390,
      "page": "https://papers.projxon.ai/entries/599",
      "markdown": "https://papers.projxon.ai/entries/599.md",
      "api": "https://papers.projxon.ai/api/entries/599"
    },
    {
      "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": 1403,
      "kind": "paper",
      "title": "Hyperloop Transformers",
      "summary": "Parameter-efficient looped architecture for edge/on-device memory limits. Splits the model into begin/middle/end blocks, loops only the middle 3× (~25%/50%/25% allocation). Twist: hyper-connections (mHC-style) applied only after each loop iteration — begin-block output copied into n=4 parallel residual streams, input-dependent transition matrices mix streams per loop, outputs averaged back. Simpler diagonal transition replaces mHC's Sinkhorn-Knopp matrix (PPL 14.40 vs 14.59); loop-position embedding acts as depth-wise-RNN input. Net cost over vanilla looped: 150–300K extra parameters; plain PyTorch, negligible slowdown (no custom kernel). Results (FineWeb-Edu, 2.5× Chinchilla tokens, SwiGLU+RoPE): 1B: PPL 9.65 (579.7M) vs vanilla Transformer 10.19 (990.5M), mHC 10.07, Looped 10.02; downstream 49.8% vs 48.0%/48.6%/49.2%. 2B: PPL 8.49 vs 8.60/8.57; downstream 54.6% vs 52.8%/53.7%. INT4 GPTQ: holds 9.81 vs 10.27/10.16/10.24 (hyper-connections partially compensate looped models' extra quantization sensitivity — authors' honest caveat: looped layers see \"more\" inputs, making them harder to quantize). Overtrained 240M (100B tokens, 400 tok/param): stays competitive (12.19 vs 12.15/12.16/12.56). Caveats: authors' own main limitation is scale — capped at ~2B on academic compute; the \"match a Transformer with 50% fewer parameters\" claim untested at larger scales; v3 abstract softened \"outperform\" → \"perform well compared to\" (report v3 wording). Diminishing returns past 3 loops; loop-level hyper-connections (14.40) beat every-layer (14.45); logit-lens shows stronger vocab alignment (early-exit potential, unexplored).",
      "url": "https://arxiv.org/abs/2604.21254",
      "authors": [
        "Abbas Zeitoun",
        "Lucas Torroba-Hennigen",
        "Yoon Kim (MIT)"
      ],
      "tags": [],
      "venue": "arXiv 2604.21254 (cs.LG, submitted 23 Apr 2026, v3 revised 2 Jul 2026)",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-19T00: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/1403",
      "markdown": "https://papers.projxon.ai/entries/1403.md",
      "api": "https://papers.projxon.ai/api/entries/1403"
    },
    {
      "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"
    }
  ]
}
