Abstract
Strong representations of target speakers can help extract important information about speakers and detect corresponding temporal regions in multi-speaker conversations. In this study, we propose a neural architecture that simultaneously extracts speaker representations consistent with the speaker diarization objective and detects the presence of each speaker on a frame-by-frame basis regardless of the number of speakers in a conversation. A speaker representation (called z-vector) extractor and a time-speaker contextualizer, implemented by a residual network and processing data in both temporal and speaker dimensions, are integrated into a unified framework. Tests on the CALLHOME corpus show that our model outperforms most of the methods proposed so far. Evaluations in a more challenging case with simultaneous speakers ranging from 2 to 7 show that our model achieves 6.4% to 30.9% relative diarization error rate reductions over several typical baselines.
Introduction
Speaker Diarization (SD)—the task of determining "who spoke when"—is a critical component in speech processing, yet it remains notoriously difficult in "cocktail party" scenarios where multiple people talk simultaneously. Traditional methods typically rely on a two-step process: segmenting audio and clustering speaker embeddings (such as x-vectors). However, these methods often struggle with overlapping speech because they typically assign only one speaker label per segment.
While newer techniques like Target Speaker Voice Activity Detection (TS-VAD) handle overlaps more effectively, they often suffer from rigidity—requiring a fixed number of speakers—and rely on suboptimal embeddings pre-trained for speaker recognition rather than frame-by-frame detection. To address these issues, we introduce MTEAD (Multi-target Extractor and Detector), a novel neural architecture designed to handle an unknown number of speakers and overlapping speech within a single, unified framework.
Methodology
The MTEAD architecture consists of two tightly integrated components: the Extractor and the Detector. This design allows for joint optimization of speaker representations and the detection task.
The Extractor (z-vectors)
Instead of utilizing off-the-shelf embeddings, MTEAD employs a ResNet-based extractor with Attentive Statistics Pooling (ASP). This component produces "z-vectors"—speaker representations specifically optimized for the diarization objective through joint training with the detector. This ensures that the embeddings are discriminative for the specific task of detecting active speech regions.
The Detector (Time-Speaker Contextualizer)
Inspired by dual-path recurrent neural networks (DPRNN), the detector processes data in two dimensions:
- Across-time: Analyzes the temporal sequence for each individual speaker.
- Across-speaker: Analyzes all speakers simultaneously at a specific timestamp. This allows the model to discern differences between speaker representations and share information across the speaker dimension, enabling it to adapt to a variable number of speakers ($N$).
The workflow begins with a standard x-vector/AHC (Agglomerative Hierarchical Clustering) pass to estimate the number of speakers and provide initial speech masks. MTEAD then refines these results, handling overlaps and varying speaker counts dynamically.
Experimental Setup
The model was evaluated on two primary datasets:
- SWB+SRE Simulated Corpus: A large-scale simulated dataset (683 hours) featuring sessions with 2, 3, and 4 speakers and 20% speech overlap.
- CALLHOME (LDC2001S97): A challenging real-world telephony dataset containing conversations in multiple languages with a variable number of speakers (ranging from 2 to 7). This served as the primary benchmark for testing the model's flexibility.
Key Results and Discussion
MTEAD demonstrates significant performance gains across various benchmarks. On the CALLHOME corpus, it outperformed nearly all existing methods. Specifically, in challenging cases involving 2 to 7 speakers, MTEAD achieved relative Diarization Error Rate (DER) reductions of 6.4% to 30.9% compared to typical baselines.
A key finding is the superiority of jointly trained z-vectors over standard x-vectors. On simulated data, switching from x-vectors to z-vectors reduced the DER from 25.16% to 23.06% in the threshold condition. Furthermore, on the 2-speaker CALLHOME task, MTEAD achieved a DER of 7.82%, significantly outperforming standard End-to-End Neural Diarization (EEND) models.
The "across-speaker" processing dimension proves vital. By analyzing all potential speakers at once, the model better distinguishes target speakers from background interference or similar-sounding participants, effectively breaking the "fixed-N" barrier common in previous architectures.
Conclusion and Future Work
MTEAD represents a significant step forward in flexible speaker diarization. However, some limitations remain. The model's performance is still dependent on the initial x-vector/AHC pass for speaker count estimation and mask initialization. Additionally, the joint training of a ResNet-50-like extractor with a complex detector introduces substantial computational overhead.
Future work will focus on testing MTEAD on more rugged datasets like DIHARD or CHiME, which feature higher levels of ambient noise and reverberation, and exploring ways to reduce the initialization dependency to move toward a more "pure" end-to-end system.
Summary updated