Saved in:
Bibliographic Details
Main Authors: Zheng, Rui-Chen, Du, Hui-Peng, Jiang, Xiao-Hang, Ai, Yang, Ling, Zhen-Hua
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2410.12359
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910999498457088
author Zheng, Rui-Chen
Du, Hui-Peng
Jiang, Xiao-Hang
Ai, Yang
Ling, Zhen-Hua
author_facet Zheng, Rui-Chen
Du, Hui-Peng
Jiang, Xiao-Hang
Ai, Yang
Ling, Zhen-Hua
contents Current neural audio codecs typically use residual vector quantization (RVQ) to discretize speech signals. However, they often experience codebook collapse, which reduces the effective codebook size and leads to suboptimal performance. To address this problem, we introduce ERVQ, Enhanced Residual Vector Quantization, a novel enhancement strategy for the RVQ framework in neural audio codecs. ERVQ mitigates codebook collapse and boosts codec performance through both intra- and inter-codebook optimization. Intra-codebook optimization incorporates an online clustering strategy and a code balancing loss to ensure balanced and efficient codebook utilization. Inter-codebook optimization improves the diversity of quantized features by minimizing the similarity between successive quantizations. Our experiments show that ERVQ significantly enhances audio codec performance across different models, sampling rates, and bitrates, achieving superior quality and generalization capabilities. It also achieves 100% codebook utilization on one of the most advanced neural audio codecs. Further experiments indicate that audio codecs improved by the ERVQ strategy can improve unified speech-and-text large language models (LLMs). Specifically, there is a notable improvement in the naturalness of generated speech in downstream zero-shot text-to-speech tasks. Audio samples are available here.
format Preprint
id arxiv_https___arxiv_org_abs_2410_12359
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle ERVQ: Enhanced Residual Vector Quantization with Intra-and-Inter-Codebook Optimization for Neural Audio Codecs
Zheng, Rui-Chen
Du, Hui-Peng
Jiang, Xiao-Hang
Ai, Yang
Ling, Zhen-Hua
Audio and Speech Processing
Current neural audio codecs typically use residual vector quantization (RVQ) to discretize speech signals. However, they often experience codebook collapse, which reduces the effective codebook size and leads to suboptimal performance. To address this problem, we introduce ERVQ, Enhanced Residual Vector Quantization, a novel enhancement strategy for the RVQ framework in neural audio codecs. ERVQ mitigates codebook collapse and boosts codec performance through both intra- and inter-codebook optimization. Intra-codebook optimization incorporates an online clustering strategy and a code balancing loss to ensure balanced and efficient codebook utilization. Inter-codebook optimization improves the diversity of quantized features by minimizing the similarity between successive quantizations. Our experiments show that ERVQ significantly enhances audio codec performance across different models, sampling rates, and bitrates, achieving superior quality and generalization capabilities. It also achieves 100% codebook utilization on one of the most advanced neural audio codecs. Further experiments indicate that audio codecs improved by the ERVQ strategy can improve unified speech-and-text large language models (LLMs). Specifically, there is a notable improvement in the naturalness of generated speech in downstream zero-shot text-to-speech tasks. Audio samples are available here.
title ERVQ: Enhanced Residual Vector Quantization with Intra-and-Inter-Codebook Optimization for Neural Audio Codecs
topic Audio and Speech Processing
url https://arxiv.org/abs/2410.12359