arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.17175eess.AScs.AIcs.CLcs.SD
收藏

Codec 至关重要:探索音频语言模型中 Codec 的语义缺陷

Codec Does Matter: Exploring the Semantic Shortcoming of Codec for Audio Language Model

Hong Kong University of Science and Technology(香港科技大学);University of Science and Technology Beijing(北京科技大学);Hong Kong Baptist University(香港浸会大学);Microsoft(微软公司);Chinese University of Hong Kong(香港中文大学)

Zhen Ye, Peiwen Sun, Jiahe Lei, Hongzhan Lin, Xu Tan, Zheqi Dai, Qiuqiang Kong, Jianyi Chen, Jiahao Pan, Qifeng Liu, Yike Guo, Wei Xue

AI总结:

针对现有音频 LLM 编解码器因压缩设计导致的语义缺陷问题,提出 X-Codec 方法,通过在 RVQ 前后融入语义特征与损失,显著降低语音合成 WER 并扩展至非语音任务,提升音频生成性能。

摘要:

近期音频生成领域的进展很大程度上得益于大型语言模型(LLMs)的能力。现有关于音频 LLM 的研究主要集中在增强音频语言模型的架构和规模,以及利用更大的数据集,并且通常使用 EnCodec 等声学编解码器进行音频 token 化。然而,这些编解码器最初是为音频压缩设计的,这可能导致其在音频 LLM 场景下性能欠佳。我们的研究旨在解决当前音频 LLM 编解码器的缺陷,特别是它们在生成音频中维持语义完整性的挑战。例如,像 VALL-E 这样基于文本转录生成声学 token 的现有方法,常因声学 token 的语义误解而存在内容不准确和词错误率(WER)升高的问题,导致单词遗漏和错误。为克服这些问题,我们提出一种简单却有效的方法——X-Codec。X-Codec 在残差向量量化(RVQ)阶段前融入预训练语义编码器的语义特征,并在 RVQ 后引入语义重建损失。通过增强编解码器的语义能力,X-Codec 显著降低了语音合成任务中的 WER,并将这些优势扩展到音乐和声音生成等非语音应用中。我们在文本转语音、音乐续接和文本转声音任务中的实验表明,融入语义信息大幅提升了语言模型在音频生成中的整体性能。我们的代码和演示已公开(演示:https://x-codec-audio.github.io;代码:https://github.com/zhenye234/xcodec)。

英文摘要:

Recent advancements in audio generation have been significantly propelled by the capabilities of Large Language Models (LLMs). The existing research on audio LLM has primarily focused on enhancing the architecture and scale of audio language models, as well as leveraging larger datasets, and generally, acoustic codecs, such as EnCodec, are used for audio tokenization. However, these codecs were originally designed for audio compression, which may lead to suboptimal performance in the context of audio LLM. Our research aims to address the shortcomings of current audio LLM codecs, particularly their challenges in maintaining semantic integrity in generated audio. For instance, existing methods like VALL-E, which condition acoustic token generation on text transcriptions, often suffer from content inaccuracies and elevated word error rates (WER) due to semantic misinterpretations of acoustic tokens, resulting in word skipping and errors. To overcome these issues, we propose a straightforward yet effective approach called X-Codec. X-Codec incorporates semantic features from a pre-trained semantic encoder before the Residual Vector Quantization (RVQ) stage and introduces a semantic reconstruction loss after RVQ. By enhancing the semantic ability of the codec, X-Codec significantly reduces WER in speech synthesis tasks and extends these benefits to non-speech applications, including music and sound generation. Our experiments in text-to-speech, music continuation, and text-to-sound tasks demonstrate that integrating semantic information substantially improves the overall performance of language models in audio generation. Our code and demo are available (Demo: https://x-codec-audio.github.io Code: https://github.com/zhenye234/xcodec)

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑