[Paper Review] Accelerating Training of Transformer-Based Language Models with Progressive Layer Dropping
The paper introduces Progressive Layer Dropping (PLD) with Switchable-Transformer blocks and a progressive schedule to train BERT faster without extra hardware, achieving up to 2.5x faster pre-training and competitive downstream performance.
Recently, Transformer-based language models have demonstrated remarkable performance across many NLP domains. However, the unsupervised pre-training step of these models suffers from unbearable overall computational expenses. Current methods for accelerating the pre-training either rely on massive parallelism with advanced hardware or are not applicable to language modeling. In this work, we propose a method based on progressive layer dropping that speeds the training of Transformer-based language models, not at the cost of excessive hardware resources but from model architecture change and training technique boosted efficiency. Extensive experiments on BERT show that the proposed method achieves a 24% time reduction on average per sample and allows the pre-training to be 2.5 times faster than the baseline to get a similar accuracy on downstream tasks. While being faster, our pre-trained models are equipped with strong knowledge transferability, achieving comparable and sometimes higher GLUE score than the baseline when pre-trained with the same number of samples.
Motivation & Objective
- Motivate reducing pre-training time for Transformer-based language models without heavy hardware
- Investigate why stochastic depth destabilizes Transformer pre-training and how to stabilize it
- Propose architectural and training innovations to enable layer dropping during pre-training
- Demonstrate efficiency gains and transfer performance on BERT with GLUE tasks
Proposed method
- Introduce Switchable-Transformer (ST) blocks with identity-mapped PreLN and gates to switch sub-layers on/off during training
- Adopt a progressive layer dropping schedule that gradually increases the layer-drop probability over training, with depth-dependent drop probabilities
- Use a Bernoulli gate G for each sub-layer, scaling outputs by 1/p to maintain expected contributions when activated
- Distribute the global keep probability across depth so lower layers are retained more often during training
- Train a BERT-base model from scratch and evaluate pre-training efficiency and GLUE transfer performance
- Compare with standard BERT pre-training and conduct ablations on PreLN vs PostLN and scheduling details
Experimental results
Research questions
- RQ1How does layer dropping impact stability and learning dynamics of Transformer-based pre-training?
- RQ2Can architectural changes (PreLN, ST blocks) stabilize training when some layers are dropped?
- RQ3What is the trade-off between training speed and downstream task performance when applying progressive layer dropping to BERT?
- RQ4Does PLD improve knowledge transfer to downstream tasks compared to baseline pre-training?
Key findings
- PLD achieves about 24% faster pre-training per sample and 2.5x faster pre-training to reach similar downstream accuracy
- Using Switchable-Transformer with PreLN improves training stability under layer dropping compared to PostLN
- A progressive keep-rate schedule with depth-aware drop probabilities enables efficient training without large hardware resources
- GLUE results indicate competitive or slightly improved transfer performance versus the baseline when pre-trained with the same number of samples
- PLD provides robust fine-tuning performance across multiple GLUE tasks and demonstrates stronger stability under larger learning rates during pre-training
- Ablation shows PreLN alone is slower and less effective than the PLD combination, confirming the benefit of the proposed schedule and architecture
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.