Table of Contents
Fetching ...

Variable Bitrate Residual Vector Quantization for Audio Coding

Yunkee Chae, Woosung Choi, Yuhta Takida, Junghyun Koo, Yukara Ikemiya, Zhi Zhong, Kin Wai Cheuk, Marco A. Martínez-Ramírez, Kyogu Lee, Wei-Hsiang Liao, Yuki Mitsufuji

TL;DR

This work tackles inefficiency in RVQ-based neural audio codecs caused by a fixed per-frame codebook count, especially for simple frames. It introduces Variable Bitrate RVQ (VRVQ), which uses an importance-map–driven mask to allocate a variable number of codebooks per frame and a smooth gradient estimator for the non-differentiable binarization, trained with a rate-distortion objective. The approach first demonstrates a VRVQ framework on a DAC-based backbone, showing improved rate-distortion metrics and robust scalability to larger codebooks and bitrates, while also enabling multi-bitrate operation without an explicit entropy model. The findings suggest that adaptive per-frame coding and enhanced gradient flow enable more efficient neural audio codecs and hold practical impact for streaming and storage applications.

Abstract

Recent state-of-the-art neural audio compression models have progressively adopted residual vector quantization (RVQ). Despite this success, these models employ a fixed number of codebooks per frame, which can be suboptimal in terms of rate-distortion tradeoff, particularly in scenarios with simple input audio, such as silence. To address this limitation, we propose variable bitrate RVQ (VRVQ) for audio codecs, which allows for more efficient coding by adapting the number of codebooks used per frame. Furthermore, we propose a gradient estimation method for the non-differentiable masking operation that transforms from the importance map to the binary importance mask, improving model training via a straight-through estimator. We demonstrate that the proposed training framework achieves superior results compared to the baseline method and shows further improvement when applied to the current state-of-the-art codec.

Variable Bitrate Residual Vector Quantization for Audio Coding

TL;DR

This work tackles inefficiency in RVQ-based neural audio codecs caused by a fixed per-frame codebook count, especially for simple frames. It introduces Variable Bitrate RVQ (VRVQ), which uses an importance-map–driven mask to allocate a variable number of codebooks per frame and a smooth gradient estimator for the non-differentiable binarization, trained with a rate-distortion objective. The approach first demonstrates a VRVQ framework on a DAC-based backbone, showing improved rate-distortion metrics and robust scalability to larger codebooks and bitrates, while also enabling multi-bitrate operation without an explicit entropy model. The findings suggest that adaptive per-frame coding and enhanced gradient flow enable more efficient neural audio codecs and hold practical impact for streaming and storage applications.

Abstract

Recent state-of-the-art neural audio compression models have progressively adopted residual vector quantization (RVQ). Despite this success, these models employ a fixed number of codebooks per frame, which can be suboptimal in terms of rate-distortion tradeoff, particularly in scenarios with simple input audio, such as silence. To address this limitation, we propose variable bitrate RVQ (VRVQ) for audio codecs, which allows for more efficient coding by adapting the number of codebooks used per frame. Furthermore, we propose a gradient estimation method for the non-differentiable masking operation that transforms from the importance map to the binary importance mask, improving model training via a straight-through estimator. We demonstrate that the proposed training framework achieves superior results compared to the baseline method and shows further improvement when applied to the current state-of-the-art codec.
Paper Structure (17 sections, 10 equations, 5 figures)

This paper contains 17 sections, 10 equations, 5 figures.

Figures (5)

  • Figure 1: Overall proposed framework of variable bitrate RVQ.
  • Figure 2: Gradient estimator $f_\alpha^k$ when $k=0$
  • Figure 3: The results of VRVQ across different $\alpha$. The points marked with various markers represent the results of inference at different scaling factor, $l$=4, 6, 8, 10, 12, 14, 16, 18, 20, 24, and 32, in VBR mode. In the rightmost plot, we display solid lines representing the results of inference in CBR mode for each model.
  • Figure 4: Visualization of the codebook usages. From the first row, the scaling factor $l$ are set to 6, 8, 14, 20, and 26. In each plot, the bitrate of the mask and the corresponding SI-SDR are also noted. For the bottom row, the bitrate of the sample is reported when it is inferred with the full number of codebooks in all frames (i.e., 8 codebooks in CBR mode), and thus, the bitrate is calculated without transmission cost.
  • Figure 5: SI-SDR results of ablation studies with $N_q=8$ and 16. The scaling factors are set to 4, 8, 12, 16, 20, and 32 in (a), while in (b), they are set to 8, 12, 16, 20, 24, 28, 32, 40, 48, and 56