ShellElastic: Scalable Elastic Pretraining with Simultaneous Maximal Updates and Hyperparameter Transfer
Can Jin, Yan Kang, Yifan Gong, Chongjian Ge, Mingze Xu, Yuanjun Xiong, Dimitris N. Metaxas, Hongwu Peng
Abstract
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 , 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 μE, an extension of maximal update parameterization (μp) to and other elastic architectures. Its scaling rules provably keep all sub-networks of a supernet maximally updated simultaneously (μI), 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 (μT). A single 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.
Create a lesson
Related papers
Softmax-Free Attention in Spiking Transformers as the Zero-Temperature Limit of Two-Level Systems
Roberto C. Sotero, Pouya Taghipour, Jose M. Sanchez-Bornot
Scaling Repeated-Data Pretraining: Batch Size, Regularization, and GPU-Time Tradeoffs
Sewon Min
Instance-Adaptive Online Multiclass Multicalibration
Zhiming Huang, Jamie Morgenstern, Aaron Roth et al.
Error-Based Bidirectional Predictive Coding Enables Deep, 4-Bit Predictive Coding Networks
Garrett Kinman, Zeljko Zilic
DiffNash: Finding Nash Equilibrium in High-Dimensional Continuous Action Spaces with Diffusion Policies
Haichuan Wang, Anagha Satish, Jiale Zheng et al.
Mesh-Free Convolution: Learned Spectral Attenuation and Transport
Niloufar Zakariaei, Manav Manav, Eldad Haber