Megadose Built for builders and researchers.

Model Carving: Training Transformers That Optimize Their Own Topology

· HF Daily Papers ·
The authors report up to 34% fewer FLOPs per token and 1.6× faster decoding without sacrificing quality.

Model Carving uses learnable gates to remove Transformer sublayers during training, learning the architecture alongside the weights. Tests covered standard Transformers from 140 million to 2.7 billion parameters and looped models up to 1.3 billion. Carved models achieved lower validation loss than dense models trained with up to 1.7 times more compute, and outperformed size-matched models produced by pruning or distillation. The reported advantage also carried over to few-shot evaluation and generation.

HF Daily Papers' note

score 5

Categories: Research