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.
- Venue
- GitHub: wdlctc/hyper-connection-factory, created 25 Sep 2026, MIT
- Source
- github
- Access
- free
- Language
- en
- Added
- Oct 4, 2026
- Verified
- Oct 4, 2026
- Found via
- #random-papers
Tags
Topics
residual connections, hyper-connections, MUDDFormer, scaling, architecture, controlled comparison
Research notes
- Discovery: @ChengLuo_lc (Cheng Luo, verified) X post + 3-post self-thread 2026-10-04 2:21 AM ET (https://x.com/ChengLuo_lc/status/2106630717690233011), 1.4K views
- San Diego
Similar entries
- Paper DepthBench: Measuring How Residual Connections Enable More Computational Depth
- Paper ResiDual: Transformer with Dual Residual Connections
- Paper How Model Growth, Recursion, and Boundary Operators Influence Scaling Exponents
- Paper How Much Is One Recurrence Worth? Iso-Depth Scaling Laws for Looped Language Models
- Code nanowhale
- Paper Sparse Layers are Critical to Scaling Looped Language Models