The Problem: The Disappearance of Dropout
As Large Language Models (LLMs) have scaled to billions of parameters and trillions of tokens, traditional regularization techniques like dropout have largely been abandoned. In the modern "single-epoch" pre-training regime—where a model sees each piece of data only once—researchers found that standard dropout often degraded performance.
However, this paper argues that abandoning layer dropout (also known as stochastic depth) is a costly mistake. Layer dropout involves skipping entire transformer blocks during training, creating a form of "structured sparsity." When optimized correctly, it allows researchers to skip compute during training (saving significant resources and money) and yields "elastic" models that can be pruned or accelerated at inference time without retraining.
Methodology: Finding the Optimal Recipe
The authors conducted a massive systematic study involving hundreds of training runs on Cerebras CS-3 systems to identify the best practices for layer dropout in state-of-the-art LLMs. They evaluated models pre-trained on a diverse corpus of text and code, testing them against standard downstream benchmarks (e.g., HellaSwag, ARC, Lambada, and PIQA).
Their investigation focused on three main axes:
- Hyperparameter Scaling: To maintain stable activation scales across different dropout rates, the scaling factor ($r_{train}$) must be set to $1/\rho$ (where $\rho$ is the layer density). This ensures hyperparameters transfer reliably between models.
- Granularity: The study compared dropping sub-layers (Attention or FFN blocks independently) versus dropping entire transformer blocks, as well as per-batch versus per-sequence masks. They found that finer-grained, per-sequence dropout generalizes better.
- Configurations: Various spatial distributions (Uniform, Increasing, Alternating) and temporal schedules (Constant, Increasing, Decreasing) were tested.
The optimal configuration identified is ILD+DTS: an Increasing Layer Distribution (dropping more layers near the end of the model) combined with a Decreasing Time Schedule (starting with high dropout and decaying to zero by the end of training).
Key Insights and Results
- Compute Efficiency: The ILD+DTS configuration achieves validation losses competitive with—and sometimes superior to—dense baselines while saving up to 20% of non-embedding training FLOPs.
- Stochastic Model Growing: The success of the Decreasing Time Schedule suggests layer dropout acts as a form of curriculum learning. The model starts with a "shallow" effective depth, exploring the weight space broadly, and gradually increases to full density to settle into a stable minimum.
- Inference Elasticity and Speedup: Layer dropout induces structural robustness, enabling zero-shot layer skipping. This allows developers to trade a small amount of accuracy for massive latency gains on the fly. Using Self-Speculative Decoding (Draft & Verify), models pre-trained with layer dropout achieved up to 1.4x inference speedups.
- Adapter "Head-Start": Models trained with layer dropout are inherently more robust to early exits. When adding post-training adapters, these models reach lower validation losses much faster than dense baselines.
- Scaling Stability: The benefits of layer dropout remain stable as the number of tokens-per-parameter (TPP) increases, confirming its viability for training foundational LLMs.
Limitations and Future Directions
While the results strongly advocate for the return of layer dropout, the authors note several areas for future exploration. The study focused on transformer-block-level dropout, leaving the effects of attention-head or neuron-level dropout at scale unknown. Additionally, the approach was not compared against dynamic, learned depth mechanisms like Mixture-of-Depths, nor tested on non-transformer architectures like Mixture-of-Experts (MoE). Finally, a formal scaling law to predict the absolute maximum dropout rate ($p_{max}$) a model can handle before accuracy degrades remains to be developed.
Summary updated