Skip to content
conftrace_
2021 EMNLP EMNLP 2021

Bag of Tricks for Optimizing Transformer Efficiency

AbstractImproving Transformer efficiency has become increasingly attractive recently. A wide range of methods has been proposed, e.g., pruning, quantization, new architectures and etc. But these methods are either sophisticated in implementation or dependent on hardware. In this paper, we show that the efficiency of Transformer can be improved by combining some simple and hardware-agnostic methods, including tuning hyper-parameters, better design choices and training strategies. On the WMT news translation tasks, we improve the inference efficiency of a strong Transformer system by 3.80x on CPU and 2.52x on GPU.

🐣 Hot Topic Early Bird - model optimization

More from EMNLP 2021

All EMNLP 2021 papers →