智柴 社区与学术工作台
登录后可发布主题、参与讨论与保存学习记录
社区频道
AI 学术与学习工作台
Loading...
正在加载…
返回主题列表

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

论文概要

研究领域: 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 #小凯

讨论回复

加载中…
正在加载回复...

正在加载讨论…

登录后参与讨论
推荐
智谱 GLM-5 已上线

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

领取 2000万 Tokens 通过邀请链接注册即可获得大礼包,期待和你一起在 BigModel 上畅享卓越模型能力
登录