Retrieval-Augmented Text-to-Audio Generation

Yi Yuan, Haohe Liu, Xubo Liu, Qiushi Huang, Mark D. Plumbley, Wenwu Wang · DOI

Introduction: The Long-Tail Challenge in Audio Generation

Diffusion-based models have significantly advanced text-to-audio (TTA) generation. However, these models are constrained by the quality and distribution of their training data. Most audio-text datasets, such as AudioCaps, exhibit a highly imbalanced "long-tailed" distribution. While common sounds like "a man talking" appear thousands of times, rare events like "champagne popping" are infrequent.

The long-tail distribution of the AudioCaps dataset highlights the disparity between common and rare sound events.

This imbalance causes state-of-the-art models to often ignore rare keywords in complex prompts, defaulting to the most frequent acoustic patterns learned during training. To address this, the authors introduce Re-AudioLDM, a retrieval-augmented framework designed to provide the model with explicit references during the generation process.

Methodology: Re-AudioLDM Architecture

Re-AudioLDM enhances the standard AudioLDM architecture by incorporating a retrieval module that acts as a "cheat sheet" for the model. The generation process follows three primary stages:

  1. Retrieval: For a given text prompt, a CLAP (Contrastive Language Audio Pretraining) model searches a database for the top-$k$ most similar text-audio pairs.
  2. Feature Extraction: The retrieved audio clips are processed via AudioMAE to extract acoustic features, while the corresponding text captions are processed through a T5 language model for semantic features.
  3. Conditioning: These dual features are integrated into the Latent Diffusion Model (LDM) through cross-attention layers, guiding the generation of the final audio.
The Re-AudioLDM framework utilizes a retrieval module to condition the Latent Diffusion Model on similar audio-text pairs.

The final waveform is reconstructed using a VAE decoder and a HiFi-GAN vocoder.

Key Insights and Results

The core innovation of Re-AudioLDM is its ability to leverage external knowledge rather than relying solely on model weights. Key findings include:

  • State-of-the-Art Performance: Re-AudioLDM achieved a Frechet Audio Distance (FAD) of 1.37 on AudioCaps, significantly outperforming previous benchmarks like Tango (1.68).
  • Paired Information Advantage: Ablation studies revealed that retrieving both audio and text features is superior to audio alone. Textual features help the model maintain the semantic relationship and temporal order of events in complex scenes (e.g., "a man talking then pops the champagne and laughs").
  • Long-Tail Stability: Unlike baseline models that struggle with rare sounds, Re-AudioLDM maintains stable performance across the frequency spectrum, effectively "breaking the barrier" of imbalanced data.

Limitations and Future Work

While effective, Re-AudioLDM's performance is dependent on the diversity of its retrieval database. Additionally, the retrieval and multi-feature processing steps introduce computational overhead compared to vanilla diffusion models. Future research will focus on scaling the retrieval database and testing the framework's robustness in zero-shot domains.

Summary updated

BibTeX
@inproceedings{yuan2024retrieval,
  author = {Yi Yuan and Haohe Liu and Xubo Liu and Qiushi Huang and Mark D. Plumbley and Wenwu Wang},
  title = {{Retrieval-Augmented Text-to-Audio Generation}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2024},
  doi = {10.1109/icassp48485.2024.10447898},
}
Figure