Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Beyond Autoregression: Fast LLMs via Self-Distillation Through Time

About

Autoregressive (AR) Large Language Models (LLMs) have demonstrated significant success across numerous tasks. However, the AR modeling paradigm presents certain limitations; for instance, contemporary autoregressive LLMs are trained to generate one token at a time, which can result in noticeable latency. Recent advances have indicated that search and repeated sampling can enhance performance in various applications, such as theorem proving, code generation, and alignment, by utilizing greater computational resources during inference. In this study, we demonstrate that diffusion language models are capable of generating at least 32 tokens simultaneously, while exceeding the performance of AR models in text quality and on the LAMBADA natural language understanding benchmark. This outcome is achieved through a novel distillation method for discrete diffusion models, which reduces the number of inference steps by a factor of 32-64. Practically, at the 1.3B parameters scale, diffusion models, even without caching, can generate tokens at a rate that is up to 8 times faster than AR models employing KV-caching, and we anticipate further improvements with the inclusion of caching. Moreover, we demonstrate the efficacy of our approach for diffusion language models with up to 860M parameters.

Justin Deschenaux, Caglar Gulcehre• 2024

Related benchmarks

TaskDatasetResultRank
Unconditional Text GenerationOpenWebText
Gen. PPL27.98
219
Text GenerationOpenWebText
Perplexity3.18
142
Language ModelingLM1B
PPL (Generalized)241
93
Language ModelingOWT
Gen. PPL47.04
78
Class-conditional Image GenerationImageNet class-conditional 256x256
Inception Score (IS)205
61
Conditional GenerationOpenWebText
Generation Perplexity (Gen.PPL)37.94
42
Text GenerationOWT
GPT2 Perplexity26.9
41
Unconditional GenerationLM1B
Generation Perplexity55.36
31
Unconditional Text GenerationOpenWebText (OWT) (test)
Generation Perplexity65.91
30
Class-conditional Image GenerationImageNet 256
FID8.97
28
Showing 10 of 22 rows

Other info

Follow for update