Parallel Token Prediction for Language Models
Felix Draxler, Justus Will, Farrin Marouf Sofian, Theofanis Karaletsos, Sameer Singh, Stephan Mandt
TL;DR
The paper tackles the autoregressive latency bottleneck in language models by introducing Parallel Token Prediction (PTP), which jointly predicts multiple tokens in a single transformer call through auxiliary random inputs $\{u_i\}$. It proves that PTP is expressive enough to represent arbitrary autoregressive distributions and provides two practical training paths: distillation from a teacher and inverse autoregressive training without supervision, plus an error-correction mechanism to preserve output fidelity. Empirically, PTP achieves state-of-the-art speculative decoding performance on Vicuna-7B (over $4$ tokens per step) and demonstrates strong results on taxi-location data, illustrating both speedups and coherent multi-token generation. Overall, PTP opens a universal framework for fast, reliable long-sequence generation without sacrificing modeling power, with clear implications for real-time and interactive deployment of large language models.
Abstract
We propose Parallel Token Prediction (PTP), a universal framework for parallel sequence generation in language models. PTP jointly predicts multiple dependent tokens in a single transformer call by incorporating the sampling procedure into the model. This reduces the latency bottleneck of autoregressive decoding, and avoids the restrictive independence assumptions common in existing multi-token prediction methods. We prove that PTP can represent arbitrary autoregressive sequence distributions. PTP is trained either by distilling an existing model or through inverse autoregressive training without a teacher. Experimentally, we achieve state-of-the-art speculative decoding performance on Vicuna-7B by accepting over four tokens per step on Spec-Bench. The universality of our framework indicates that parallel generation of long sequences is feasible without loss of modeling power.
