{
  "id": 1376,
  "kind": "other",
  "title": "ScalingDepth",
  "summary": "ScalingDepth is a community hub for tracking residual-connection research — the \"zoo of residual designs\" (mHC, iHC, oHC, xHC, AttnRes variants and more). It collects residual designs with one-line update rules in unified shared notation so the design differences are visible at a glance, and runs DepthBench: controlled comparisons of designs at a fixed parameter count across width–depth ratios, with open code and checkpoints, plus a research/papers/tutorials/blogs aggregation. Its \"short history\" runs from Highway Networks/ResNet (2015) through Pre-LN (2020), DeepNorm (2022), Depth-µP/CompleteP/Hyper-Connections/DenseFormer/mHC (2023–25), to AttnRes/MoDA/KEEL/SiameseNorm/KiteNorm (2026). Community-driven: new methods, follow-ups, reproductions, or analysis are added by opening a PR against a data file. Open to showcasing community blogs, posts, and unexpected findings.",
  "body": "",
  "notes": "Discovery: Hudson shared the announcement thread (5 posts) by Keyu Wang himself (@Keyuciallo), posted 2026-10-15 — the same day as the site launch. Relevance: (1) His residual-routing line — queued #11 (Multi-Stream Attention Residuals), #15 (Multi-Head Gated Value Residuals), and the Hyper-Connections/mHC DeepSeek lineage: ScalingDepth's unified-notation gallery is a live reference for that whole design space; (2) DepthBench's fixed-parameter-count width–depth comparisons are the controlled-evaluation setup his own architecture work needs; (3) the community submission path (PRs, reproducing benchmark results, sharing analysis) could be a venue for his own residual findings. Caveats: brand-new community site; DepthBench coverage and reproduction depth unverified beyond the site's own claims. Cluster: residual connections (mHC, hyper-connections, DeepNorm, AttnRes), architecture design, community benchmarks. | License: not applicable — community website; open PRs",
  "url": "https://keyu-wang-2002.github.io/ScalingDepth/index.html",
  "links": [],
  "authors": [
    "Keyu Wang (MSc",
    "University of Tübingen",
    "RA",
    "MPI for Intelligent Systems)"
  ],
  "tags": [],
  "topics": "",
  "venue": "Community hub website (announced in a 5-post X thread)",
  "publisher": "",
  "source": "x",
  "language": "en",
  "access": "free",
  "license": "",
  "published_year": null,
  "added_at": "2026-10-15T00:00:00.000Z",
  "verified_at": "2026-10-15T00:00:00.000Z",
  "attrs": {},
  "enrichment": {},
  "enriched_at": null,
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "Keyuciallo",
    "legacy_paper_id": "1683"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-11-01T12:53:30.490Z",
  "updated_at": "2026-11-01T12:53:30.490Z",
  "page": "https://papers.projxon.ai/entries/1376",
  "markdown": "https://papers.projxon.ai/entries/1376.md",
  "api": "https://papers.projxon.ai/api/entries/1376",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 1421,
      "kind": "paper",
      "title": "Depth Memory",
      "summary": "Reframes depth mixing as memory management. The Depth Memory framework describes PreLN (one additive residual stream), Attention Residuals (a growing key–value cache of every earlier layer output — explicit depth memory), and mHC (an expanded residual stream — implicit depth memory) as streams with Read/Write operators, then proposes Linear Depth Memory (LDM): three streams per token — the standard residual stream, a fixed-size matrix-valued associative memory M, and an inverse-covariance stream P. M is maintained as the EXACT solution of a \"depth regression\" — least squares over past layers, fitting a linear map that reconstructs earlier layer outputs v_i from their keys k_i — solved online by recursive least squares (Sherman–Morrison) with learnable per-layer forgetting factors, dynamic importance weights, and a ridge penalty. Each write is an error-correcting rank-1 update M ← M + u·κᵀ (u = current prediction error, κ = RLS gain from P); reads add a gated memory retrieval to the residual stream, x + γ⊙M(g⊙q). Depth can afford the exact solve that sequence mixing cannot, because layers are already evaluated sequentially — this is test-time regression (delta rule / MesaNet lineage) transplanted from the sequence axis to the depth axis, and the fixed-size RLS state replaces AttnRes's depth-growing cache. Memory is split into G=16 groups with per-group covariance; main config D_k=8 (memory matrix 8D entries/token, 2× mHC's 4D). Hardware-aware implementation: the RLS recurrence is reversible, so the backward pass unwinds states from the final M instead of storing one per layer, and windowed writes (E=4) defer updates within a window — CuTe DSL kernels for Hopper/Blackwell. Results on FineWeb-Edu with per-method LR sweeps and ~1% extra parameters over PreLN: 400M (Llama-like, 50B tokens) validation PPL 12.08 vs Block AttnRes 12.12, mHC 12.23, Full AttnRes 12.35, PreLN 12.73 — lowest also on WikiText-2 (20.70) and LAMBADA (19.10); zero-shot average 50.46, second to Block AttnRes (50.61). 1.5B (Qwen-like, 100B tokens): validation PPL 9.15 vs mHC 9.25, Block AttnRes 9.26, PreLN 9.48; WikiText-2 14.21 and LAMBADA 8.42, both lowest; highest zero-shot average (59.71). A D_k=4 variant whose memory matrix matches mHC's state size still beats mHC on all three perplexities. Throughput (B200, 1.7B–14B): exceeds Full AttnRes in every setting and mHC in all training and most inference settings; competitive with Block AttnRes, especially in decode. Ablations (400M, 15B tokens): the separate residual stream is load-bearing — memory-only layer input (+1.88 PPL) or replacing the stream with the layer output (+0.87) both fall below PreLN (+0.78); replacing RLS with a delta rule (+0.06) or plain outer-product update (+0.07) still beats PreLN but not RLS; storing the residual stream instead of layer outputs hurts most among addressing choices (+0.33); disabling forgetting is a wash (−0.01). On the DepthBench aspect-ratio protocol, LDM beats PreLN at every width/depth ratio at 400M and 1.6B and is lowest at every 1.6B ratio; the deepest 400M shape is the lone exception (HC slightly better). Caveats: quality evidence stops at 1.5B / 100B tokens (larger scales appear only in throughput tests); LDM can add peak training memory; all results first-party, no independent reproduction.",
      "url": "https://arxiv.org/abs/2610.18809",
      "authors": [
        "David González-Martínez*",
        "Philipp Nazari* (*equal contribution)",
        "T. Konstantin Rusch",
        "Shiwei Liu — ELLIS Institute Tübingen",
        "Max Planck Institute for Intelligent Systems",
        "Tübingen AI Center (Nazari also ETH Zürich",
        "Rusch also Liquid AI)"
      ],
      "tags": [],
      "venue": "arXiv cs.LG, v1 submitted 13 Oct 2026",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-20T00: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/1421",
      "markdown": "https://papers.projxon.ai/entries/1421.md",
      "api": "https://papers.projxon.ai/api/entries/1421"
    },
    {
      "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).",
      "url": "https://arxiv.org/abs/2607.14530",
      "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": [],
      "venue": "arXiv 2607.14530 (cs.LG, submitted 16 Jul 2026); NeurIPS 2026 accepted (per GitHub README badge — author-announced, verify in proceedings)",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-16T00: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/1381",
      "markdown": "https://papers.projxon.ai/entries/1381.md",
      "api": "https://papers.projxon.ai/api/entries/1381"
    },
    {
      "id": 1388,
      "kind": "post",
      "title": "You could have invented transformers from memory",
      "summary": "A pedagogical explainer (not a research result) deriving linear maps, MLPs, and self-attention as associative key-value memory stores from first principles. The unifying quantity is the interference-to-signal ratio — interference from other stored memories vs the target's signal — and capacity is the number of memories before interference matches signal (random unit keys, query with a stored key). At d_k=64: outer-product linear store ≈64; optimal linear (least-squares/whitened keys) ≈128; ReLU MLP ≈128; squared ReLU / SwiGLU ≈2d_k²/3 ≈2,700–2,900; cubed ReLU ≈2d_k³/15 ≈35,000; self-attention with β=√d_k ≈e^{2√d_k−2} ≈1.2 million; β ∝ log M allows an essentially unbounded store (>2M in experiments). Derivations: interference terms add like a random walk (√M); σ(s)=ReLU(s)^p gives capacity M≈d_k^p; the exponential is a weighted sum of all powers, so capacity grows exponentially in the sharpness β: M≈e^{2β(1−β/d_k)} for β≪d_k; normalizing weights for numerical stability yields exactly f(x)=Vᵀsoftmax(βKx). Unlike MLPs, self-attention is non-parametric: keys/values come from context tokens, so the store grows with context length. Notes that the original transformer's v2/v3 described the feedforward layer as \"a kind of attention\" (passage removed from later versions) and tried replacing FFNs with learned-key-value attention at similar quality. The long-context section compares β∝log M tricks (Su 2021 entropy scaling, Scalable-Softmax, Qwen LogN-Scaling, Qwen2.5-1M YaRN scaling), driving the interference ratio to ~10⁻⁴ at 2M memories. Author-stated caveat: the count is random-vector recall of a single layer, ignoring training data; companion pointers to bits-per-parameter memorization work (Morris et al. ~3.6 bits/param; Allen-Zhu & Li ~2 bits factual knowledge/param). Includes interactive demos (sliders for M and β with live interference/signal visualization). Asides: a gradient-descent step is a memory write (Irie, Csordás & Schmidhuber); transformers' MLPs store facts in superposition.",
      "url": "https://alexwang.ai/posts/associative-memory/",
      "authors": [
        "Alex Wang (researcher",
        "San Francisco",
        "PhD CS Stanford — long-context architectures for sequence modeling and memory",
        "ex-research scientist at Cartesia)"
      ],
      "tags": [],
      "venue": "Alex Wang's blog (alexwang.ai, published 2026-10-15)",
      "source": "blog",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-16T00: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/1388",
      "markdown": "https://papers.projxon.ai/entries/1388.md",
      "api": "https://papers.projxon.ai/api/entries/1388"
    },
    {
      "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"
    }
  ]
}
