Language-Codec: Bridging Discrete Codec Representations and Speech Language Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Ji, Shengpeng, Fang, Minghui, Zuo, Jialong, Jiang, Ziyue, Wang, Dingdong, Wang, Hanting, Huang, Hai, Zhao, Zhou
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908391938457600
author Ji, Shengpeng
Fang, Minghui
Zuo, Jialong
Jiang, Ziyue
Wang, Dingdong
Wang, Hanting
Huang, Hai
Zhao, Zhou
author_facet Ji, Shengpeng
Fang, Minghui
Zuo, Jialong
Jiang, Ziyue
Wang, Dingdong
Wang, Hanting
Huang, Hai
Zhao, Zhou
contents In recent years, large language models have achieved significant success in generative tasks related to speech, audio, music, and other signal domains. A crucial element of these models is the discrete acoustic codecs, which serve as an intermediate representation replacing the mel-spectrogram. However, there exist several gaps between discrete codecs and downstream speech language models. Specifically, 1) Due to the reconstruction paradigm of the Codec model and the structure of residual vector quantization, the initial channel of the codebooks contains excessive information, making it challenging to directly generate acoustic tokens from weakly supervised signals such as text in downstream tasks. 2) numerous codebooks increases the burden on downstream speech language models. Consequently, leveraging the characteristics of speech language models, we propose Language-Codec. In the Language-Codec, we introduce a Masked Channel Residual Vector Quantization (MCRVQ) mechanism along with improved fourier transform structures and attention blocks, refined discriminator design to address the aforementioned gaps. We compare our method with competing audio compression algorithms and observe significant outperformance across extensive evaluations. Furthermore, we also validate the efficiency of the Language-Codec on downstream speech language models. The source code and pre-trained models can be accessed at https://github.com/jishengpeng/languagecodec .
format Preprint
id arxiv_https___arxiv_org_abs_2402_12208
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Language-Codec: Bridging Discrete Codec Representations and Speech Language Models
Ji, Shengpeng
Fang, Minghui
Zuo, Jialong
Jiang, Ziyue
Wang, Dingdong
Wang, Hanting
Huang, Hai
Zhao, Zhou
Audio and Speech Processing
Sound
In recent years, large language models have achieved significant success in generative tasks related to speech, audio, music, and other signal domains. A crucial element of these models is the discrete acoustic codecs, which serve as an intermediate representation replacing the mel-spectrogram. However, there exist several gaps between discrete codecs and downstream speech language models. Specifically, 1) Due to the reconstruction paradigm of the Codec model and the structure of residual vector quantization, the initial channel of the codebooks contains excessive information, making it challenging to directly generate acoustic tokens from weakly supervised signals such as text in downstream tasks. 2) numerous codebooks increases the burden on downstream speech language models. Consequently, leveraging the characteristics of speech language models, we propose Language-Codec. In the Language-Codec, we introduce a Masked Channel Residual Vector Quantization (MCRVQ) mechanism along with improved fourier transform structures and attention blocks, refined discriminator design to address the aforementioned gaps. We compare our method with competing audio compression algorithms and observe significant outperformance across extensive evaluations. Furthermore, we also validate the efficiency of the Language-Codec on downstream speech language models. The source code and pre-trained models can be accessed at https://github.com/jishengpeng/languagecodec .
title Language-Codec: Bridging Discrete Codec Representations and Speech Language Models
topic Audio and Speech Processing
Sound
url https://arxiv.org/abs/2402.12208