Model Carving: Transformers that trim their own topology — 34% smaller, 1.6x faster, beats 1.7x-compute baselines
pratyusha_PS · x · 2026-11-26
Harvard's Kaden Zheng and NYU's Pratyusha Sharma introduce Model Carving, which learns a Transformer's weights and architecture in a single training run.
Method: each sublayer writes to the residual stream through a learned scalar gate; when a gate falls to zero, that computation is removed during training — breaking the convention of fixed, uniform architectures.
Results (pre-training standard Transformers from 140M to 2.7B and looped Transformers from 140M to 1.3B):
- At equal compute, carved models reach lower validation loss than dense models trained with up to 1.7x more compute
- Up to 34% fewer FLOPs and 1.6x faster decoding
- Outperform size-matched pruned or distilled models; the advantage grows with scale and carries to few-shot evals and generation
Takeaway: for edge devices, carving small models during training beats compressing large ones afterwards. Paper, blog, and code are all public.
Related event: Model Carving: Models Prune Themselves During Training(4 posts)→
More from Infra
- Polymarket launches GPU compute markets, pricing H100/B200/B300 rentals out to 2028 — marcofyi · 2026-11-26
- A DDIA-based framework for choosing the right database: read/write patterns first — cneuralnetwork · 2026-11-26
- Robot startup Abstract raises $2.5M to run robot brains in the cloud with 30ms latency — Scobleizer · 2026-11-26
- llama.cpp now runs nvfp4 quants on Apple Silicon, CUDA, AMD and more — pcuenq · 2026-11-26
- Tool-call failure rates swing wildly: DeepSeek V4.1 Flash hits 15% on one provider — remilouf · 2026-11-26
- Backdoor found on VPS machines via CVE-2026-99999 exploitation — check port 38859 — rez0__ · 2026-11-26