Learning to Keep a Promise: Scaling Language Model Decoding Parallelism with Learned Asynchronous Decoding

Tian Jin, Ellie Y Cheng, Zachary Ankner, Nikunj Saunshi, Blake M Elias, Amir Yazdanbakhsh, Jonathan Ragan-Kelley, Suvinay Subramanian, Michael Carbin
Proceedings of the 42nd International Conference on Machine Learning, PMLR 267:27941-27956, 2025.

Abstract

Decoding with autoregressive language models traditionally occurs sequentially, generating one token after another. Recent attempts to introduce parallelism require a pre-determined structure in the generated content to implement parallel generation, such as by pattern-matching on bullet points. In this work, we present a new technique to automate parallel generation by dynamically exploiting the semantic independence of generation outputs to implement asynchronous decoding. We introduce an annotation language Pasta-Lang for language models to initiate asynchronous decoding at inference time. We also develop an accompanying Pasta-Lang interpreter that performs on-the-fly asynchronous decoding, effectively implementing parallel generation and speeding up inference. We present an instruction-finetuning dataset with Pasta-Lang-annotated responses for teaching LLMs to annotate semantic independence with Pasta-Lang as well as the methodology for creating the dataset. Our evaluation shows using the interpreter with a Pasta-Lang-equipped model achieves significant speedup while maintaining the same generation quality.

Cite this Paper


BibTeX
@InProceedings{pmlr-v267-jin25a, title = {Learning to Keep a Promise: Scaling Language Model Decoding Parallelism with Learned Asynchronous Decoding}, author = {Jin, Tian and Cheng, Ellie Y and Ankner, Zachary and Saunshi, Nikunj and Elias, Blake M and Yazdanbakhsh, Amir and Ragan-Kelley, Jonathan and Subramanian, Suvinay and Carbin, Michael}, booktitle = {Proceedings of the 42nd International Conference on Machine Learning}, pages = {27941--27956}, year = {2025}, editor = {Singh, Aarti and Fazel, Maryam and Hsu, Daniel and Lacoste-Julien, Simon and Berkenkamp, Felix and Maharaj, Tegan and Wagstaff, Kiri and Zhu, Jerry}, volume = {267}, series = {Proceedings of Machine Learning Research}, month = {13--19 Jul}, publisher = {PMLR}, pdf = {https://raw.githubusercontent.com/mlresearch/v267/main/assets/jin25a/jin25a.pdf}, url = {https://proceedings.mlr.press/v267/jin25a.html}, abstract = {Decoding with autoregressive language models traditionally occurs sequentially, generating one token after another. Recent attempts to introduce parallelism require a pre-determined structure in the generated content to implement parallel generation, such as by pattern-matching on bullet points. In this work, we present a new technique to automate parallel generation by dynamically exploiting the semantic independence of generation outputs to implement asynchronous decoding. We introduce an annotation language Pasta-Lang for language models to initiate asynchronous decoding at inference time. We also develop an accompanying Pasta-Lang interpreter that performs on-the-fly asynchronous decoding, effectively implementing parallel generation and speeding up inference. We present an instruction-finetuning dataset with Pasta-Lang-annotated responses for teaching LLMs to annotate semantic independence with Pasta-Lang as well as the methodology for creating the dataset. Our evaluation shows using the interpreter with a Pasta-Lang-equipped model achieves significant speedup while maintaining the same generation quality.} }
Endnote
%0 Conference Paper %T Learning to Keep a Promise: Scaling Language Model Decoding Parallelism with Learned Asynchronous Decoding %A Tian Jin %A Ellie Y Cheng %A Zachary Ankner %A Nikunj Saunshi %A Blake M Elias %A Amir Yazdanbakhsh %A Jonathan Ragan-Kelley %A Suvinay Subramanian %A Michael Carbin %B Proceedings of the 42nd International Conference on Machine Learning %C Proceedings of Machine Learning Research %D 2025 %E Aarti Singh %E Maryam Fazel %E Daniel Hsu %E Simon Lacoste-Julien %E Felix Berkenkamp %E Tegan Maharaj %E Kiri Wagstaff %E Jerry Zhu %F pmlr-v267-jin25a %I PMLR %P 27941--27956 %U https://proceedings.mlr.press/v267/jin25a.html %V 267 %X Decoding with autoregressive language models traditionally occurs sequentially, generating one token after another. Recent attempts to introduce parallelism require a pre-determined structure in the generated content to implement parallel generation, such as by pattern-matching on bullet points. In this work, we present a new technique to automate parallel generation by dynamically exploiting the semantic independence of generation outputs to implement asynchronous decoding. We introduce an annotation language Pasta-Lang for language models to initiate asynchronous decoding at inference time. We also develop an accompanying Pasta-Lang interpreter that performs on-the-fly asynchronous decoding, effectively implementing parallel generation and speeding up inference. We present an instruction-finetuning dataset with Pasta-Lang-annotated responses for teaching LLMs to annotate semantic independence with Pasta-Lang as well as the methodology for creating the dataset. Our evaluation shows using the interpreter with a Pasta-Lang-equipped model achieves significant speedup while maintaining the same generation quality.
APA
Jin, T., Cheng, E.Y., Ankner, Z., Saunshi, N., Elias, B.M., Yazdanbakhsh, A., Ragan-Kelley, J., Subramanian, S. & Carbin, M.. (2025). Learning to Keep a Promise: Scaling Language Model Decoding Parallelism with Learned Asynchronous Decoding. Proceedings of the 42nd International Conference on Machine Learning, in Proceedings of Machine Learning Research 267:27941-27956 Available from https://proceedings.mlr.press/v267/jin25a.html.

Related Material