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

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

arXiv:2408.16532 · 2026-07-27 공개 · arXiv · PDF

wavtokenizer acoustic-codec audio-language-modeling vq-space multi-scale-discriminator inverse-fourier-transform semantic-information audio-reconstruction

Abstract

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.

한국어 요약

한 줄 요약

WavTokenizer는 24kHz 음성을 초당 40~75개의 토큰으로 압축하면서 뛰어난 재구성 품질과 의미 정보를 유지하는 디스크리트 오디오 코덱 모델이다.

핵심 기여도

핵심 아이디어

WavTokenizer는 기존의 다중 퀀티자 기반 코덱 모델과 달리, 단일 퀀티자로 오디오를 압축하면서도 높은 재구성 품질과 의미 정보를 유지하는 것이 핵심이다. 이는 기존의 RVQ(RVQ) 구조가 다운스트림 모델에 복잡한 구조를 요구하는 반면, 단일 퀀티자 구조는 생성 모델과의 직접적 통합이 용이하다는 점에서 차별화된다. 또한, VQ 공간을 확장하고 K-means 클러스터링 초기화 및 랜덤 깨우기 전략을 도입함으로써 코드북 활용률을 높이며, 역 푸리에 변환 기반 디코더와 다중 스케일 디스크리미네이터를 통해 고주파 성분의 정확한 재구성을 가능하게 한다. 이러한 접근은 기존 코덱 모델의 재구성 패러다임을 벗어나, 생성 모델과의 일관된 이해-생성 프로세스를 가능하게 한다는 점에서 혁신적이다.

기술적 접근법

주요 결과

의의 및 한계

WavTokenizer는 기존 코덱 모델의 다중 퀀티자 구조를 단일 퀀티자로 대체함으로써 생성 모델과의 호환성을 높이고, 코드북 활용률을 향상시키는 데 성공했다. 특히, UTMOS, PESQ, STOI 등 주요 지표에서 기존 SOTA 모델 대비 우수한 성능을 보이며, 오디오 생성 및 다중 모달 모델 통합에 유용한 기반을 제공한다. 그러나, 코드북 크기를 16384 이상으로 확장하면 코드북 활용률이 감소하는 한계가 있으며, 이는 향후 연구 주제로 제시된다. 또한, 다중 스케일 디스크리미네이터는 훈련 시간 증가를 초래하므로, 효율적인 훈련 전략 개발이 필요하다.

실용적 활용

WavTokenizer는 대규모 언어 모델과의 통합이 용이한 단일 퀀티자 구조를 가지므로, 멀티모달 생성 모델, 음성-텍스트 변환, 음악 생성 등 다양한 응용 분야에서 활용 가능하다. 특히, 코드북 활용률과 재구성 품질을 고려할 때, 실시간 오디오 처리 및 저자원 환경에서도 효과적으로 사용될 수 있다.