Explore the research collection
5 entries · Follow this search
- Paper
Looping Beyond Twice: A Scalable Recipe for Looped Mixture-of-Experts
Diagnoses why looped MoE benefits fade after ~2 loops (extra FLOPs yield little): (1) the curse of depth is inherited and amplified — hidden-state variance grows each iteration as residual updates accumulate, destabilizing deep recurrence and drifting representations; (2) expert selection collapse — routers repeatedly select the same experts across loops, so iterations add compute without computational diversity. LOOM is built on one principle: each loop should contribute new computation while keeping the recurrent state stable. It stabilizes recurrence by scaling residual updates to bound variance growth and re-injecting the input embedding at every loop, and diversifies it through per-loop routers that engage different experts plus a Looping Residual carrying earlier outputs forward. Stable scaling to 9-12 loops across 100M-1.7B models. Near-iso-FLOP: the 700M model peaks at 5 loops, perplexity 18.36 -> 16.54, avg zero-shot 38.84% -> 39.53% over the non-looped baseline. Without FLOP matching: 1.7B model trained on 60B tokens peaks at 9 loops, perplexity 9.62 -> 7.77, avg zero-shot 42.4% -> 47.7%.
- 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
The Illusion of Diminishing Returns: Measuring Long Horizon Execution in LLMs
Gives the model the knowledge and plan, then measures retrieve-then-compose over a key→int dictionary. Horizon length Hs=ln(s)/ln(p) grows hyperbolically; short-task benches can hide compounding. Qwen3/Gemma3: near-perfect first-step accuracy but Qwen3-32B drops below 50% by ~15 turns; larger models execute more turns. Per-step accuracy degrades via self-conditioning on own errors, not just long context; scaling size does not fix it, thinking/RL does. Single-turn without CoT: even DeepSeek-V3/Kimi-K2 fail past ~6 steps; GPT-5 thinking 2176 steps vs Claude-4 Sonnet 432 / Grok 4 384 / Gemini 2.5 Pro 120. Published at ICLR 2026. Code https://github.com/long-horizon-execution/measuring-execution.
- Paper
Sparse Layers are Critical to Scaling Looped Language Models
Looped language models repeat a set of transformer layers through depth, reducing memory costs and providing natural early-exit points at loop boundaries. However, looped models do not scale as favorably as standard transformers with unique layers. We compare standard and Mixture-of-Experts (MoE) transformers, with and without looping, and find two main results. First, we find Looped-MoE models scale better than the standard baseline while dense looped models do not. We trace this to routing divergence between loop…
- Paper
Agensh: Scaling Organizational Intelligence to 1,024 Agents
A scalable, self-organized multi-agent harness with no central orchestrator: concurrent workers run an async cooperate loop (gather context, claim/self-assign sub-tasks, act and share findings, verify, merge progress) over three shared infrastructure components — a workspace of proposed/ongoing/completed work, a message interface, and shared context of reusable findings and work intentions.