arXiv (Cornell University) · 2022 · 237 citations · 0 references
ComputingComputer ScienceComputational LinguisticsMachine LearningNatural Language ProcessingDeep LearningLanguage ModelingLanguage ModelsNatural Language GenerationSentiment AnalysisText GenerationAutomated Text GenerationControllable GenerationControlled Natural Language GenerationDiffusion ModelsDiffusionsLanguage GenerationLanguage Processing ModelsNeural Language Models
Controlling language models without retraining remains a major open problem, with recent successes limited to simple attributes and little progress on complex fine‑grained controls such as syntactic structure. The authors develop a new non‑autoregressive language model, Diffusion‑LM, based on continuous diffusions to address this challenge. Diffusion‑LM iteratively denoises Gaussian vectors into word vectors, producing intermediate latent variables that enable a simple gradient‑based algorithm for complex controllable generation. The model achieves successful control on six challenging fine‑grained tasks, significantly outperforming prior work.
Controlling the behavior of language models (LMs) without re-training is a major open problem in natural language generation. While recent works have demonstrated successes on controlling simple sentence attributes (e.g., sentiment), there has been little progress on complex, fine-grained controls (e.g., syntactic structure). To address this challenge, we develop a new non-autoregressive language model based on continuous diffusions that we call Diffusion-LM. Building upon the recent successes of diffusion models in continuous domains, Diffusion-LM iteratively denoises a sequence of Gaussian vectors into word vectors, yielding a sequence of intermediate latent variables. The continuous, hierarchical nature of these intermediate variables enables a simple gradient-based algorithm to perform complex, controllable generation tasks. We demonstrate successful control of Diffusion-LM for six challenging fine-grained control tasks, significantly outperforming prior work.