Do Transformer Modifications Transfer Across Implementations and Applications?
Abstract
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.
Related Papers
- → Do Transformer Modifications Transfer Across Implementations and Applications?(2021)79 cited
- → Our troubles with Linux Kernel upgrades and why you should care(2013)8 cited
- → Improving robustness and computational efficiency using modern C++(2014)1 cited
- Some improvements over the continuation call tabling implementation technique(2007)
- Architecture and implementation of a parallel machine for imperative and nondeterministic functional languages(1991)