{"id": "http://arxiv.org/abs/2210.08933v3", "title": "DiffuSeq: Sequence to Sequence Text Generation with Diffusion Models", "abstract": "Recently, diffusion models have emerged as a new paradigm for generative models. Despite the success in domains using continuous signals such as vision and audio, adapting diffusion models to natural language is under-explored due to the discrete nature of texts, especially for conditional generation. We tackle this challenge by proposing DiffuSeq: a diffusion model designed for sequence-to-sequence (Seq2Seq) text generation tasks. Upon extensive evaluation over a wide range of Seq2Seq tasks, we find DiffuSeq achieving comparable or even better performance than six established baselines, including a state-of-the-art model that is based on pre-trained language models. Apart from quality, an intriguing property of DiffuSeq is its high diversity during generation, which is desired in many Seq2Seq tasks. We further include a theoretical analysis revealing the connection between DiffuSeq and autoregressive/non-autoregressive models. Bringing together theoretical analysis and empirical evidence, we demonstrate the great potential of diffusion models in complex conditional language generation tasks. Code is available at \\url{https://github.com/Shark-NLP/DiffuSeq}", "published_at": "2022-10-17T10:49:08+00:00", "source_updated_at": null, "source_url": "https://arxiv.org/abs/2210.08933v3", "source_hash": "83cf143c729d415cad431b2854ea5afb7a38921fa675cd9d43dc80c050e31945", "source_version": "v3", "full_text_available": false, "evidence_kind": "abstract", "analysis_scope": "abstract_or_excerpt", "scope": "core", "topics": [], "code_url": "https://github.com/Shark-NLP/DiffuSeq", "has_code": true, "indexable": false, "authors": [], "related_ids": [], "related_work": {"version": "related-work-v1", "status": "not_assessed", "reason": "missing_context", "items": []}, "review": null, "full_text_brief": null, "explanations": {}, "resources": {"version": "paper-resources-v1", "source_hash": "83cf143c729d415cad431b2854ea5afb7a38921fa675cd9d43dc80c050e31945", "evidence_kind": "abstract", "availability": "not_checked", "limited": false, "items": [{"origin": "source_excerpt", "evidence": "e or even better performance than six established baselines, including a state-of-the-art model that is based on pre-trained language models. Apart from quality, an intriguing property of DiffuSeq is its high diversity during generation, which is desired in many Seq2Seq tasks. We further include a theoretical analysis revealing the connection between DiffuSeq and autoregressive/non-autoregressive models. Bringing together theoretical analysis and empirical evidence, we demonstrate the great potential of diffusion models in complex conditional language generation tasks. Code is available at \\url{https://github.com/Shark-NLP/DiffuSeq}", "url": "https://github.com/Shark-NLP/DiffuSeq", "kind": "code", "span": [534, 1174], "evidence_hash": "4335e22b2b8a4ec4470a732f84f298309f6c6c43b2a15d8427212b60b9be194c"}]}, "slug": "2210.08933-diffuseq-sequence-to-sequence-text-generation-with-diffusion-models"}