arXiv Analytics

Sign in

arXiv:2301.13310 [cs.LG]AbstractReferencesReviewsResources

Alternating Updates for Efficient Transformers

Cenk Baykal, Dylan Cutler, Nishanth Dikkala, Nikhil Ghosh, Rina Panigrahy, Xin Wang

Published 2023-01-30Version 1

It is well established that increasing scale in deep transformer networks leads to improved quality and performance. This increase in scale often comes with an increase in compute cost and inference latency. Consequently, research into methods which help realize the benefits of increased scale without leading to an increase in the compute cost becomes important. We introduce Alternating Updates (AltUp), a simple-to-implement method to increase a model's capacity without the computational burden. AltUp enables the widening of the learned representation without increasing the computation time by working on a subblock of the representation at each layer. Our experiments on various transformer models and language tasks demonstrate the consistent effectiveness of alternating updates on a diverse set of benchmarks. Finally, we present extensions of AltUp to the sequence dimension, and demonstrate how AltUp can be synergistically combined with existing approaches, such as Sparse Mixture-of-Experts models, to obtain efficient models with even higher capacity.

Related articles: Most relevant | Search more
arXiv:2009.06732 [cs.LG] (Published 2020-09-14)
Efficient Transformers: A Survey
arXiv:2104.05448 [cs.LG] (Published 2021-04-09)
Deep Transformer Networks for Time Series Classification: The NPP Safety Case
arXiv:2109.08668 [cs.LG] (Published 2021-09-17)
Primer: Searching for Efficient Transformers for Language Modeling