[Paper Review] On the Transformer Growth for Progressive BERT Training
This paper proposes CompoundGrow, a compound scaling approach for progressive BERT pre-training that simultaneously grows Transformer models across depth, width, and input sequence length using optimized growth operators. By balancing multiple dimensions and selecting effective operators—such as embedding pooling for length and parameter sharing for width—it accelerates BERT-base and BERT-large pre-training by 73.6% and 82.2% in wall time, respectively, while matching or exceeding original BERT performance.
Due to the excessive cost of large-scale language model pre-training, considerable efforts have been made to train BERT progressively -- start from an inferior but low-cost model and gradually grow the model to increase the computational complexity. Our objective is to advance the understanding of Transformer growth and discover principles that guide progressive training. First, we find that similar to network architecture search, Transformer growth also favors compound scaling. Specifically, while existing methods only conduct network growth in a single dimension, we observe that it is beneficial to use compound growth operators and balance multiple dimensions (e.g., depth, width, and input length of the model). Moreover, we explore alternative growth operators in each dimension via controlled comparison to give operator selection practical guidance. In light of our analyses, the proposed method speeds up BERT pre-training by 73.6% and 82.2% for the base and large models respectively, while achieving comparable performances
Motivation & Objective
- To advance understanding of Transformer growth in progressive pre-training, particularly the role of multi-dimensional scaling.
- To identify effective growth operators across depth, width, and input length for BERT models.
- To reduce the high computational cost of large-scale BERT pre-training through efficient, compound growth strategies.
- To provide practical, empirically guided design principles for growth operators in progressive training.
Proposed method
- Proposes a compound growth operator that simultaneously scales depth, width, and input sequence length in a balanced manner.
- Employs embedding pooling with size 2 on the length dimension to replace direct truncation of long sequences.
- Applies parameter sharing with k=2 on feed-forward networks to efficiently scale width without full reinitialization.
- Uses stacking to grow depth from a smaller model, preserving learned weights.
- Conducts controlled ablation studies to compare growth operators across dimensions, including low-rank approximation and pooling.
- Implements a three-stage training schedule: train small models with partial capacity, then apply compound growth to full capacity, followed by full fine-tuning.
Experimental results
Research questions
- RQ1Does compound scaling across multiple model dimensions (depth, width, input length) lead to better performance and faster training than single-dimensional growth in BERT?
- RQ2Which growth operators are most effective for each dimension—e.g., pooling vs. truncation for length, parameter sharing vs. low-rank approximation for width?
- RQ3Can compound growth achieve comparable or better performance than standard BERT pre-training while significantly reducing training time?
- RQ4How does the choice of growth operator impact training stability and final fine-tuning performance on downstream tasks?
Key findings
- CompoundGrow reduces BERT-base pre-training wall time by 73.6% and BERT-large by 82.2% compared to standard training, with no performance degradation.
- The method achieves comparable or better performance than standard BERT on GLUE benchmark, with only a minor drop on CoLA, likely due to dataset size and variance.
- Embedding pooling outperforms direct truncation for length growth, improving generalization and training stability.
- Parameter sharing is more effective than low-rank approximation for width scaling, preserving model capacity and performance.
- Compound scaling across depth, width, and input length yields superior results compared to single-dimensional growth, validating the compound effect in progressive training.
- The final model matches or exceeds standard BERT performance on MNLI and SQuaD benchmarks, confirming the effectiveness of the compound growth strategy.
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.