Few-shot learning of new sound classes for target sound extraction

Marc Delcroix, Jorge Bennasar Vázquez, Tsubasa Ochiai, Keisuke Kinoshita, Shoko Araki

Abstract

Target sound extraction (TSE) systems typically rely on either fixed 1-hot class labels for high accuracy or audio enrollment clips for flexibility. This paper introduces SoundBeam-mixed, a multi-task learning framework that combines these approaches by mapping both inputs into a shared embedding space. By utilizing an embedding loss and a few-shot adaptation strategy, the model outperforms traditional baselines on known classes and generalizes effectively to unseen sound categories with minimal examples.

Introduction

Target sound extraction (TSE) is the computational equivalent of the "cocktail party effect"—the ability to focus on one specific sound (like a dog barking or a violin) within a noisy mixture. Currently, two primary paradigms exist for conditioning these systems:

  1. 1-hot vector approach: Provides a fixed ID for known classes. While highly accurate, it is rigid and cannot handle unseen sound categories.
  2. Enrollment-based approach: Uses a short "reference" clip of the target sound. This offers flexibility for new classes but often suffers from lower performance on known classes due to intra-class variability.

This research addresses the "rigidity vs. flexibility" trade-off, proposing a system optimized for known sounds that can also adapt to new ones with minimal data.

System Architecture

The core innovation is the SoundBeam-mixed architecture, which utilizes a multi-task learning framework to bridge the gap between 1-hot and enrollment encoders.

SoundBeam-mixed architecture featuring dual encoders and a shared extraction network.

The system employs a modified Conv-TasNet as the extraction network, conditioned on an embedding vector e. This vector is generated by one of two parallel encoders: a 1-hot encoder for fixed classes and an enrollment encoder for audio clips. During training, the model alternates between these encoders. An Embedding Loss (EL) based on cosine distance is introduced to force the enrollment encoder to produce vectors close to the "ideal" 1-hot embeddings.

For new sound classes, the system uses Few-Shot Adaptation. It averages embeddings from $K$ enrollment samples to create a "pseudo 1-hot" vector and then performs a rapid retraining phase, updating only this new embedding vector while keeping the rest of the network fixed.

Experimental Methodology

The model was evaluated using synthetic mixtures of three acoustic events (AE) and background noise. Data was sourced from FSD-Kaggle 2018 and FSD50K for sound events, with stationary background noise from the REVERB Challenge Corpus. The training set comprised 41 AE classes, while evaluation included both these "seen" classes and 10 "new" unseen classes (e.g., male speech, electric guitar). Performance was measured using SDR (Signal-to-Distortion Ratio) improvement.

Results and Analysis

The SoundBeam-mixed model demonstrated significant improvements over baseline approaches in both seen and unseen scenarios.

Performance comparison (SDR improvement in dB) across seen and new sound classes.

On known sounds, the mixed model with Embedding Loss achieved a 12.9 dB improvement, outperforming the 1-hot baseline (11.4 dB). For entirely new sound classes, the system achieved a 7.5 dB improvement using 10 enrollment samples without adaptation. With the proposed adaptation strategy ($K=10$), performance on new classes rose to 8.2 dB. Even with as few as 5 samples, the system remained robust at 7.8 dB.

The multi-task approach provides a "mutual regularization" effect: the 1-hot encoder stabilizes representations, while the enrollment encoder helps capture acoustic nuances. Furthermore, the adaptation process allows the system to treat a new class with the same specialized focus as pre-trained categories.

Conclusion

SoundBeam-mixed successfully combines the strengths of fixed-class and enrollment-based TSE systems. While the current approach requires labeled data for initial training and a static adaptation phase, future work will explore the use of weakly-labeled data and real-time online adaptation. This work marks a significant step toward flexible, high-performance audio separation in complex, real-world environments.

Summary updated

BibTeX
@inproceedings{delcroix2021few,
  author = {Marc Delcroix and Jorge Bennasar Vázquez and Tsubasa Ochiai and Keisuke Kinoshita and Shoko Araki},
  title = {{Few-shot learning of new sound classes for target sound extraction}},
  booktitle = {Interspeech},
  year = {2021},
}
Figure