CLNov 27, 2020

CoRe: An Efficient Coarse-refined Training Framework for BERT

arXiv:2011.13633v22 citations
AI Analysis

This work tackles the problem of slow and resource-intensive BERT training for researchers and practitioners, offering an incremental improvement in training efficiency.

This paper addresses the computational challenge of training large BERT models by proposing CoRe, a two-phase training framework. It significantly reduces training time without compromising performance by first training a relaxed, smaller BERT model and then retraining the original BERT with this model's initialization.

In recent years, BERT has made significant breakthroughs on many natural language processing tasks and attracted great attentions. Despite its accuracy gains, the BERT model generally involves a huge number of parameters and needs to be trained on massive datasets, so training such a model is computationally very challenging and time-consuming. Hence, training efficiency should be a critical issue. In this paper, we propose a novel coarse-refined training framework named CoRe to speed up the training of BERT. Specifically, we decompose the training process of BERT into two phases. In the first phase, by introducing fast attention mechanism and decomposing the large parameters in the feed-forward network sub-layer, we construct a relaxed BERT model which has much less parameters and much lower model complexity than the original BERT, so the relaxed model can be quickly trained. In the second phase, we transform the trained relaxed BERT model into the original BERT and further retrain the model. Thanks to the desired initialization provided by the relaxed model, the retraining phase requires much less training steps, compared with training an original BERT model from scratch with a random initialization. Experimental results show that the proposed CoRe framework can greatly reduce the training time without reducing the performance.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes