PapersSelected

Harvard 与 NYU 提出 Model Carving:Transformer 训练中自动裁剪子层

Why we picked it

做端侧或低延迟部署的开发者可以看看。Harvard 和 NYU 的 Model Carving 在预训练阶段就自动关掉不需要的子层,推理时每 token 省最多 34% 算力、解码快 1.6 倍,效果超过剪枝加蒸馏的老流程,做小模型优化的团队值得一试。

Harvard 和 NYU 的研究提出 Model Carving 方法,在每个 attention 和 MLP 子层上加入可学习的标量门控,训练损失会关闭不需要的门,随后移除对应子层。

Body

在相同训练算力下,carved 模型的验证损失低于用多达 1.7 倍算力训练的 dense 模型。

实验覆盖 140M 到 2.7B 参数的标准 Transformer 以及最高 1.

3B 的 looped Transformer。与同规模的剪枝或蒸馏模型相比,carved 模型表现更好,且优势随规模扩大,在 few-shot 评估和生成任务上都成立。

由于被移除的子层不再运行,模型每 token 最多减少 34% 的 FLOPs,解码速度最高提升 1.6 倍且无质量损失。

论文:arxiv.org/abs/2611.

27962

Original · DAIR.AI

// Model Carving //

This work from Harvard and NYU proposes Model Carving, which puts a learnable scalar gate on every attention and MLP sublayer. The training loss closes gates it does not need, and those sublayers are removed.

At equal training compute, carved models reached lower validation loss than dense models trained with up to 1.7x more compute. They tested standard Transformers from 140M to 2.7B parameters and looped Transformers up to 1.3B.

Carved models also beat size-matched models made by pruning or distillation. The advantage grew with scale and held on few-shot evaluation and generation.

Removed sublayers do not run, so carved models used up to 34% fewer FLOPs per token and decoded up to 1.6x faster with no quality loss.

If you need a small model for edge or latency-bound use, compare carving during pretraining against your current prune-then-distill pipeline.

https://arxiv.org/abs/2611.27962

Chat with Paper: https://academy.dair.ai/papers/model-carving-training-transformers-that-optimize-their-own-topology-2611.27962

Industry Coordinates & Source Verification

This report is categorized under AITOP's "Papers" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include Model Carving, Transformer, model compression, pruning.

Source attribution: curated from DAIR.AI (@dair_ai). Cross-source corroboration: 2 independent sources have covered this development (including rohanpaul_ai), confirming industry-wide signal strength.