Llasa+:加速与流式Llama语音合成的免费午餐
Llasa+: Free Lunch for Accelerated and Streaming Llama-Based Speech Synthesis
AI总结:
针对LLM语音合成延迟高、无法流式的问题,提出Llasa+,通过多令牌预测与验证算法实现1.48倍加速且不损质量,并支持流式合成。
摘要:
近年来,文本到语音(TTS)技术取得了令人瞩目的自然度和灵活性,尤其是随着基于大语言模型(LLM)的方法的发展。然而,现有的自回归(AR)结构和大规模模型(如Llasa)在推理延迟和流式合成方面仍面临重大挑战。为了解决这些限制,我们引入了Llasa+,一个基于Llasa构建的加速和流式TTS模型。具体而言,为了加速生成过程,我们在冻结的骨干网络之后引入了两个即插即用的多令牌预测(MTP)模块。这些模块允许模型在一个AR步骤中预测多个令牌。此外,为了缓解由不准确的MTP引起的潜在错误传播,我们设计了一种新颖的验证算法,利用冻结的骨干网络来验证生成的令牌,从而使Llasa+能够在不牺牲生成质量的情况下实现加速。进一步地,我们设计了一个因果解码器,使得能够从令牌进行流式语音重建。大量实验表明,尽管仅在LibriTTS上训练,Llasa+实现了1.48倍的加速且不牺牲生成质量。此外,MTP与验证框架可应用于加速任何基于LLM的模型。所有代码和模型可在https://github.com/ASLP-lab/LLaSA_Plus公开获取。
英文摘要:
Recent progress in text-to-speech (TTS) has achieved impressive naturalness and flexibility, especially with the development of large language model (LLM)-based approaches. However, existing autoregressive (AR) structures and large-scale models, such as Llasa, still face significant challenges in inference latency and streaming synthesis. To deal with the limitations, we introduce Llasa+, an accelerated and streaming TTS model built on Llasa. Specifically, to accelerate the generation process, we introduce two plug-and-play Multi-Token Prediction (MTP) modules following the frozen backbone. These modules allow the model to predict multiple tokens in one AR step. Additionally, to mitigate potential error propagation caused by inaccurate MTP, we design a novel verification algorithm that leverages the frozen backbone to validate the generated tokens, thus allowing Llasa+ to achieve speedup without sacrificing generation quality. Furthermore, we design a causal decoder that enables streaming speech reconstruction from tokens. Extensive experiments show that Llasa+ achieves a 1.48X speedup without sacrificing generation quality, despite being trained only on LibriTTS. Moreover, the MTP-and-verification framework can be applied to accelerate any LLM-based model. All codes and models are publicly available at https://github.com/ASLP-lab/LLaSA_Plus.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。