Text-Driven Separation of Arbitrary Sounds

Kevin Kilgour, Beat Gfeller, Qingqing Huang, Aren Jansen, Scott Wisdom, Marco Tagliasacchi

TL;DR

This paper introduces a novel approach to audio source separation that allows users to specify which sound to isolate using natural language descriptions. By training a joint text-audio embedding model and a conditional separation network, they achieve impressive separation quality, opening doors for more intuitive and flexible audio manipulation.

What Problem Does This Paper Address?

Imagine being in a noisy environment, like a bustling street or a crowded party, and wanting to isolate a specific sound – perhaps the music from a passing car or a friend's voice. Traditional audio separation methods often struggle with this, especially when dealing with single-channel audio and arbitrary sound targets. While some methods can separate all sounds into individual components, this requires complex post-processing to select the desired one. Other approaches rely on pre-defined sound classes or conditioning on images or audio snippets, which can be ambiguous or limited. This paper tackles the challenge of enabling users to precisely control audio separation using natural language descriptions of the target sound, moving beyond pre-defined categories and ambiguous conditioning.

Methods

The authors propose a two-component system:

  1. SoundWords: This is a joint embedding model designed to learn a shared representation space for both audio clips and their corresponding textual descriptions. It uses separate "towers" for audio (a Resnetish-50 architecture) and text (a BERT-base transformer), both trained to output embeddings in the same space. This co-embedding is achieved through contrastive learning, where similar audio-text pairs are pulled closer together in the embedding space.
  2. SoundFilter: This is a conditional audio separation model that takes a mixed audio input and a conditioning vector (derived from SoundWords) to produce the separated target sound. The SoundFilter itself is a U-Net architecture operating in the waveform domain. Conditioning is injected into the network using Feature-wise Linear Modulation (FiLM). The model is trained to output two streams: an "enhanced" output containing the target sound and a "suppressed" output containing the background noise.

The training strategy involves first training SoundWords on a large dataset of audio-text pairs. Then, SoundFilter is trained using the embeddings from SoundWords. SoundFilter can be conditioned on either text or audio embeddings, and the authors explore the impact of varying the proportion of text vs. audio conditioning during training.

Datasets

The paper utilizes several datasets for training and evaluation:

  • SoundWords Training:
    • Approximately 50 million 10-second sound clips from internet videos with associated knowledge graph entities.
  • The AudioSet dataset (2 million 10-second clips) with its standard labels, human-provided natural language descriptions, and the AudioCaps dataset.
  • Approximately 110K sound event/scene recordings from the Pro Sound Effects Library with textual descriptions.
  • SoundFilter Training & Evaluation:
    • Clotho dataset: Contains 5929 audio clips, each with 5 captions, split into development, evaluation, and validation sets. This is a key dataset for evaluating text-driven separation.
  • AudioCaps dataset: Used for training and evaluation.
  • Freesound dataset: Used for background audio and as a source for audio descriptions.
  • 1 million 10-second audio clips from internet videos for background audio.

Key Insights and Ideas

  • Text as a Precise Control for Audio Separation: The core idea is that natural language descriptions offer a more nuanced and flexible way to specify target sounds compared to pre-defined classes or ambiguous audio/visual conditioning.
  • Joint Text-Audio Embedding is Crucial: Training SoundWords to co-embed text and audio is vital. This allows the system to understand the semantic relationship between a description and the sound it represents, enabling zero-shot separation for sounds not explicitly seen during SoundFilter training.
  • The Power of Weak Supervision: SoundWords leverages large-scale, weakly supervised data (internet videos, AudioSet) to learn robust embeddings, which is essential for generalization.
  • Text Conditioning Can Lead to Overfitting: The authors observe that training SoundFilter solely on text conditioning can lead to overfitting, especially with limited text data. This highlights the importance of the mixed training approach.
  • Audio Conditioning Still Outperforms Text: Even with the text-driven approach, audio conditioning at test time generally yields higher SI-SDR scores. This is attributed to the direct similarity between the conditioning audio and the target audio, requiring less generalization.

Key Results

  • SoundFilter Performance: The proposed model achieves a mean enhancement SI-SDR of 10.1 dB on the Clotho dataset when conditioned on audio and 9.1 dB when conditioned on text. For suppressed audio, it achieves 10.0 dB (audio) and 9.0 dB (text).
  • SoundWords Retrieval: The SoundWords model achieves a "recall at 1" (R@1) retrieval performance of 5.3% on the Clotho evaluation set in a zero-shot setting, which is competitive with prior work that used within-domain training.
  • Training Text Rate Impact: Figure 3 shows that the best models for text conditioning are achieved with a training text rate of around 10%-40%, not 100%. This indicates a sweet spot for balancing text and audio conditioning during training.

Limitations and Future Work

  • Audio Conditioning Superiority: The paper acknowledges that audio conditioning generally leads to better separation performance than text conditioning. This is attributed to the inherent similarity between conditioning audio and target audio, and the potential for text descriptions to be incomplete.
  • Overfitting with High Text Rate: Training with a high proportion of text conditioning can lead to overfitting, suggesting a need for more diverse text-audio paired data or improved regularization techniques.
  • Future Work: The authors suggest expanding conditioning modalities to include images, which would further enhance the system's versatility. They also implicitly suggest further research into improving text-based conditioning performance to match or exceed audio-based conditioning.

Summary updated

BibTeX
@inproceedings{kilgour2022text,
  author = {Kevin Kilgour and Beat Gfeller and Qingqing Huang and Aren Jansen and Scott Wisdom and Marco Tagliasacchi},
  title = {{Text-Driven Separation of Arbitrary Sounds}},
  booktitle = {Interspeech},
  year = {2022},
}
Figure