Model Carving: Training Transformers That Optimize Their Own Topology
Model Carving jointly learns a Transformer's weights and architecture in a single training run by applying learnable scalar gates to each sublayer, allowing the training loss to remove components and expose a smaller heterogeneous network. The method was evaluated by pre-training standard Transformers from 140M to 2.7B parameters and looped Transformers from 140M to 1.3B. At equal training compute, carved models reached lower validation loss than dense models trained with up to 1.7 times more compute and outperformed size-matched pruning or distillation models. The paper also reports up to 34% fewer FLOPs per token and up to 1.6 times faster decoding without quality cost because removed sublayers no longer run.
It offers a concrete training method for learning Transformer architecture and reports efficiency gains versus dense, pruned, and distilled alternatives.
Comments & Questions (0)
No comments yet
Be the first to comment!