Abstract
MDCTCodec is a lightweight, end-to-end neural audio codec designed for high-quality 48 kHz audio at bitrates as low as 6 kbps. By operating in the Modified Discrete Cosine Transform (MDCT) domain rather than the raw waveform domain, the model achieves significant improvements in computational efficiency, model size, and training speed compared to state-of-the-art waveform-based codecs.
Introduction
High-fidelity audio communication at 48 kHz typically requires substantial bitrates to maintain quality. While neural codecs like SoundStream and Encodec have advanced the field, their reliance on raw waveform processing introduces significant challenges. Raw audio's high temporal resolution necessitates extensive downsampling and upsampling layers, leading to high model complexity and slow inference. Spectral-based alternatives using Short-Time Fourier Transform (STFT) often require complex dual-stream architectures to handle amplitude and phase separately. MDCTCodec addresses these issues by using the MDCT spectrum, which offers a compact representation with inherent energy compaction and avoids explicit phase modeling.
Methodology
The primary innovation of MDCTCodec is the use of the MDCT spectrum as the coding target. This domain shift allows for a much lower downsampling ratio (8×) compared to waveform-based models (often 320× or more), resulting in a shallower and faster network.
The architecture includes:
- Encoder/Decoder: Built on a modified ConvNeXt v2 backbone, the encoder compresses the MDCT spectrum into a continuous latent code.
- Quantization: A Residual Vector Quantizer (RVQ) discretizes the latent space into tokens at bitrates like 6 kbps.
- Discriminator (MR-MDCTD): A novel Multi-Resolution MDCT-based Discriminator evaluates the generated spectra at multiple frame lengths, ensuring high-fidelity reconstruction across scales.
The model was evaluated on diverse datasets including VCTK (speech), Common Voice (multilingual), Opencpop (singing), and FSD50K (environmental sounds).
Results and Discussion
MDCTCodec demonstrates superior performance across several key metrics at low bitrates (6-12 kbps). It achieved a ViSQOL score of 4.18 at 6 kbps for 48 kHz audio, outperforming DAC (3.81) and APCodec (4.07).
Key efficiency gains include:
- Speed: 123× real-time generation on GPU and 16.9× on CPU (approximately 42× faster than DAC on CPU).
- Compactness: Only 26.2M parameters, making it significantly smaller than competitors like APCodec and DAC.
- Training Efficiency: Training time per epoch is reduced by over 95% compared to DAC, requiring only 140 seconds versus 3471 seconds.
Conclusion
MDCTCodec provides a highly efficient solution for low-bitrate, high-sampling-rate audio coding. While it excels in speech and singing, future work will address performance on general environmental sounds (as seen in FSD50K results) and further latency reduction for real-time applications like Speech Large Language Models (SLLMs).
Summary updated