Switchcodec: Adaptive residual-expert sparse quantization for high-fidelity neural audio coding
Xiangbo Wang, Wenbin Jiang, Jin Wang, Yubo You, Sheng Fang, Fei Wen
TL;DR
SwitchCodec addresses the fixed-structure bottleneck of neural audio codecs by introducing Residual Experts Vector Quantization (REVQ), which combines a shared base quantizer with sparsely activated routed experts to refine latent residuals. A gating network selects top-$k_r$ experts per window, applying them in a fixed index order to preserve an energy-descending residual hierarchy, enabling decoupled bitrate control. A lightweight variable-bit-rate mechanism allows operation from 0.89 to 8 kbps within a single model, with minimal routing overhead. Empirical results across speech, music, and general audio demonstrate superior objective metrics and perceptual quality compared with strong baselines, highlighting efficient, high-fidelity neural audio coding that scales across bitrates without retraining.
Abstract
Recent neural audio compression models often rely on residual vector quantization for high-fidelity coding, but using a fixed number of per-frame codebooks is suboptimal for the wide variability of audio content-especially for signals that are either very simple or highly complex. To address this limitation, we propose SwitchCodec, a neural audio codec based on Residual Experts Vector Quantization (REVQ). REVQ combines a shared quantizer with dynamically routed expert quantizers that are activated according to the input audio, decoupling bitrate from codebook capacity and improving compression efficiency. This design ensures full training and utilization of each quantizer. In addition, a variable-bitrate mechanism adjusts the number of active expert quantizers at inference, enabling multi-bitrate operation without retraining. Experiments demonstrate that SwitchCodec surpasses existing baselines on both objective metrics and subjective listening tests.
