Rate-Aware Learned Speech Compression

Jun Xu, Zhengxue Cheng, Guangchuan Chi, Yuhan Liu, Yuelin Hu, Li Song

TL;DR

This paper introduces a novel neural speech codec that ditches the standard Residual Vector Quantization (RVQ) in favor of a channel-wise entropy model and a hybrid CNN-RWKV backbone. By treating speech compression more like modern learned image compression, the authors achieve a staggering 53.5% average bitrate saving (BD-Rate) while significantly outperforming state-of-the-art models like EnCodec and FunCodec in perceived audio quality.

What Problem Does This Paper Address?

Most modern neural speech codecs (like EnCodec or SoundStream) follow an encoder-quantizer-decoder pipeline. The "quantizer" part usually relies on Residual Vector Quantization (RVQ), which maps continuous audio features to a fixed set of discrete codebook entries.

However, RVQ has several "bottlenecks":

  1. Codebook Collapse: During training, many codebook entries might never be used, leading to inefficient bit utilization.
  2. Training Complexity: Optimizing discrete codebooks alongside a neural network is notoriously difficult.
  3. Rigidity: Purely convolutional backbones often struggle to capture both local signal details and long-range semantic context, especially when trying to maintain high quality across varying bitrates.

The authors aim to build a "rate-aware" system that is easier to train, avoids codebook issues, and better captures the complex structure of speech.

Methods

The proposed architecture, shown in Figure 2, introduces two major innovations:

1. Channel-wise Entropy Model

Instead of forcing features into discrete codebook buckets (RVQ), the authors use a learned entropy model. Inspired by state-of-the-art image compression, this model uses a "hyper-prior" path to estimate the probability distribution of the latent features.

  • Step 1: A hyper-encoder extracts global scale and mean parameters from the latent representation.
  • Step 2: The latents are divided into slices and processed autoregressively. Each slice uses information from previously decoded slices to refine its own distribution prediction, as detailed in Figure 3. This approach allows the model to be trained end-to-end using a standard Rate-Distortion (RD) loss function, effectively bypassing the pitfalls of discrete quantization.

2. CNN-RWKV Mixture (CRM) Blocks

To improve the backbone, the authors developed the CRM block. Speech contains both fine-grained local patterns (pitch, phonemes) and long-range dependencies (prosody, sentence structure).

  • CNN Path: Uses SEANet blocks to handle local, signal-level information.
  • RWKV Path: Uses the RWKV (Receptance Weighted Key Value) architecture—a type of linear attention. Unlike standard Transformers, RWKV has linear computational complexity, making it efficient enough for real-time streaming audio while still capturing non-local semantic context.
Architecture of the proposed system, highlighting the CRM blocks and the entropy model.

Datasets

The models were trained and evaluated using the LibriTTS corpus, a large-scale multi-speaker English speech dataset.

  • Training: The full corpus was used to optimize the RD loss.
  • Evaluation: The authors used the test-clean (high quality) and test-other (more challenging conditions) subsets to ensure robustness.

Key Insights and Ideas

  • Cross-Domain Inspiration: The biggest "aha" moment is the successful application of channel-wise autoregressive entropy modeling—a staple in image compression—to the speech domain. It proves that modeling the probability distribution of latents is more efficient than fixed vector quantization.
  • Linear Attention is Key: By choosing RWKV over standard self-attention, the authors gain the benefits of global context without the quadratic memory/compute explosion that usually plagues Transformers in audio processing.
  • Ablation Success: The ablation study (Figure 4b) shows that while the entropy model provides the baseline performance boost, the CRM backbone is what gives the model its "flexibility" and superior performance at ultra-low bitrates.

Key Results

The proposed scheme sets a new benchmark for neural speech coding:

  • Bitrate Efficiency: Achieves a 53.51% BD-Rate saving on average compared to baselines. This means it can deliver the same quality as existing SOTA codecs at roughly half the bitrate.
  • Quality Gains: It achieves a 0.26 gain in BD-ViSQOL and a 0.44 gain in BD-PESQ (standard metrics for speech quality).
  • Low Bitrate Dominance: As seen in Figure 1, the proposed model maintains high ViSQOL scores even at 1-2 kbps, where traditional codecs like OPUS and EVS see significant quality degradation.
Comparison of ViSQOL scores across bitrates. The proposed model (red stars) consistently sits above all baselines.

Limitations and Future Work

While the paper demonstrates impressive RD performance, a few areas remain for exploration:

  • Computational Latency: Autoregressive models (processing slices one by one) can sometimes introduce latency. While RWKV is efficient, the sequential nature of the entropy model's "Step 2" might be a hurdle for ultra-low-latency hardware implementations.
  • Language Diversity: The study focused on LibriTTS (English). Testing on a wider variety of languages and noisy environments would further validate the CRM block's ability to capture diverse semantic contexts.
  • Real-time Implementation: The authors mention real-time communication as a motivator; future work could focus on optimizing the inference speed of the slice-based entropy decoding for mobile devices.

Summary updated

BibTeX
@inproceedings{xu2025rate,
  author = {Jun Xu and Zhengxue Cheng and Guangchuan Chi and Yuhan Liu and Yuelin Hu and Li Song},
  title = {{Rate-Aware Learned Speech Compression}},
  booktitle = {ISCAS},
  year = {2025},
  doi = {10.1109/iscas56072.2025.11043747},
}
Figure