analiza aiqbench
This study re-evaluates layer dropout (stochastic depth) as a critical optimization for large language models, demonstrating that it reduces training FLOPs by up to 25% while accelerating inference through techniques like early exit and speculative decoding. Across thousands of experiments on models ranging from 271M to 8.2B parameters, the research establishes best practices for integrating dropout into state-of-the-art pre-training pipelines without sacrificing accuracy. These findings offer a practical pathway to improving efficiency in both training and deployment phases of modern LLMs.
Don't Drop Dropout: Optimizing Layer Sparsity for Efficient LLM Training and Inference
De la arXiv
Text integralLayer 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 upto 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.5x 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.
Text integral sub licența deschisă a publicației · 208 cuvinte