Reducing Transformer Depth on Demand with Structured Dropout

By Angela Fan, Edouard Grave, Armand Joulin. 2019

727 citations recorded by the source corpus.

Overparameterized transformer networks have obtained state of the art results in various natural language processing tasks, such as machine translation, language modeling, and question answering. These models contain hundreds of millions of parameters, necessitating a large amount of computation and making them prone to overfitting. In this work, we explore LayerDrop, a form of structured dropout, which has a regularization effect during training and allows for efficient pruning at inference time. In particular, we show that it is possible to select sub-networks of any depth from one large network without having to finetune them and with limited impact on performance. We demonstrate the effectiveness of our approach by improving the state of the art on machine translation, language modeling, summarization, question answering, and language understanding benchmarks. Moreover, we show that our approach leads to small BERT-like models of higher quality compared to training from scratch or using distillation.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Model Architectures, Efficiency & Compression

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Mohit Bansal
  2. Luke S. Zettlemoyer
  3. Jianfeng Gao
  4. Graham Neubig
  5. Furu Wei
  6. Yonatan Belinkov
  7. Percy Liang
  8. Kyunghyun Cho

In Computer Vision and Pattern Recognition

  1. Dacheng Tao
  2. Luc Van Gool
  3. Xiaogang Wang
  4. Trevor Darrell
  5. Ming-Hsuan Yang
  6. Jitendra Malik
  7. Andrew Zisserman
  8. Cordelia Schmid

In Model Architectures

  1. Yonatan Belinkov
  2. Gabriel Synnaeve
  3. Ronan Collobert
  4. Xinchao Wang
  5. Herv'e J'egou
  6. Mohit Bansal
  7. Mostafa Dehghani
  8. Armand Joulin

In Efficiency & Compression

  1. Kurt Keutzer
  2. A. Gholami
  3. Zi-Mei Yao
  4. Michael W. Mahoney
  5. Canwen Xu
  6. Sehoon Kim
  7. Alexander M. Rush
  8. Julian McAuley

Citations in the corpus