Model Carving cuts FLOPs 34%, beats 1.7x denser training
TL;DR
- At equal training compute, carved models reach lower validation loss than dense transformers trained with up to 1.7 times more compute.
- Learnable scalar gates attached to each sublayer let the training loss itself delete redundant attention and MLP blocks during pre-training.
- Carved models cost up to 34% fewer FLOPs per token and decode up to 1.6 times faster without a reported drop in quality.
At equal training compute, carved transformers reach a lower validation loss than dense models trained with up to 1.7 times more compute. That is the headline claim in Model Carving, a new arXiv preprint from Kaden Zheng and Pratyusha Sharma that lets a transformer prune itself as it trains rather than after.
The mechanism is small. "By applying learnable, scalar gates to each sublayer, we allow the training loss to remove the model's own components during training," the authors write, "freeing a smaller heterogeneous network inside." Attention heads and MLPs are not fixed in advance; the optimizer deletes what the loss does not use, and what remains is non-uniform across layers.
The paper reports two downstream wins. Carved models cost up to 34% fewer FLOPs per token and decode up to 1.6 times faster, the abstract says, "without cost in quality." They also beat size-matched baselines produced by pruning or distillation, which the authors read as evidence that the best way to obtain a small model for an edge device is to carve it during training rather than compress a large one afterwards.
The evaluation covers standard Transformers from 140M to 2.7B parameters and looped Transformers from 140M to 1.3B. The abstract reports no per-layer deletion rates, no wall-clock figures, and no head-to-head against mixture-of-experts baselines. The result is one preprint from a two-author team.
"Our results show that architecture, like weights, should be learned and not fixed in advance," the authors conclude, "and that inside every large transformer is a smaller, faster, stronger one waiting to be carved out."
Originally reported by paper
Read the original article →Original headline: Model Carving: 2-researcher team shows letting training delete its own sublayers beats 1.7× more compute