Scaling Zero-Order Pretraining through Model Sharding
Abstract
Zero-order optimization (ZO) trains without backpropagation, making it relevant to forward-only hardware and non-differentiable loss, but its gradient variance grows with perturbed dimension, inhibiting large-model training. Sharded Optimization Mixture of Assemblies (SOMA) trains LSTM experts independently on data clusters using simultaneous perturbation stochastic approximation (SPSA), without exchanging gradients, activations or optimizer state. Its separable loss removes cross-expert perturbation noise at the cost of jointly learned representations across domains. Using 80,000 estimated RTX 5090 GPU-hours, we show modest sharding improves training compute efficiency over all tested monolithic ZO controls. At 8.44M parameters and 150 aggregate GPU-hours, SOMA with 64 perturbations reaches 1.76 test nats/byte, versus 2.00--2.11 for monolithic SPSA at 64, 256 or 1,024 perturbations and 2.21 for EGGROLL. On WikiText-103, these frozen checkpoints reach 2.07, 2.25--2.36 and 2.49, respectively. On a fixed separable objective with equal-size blocks, we prove independent losses reduce relative gradient variance to approximately of a shared-loss estimator's. Holding starting weights, data, perturbations and compute fixed, independent rather than summed losses lower SOMA test loss by 0.035 nats/byte after 1,000 updates across three seeds. Larger ensembles offer a separate inference benefit: at similar model size with top- routing (), SOMA achieves 2.36M tokens/s versus 257k for SOMA (, including routing), at lower test loss (1.68 versus 1.71), albeit using as much aggregate training compute. We release all training and evaluation code and checkpoints.
Create a lesson
Metadata
- Comments
- 38 pages, 17 figures
Related papers
Probe-Space Preconditioning for Fast and Stable Zero-Order Training
Shared title terminologycs.LGFrancois Chaubard, Mykel J. Kochenderfer, Chris Ré
Strong EEG Decoding without EEG-Specific Pretraining: A Simple Reversible Interface for Vision Backbones
Shared title terminologycs.LGZi Liang, Haibo He, Peng Hu et al.
Order-Marginalized Scoring for Any-Order Autoregressive Models
Shared title terminologycs.LGArthur Deng, Sebastian Thrun
The Cross-Entropy Gap: Scaling Laws for Sign Descent and Gradient Descent
Shared title terminologycs.LGAdélie Benhaim, Francis Bach, Frederik Kunstner
PickPack: Scaling Context Extension To Millions Of Tokens With Sparse Attention
Shared title terminologycs.LGKumar Krishna Agrawal, Vihaan Thaker, Keshaw Ranjan et al.
A Sealed Benchmark for Forecasting Training-Recipe Gains at Small Scale
Shared title terminologycs.LGShengwei Zhang, Shenkang Qian, Mo Shi et al.