for natural language understanding. In Findings of the Association for Computational Linguistics: EMNLP 2020 , pages 4163–4174, Online, Nov. 2020. Association for Computational Linguistics. doi: 10.18653/v1/2020.ﬁndings-emnlp.372. URL https://aclanthology.org/2020.
findings-emnlp.372 .
Y. Kim and A. M. Rush. Sequence-level knowledge distillation. CoRR, abs/1606.07947, 2016. URL
http://arxiv.org/abs/1606.07947 .
Y. Leviathan, M. Kalman, and Y. Matias. Fast inference from transformers via speculative decoding.
ArXiv, abs/2211.17192, 2022.
Y. Levine, N. Wies, O. Sharir, H. Bata, and A. Shashua. The depth-to-width interplay in self-attention.
arXiv preprint arXiv:2006.12467 , 2020.
S. Narayan, S. B. Cohen, and M. Lapata. Don’t give me the details, just the summary! topicaware convolutional neural networks for extreme summarization. In Proceedings of the 2018
We present speculative sampling, an algorithm for accelerating transformer
decoding by enabling the generation of multiple tokens from each transformer
call. Our algorithm relies on the observation that the latency of parallel
scoring of short continuations, generated by a faster but less powerful draft
model, is comparable to that of sampling a single token from the larger target
model. This is combined with a novel modified rejection sampling scheme which
preserves the distribution of the target model within hardware numerics. We
benchmark speculative sampling with Chinchilla, a 70 billion parameter language
model, achieving a 2-2.5x decoding speedup in a distributed setup, without
compromising the sample quality or making modifications to the model itself.
Charlie Chen Sebastian Borgeaud Geoffrey Irving Jean-Baptiste Lespiau Laurent Sifre John Jumper