ESC: Efficient Speech Coding with Cross-Scale Residual Vector Quantized Transformers
Yuzhe Gu, Enmao Diao
TL;DR
ESC introduces a fully transformer-based neural speech codec operating in the complex STFT domain and uses cross-scale residual vector quantization with Swin Transformer backbones to achieve high-fidelity reconstruction at low bitrates with reduced model complexity. A pre-training paradigm and product-quantization-based codebook mitigation address codebook collapse, enabling scalable bitrate control across multiple bitstreams. Empirical results on multilingual speech show ESC rivals or surpasses state-of-the-art time-domain codecs like DAC in quality with substantially fewer parameters, while offering different latency characteristics. The approach highlights the viability of transformer-based speech foundation models and cross-scale quantization for efficient, multilingual speech coding, suggesting avenues for larger models and broader downstream applications.
Abstract
Neural speech codecs aim to compress input signals into minimal bits while maintaining content quality in a low-latency manner. However, existing neural codecs often trade model complexity for reconstruction performance. These codecs primarily use convolutional blocks for feature transformation, which are not inherently suited for capturing the local redundancies in speech signals. To compensate, they require either adversarial discriminators or a large number of model parameters to enhance audio quality. In response to these challenges, we introduce the Efficient Speech Codec (ESC), a lightweight, parameter-efficient speech codec based on a cross-scale residual vector quantization scheme and transformers. Our model employs mirrored hierarchical window transformer blocks and performs step-wise decoding from coarse-to-fine feature representations. To enhance bitrate efficiency, we propose a novel combination of vector quantization techniques along with a pre-training paradigm. Extensive experiments demonstrate that ESC can achieve high-fidelity speech reconstruction with significantly lower model complexity, making it a promising alternative to existing convolutional audio codecs.
