[Paper Review] CosyVoice 2: Scalable Streaming Speech Synthesis with Large Language Models
CosyVoice 2 introduces a unified, streaming-capable zero-shot text-to-speech model that leverages pre-trained large language models (LLMs) and a chunk-aware causal flow matching architecture for high-fidelity, low-latency synthesis. By employing finite scalar quantization and a streamlined language model backbone, it achieves human-parity naturalness and near-lossless streaming quality across multilingual, zero-shot, and instructed speech synthesis.
In our previous work, we introduced CosyVoice, a multilingual speech synthesis model based on supervised discrete speech tokens. By employing progressive semantic decoding with two popular generative models, language models (LMs) and Flow Matching, CosyVoice demonstrated high prosody naturalness, content consistency, and speaker similarity in speech in-context learning. Recently, significant progress has been made in multi-modal large language models (LLMs), where the response latency and real-time factor of speech synthesis play a crucial role in the interactive experience. Therefore, in this report, we present an improved streaming speech synthesis model, CosyVoice 2, which incorporates comprehensive and systematic optimizations. Specifically, we introduce finite-scalar quantization to improve the codebook utilization of speech tokens. For the text-speech LM, we streamline the model architecture to allow direct use of a pre-trained LLM as the backbone. In addition, we develop a chunk-aware causal flow matching model to support various synthesis scenarios, enabling both streaming and non-streaming synthesis within a single model. By training on a large-scale multilingual dataset, CosyVoice 2 achieves human-parity naturalness, minimal response latency, and virtually lossless synthesis quality in the streaming mode. We invite readers to listen to the demos at https://funaudiollm.github.io/cosyvoice2.
Motivation & Objective
- Address high latency in non-streaming neural TTS models by enabling real-time, low-latency synthesis for interactive applications.
- Unify streaming and non-streaming synthesis within a single model architecture to reduce deployment complexity.
- Improve codebook utilization and speech representation quality through finite scalar quantization (FSQ) instead of standard vector quantization (VQ).
- Enable robust, instruction-based speech synthesis with fine-grained control over emotion, accent, role style, and vocal bursts.
- Achieve near-lossless synthesis quality in streaming mode while maintaining high prosody naturalness and speaker similarity.
Proposed method
- Replace standard vector quantization (VQ) in the speech tokenizer with finite scalar quantization (FSQ), enabling full codebook utilization and improved speech representation learning.
- Streamline the text-speech language model by removing the text encoder and speaker embedding, allowing direct use of pre-trained textual LLMs as the backbone for enhanced contextual understanding.
- Design a chunk-aware causal flow matching model that supports both streaming and non-streaming synthesis within a single architecture, enabling real-time inference with minimal latency.
- Integrate instructed TTS capabilities into a unified model, allowing control over emotion, accent, role style, and vocal bursts via textual instructions.
- Apply supervised fine-tuning (SFT) and reinforcement learning (DPO and differentiable ASR rewards) to improve content consistency, speaker similarity, and robustness on out-of-domain inputs.
- Train the model on a large-scale multilingual dataset to support diverse linguistic and prosodic variations while maintaining high synthesis quality.
Experimental results
Research questions
- RQ1Can a unified model architecture support both streaming and non-streaming synthesis with near-lossless quality in real-time applications?
- RQ2How does finite scalar quantization (FSQ) improve codebook utilization and speech representation compared to traditional vector quantization (VQ)?
- RQ3To what extent can pre-trained large language models (LLMs) serve as effective backbones for text-to-speech generation without additional text encoders?
- RQ4Can chunk-aware causal flow matching enable high-fidelity, low-latency streaming synthesis while preserving content and speaker consistency?
- RQ5How effective are reinforcement learning techniques (DPO and differentiable ASR rewards) in improving content consistency and robustness on out-of-domain or hard test sets?
Key findings
- CosyVoice 2 achieves human-parity naturalness in speech synthesis, with NMOS scores of 3.17 on the hard English test set and 4.26 on the target speaker's test set.
- The model maintains near-lossless synthesis quality in streaming mode, with only slight degradation in WER (6.64%) compared to the offline baseline (6.00%) on the target speaker's test set.
- Reinforcement learning with differentiable ASR rewards significantly improves content consistency (WER: 6.64%) and generalization on out-of-domain inputs, outperforming DPO-only fine-tuning.
- The SFT model improves speaker similarity (SS: 1.45) and speech quality (NMOS: 0.721) over the base model, though WER increases slightly (5.34% vs. 6.00%) on the target speaker.
- The chunk-aware causal flow matching model enables seamless switching between streaming and non-streaming modes with minimal latency and consistent performance.
- The unified framework loosens deployment constraints, allowing a single model to serve both streaming and non-streaming use cases effectively.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.