Empowering Diffusion Models on the Embedding Space for Text Generation

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Gao, Zhujin, Guo, Junliang, Tan, Xu, Zhu, Yongxin, Zhang, Fang, Bian, Jiang, Xu, Linli
Format: Preprint
Published: 2022
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911846759399424
author Gao, Zhujin
Guo, Junliang
Tan, Xu
Zhu, Yongxin
Zhang, Fang
Bian, Jiang
Xu, Linli
author_facet Gao, Zhujin
Guo, Junliang
Tan, Xu
Zhu, Yongxin
Zhang, Fang
Bian, Jiang
Xu, Linli
contents Diffusion models have achieved state-of-the-art synthesis quality on both visual and audio tasks, and recent works further adapt them to textual data by diffusing on the embedding space. In this paper, we conduct systematic studies of the optimization challenges encountered with both the embedding space and the denoising model, which have not been carefully explored. Firstly, the data distribution is learnable for embeddings, which may lead to the collapse of the embedding space and unstable training. To alleviate this problem, we propose a new objective called the anchor loss which is more efficient than previous methods. Secondly, we find the noise levels of conventional schedules are insufficient for training a desirable denoising model while introducing varying degrees of degeneration in consequence. To address this challenge, we propose a novel framework called noise rescaling. Based on the above analysis, we propose Difformer, an embedding diffusion model based on Transformer. Experiments on varieties of seminal text generation tasks show the effectiveness of the proposed methods and the superiority of Difformer over previous state-of-the-art embedding diffusion baselines.
format Preprint
id arxiv_https___arxiv_org_abs_2212_09412
institution arXiv
publishDate 2022
record_format arxiv
spellingShingle Empowering Diffusion Models on the Embedding Space for Text Generation
Gao, Zhujin
Guo, Junliang
Tan, Xu
Zhu, Yongxin
Zhang, Fang
Bian, Jiang
Xu, Linli
Computation and Language
Artificial Intelligence
Machine Learning
Diffusion models have achieved state-of-the-art synthesis quality on both visual and audio tasks, and recent works further adapt them to textual data by diffusing on the embedding space. In this paper, we conduct systematic studies of the optimization challenges encountered with both the embedding space and the denoising model, which have not been carefully explored. Firstly, the data distribution is learnable for embeddings, which may lead to the collapse of the embedding space and unstable training. To alleviate this problem, we propose a new objective called the anchor loss which is more efficient than previous methods. Secondly, we find the noise levels of conventional schedules are insufficient for training a desirable denoising model while introducing varying degrees of degeneration in consequence. To address this challenge, we propose a novel framework called noise rescaling. Based on the above analysis, we propose Difformer, an embedding diffusion model based on Transformer. Experiments on varieties of seminal text generation tasks show the effectiveness of the proposed methods and the superiority of Difformer over previous state-of-the-art embedding diffusion baselines.
title Empowering Diffusion Models on the Embedding Space for Text Generation
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2212.09412