Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

WavTokenizer: an Efficient Acoustic Discrete Codec Tokenizer for Audio Language Modeling

About

Language models have been effectively applied to modeling natural signals, such as images, video, speech, and audio. A crucial component of these models is the codec tokenizer, which compresses high-dimensional natural signals into lower-dimensional discrete tokens. In this paper, we introduce WavTokenizer, which offers several advantages over previous SOTA acoustic codec models in the audio domain: 1)extreme compression. By compressing the layers of quantizers and the temporal dimension of the discrete codec, one-second audio of 24kHz sampling rate requires only a single quantizer with 40 or 75 tokens. 2)improved subjective quality. Despite the reduced number of tokens, WavTokenizer achieves state-of-the-art reconstruction quality with outstanding UTMOS scores and inherently contains richer semantic information. Specifically, we achieve these results by designing a broader VQ space, extended contextual windows, and improved attention networks, as well as introducing a powerful multi-scale discriminator and an inverse Fourier transform structure. We conducted extensive reconstruction experiments in the domains of speech, audio, and music. WavTokenizer exhibited strong performance across various objective and subjective metrics compared to state-of-the-art models. We also tested semantic information, VQ utilization, and adaptability to generative models. Comprehensive ablation studies confirm the necessity of each module in WavTokenizer. The related code, demos, and pre-trained models are available at https://github.com/jishengpeng/WavTokenizer.

Shengpeng Ji, Ziyue Jiang, Wen Wang, Yifu Chen, Minghui Fang, Jialong Zuo, Qian Yang, Xize Cheng, Zehan Wang, Ruiqi Li, Ziang Zhang, Xiaoda Yang, Rongjie Huang, Yidi Jiang, Qian Chen, Siqi Zheng, Zhou Zhao• 2024

Related benchmarks

TaskDatasetResultRank
Automatic Speech RecognitionLibriSpeech clean (test)
WER18.1
1156
Audio ReconstructionAudioSet (eval)
Mel Distance0.4536
63
Speech ReconstructionLibriTTS clean (test)
PESQ3.9082
63
Speech ReconstructionLibrispeech (test-clean)
UT MOS4
59
Speaker IdentificationVoxCeleb1
Accuracy82.7
58
Speech ReconstructionLibriTTS (test-other)
UTMOS3.4831
44
Automatic Speech RecognitionLibriSpeech 100h (test-clean)
WER96.7
43
Text-to-SpeechSeed-TTS (eval)
WER15.6
39
Audio-Visual Question AnsweringAVQA
Accuracy67.34
37
Text-to-SpeechLibriTTS clean (test)
WER0.139
30
Showing 10 of 62 rows

Other info

Follow for update