Paper commentary
Don’t Drop Dropout: Optimizing Layer Sparsity for Efficient LLM Training and Inference
Layer dropout can be tuned to speed up LLM training without losing accuracy
- Problem Dropout has largely left LLM pretraining, and no controlled large-scale study had separated its accuracy cost from poor schedules and hyperparameters. Earlier layer dropout results showed non-negligible accuracy loss.
- Method Layer dropout skips whole transformer blocks, covering both attention and FFN, for each sequence in a batch. It rescales kept branches so the learning rate transfers across dropout rates, and it uses ILD, which ramps the rate with depth.
- Results The 8.2B model reached 1.663 at 25% FLOPs savings and stayed competitive with dense baselines. Loss degradation stayed within about 0.50% of the baseline even at high TPP.
Why dropout left LLM pretraining
Pretraining an LLM costs so much that even small gains in time-to-accuracy matter, both for budget and for carbon. Dropout was a default in early transformers, but it has largely disappeared from recent pretraining recipes. The argument for dropping it is that one pass over a huge corpus leaves little room for classical overfitting, and activation dropout has been reported to hurt in that setting.
Layer dropout is different because it skips whole blocks, a structured saving that activation dropout typically does not deliver in wall-clock time.
Evidence for layer dropout at LLM scale is thin, and the one recent study on decoder-only LLMs reported non-negligible accuracy loss. Many of those degradations may come from weak schedules or hyperparameters rather than from the method itself, and no controlled large-scale study had separated the two. So the open question is whether layer dropout can be configured to keep accuracy while still saving training compute and enabling cheaper inference.
Whole-block masks during training
The core idea is to let each sequence in a batch skip a whole transformer layer, covering both its attention block and its FFN block, with a sampled probability. Because the skipped work is never run for that sequence, training FLOPs fall roughly in proportion to the dropout rate. The authors use this whole-layer form rather than sub-layer dropout, where the attention and FFN masks are drawn separately.
In the usual residual form, \(H_{\ell+1,t} = H_{\ell,t} + f_\ell(H_{\ell,t})\), where ℓ is the layer and t is the training step. With layer dropout, the branch is multiplied by a mask \(M_{\ell,t}\) drawn from a Bernoulli distribution with keep probability \(1-p_{\ell,t}\), and by a training scale \(r^{train}_{\ell,t}\). In a transformer, the same mask gates both the attention and the FFN residual updates of a layer.
At inference the mask is removed and the branch is scaled by \(r^{eval}_\ell\) instead.
Why the training scale is 1/ρ
Papers and frameworks disagree on the constant that multiplies a kept residual branch during training. The authors write the layer density as \(\rho = 1 - p\) and compare two choices, scale 1 and scale \(1/\rho\). The stake is hyperparameter transfer, because a dropout rate changes the effective depth, and a learning rate tuned at one rate may not carry over to another.
The authors test the choice with CompleteP's maximal residual stream update desideratum, which asks each residual block to contribute on the order of 1/L to feature movement. A coordinate check of activation scale across depth shows that scale 1 fails and forces per-rate tuning, while \(1/\rho\) largely passes. They set the evaluation scale to 1, so the inference output matches the expected training output.
With scale \(1/\rho\), the best batch size and learning rate stay largely constant across dropout rates, so the same transfer rules are reused for later runs.
Whole layers and per-sequence masks
The first comparison pits whole-layer dropout against sub-layer dropout at the same rate. At rate 0.1 on the 271M model, whole-layer dropout reached validation loss 2.367, a 3.18% increase over the baseline, compared to a 3.61% increase for sub-layer dropout. On the 503M model the increases were 2.84% for whole-layer and 3.03% for sub-layer dropout.
The authors take this as evidence that whole-block dropout is the better choice, although the gap is small at these sizes.
The second comparison is between masks shared across a batch and masks drawn independently for each sequence. Earlier codebases differ here, with Stochastic Depth and fairseq using per-batch masks and several later implementations using per-sequence masks. For any given rate, per-sequence masks gave lower loss than per-batch masks, which the authors tie to finer-grained sparsity.
Fig. 4 shows this for the 271M, 503M and 906M models at 20 TPP, so the result is not limited to one size.
Where dropout goes across depth and time
Three layer profiles are compared: uniform, Increasing Layer Distribution (ILD), and Alternating Layer Distribution (ALD). ILD ramps the rate with depth, as \[p^{ILD}_{\ell,t}=\frac{\ell}{L-1}\,p_{max}\], while ALD gives the maximum rate to alternating layers and zero to the rest. ILD's mean rate is half its maximum, so it can use a larger maximum at the same FLOPs savings.
At 906M and 10% FLOPs savings, uniform dropout at maximum 0.1 reached 1.977, while ILD at maximum 0.2 reached 1.972. Non-uniform profiles beat uniform ones at matched FLOPs, with ALD best at 271M and the ILD margin growing with size. So the authors recommend ILD as models grow.
The time schedules are constant, Increasing Time Schedule (ITS), and Decreasing Time Schedule (DTS). ITS and DTS share the same average rate under ILD, so the comparison isolates the effect of timing. At about 5% FLOPs savings, ILD with DTS at maximum 0.2 changed validation loss by 0.03% at 503M and by −0.06% at 906M, relative to the dense baseline.
Increasing schedules degrade loss more at the same budget, and the authors hypothesize that high early noise drives exploration while later decay settles the model.
Running at reduced depth without retraining
Early exit runs the embedding, the first transformer layers and the unembedding, and skips the rest. Models trained without dropout lose a lot of loss when they exit early, while dropout-trained models keep a steadier loss over a range of exit layers. The authors ask whether a decreasing schedule gives up this robustness by ending training without dropout.
They answer no: ILD with 0.4 and DTS beats a zero-dropout baseline at early exit and matches ILD at 0.2 when FLOPs are equal.
For intermediate layer skipping, dense baselines spike when any layer is skipped, while ALD degrades more gracefully. ALD keeps better robustness for non-contiguous skipping, but ILD gives better base accuracy and early-exit robustness. The authors frame this as a trade-off and advise choosing by deployment needs. Across the reported runs, they summarize that the average training dropout rate predicts zero-shot robustness without retraining.
Adapters and self-speculative decoding on frozen backbones
The authors test Balcony, which keeps the pretrained backbone frozen and trains lightweight exit adapters with a self-distillation KL loss. Models pretrained with layer dropout keep lower early-exit losses after adapters are added, at 270M, 503M and 906M. The authors argue this is cheaper than joint adapter pretraining, which raises memory use and FLOPs per step.
Self-speculative decoding uses a subset of the model's own layers as the draft, and the authors searched subsets with genetic algorithms, hill climbing and simulated annealing as well as Bayesian optimization. The authors hypothesized that the structural elasticity from dropout helps find better draft subsets.
Pushing dropout to 0.99 at 8.2B
Earlier work mostly stayed near rates of 0.1 or 0.2, so the authors pushed maximum rates to 0.6, 0.8 and 0.99 for the 1.8B, 3.9B and 8.2B models. In the 8.2B run, the effective depth starts at \((1-0.5p_{max})L\) under ILD with DTS, so the model begins with about half its layers.
The 8.2B model reached 1.663 at 25% FLOPs savings, and the authors describe it as competitive with the dense baselines. Table 5 has no dense 8.2B row, so that competitive claim rests on the authors' comparison rather than a same-table baseline. The downstream table shows a single 8.2B row, so the broader task claim rests on that one run.
Behavior at higher token budgets
They report that loss degradation stays within about 0.50% of the baseline even at high TPP. The authors read this as evidence that layer dropout does not impede scaling performance.
Limitations
The study has no scaling law that predicts the maximum dropout rate that costs no accuracy relative to the dense baseline. Structured layer dropout was not compared with learned depth methods such as Mixture-of-Depths. Attention-head and neuron-level dropout were not explored, and neither were MoE or non-transformer architectures.
The inference benefits were not quantified as TPP grows. Schedules for mid-training, SFT or continual pretraining, and pruning that modifies weights, were left for future work. The inference results cover only weight-frozen methods.
Paper info
- Authors
- Mostafa Elhoushi, Alexander D. Pretko, Nolan Simran Dey, Bin Claire Zhang, Gavia Gray, Gurpreet Gosal, Abdulrahman Mahmoud, Shane Bergsma, Joel Hestness
- Venue
- International Conference on Machine Learning · Published
- First published
- 2026-9-29
- Added
- 2026-11-27
- Original paper terms
- Check in the original ↗
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
Mostafa Elhoushi, Alexander D. Pretko, Nolan Simran Dey, Bin Claire Zhang, Gavia Gray, Gurpreet Gosal, Abdulrahman Mahmoud, Shane Bergsma, Joel Hestness (2026). Don’t Drop Dropout: Optimizing Layer Sparsity for Efficient LLM Training and Inference. International Conference on Machine Learning. https://proceedings.mlr.press/v306/elhoushi26a.html
BibTeX
@article{elhoushi2026drop,
title = {{Don’t Drop Dropout: Optimizing Layer Sparsity for Efficient LLM Training and Inference}},
author = {Mostafa Elhoushi and Alexander D. Pretko and Nolan Simran Dey and Bin Claire Zhang and Gavia Gray and Gurpreet Gosal and Abdulrahman Mahmoud and Shane Bergsma and Joel Hestness},
year = {2026},
journal = {International Conference on Machine Learning},
url = {https://proceedings.mlr.press/v306/elhoushi26a.html}
}