about
WavTokenizer: An Efficient Acoustic Discrete Codec Tokenizer for Audio Language (arxiv.org)
2 points by GaggiX on Sep 3, 2024 | hide | past | pdf | 1 comment on HN

In plain words: WavTokenizer squeezes audio into a tiny stream of numbered tokens: one second of sound becomes just 40 or 75 tokens in a single layer, where other compressors stack several. Even so, it rebuilt speech, music, and audio more faithfully than the best earlier ones.

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

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, et al.
arXiv:2408.16532 · eess.AS, cs.LG, cs.MM, cs.SD, eess.SP · submitted Aug 29, 2024 · updated Feb 25, 2025
abstract · pdf · html · Accepted by ICLR 2025

add comment on HN

It's particularly good, hopefully it would allow more people with a small budget to train powerful audio generator (and also it's SOTA so even if you have a bigger budget, it's better).