Skip to main content
QUICK REVIEW

[Paper Review] METRO: Efficient Denoising Pretraining of Large Scale Autoencoding Language Models with Model Generated Signals

Payal Bajaj, Chenyan Xiong|arXiv (Cornell University)|Apr 13, 2022
Topic ModelingComputer Science18 citations
TL;DR

This paper introduces METRO, a novel training recipe that enhances large-scale autoencoding language models through model-generated denoising signals and optimized training techniques. By leveraging an auxiliary model to create increasingly difficult corruption signals and integrating advanced optimization methods like ZeRO and fused operations, METRO-LM achieves state-of-the-art performance on GLUE, SuperGLUE, and SQuAD with 5.4B parameters—outperforming larger models while using significantly less pretraining compute and model size.

ABSTRACT

We present an efficient method of pretraining large-scale autoencoding language models using training signals generated by an auxiliary model. Originated in ELECTRA, this training strategy has demonstrated sample-efficiency to pretrain models at the scale of hundreds of millions of parameters. In this work, we conduct a comprehensive empirical study, and propose a recipe, namely "Model generated dEnoising TRaining Objective" (METRO), which incorporates some of the best modeling techniques developed recently to speed up, stabilize, and enhance pretrained language models without compromising model effectiveness. The resultant models, METRO-LM, consisting of up to 5.4 billion parameters, achieve new state-of-the-art on the GLUE, SuperGLUE, and SQuAD benchmarks. More importantly, METRO-LM are efficient in that they often outperform previous large models with significantly smaller model sizes and lower pretraining cost.

Motivation & Objective

  • To address the inefficiency and high computational cost of pretraining large-scale autoencoding language models.
  • To improve training stability and scalability for deep, large-scale models without sacrificing performance.
  • To develop a parameter- and energy-efficient pretraining recipe that outperforms existing methods.
  • To enable effective pretraining of large models using commodity hardware by reducing reliance on massive compute resources.
  • To establish a scalable, stable, and efficient training pipeline for autoencoding models that supports model growth to 5.4B parameters.

Proposed method

  • The method uses an auxiliary language model to generate corrupted input sequences by replacing tokens with model-generated predictions, creating dynamic, curriculum-based denoising signals.
  • The primary autoencoding model is trained to reconstruct the original input from these model-generated corruptions, following the ELECTRA-style pretraining objective.
  • A suite of optimization techniques is employed, including ZeRO for memory-efficient distributed training, fused mixed-precision operations, and scaled weight initialization to improve training stability.
  • Post-LayerNorm and deeper Transformer architectures are incorporated despite their instability risks, made feasible through the above optimization stack.
  • The training recipe is empirically refined through systematic ablation and hyperparameter tuning across model sizes (base, XL, XXL).
  • A new fine-tuning method based on posterior differential regularization is introduced to reduce downstream fine-tuning cost.

Experimental results

Research questions

  • RQ1Can model-generated corruption signals improve the sample efficiency and performance of large autoencoding language models compared to random masking?
  • RQ2How can training stability be enhanced for deep, large-scale autoencoders without compromising model effectiveness?
  • RQ3To what extent can advanced optimization techniques like ZeRO and fused operations enable training of deeper and larger models?
  • RQ4Can a smaller, more efficient model trained with METRO outperform larger, previously trained models on standard NLU benchmarks?
  • RQ5How does the curriculum of increasing corruption difficulty affect model convergence and performance in late-stage pretraining?

Key findings

  • METRO-LM with 5.4 billion parameters achieves state-of-the-art results on GLUE, SuperGLUE, and SQuAD, outperforming larger models.
  • METRO-LM XXL achieves comparable or better performance than previous SOTA models using only 40% of the pretraining steps.
  • The model shows significant performance gains after 50% of pretraining steps, indicating effective curriculum learning from increasingly difficult model-generated signals.
  • The training process is more energy-efficient: METRO-LM reaches SOTA performance with half the pretraining compute of prior models.
  • The use of ZeRO, fused operations, and scaled initialization enables stable training of deep models (64 layers) that would otherwise diverge.
  • The model’s smaller size and lower pretraining cost enable high performance without requiring massive computational resources.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.