Skip to main content
QUICK REVIEW

[Paper Review] AudioGen: Textually Guided Audio Generation

Felix Kreuk, Gabriel Synnaeve|arXiv (Cornell University)|Sep 30, 2022
Music and Audio ProcessingComputer Science53 citations
TL;DR

AudioGen is an autoregressive model that generates high-fidelity audio conditioned on text by learning a discrete audio representation and using a Transformer-based language model with classifier-free guidance and multi-stream strategies for efficiency and compositionality.

ABSTRACT

We tackle the problem of generating audio samples conditioned on descriptive text captions. In this work, we propose AaudioGen, an auto-regressive generative model that generates audio samples conditioned on text inputs. AudioGen operates on a learnt discrete audio representation. The task of text-to-audio generation poses multiple challenges. Due to the way audio travels through a medium, differentiating ``objects'' can be a difficult task (e.g., separating multiple people simultaneously speaking). This is further complicated by real-world recording conditions (e.g., background noise, reverberation, etc.). Scarce text annotations impose another constraint, limiting the ability to scale models. Finally, modeling high-fidelity audio requires encoding audio at high sampling rate, leading to extremely long sequences. To alleviate the aforementioned challenges we propose an augmentation technique that mixes different audio samples, driving the model to internally learn to separate multiple sources. We curated 10 datasets containing different types of audio and text annotations to handle the scarcity of text-audio data points. For faster inference, we explore the use of multi-stream modeling, allowing the use of shorter sequences while maintaining a similar bitrate and perceptual quality. We apply classifier-free guidance to improve adherence to text. Comparing to the evaluated baselines, AudioGen outperforms over both objective and subjective metrics. Finally, we explore the ability of the proposed method to generate audio continuation conditionally and unconditionally. Samples: https://felixkreuk.github.io/audiogen

Motivation & Objective

  • Motivate text-to-audio generation with high fidelity, controllability, and compositionality.
  • Develop an autoregressive model that operates on a learned discrete audio representation.
  • Leverage a pre-trained text encoder to generalize to unseen text concepts.
  • Improve text adherence and compositionality via guidance and on-the-fly audio mixing.
  • Demonstrate audio continuation capabilities (conditional and unconditional).

Proposed method

  • Encode raw audio into a discrete sequence with an auto-encoder (E, Q, G) trained with reconstruction and perceptual losses.
  • Train a Transformer-based Audio Language Model (ALM) conditioned on text via a pre-trained T5 text encoder and a text-audio cross-attention mechanism.
  • Apply classifier-free guidance (CFG) during sampling to balance quality and diversity.
  • Introduce on-the-fly text and audio mixing augmentations to improve compositionality and generalization.
  • Explore multi-stream audio inputs using residual vector quantization to reduce sequence length and increasing speed.
  • Evaluate with objective metrics (FAD, KL) and subjective MOS-style ratings; compare to DiffSound and ablate CFG and multi-stream designs.

Experimental results

Research questions

  • RQ1Can an autoregressive model generate high-fidelity audio conditioned on descriptive text?
  • RQ2Does leveraging a discrete learned audio representation enable better generalization to unseen text concepts?
  • RQ3Can classifier-free guidance improve adherence to text while preserving diversity?
  • RQ4Does on-the-fly text-audio mixing improve compositionality and quality of generated audio?
  • RQ5What is the impact of multi-stream modeling on fidelity, bitrate, and inference speed?

Key findings

  • AudioGen-base outperforms the DiffSound baseline on objective and subjective metrics while using fewer parameters.
  • AudioGen-large further surpasses DiffSound and AudioGen-base in both objective (FAD, KL) and subjective (OVL, Rel.) scores.
  • Mix-based augmentation improves text relevance (KL) and complexity of compositions compared to non-mixed training.
  • Classifier-free guidance with a tuned gamma enhances text adherence and sample quality, achieving better trade-offs than unconditional sampling.
  • Multi-stream configurations offer speedups with varying impacts on quality, with a single-stream base model delivering best objective scores while multi-stream variants offer inference time gains.
  • Audio continuation experiments show text-conditioned generation remains influenced by prompt length and text guidance, enabling conditional continuation for short prompts and stronger prompt effect with shorter audio prompts.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.