Reproduce “Accelerating Training of Transformer-Based Language Models with Progressive Layer Dropping” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Minjia Zhang, Yuxiong He

Researchers at Microsoft developed Progressive Layer Dropping (PLD), a method that significantly accelerates the pre-training of Transformer-based language models while maintaining or improving performance on downstream tasks. This approach achieves up to 2.8x faster pre-training for BERT-base and higher GLUE scores by dynamically adjusting network depth.

Key insights

  • Pre-Layer Normalization significantly stabilizes Transformer training, enabling the application of dynamic layer dropping by ensuring more balanced gradients across layers.
  • The progressive schedule for layer dropping, combined with dynamic network configurations, acts as a strong regularization technique, fostering more generalizable representations.
  • Lower layers of Transformer models are more critical for initial feature extraction, while higher layers primarily refine representations, making them suitable for increased dropping probabilities.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.