HackerPapers

arXiv:2210.13438eess.AS

High Fidelity Neural Audio Compression

Alexandre Défossez, Jade Copet, Gabriel Synnaeve, Yossi Adi

Abstract

We introduce a state-of-the-art real-time, high-fidelity, audio codec leveraging neural networks. It consists in a streaming encoder-decoder architecture with quantized latent space trained in an end-to-end fashion. We simplify and speed-up the training by using a single multiscale spectrogram adversary that efficiently reduces artifacts and produce high-quality samples. We introduce a novel loss balancer mechanism to stabilize training: the weight of a loss now defines the fraction of the overall gradient it should represent, thus decoupling the choice of this hyper-parameter from the typical scale of the loss. Finally, we study how lightweight Transformer models can be used to further compress the obtained representation by up to 40%, while staying faster than real time. We provide a detailed description of the key design choices of the proposed model including: training objective, architectural changes and a study of various perceptual loss functions. We present an extensive subjective evaluation (MUSHRA tests) together with an ablation study for a range of bandwidths and audio domains, including speech, noisy-reverberant speech, and music. Our approach is superior to the baselines methods across all evaluated settings, considering both 24 kHz monophonic and 48 kHz stereophonic audio. Code and models are available at github.com/facebookresearch/encodec.

arXiv comments
Preprint
Journal reference
DOI
Subjects
eess.ASAudio and Speech Processing cs.AIArtificial Intelligence cs.SDSound stat.MLMachine Learning (Statistics)

On Hacker News

Linked by 3 identifiable commenters in 4 comments across 4 threads, from Oct 2022 to Aug 2024. Found in 2 HN submissions from Oct 2022 to Nov 2022. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments4 threads

    • For instance: https://github.com/descriptinc/descript-audio-codec/blob/mai... https://github.com/NVIDIA/BigVGAN/blob/main/loss.py#L23 https://arxiv.org/pdf/2210.13438 (the github repo doesn't include training, just inference) It is INCREDIBLY common to use multi-scale spectral…

      bravuraView on HNParent context

    • > I am curious how they achieve this kind of data compression. Probably ML https://arxiv.org/abs/2210.13438

      toughView on HNParent context

    • I think they must be using similar AI / ML stuff to this recent work for audio https://arxiv.org/abs/2210.13438 but for video

      toughView on HNParent context

    • Impressive results - on CD-quality audio too, not just speech as with many recent codecs. One thing I was not able to find, either in the blog post or the paper (https://arxiv.org/pdf/2210.13438.pdf), was the size of the model. EDIT: I downloaded the model from the code…

      telotortiumView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.