Do Transformer Modifications Transfer Across Implementations and Applications?

By Sharan Narang, Hyung Won Chung, Yi Tay, William Fedus, Thibault Févry, Michael Matena, Karishma Malkan, Noah Fiedel, Noam Shazeer, Zhenzhong Lan and 6 more. 2021

138 citations recorded by the source corpus.

The research community has proposed copious modifications to the Transformer architecture since it was introduced over three years ago, relatively few of which have seen widespread adoption. In this paper, we comprehensively evaluate many of these modifications in a shared experimental setting that covers most of the common uses of the Transformer in natural language processing. Surprisingly, we find that most modifications do not meaningfully improve performance. Furthermore, most of the Transformer variants we found beneficial were either developed in the same codebase that we used or are relatively minor changes. We conjecture that performance improvements may strongly depend on implementation details and correspondingly make some recommendations for improving the generality of experimental results.

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

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. Quoc V. Le
  5. Noah A. Smith
  6. Yejin Choi
  7. Percy Liang
  8. Graham Neubig

In Computer Vision and Pattern Recognition

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

In Model Architectures

  1. Quoc V. Le
  2. Yi Tay
  3. Tie-Yan Liu
  4. Mostafa Dehghani
  5. Irwan Bello
  6. Donald Metzler
  7. Hanxiao Liu
  8. J. Ainslie

Citations in the corpus