Model Carving: Transformers prune their own sublayers mid-training, saving 34% FLOPs
TheTuringPost · x · 2026-11-29
TheTuringPost covers Model Carving, an open-source MIT-licensed training method from Harvard/NYU researchers that lets Transformers optimize their own topology during training:
- Learned gates on every attention/MLP sublayer control writes to the residual stream; looped models get per-loop gates.
- Built-in compute pressure: gates weigh whether their FLOPs are better spent on more training tokens, using the run's learning curve — no penalty sweeps needed.
- Mid-training pruning: sublayers whose gates hit zero are cut, and freed compute trains more tokens within the same budget.
Tested on standard Transformers (140M–2.7B) and looped ones (140M–1.3B): the 2.7B standard model drops inference FLOPs 34% with no quality loss; a dense run needs 1.71× more training compute to match the carved looped 1.3B's validation loss (23% fewer inference FLOPs/token). Carved models also beat pruning/distillation at matched size.
Related event: Model Carving Trains Smaller Transformers by Pruning Layers During Training(2 posts)→
More from Infra
- NVIDIA open-sources Auto Ontology, giving AI agents business context over raw data schemas — NVIDIAAI · 2026-11-29
- Two 90K-context agents at 40+ tok/s each on one RX 7800 XT 16GB — full tuning writeup — Cactusnvapes · 2026-11-29
- What $1,900 to $89,000 of Local AI Hardware Actually Runs, Charted — RexDouglass · 2026-11-29
- Route Me There: privacy-first self-hosted LLM router with Wake-on-LAN and load balancing — Ejo2001 · 2026-11-29
- PocketBase has moved off GitHub — p2detar · 2026-11-29
- Amazon Leo offers remote sites a private satellite route into AWS at 1 Gbps — shashib · 2026-11-29