Diffsound: Discrete Diffusion Model for Text-to-sound Generation
Dongchao Yang, Jianwei Yu, Helin Wang, Wen Wang, Chao Weng, Yuexian Zou, and Dong Yu, Dongchao Yang, Helin Wang, Wen Wang and Yuexian Zou are with the Advanced Data and Signal Processing laboratory, School of Electronic and Computer Engineering, Peking University, China. This work was done when Dongchao Yang was an intern at Tencent AI Lab.Jianwei Yu, Chao Weng and Dong Yu are with Tencent AI Lab.Yuexian Zou and Jianwei Yu are the corresponding authors.
Abstract
Generating sound effects that people want is an important topic. However, there are limited studies in this area for sound generation. In this study, we investigate generating sound conditioned on a text prompt and propose a novel text-to-sound generation framework that consists of a text encoder, a Vector Quantized Variational Autoencoder (VQ-VAE), a token-decoder, and a vocoder. The framework first uses the token-decoder to transfer the text features extracted from the text encoder to a mel-spectrogram with the help of VQ-VAE, and then the vocoder is used to transform the generated mel-spectrogram into a waveform. We found that the token-decoder significantly influences the generation performance. Thus, we focus on designing a good token-decoder in this study. We begin with the traditional autoregressive (AR) token-decoder, which has shown state-of-the-art performance in previous sound generation works. However, the AR token-decoder always predicts the mel-spectrogram tokens one by one in order, which may introduce the unidirectional bias and accumulation of errors problems. Moreover, with the AR token-decoder, the sound generation time increases linearly with the sound duration.
原文 arXiv:2207.09983;中英对照 + 大白话阅读 https://aha.fim.ai/paper/2207.09983v2