arXivPreprintOpen accesscs.LG

Parallel Language Models via Variational Decoding

Felix Draxler, Robin C. Geyer, Daniel Geyfman, Farrin Marouf Sofian, Justus Will, Philipp Hildebrandt, Giosue Migliorini, Prakhar Srivastava,

Computational

Key points

From the paper's conclusion
  • The study introduces Parallel Language Models (PLMs) that generate mutually consistent tokens in one forward pass by routing dependencies through latent auxiliary variables.
  • Empirically, PLMs achieve faster inference speeds and better performance than autoregressive and discrete diffusion baselines, with speedup following a power law in model size.
  • Pretrained PLMs match or exceed autoregressive models on math, coding, and instruction-following benchmarks, with the 1.3B model speeding up inference 2.3-5.7 times.

Abstract

Autoregressive language models emit one token per forward pass. This causes high inference latency, in particular as models are scaled up for quality. In this paper, we introduce Parallel Language Models (PLMs), which generate mutually consistent tokens in one forward pass by routing dependencies through latent auxiliary variables. PLMs are trained using a variational bound that reduces to an autoregressive loss plus a parallel decoding loss. Empirically, PLMs are on a faster and better Pareto frontier than autoregressive and discrete diffusion baselines. Pretrained PLMs achieve near-autoregressive pretraining loss on model scales of 80M to 3B parameters, and speedup follows a power law in model size. When post-trained, our 1.3B model matches or exceeds an identically trained autoregressive model on math, coding, and instruction-following benchmarks, speeding up inference $2.3\text{-}5.7\times$. Together, we show that parallel generation can be trained from a single training objective at autoregressive quality. We will make our code available at https://github.com/mandt-lab/plm.

Read the paper

Discussion · 1

Science Skim's AI key points, plus readers' public thoughts

Science SkimAI key points
Pinned
  • The study introduces Parallel Language Models (PLMs) that generate mutually consistent tokens in one forward pass by routing dependencies through latent auxiliary variables.
  • Empirically, PLMs achieve faster inference speeds and better performance than autoregressive and discrete diffusion baselines, with speedup following a power law in model size.
  • Pretrained PLMs match or exceed autoregressive models on math, coding, and instruction-following benchmarks, with the 1.3B model speeding up inference 2.3-5.7 times.

Readers' thoughts

No reader thoughts yet.

Related papers