ShellElastic: Scalable Elastic Pretraining with Simultaneous Maximal Updates and Hyperparameter Transfer
cs.LG, cs.AI
Submitted: 2026-10-10
Updated: 2026-10-10
Code: https://github.com/jincan333/ShellElastic
Project page: https://jincan333.github.io/ShellElastic_page
License: http://creativecommons.org/licenses/by/4.0/
The gist: Foundation models need to support diverse inference budgets, yet training a separate model for each budget duplicates pretraining effort.
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, an extension of maximal update parameterization to and other elastic architectures. Its scaling rules provably keep all sub-networks of a supernet maximally updated simultaneously, 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. 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.
Sources
- Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challenge
- Measuring Massive Multitask Language Understanding
- Distilling the Knowledge in a Neural Network
- Adam: A Method for Stochastic Optimization
- GLU Variants Improve Transformer
- On the infinite width limit of neural networks with a standard parameterization
- Nemotron Elastic: Towards Efficient Many-in-One Reasoning LLMs
- Slimmable Neural Networks
Related papers
- Polynomial-Augmented Neural Networks (PANNs) with Weak Orthogonality Constraints for Enhanced Function and PDE Approximation
- AIRL-S: Unifying Reinforcement Learning and Search-Based Test-Time Scaling via Adversarial Inverse Reinforcement Learning
- Transformers as Bayesian In-Context Experimenters: Smoothness-Adaptive Efficient ATE Estimation
- Convergence issues in Relational Concept Analysis based on AOC-posets
- Beliefs Beyond Posteriors: The Predictive Cost of ELBO Binding
- Understanding Diffusion Models via Ratio-Based Function Approximation with SignReLU Networks