Skip to main content
QUICK REVIEW

[Paper Review] UniCATS: A Unified Context-Aware Text-to-Speech Framework with Contextual VQ-Diffusion and Vocoding

Chenpeng Du, Yiwei Guo|arXiv (Cornell University)|Jun 13, 2023
Speech Recognition and SynthesisComputer Science34 references4 citations
TL;DR

UniCATS proposes a unified, context-aware text-to-speech framework using contextual VQ-diffusion for semantic token generation and contextual vocoding for waveform synthesis, enabling state-of-the-art performance in both zero-shot speaker-adapted speech continuation and context-aware speech editing. It overcomes autoregressive limitations and codec quality bottlenecks by jointly modeling left and right context and improving resynthesis quality over prior methods.

ABSTRACT

The utilization of discrete speech tokens, divided into semantic tokens and acoustic tokens, has been proven superior to traditional acoustic feature mel-spectrograms in terms of naturalness and robustness for text-to-speech (TTS) synthesis. Recent popular models, such as VALL-E and SPEAR-TTS, allow zero-shot speaker adaptation through auto-regressive (AR) continuation of acoustic tokens extracted from a short speech prompt. However, these AR models are restricted to generate speech only in a left-to-right direction, making them unsuitable for speech editing where both preceding and following contexts are provided. Furthermore, these models rely on acoustic tokens, which have audio quality limitations imposed by the performance of audio codec models. In this study, we propose a unified context-aware TTS framework called UniCATS, which is capable of both speech continuation and editing. UniCATS comprises two components, an acoustic model CTX-txt2vec and a vocoder CTX-vec2wav. CTX-txt2vec employs contextual VQ-diffusion to predict semantic tokens from the input text, enabling it to incorporate the semantic context and maintain seamless concatenation with the surrounding context. Following that, CTX-vec2wav utilizes contextual vocoding to convert these semantic tokens into waveforms, taking into consideration the acoustic context. Our experimental results demonstrate that CTX-vec2wav outperforms HifiGAN and AudioLM in terms of speech resynthesis from semantic tokens. Moreover, we show that UniCATS achieves state-of-the-art performance in both speech continuation and editing.

Motivation & Objective

  • To address the limitations of autoregressive models in speech editing, where both preceding and following context are available.
  • To overcome the audio quality constraints imposed by audio codec performance in existing discrete-token TTS systems.
  • To enable seamless, context-aware synthesis that maintains naturalness and speaker identity in both continuation and editing tasks.
  • To unify the speech continuation and editing pipelines under a single framework with shared components.

Proposed method

  • UniCATS employs a two-stage framework: CTX-txt2vec for contextual VQ-diffusion-based semantic token prediction from text, and CTX-vec2wav for contextual vocoding to convert tokens into waveforms.
  • CTX-txt2vec uses a Conformer-based text encoder and duration predictor to condition VQ-diffusion on phonetic and prosodic context, enabling bidirectional context integration.
  • The VQ-diffusion model in CTX-txt2vec is trained with a weighted loss combining duration prediction and VQ-diffusion reconstruction, allowing for high-fidelity semantic token generation.
  • CTX-vec2wav performs conditional waveform generation using the semantic tokens and surrounding context, modeling speaker identity and acoustic continuity.
  • During training, data is randomly segmented into context A, target segment x₀, and context B, with x₀ corrupted via a diffusion process to enable denoising training.
  • Inference for speech editing uses iterative backward denoising from x_T to x₀, guided by context A and B, with duration scaling to match context speed.

Experimental results

Research questions

  • RQ1Can a unified TTS framework effectively handle both speech continuation and editing tasks using discrete semantic tokens?
  • RQ2How does contextual VQ-diffusion improve generation quality and context integration compared to standard autoregressive models?
  • RQ3To what extent does contextual vocoding enhance waveform quality and speaker identity preservation compared to standard vocoders?
  • RQ4Can the framework achieve state-of-the-art performance in both zero-shot speaker adaptation and context-aware editing?

Key findings

  • CTX-vec2wav outperforms HifiGAN and AudioLM in speech resynthesis from semantic tokens, demonstrating superior waveform quality.
  • UniCATS achieves state-of-the-art performance in zero-shot speaker-adapted speech continuation, outperforming models like VALL-E and SPEAR-TTS.
  • The framework successfully enables context-aware speech editing with seamless concatenation, maintaining naturalness and speaker consistency.
  • The use of contextual VQ-diffusion allows for bidirectional context modeling, overcoming the left-to-right generation constraint of autoregressive models.
  • The training scheme with three data configurations (with both contexts, only context A, or no context) improves generalization and robustness.
  • The inference algorithm successfully generates edited speech by conditioning on both preceding and following context, with duration alignment via scaling factor α.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.