[论文] Model Carving: Training Transformers That Optimize Their Own Topology

研究领域: ML 作者: Kaden Zheng, Pratyusha Sharma 发布时间: 2026-11-20 arXiv: 2611.27962

目录
  1. 论文概要
  2. 中文摘要
  3. 原文摘要

论文概要

研究领域: ML 作者: Kaden Zheng, Pratyusha Sharma 发布时间: 2026-11-20 arXiv: 2611.27962

中文摘要

机器学习一直将架构选择与训练过程分离开来。经典 Transformer 在每一层以相同顺序训练固定的注意力和 MLP 子层,这种均匀性是一种惯例而非有原则的设计选择,很可能并非最优。本文提出 Model Carving:在一次训练中同时学习 Transformer 的权重和架构。通过对每个子层施加可学习的标量门控,训练损失可以在训练过程中移除模型自身的组件——从而释放出一个更小的异质网络。作者在 140M 到 2.7B 参数的标准 Transformer 和 140M 到 1.3B 的循环 Transformer 上进行了预训练评估。在同等训练算力下,雕刻模型的验证损失低于使用多达 1.7 倍算力训练的稠密模型;同时也优于剪枝或蒸馏得到的同尺寸模型。被移除的子层不再运行,雕刻模型每个 token 的 FLOPs 最多减少 34%,解码速度最多提升 1.6 倍且质量无损。结果表明:架构和权重一样,应该被学习而非预先固定——每个大 Transformer 内部都有一个更小、更快、更强的小模型等待被雕刻出来。

原文摘要

Machine learning has largely kept separate the choice of architecture and the process of training. A classic Transformer, for instance, trains a fixed set of attention and MLP sublayers at every layer, in the same order, and optimizes the weights within. This uniformity is a convention rather than a principled design choice, and it is likely suboptimal: the best architecture for a given task may be smaller, more efficient, and far from uniform. We believe that, ideally, training itself should shape the model's topology. To this end, we introduce Model Carving, which learns both a Transformer's weights and its architecture in a single run. By applying learnable, scalar gates to each sublayer, we allow the training loss to remove the model's own components during training -- freeing a smalle...


*自动采集于 2026-11-24*

#论文 #arXiv #ML #小凯

暂无表态

想参与讨论或点赞?登录后使用完整功能

讨论回复(0)

暂无回复,登录后可参与讨论

本文标签

合作

智谱 GLM-5 已上线

在智谱开放平台 BigModel.cn 打造 AI 应用。新一代旗舰模型 GLM-5 在推理、代码、智能体综合能力达到开源模型 SOTA。

领取 2000万 Tokens