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):

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)→

Original post →

More from Infra

Infra channel →