Manuscript Offprint

arXiv:2609.05275

Don't Drop Dropout: Optimizing Layer Sparsity for Efficient LLM Training and Inference

Mostafa Elhoushi, Alex Pretko, Nolan Dey, Bin Claire Zhang, Gavia Gray, Gurpreet Gosal, Abdulrahman Mahmoud, Shane Bergsma, Joel Hestness

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Mostafa Elhoushi†, Alex Pretko‡, Nolan Dey†, Bin Claire Zhang†, Gavia Gray†, Gurpreet Gosal†, Abdulrahman Mahmoud‡, Shane Bergsma†, Joel Hestness†

†Cerebras Systems, ‡MBZUAI

m.elhoushi@ieee.org, joel@cerebras.net

Abstract. Layer dropout (a.k.a. stochastic depth) has been shown to enable faster training, higher accuracy, and robustness to zero-shot layer pruning in both language and vision transformers. However, as models and datasets have scaled, dropout—particularly layer dropout—has largely disappeared from large language models (LLMs) pre-training recipes. While some prior work has reported that dropout can degrade accuracy, no comprehensive study has quantified, let alone mitigated, this effect. In this study, we show that layer dropout should be used in state-of-the-art LLM training, establishing best practices and scaling analysis for both training and post-training benefits. Concretely, with optimal layer distribution, time schedule, and optimizer hyperparameters, we observe that at the same training FLOPs layer dropout leads to lower loss. For a given number of training steps, LLMs can achieve lower or similar validation loss while saving up to 25% of training FLOPs. Moreover, layer dropout enables significant post-training optimizations, such as early exit, intermediate-layer skipping, and self-speculative decoding, yielding up to 1.5×1.5\times inference speedup with negligible accuracy loss. Across more than 2400 training experiments, spanning models from 271M to 8.2B parameters and datasets up to 160B tokens, we demonstrate that these findings extend reliably to large-scale training regimes. All pre-training experiments were run on Cerebras CS-3 systems.

Figure

Figure 1: Layer dropout as a unified mechanism for efficient LLM training and inference. (Left) Layer dropout skips layers stochastically during pre-training, leading to faster training, and with our proposed configuration, does so without sacrificing validation loss. (Center) Trained models gain zero-shot “elastic depth,” degrading gracefully under early exit and layer skipping. (Right) This robustness carries over to post-training adapters and self-speculative decoding for lossless inference speedup.

© 2026 Cerebras Systems Inc. All Rights Reserved.

1 Introduction

Pretraining large language models (LLMs) demands extraordinary computational resources (Narayanan et al., 2021; Meng et al., 2025), where small improvements in time-to-accuracy can save millions of dollars (Coleman et al., 2019; Shen et al., 2024) and reduce carbon emissions (Acun et al., 2023; Wang et al., 2025).

Historically, regularization techniques improved validation accuracy for given training budgets by reducing overfitting and stabilizing optimization (Moradi et al., 2020; Wang & Manning, 2013; Murugan & Durairaj, 2017). Dropout was widely adopted in convolutional networks (Hinton et al., 2012) and early transformers (Vaswani et al., 2017). However, as LLMs scaled to billions of parameters and trillions of tokens, dropout has been largely abandoned (Raschka, 2025). Models trained for a single epoch over massive datasets have little opportunity for classical overfitting, and empirical evidence suggests activation dropout degrades performance under these conditions (Liu et al., 2025).

One type of dropout, Layer Dropout, also known as Stochastic Depth (Huang et al., 2016), can provide benefits beyond regularization. Unlike activation dropout or unstructured sparsity, which typically do not translate into wall-clock speedups due to sparse-kernel overheads, skipping entire transformer blocks yields structured sparsity that can reduce active training FLOPs almost linearly with the dropout rate (Zhang & He, 2020; Elkerdawy et al., 2021). It also encourages robustness to reduced-depth execution at inference time, enabling a single pretrained model to dynamically adapt to different latency and compute budgets without retraining. This supports zero-shot depth-wise optimizations such as elastic depth (Fan et al., 2020), early exit (Elhoushi et al., 2024), and intermediate layer skipping (Huang et al., 2016; Cai et al., 2021).

Despite layer dropout's promise, its role in state-of-the-art LLM pretraining has never been established through a comprehensive evaluation at scale. Existing evidence is fragmented across model families, dataset sizes, and implementation conventions. Many reported degradations may reflect suboptimal schedules or hyperparameters, rather than fundamental limitations. This leaves a basic unresolved question: should layer dropout be used in modern large-scale LLM training, and if so, how should it be configured to preserve accuracy while delivering training and deployment benefits?

We provide the first unified experimental study of layer dropout in LLMs, systematically varying (i) optimizer hyperparameters, (ii) depth-wise distribution and granularity of layer sparsity, and (iii) temporal dropout schedules, across fixed architecture and data. Across 2400+ training runs spanning 271M to 3.9B parameters and up to 116B tokens, we identify configurations that reliably improve training and inference efficiency. Our contributions are:

  1. Improved Compute-Accuracy Trade-offs: Properly configured layer dropout reduces training FLOPs while achieving validation loss competitive with, and in several cases superior to, dense baselines at scale.

  2. Joint Optimization Framework: We identify key interactions between dropout configurations, schedules, and optimizer hyperparameters that mitigate degradations observed in prior work.

  3. Depth-Elastic Inference: The average training dropout rate predicts zero-shot robustness to early exit and layer skipping without retraining.

  4. Scaling Analysis and Best Practices: We analyze performance across model and data scales, recommending a progressively increasing distribution across depth paired with a decreasing schedule across steps, yielding up to 25% training FLOPs savings and up to 1.5× inference speedup.

References (61)