Do Transformer Modifications Transfer Across Implementations and Applications?

by   Sharan Narang, et al.

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.


page 1

page 2

page 3

page 4


Neutron: An Implementation of the Transformer Translation Model and its Variants

The Transformer translation model is easier to parallelize and provides ...

Better plain ViT baselines for ImageNet-1k

It is commonly accepted that the Vision Transformer model requires sophi...

Vision Language Transformers: A Survey

Vision language tasks, such as answering questions about or generating c...

Pruning Attention Heads of Transformer Models Using A* Search: A Novel Approach to Compress Big NLP Architectures

Recent years have seen a growing adoption of Transformer models such as ...

An Augmented Transformer Architecture for Natural Language Generation Tasks

The Transformer based neural networks have been showing significant adva...

Transformer models: an introduction and catalog

In the past few years we have seen the meteoric appearance of dozens of ...

Sequential algorithmic modification with test data reuse

After initial release of a machine learning algorithm, the model can be ...

Please sign up or login with your details

Forgot password? Click here to reset