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

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Ye, Zhen, Sun, Peiwen, Lei, Jiahe, Lin, Hongzhan, Tan, Xu, Dai, Zheqi, Kong, Qiuqiang, Chen, Jianyi, Pan, Jiahao, Liu, Qifeng, Guo, Yike, Xue, Wei
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866929607067828224
author Ye, Zhen
Sun, Peiwen
Lei, Jiahe
Lin, Hongzhan
Tan, Xu
Dai, Zheqi
Kong, Qiuqiang
Chen, Jianyi
Pan, Jiahao
Liu, Qifeng
Guo, Yike
Xue, Wei
author_facet Ye, Zhen
Sun, Peiwen
Lei, Jiahe
Lin, Hongzhan
Tan, Xu
Dai, Zheqi
Kong, Qiuqiang
Chen, Jianyi
Pan, Jiahao
Liu, Qifeng
Guo, Yike
Xue, Wei
contents 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)
format Preprint
id arxiv_https___arxiv_org_abs_2408_17175
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Codec Does Matter: Exploring the Semantic Shortcoming of Codec for Audio Language Model
Ye, Zhen
Sun, Peiwen
Lei, Jiahe
Lin, Hongzhan
Tan, Xu
Dai, Zheqi
Kong, Qiuqiang
Chen, Jianyi
Pan, Jiahao
Liu, Qifeng
Guo, Yike
Xue, Wei
Audio and Speech Processing
Artificial Intelligence
Computation and Language
Sound
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)
title Codec Does Matter: Exploring the Semantic Shortcoming of Codec for Audio Language Model
topic Audio and Speech Processing
Artificial Intelligence
Computation and Language
Sound
url https://arxiv.org/abs/2408.17175