Explore the research collection
8 entries · Follow this search
- Code
Hyper-Connection Factory
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.
- Paper
DepthBench: Measuring How Residual Connections Enable More Computational Depth
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.
- Paper
Mixture-of-Recursions: Learning Dynamic Recursive Depths for Adaptive Token-Level Computation
Shares layers across recursion steps and routes individual tokens to different recursion depths, giving adaptive per-token compute: easy tokens get shallow passes, hard tokens recurse deeper. Experiments span 135M-1.7B parameter models.
- Paper
Memory Attention
Memory Attention (Jiale Kang) replaces the Transformer's learned value projection with V = K + Norm(E[s]) — the sum of contextual keys and layer-specific token-indexed memory vectors. Under matched training budgets it beats standard attention on WikiText perplexity and downstream average while enabling CPU offloading of the memory tables, trading parameter storage for lookup-based capacity.
- Paper
How Model Growth, Recursion, and Boundary Operators Influence Scaling Exponents
Chen, Vegesna, Dahal & Wilson show that architecture — specifically model growth via looped/recurrent transformers — can modify pretraining scaling exponents, not just shift loss curves. A 7.4B growth architecture matches GPT-3 13B on CORE with roughly 20× less compute, with gains that increase with scale; even a simple boundary operator in a vanilla transformer helps.
- Paper
Infinite-Parameter LLMs: Generating and Adapting Weights from Live Data
Infinite-Parameter LLMs' (Hu, Clarke, Zhang, Hernández-Lobato, Cambridge) proposes an architecture where effective model weights are generated from live session data by a compact hypernetwork producing low-rank modulations of a frozen base, with a Bayesian belief updated online. Stored parameters stay fixed while compilable weights are effectively unbounded — a structural alternative to keeping all runtime knowledge in the prompt.
- Paper
Recirculation
An inference-time architectural enhancement for off-the-shelf foundation models that markedly reduces perplexity and boosts accuracy across generation and reasoning tasks. Recirculation introduces a specific form of recurrence that lets the model act as a dynamical system tracking belief states, motivated by the limitation that state updates in feedforward transformers are bounded by model depth. It adds essentially no generation latency (serial processing only in the prefill phase), and an adaptive variant needs only light hyperparameter tuning with frozen model weights.
- Paper
How Much Is One Recurrence Worth? Iso-Depth Scaling Laws for Looped Language Models
Measures the value of one recurrence in a looped (depth-recurrent) transformer in equivalent unique parameters. From an iso-depth pretraining sweep over recurrence counts r in {1,2,4,8} spanning ~50x in training compute, the authors fit a joint scaling law L = E + A(N_once + r^phi N_rec)^(-alpha) + B D^(-beta) and estimate a recurrence-equivalence exponent phi = 0.46 — between full equivalence (phi=1, looping a block r times equals r unique blocks) and no capacity gain (phi=0).