SemantiCodec: An Ultra Low Bitrate Semantic Audio Codec for General Sound

Haohe Liu,Xuenan Xu,Yi Yuan,Mengyue Wu,Wenwu Wang,Mark D. Plumbley
DOI: https://doi.org/10.48550/arXiv.2405.00233
2024-05-01
Abstract:Large language models (LLMs) have significantly advanced audio processing through audio codecs that convert audio into discrete tokens, enabling the application of language modelling techniques to audio data. However, traditional codecs often operate at high bitrates or within narrow domains such as speech and lack the semantic clues required for efficient language modelling. Addressing these challenges, we introduce SemantiCodec, a novel codec designed to compress audio into fewer than a hundred tokens per second across diverse audio types, including speech, general audio, and music, without compromising quality. SemantiCodec features a dual-encoder architecture: a semantic encoder using a self-supervised AudioMAE, discretized using k-means clustering on extensive audio data, and an acoustic encoder to capture the remaining details. The semantic and acoustic encoder outputs are used to reconstruct audio via a diffusion-model-based decoder. SemantiCodec is presented in three variants with token rates of 25, 50, and 100 per second, supporting a range of ultra-low bit rates between 0.31 kbps and 1.43 kbps. Experimental results demonstrate that SemantiCodec significantly outperforms the state-of-the-art Descript codec on reconstruction quality. Our results also suggest that SemantiCodec contains significantly richer semantic information than all evaluated audio codecs, even at significantly lower bitrates. Our code and demos are available at
Sound,Artificial Intelligence,Multimedia,Audio and Speech Processing,Signal Processing
What problem does this paper attempt to address?
The paper mainly addresses two issues existing in existing audio encoders: high bit rate and lack of semantic information. It proposes a new encoder called SemantiCodec, which can efficiently compress various types of audio (including speech, general audio, and music) at a low bit rate of less than 100 tokens per second (0.31kbps to 1.43kbps), while maintaining high-quality audio reconstruction. SemantiCodec adopts a dual encoder structure, utilizing self-supervised learning with AudioMAE for semantic encoding and reconstruction through a diffusion model decoder. Experiments show that SemantiCodec outperforms the existing Descript encoder in terms of reconstruction quality and semantic information richness.