USED: Universal Speaker Extraction and Diarization

Junyi Ao, Mehmet Sinan Yldrm, Ruijie Tao, Meng Ge, Shuai Wang, Yanmin Qian, Haizhou Li · DOI

TL;DR

This paper introduces USED, a novel unified model that simultaneously performs speaker extraction and diarization. By addressing output inconsistencies and scenario mismatches between these traditionally separate tasks, USED achieves state-of-the-art performance on simulated and real-world speech datasets, offering a more comprehensive understanding of "who spoke what and when."

What Problem Does This Paper Address?

Speaker extraction (identifying and isolating a specific speaker's voice) and speaker diarization (determining "who spoke when" by segmenting speech by speaker) are crucial for many speech applications. However, these tasks have historically been treated independently. This separation leads to two main problems:

  1. Output Inconsistency: Speaker extraction typically outputs a single speaker's voice, while diarization outputs segment labels for all speakers. Integrating these requires aligning different output formats.
  2. Scenario Mismatch: Speaker extraction models are often trained on highly overlapped speech, while diarization models are typically optimized for sparser overlaps common in real-world conversations. This mismatch hinders performance when applying models to diverse scenarios.

The authors argue that a joint approach is more meaningful, as knowing "who spoke what and when" provides richer information. They aim to create a single model that can handle varying numbers of speakers and arbitrary overlap ratios, overcoming the limitations of independent or narrowly focused joint models.

Methods

The proposed Universal Speaker Extraction and Diarization (USED) model is a unified, end-to-end network built upon a time-domain approach (similar to SpEx+). Its core innovations lie in how it handles data ingress and egress to manage the aforementioned inconsistencies:

  • Embedding Assignment Module: This module is key to addressing output inconsistency and enabling flexibility. It takes speaker references and assigns them one of three states:
  • Active: Guides the network to generate output for expected speakers.
  • Blank: Instructs the network to produce silent segments for unexpected speakers, crucial for robustness.
  • Residual: Captures cumulative outputs for speakers not explicitly selected as active. This module allows the model to output results for a variable number of speakers, from one to an arbitrary maximum, and helps align speaker extraction and diarization outputs, mitigating the "output permutation problem."

  • Multi-Task Interaction Module: This component addresses the scenario mismatch by leveraging information between the two tasks. It uses diarization results to refine extracted speech (e.g., by mitigating noise) and, conversely, uses cleaner extracted speech to improve diarization, especially in overlap regions.

The overall architecture includes a speech encoder, speaker encoder, the novel embedding assignment module, a separator, a diarization decoder, and an extraction decoder.

Datasets

The authors evaluated their model on several datasets:

  • LibriMix: A simulated dataset derived from LibriSpeech, used for training and evaluating both speaker extraction and diarization. It includes both "min" (highly overlapped) and "max" (less overlapped) modes.
  • SparseLibriMix: Another simulated dataset, used to evaluate performance across a range of overlap ratios from 0% to 100%.
  • CALLHOME: A dataset of real telephone-channel recordings, used specifically to evaluate the diarization performance on real-world data.

For pre-training on CALLHOME, they augmented the data with Libri2Mix and Libri3Mix datasets, totaling approximately 452 hours, which is significantly less than many prior methods.

Key Insights and Ideas

  • Joint Modeling is Superior: The paper strongly advocates for and demonstrates the benefits of jointly training speaker extraction and diarization, showing that each task can significantly improve the other.
  • Flexibility is Key: The "universal" aspect of USED, its ability to handle a variable number of speakers and arbitrary overlap ratios, is a major advantage over prior methods that often require fixed numbers or specific overlap conditions.
  • The "Blank" State is Crucial: The introduction of a "blank" state in the embedding assignment module is a clever way to handle unexpected speakers and improve the model's robustness and ability to distinguish between silence and actual speech.
  • Scenario-Aware Loss: The use of a scenario-aware differentiated loss (SAD loss) for speaker extraction, which considers different overlap scenarios (QQ, QS, SS, SQ), effectively mitigates background noise and improves performance, especially in quiet target speaker scenarios.

Key Results

  • LibriMix (Max Mode): USED achieved significant improvements in speaker diarization, with a relative reduction in DER of at least 13% compared to prior systems. For speaker extraction, it showed lower power values in QQ and QS scenarios, indicating effective noise mitigation.
  • LibriMix (Min Mode): USED outperformed baselines in both speaker diarization (lower DER) and speaker extraction (higher SI-SDRi).
  • SparseLibriMix: USED demonstrated effectiveness across a wide range of overlap ratios, outperforming TS-VAD and SpEx+ baselines.
  • CALLHOME: USED achieved competitive diarization performance with significantly less pre-training data (452 hours vs. 15,516+ hours for some methods) and showed robustness to a larger number of speakers than it was explicitly trained on.
  • Efficiency: While USED has more parameters than SpEx+, its "Total MACs" (computational cost for multi-speaker scenarios) are significantly lower than combining separate models for extraction and diarization.

Limitations and Future Work

  • Computational Complexity: While more efficient than combining separate models, USED's computational complexity is higher than individual baseline models like SpEx+ and TS-VAD.
  • Hyperparameter Sensitivity: The paper notes that performance can be sensitive to the selection of loss weights and hyperparameters for the embedding assignment module, suggesting room for further tuning.
  • Future Work: The authors suggest exploring the model's performance with more complex acoustic environments and a wider range of real-world scenarios. Further investigation into optimizing the multi-task interaction module and the embedding assignment module could also yield improvements.

Summary updated

BibTeX
@misc{ao2023used,
  author = {Junyi Ao and Mehmet Sinan Yldrm and Ruijie Tao and Meng Ge and Shuai Wang and Yanmin Qian and Haizhou Li},
  title = {{USED: Universal Speaker Extraction and Diarization}},
  year = {2023},
  eprint = {2309.10674},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2309.10674},
}
Figure