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

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

Text

Jin et al. "Learning to Keep a Promise: Scaling Language Model Decoding Parallelism with Learned Asynchronous Decoding." Proceedings of the 42nd International Conference on Machine Learning, 2025.

Markdown

[Jin et al. "Learning to Keep a Promise: Scaling Language Model Decoding Parallelism with Learned Asynchronous Decoding." Proceedings of the 42nd International Conference on Machine Learning, 2025.](https://mlanthology.org/icml/2025/jin2025icml-learning/)

BibTeX

@inproceedings{jin2025icml-learning,
  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},
  year      = {2025},
  pages     = {27941-27956},
  volume    = {267},
  url       = {https://mlanthology.org/icml/2025/jin2025icml-learning/}
}