The Xiaohongshu Multimedia Intelligent Algorithm Team and the Chinese University of Hong Kong jointly proposed a high-performance speech synthesis scheme MSMC-TTS based on multi-stage multi-codebook compact speech representation for the first time. The feature analyzer based on vector quantized variational autoencoder (VQ-VAE) uses several codebooks to encode acoustic features in stages to form a set of latent sequences with different temporal resolutions. These latent sequences can be predicted from text by a multi-stage predictor and converted into target audio by a neural vocoder. Compared with the Mel-Spectrogram-based Fastspeech baseline system, this solution has significant improvements in sound quality and naturalness. This work has now been summarized into the paper "A Multi-Stage Multi-Codebook VQ-VAE Approach to High-Performance Neural TTS" and was accepted by the speech domain conference INTERSPEECH 2022.
Text-to-Speech (TTS) is a technology that converts text into speech. It is widely used in video dubbing and audio and video content creation. , intelligent human-computer interaction and other products. The back-end acoustic modeling technology of mainstream speech synthesis systems usually includes three parts: feature extractor, acoustic model and vocoder. TTS usually performs acoustic modeling on acoustic features obtained based on signal processing (such as Mel Spectrogram). However, limited by the fitting ability of the model, there is a certain difference in distribution between the predicted acoustic features and the real data. This This makes it difficult for vocoder trained on real data to generate high-quality audio from predicted features.
##VQ-VAE model structure diagram
MHVQ will be a single codebook It is divided into several sub-codebooks according to the direction of feature dimensions. During quantization, each input vector is equally cut into several sub-vectors, quantized with corresponding sub-codebooks respectively, and finally spliced into an output vector. In this way, we can more effectively improve codebook utilization and representation capacity without increasing the amount of codebook parameters. For example, to reduce the compression ratio by a factor of 1, the codewords must be increased to the square of the original codebook number. After using MHVQ, the same compression rate can be achieved by simply splitting the codebook into two parts. Therefore, this method can regulate the completeness of quantitative representation more effectively.
MHVQ example picture
In addition, when quantizing the speech sequence , all kinds of information contained in speech features are lost to varying degrees. This information is different in time granularity, such as coarse-grained timbre, pronunciation style, etc., and fine-grained pitch, pronunciation details, etc. Over-compressing information on any time scale can cause some degree of degradation in speech quality. To alleviate this problem, this work proposes a multi-time scale speech modeling method. As shown in the figure, the acoustic feature sequence is encoded in stages to different time scales through several encoders, and then quantized layer by layer through the decoder, decoding to obtain several quantized sequences with different time resolutions. The representation composed of this type of sequence set is the multi-stage multi-codebook representation proposed in this work.
Multi-stage modeling example diagram
For multi-stage Multi-codebook represents MSMCR, and this paper proposes the corresponding TTS system, namely MSMC-TTS system. The system includes three parts: analysis, synthesis and prediction. In system training, the system first trains the analysis module. The audio in the training set is converted into high-completeness acoustic features (such as the Mel-Spectrogram features used in this work) after signal processing. These acoustic features are used to train the feature analyzer based on MSMC-VQ-VAE. At the end of the training, they are converted into the corresponding MSMCR, and then the acoustic model and neural vocoder are trained. During decoding, the system uses an acoustic model to predict MSMCR from text and then uses a neural vocoder to produce the target audio.
This work proposes a new set of high-performance TTS (MSMC-TTS) modeling methods from the perspective of studying compact speech representation. The system extracts multi-stage multi-codebook representations from audio in place of traditional acoustic features. Input text can be converted into this speech representation consisting of multiple sequences with different temporal resolutions by a multi-stage predictor and converted to a target speech signal by a neural vocoder. Experimental results show that compared with the mainstream FastSpeech system based on Mel-Spectrogram, this system exhibits better synthesis quality and lower requirements for modeling complexity.
Guo Haohan: Intern in Xiaohongshu Multimedia Intelligent Algorithm Team. He graduated from Northwestern Polytechnical University with a bachelor's degree and studied in the ASLP laboratory under Professor Xie Lei. Currently, he is studying for his Ph.D. in the HCCL Laboratory of the Chinese University of Hong Kong, studying under Professor Meng Meiling. So far, as a first author, six papers have been published at ICASSP, INTERSPEECH, and SLT international speech conferences.
Xie Fenglong: Head of voice technology of Xiaohongshu Multimedia Intelligent Algorithm Team. He has published more than ten papers in speech conferences and journals such as ICASSP, INTERSPEECH, and SPEECHCOM. He has long been a reviewer for major speech conferences such as ICASSP and INTERSPEECH. His main research direction is speech signal processing and modeling.
The above is the detailed content of How to build high-performance speech synthesis systems with compact speech representations. For more information, please follow other related articles on the PHP Chinese website!