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

Authors

  • Zhen Ye Hong Kong University of Science and Technology
  • Peiwen Sun Hong Kong University of Science and Technology
  • Jiahe Lei University of Science and Technology Beijing
  • Hongzhan Lin Hong Kong Baptist University
  • Xu Tan Microsoft
  • Zheqi Dai Chinese University of Hong Kong
  • Qiuqiang Kong Chinese University of Hong Kong
  • Jianyi Chen Hong Kong University of Science and Technology
  • Jiahao Pan Hong Kong University of Science and Technology
  • Qifeng Liu Hong Kong University of Science and Technology
  • Yike Guo Hong Kong University of Science and Technology
  • Wei Xue Hong Kong University of Science and Technology

DOI:

https://doi.org/10.1609/aaai.v39i24.34761

Abstract

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.

Downloads

Published

2025-04-11

How to Cite

Ye, Z., Sun, P., Lei, J., Lin, H., Tan, X., Dai, Z., … Xue, W. (2025). Codec Does Matter: Exploring the Semantic Shortcoming of Codec for Audio Language Model. Proceedings of the AAAI Conference on Artificial Intelligence, 39(24), 25697–25705. https://doi.org/10.1609/aaai.v39i24.34761

Issue

Section

AAAI Technical Track on Natural Language Processing III