arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.15124cs.LGcs.AI
收藏

ShellElastic:支持可扩展弹性预训练的最大更新与超参数迁移方法

ShellElastic: Scalable Elastic Pretraining with Simultaneous Maximal Updates and Hyperparameter Transfer

Rutgers University(罗格斯大学);Adobe Research(奥多比研究院)

Can Jin, Yan Kang, Yifan Gong, Chongjian Ge, Mingze Xu, Yuanjun Xiong, Dimitris N. Metaxas, Hongwu Peng

AI总结:

本文提出ShellElastic弹性Transformer架构,结合\textmu E超参数迁移方法,实现超网内多子网络同步最大更新,生成的子网络性能优于基线且接近单独训练的模型。

摘要:

基础模型需支持多样化的推理预算,但为每个预算训练单独模型会重复预训练工作。弹性模型在权重共享的超网内训练多个嵌套子网络,然而现有方案面临三大障碍:每步工作负载可变,阻碍分布式扩展;跨模型尺寸的超参数(HP)迁移有限;无法保证所有子网络同时获得最大更新。我们提出\textbf{Ours},一种弹性Transformer,将隐藏维度组织为密集核心与连续壳层,使每个隐藏矩阵为块下三角结构。一次全宽度前向传播包含所有子网络的精确隐藏状态作为前缀,因此联合训练保持固定计算图,每步成本约等于单独训练最宽子网络的成本。我们进一步提出\textbf{\textmu E},将最大更新参数化(\textmu P)扩展到\textbf{Ours}及其他弹性架构。其缩放规则可证明能保持超网的所有子网络同时获得最大更新(\textmu I),且在超网加宽或增加壳层时仍能保持;实验搜索证实,在小型非弹性代理上调优的超参数(HP)对弹性族和更大超网仍接近最优(\textmu T)。单次\textbf{Ours}运行产生的子网络,在匹配参数数量时优于MatFormer和全弹性基线,且接近单独训练、总步数为其数倍的模型。

英文摘要:

Foundation models need to support diverse inference budgets, yet training a separate model for each budget duplicates pretraining effort. Elastic models train several nested sub-networks inside one weight-shared supernet, but existing recipes face three obstacles: variable per-step workloads that hinder distributed scaling, limited hyperparameter (HP) transfer across model sizes, and no guarantee that all sub-networks are maximally updated at once. We present \Ours, an elastic transformer that organizes hidden dimensions into a dense core and successive shells, so that every hidden matrix is block lower triangular. One full-width forward pass contains every sub-network's exact hidden states as prefixes, so joint training keeps a fixed computation graph and costs about as much per step as training the widest sub-network alone. We further introduce \muE, an extension of maximal update parameterization (\mup) to \Ours and other elastic architectures. Its scaling rules provably keep all sub-networks of a supernet maximally updated simultaneously (\muI), and keep doing so when the supernet is widened or given more shells; sweeps confirm that HPs tuned on a small non-elastic proxy stay near-optimal for elastic families and larger supernets (\mbox{\muT}). A single \Ours run produces sub-networks that outperform MatFormer and fully elastic baselines at matched parameter counts, and approach separately trained models that together take several times the steps.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑