Papers
arxiv:2401.04577

Masked Audio Generation using a Single Non-Autoregressive Transformer

Published on Jan 9
Β· Submitted by akhaliq on Jan 10
#2 Paper of the day

Abstract

We introduce MAGNeT, a masked generative sequence modeling method that operates directly over several streams of audio tokens. Unlike prior work, MAGNeT is comprised of a single-stage, non-autoregressive transformer. During training, we predict spans of masked tokens obtained from a masking scheduler, while during inference we gradually construct the output sequence using several decoding steps. To further enhance the quality of the generated audio, we introduce a novel rescoring method in which, we leverage an external pre-trained model to rescore and rank predictions from MAGNeT, which will be then used for later decoding steps. Lastly, we explore a hybrid version of MAGNeT, in which we fuse between autoregressive and non-autoregressive models to generate the first few seconds in an autoregressive manner while the rest of the sequence is being decoded in parallel. We demonstrate the efficiency of MAGNeT for the task of text-to-music and text-to-audio generation and conduct an extensive empirical evaluation, considering both objective metrics and human studies. The proposed approach is comparable to the evaluated baselines, while being significantly faster (x7 faster than the autoregressive baseline). Through ablation studies and analysis, we shed light on the importance of each of the components comprising MAGNeT, together with pointing to the trade-offs between autoregressive and non-autoregressive modeling, considering latency, throughput, and generation quality. Samples are available on our demo page https://pages.cs.huji.ac.il/adiyoss-lab/MAGNeT.

Community

Please release the weights

Paper author
β€’
edited Jan 10

@timothelaborie
We are on it :) very very soon!

demo space?

The model weights have now been released: https://huggingface.co/collections/facebook/magnet-659ef0ceb62804e6f41d1466 (go check it out!) ❀️

tempo demo space (waiting for the fix to be merge to the main branch) :

https://huggingface.co/spaces/fffiloni/MAGNet

Β·

Will you release a demo space for the Sound-Effect Generator also?

Speeding Up Audio Creation: Dive into MAGNeT's Non-Autoregressive Transformer!

Links πŸ”—:

πŸ‘‰ Subscribe: https://www.youtube.com/@Arxflix
πŸ‘‰ Twitter: https://x.com/arxflix
πŸ‘‰ LMNT (Partner): https://lmnt.com/

By Arxflix
9t4iCUHx_400x400-1.jpg

Sign up or log in to comment

Models citing this paper 8

Browse 8 models citing this paper

Datasets citing this paper 0

No dataset linking this paper

Cite arxiv.org/abs/2401.04577 in a dataset README.md to link it from this page.

Spaces citing this paper 50

Collections including this paper 28