MHAR Improves Transformer Residuals, Cutting Validation Loss at 1B Scale
Cheng Luo · hf · 2026-07-31
Standard Transformers propagate information via a single residual stream, forcing feature subspaces to compromise on reading depth history as model width grows. This paper introduces Multi-Head Attention Residuals (MHAR), which reshapes the routing query into multiple per-subspace heads, each with its own softmax over depth history.
The method adds zero parameters and negligible compute. Trained from scratch at 100M, 350M, and 1B scales, MHAR consistently outperforms standard Transformers and other baselines, with gains scaling alongside model size. The head count acts as a true design axis, showing a U-shaped validation loss curve with an optimum at H=4 or H=8. Fused Triton kernels improve training throughput, and an identity-preserving conversion applied during 8B mid-training yields improvements of +3.2 on GSM8K and +3.1 on GPQA.
Related event: MHAR Improves Transformer Residuals to Reduce Validation Loss(2 posts)→
More from Research
- Berkeley's FrontierCS 2: agents rewrite deleted paper code, Claude passes 28/48 — BAIR Blog (Berkeley) · 2026-12-02
- Hugging Face ships harness adapters: Terminal-Bench 39%→55% at half the tokens — yb2698 · 2026-12-02
- OpenAI publishes proof of Unique Games Conjecture, lauded by long-time researcher — Singularitarian · 2026-12-02
- Researchers map fruit fly brain circuits to control robots, seeking a new path to machine intelligence — CurieuxExplorer · 2026-12-02
- Zhipu releases GLM5.4, a 753B-parameter looping model claimed as largest ever — Madisonkanna · 2026-12-02
- Peer review with AI: if papers are AI-written, Q&A review by AI is fair game — murat_kocaoglu_ · 2026-12-02