CosyVoice 2实现低延迟多语言语音合成,支持流式与非流式一体生成。
CosyVoice 2: Scalable Streaming Speech Synthesis with Large Language Models
- 用有限标量量化提升语音编码利用率,优化代码本性能。
- 采用预训练大模型作主干,结合分块感知的因果流匹配,实现毫秒级响应。
- 单模型支持多种场景,流式合成质量接近真人,适合交互应用。
在前期工作中,我们提出了基于监督离散语音标记的多语言语音合成模型CosyVoice,通过使用语言模型(LM)和流匹配(Flow Matching)进行渐进语义解码,在上下文学习中展现出高自然度、内容一致性和说话人相似性。近期,多模态大语言模型(LLM)取得显著进展,语音合成的响应延迟与实时性对交互体验至关重要。因此,本文提出改进的流式语音合成模型CosyVoice 2,引入系统性优化:采用有限标量量化提升语音标记的代码本利用率;针对文本-语音语言模型,简化架构以直接使用预训练大模型作为骨干;开发分块感知的因果流匹配模型,支持多种合成场景,实现单一模型下的流式与非流式合成。在大规模多语言数据集上训练后,CosyVoice 2在流式模式下达到人类水平自然度、最小响应延迟且合成质量几乎无损。欢迎访问 https://funaudiollm.github.io/cosyvoice2 欣赏演示。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。