Abstract
In this paper two different approaches to enhance the performance of the most challenging component of a Speaker Diarization system are presented, i.e. the speaker clustering part. A processing step is proposed enhancing the input features with a temporal smoothing process combined with nonlinear filtering. We, also, propose improvements on the Deep Embedded Clustering (DEC) algorithm -- a nonlinear feature transformation. The performance of these enhancements is compared with different clustering algorithms, such as the UISRNN, k-Means, Spectral clustering and x-Means. The evaluation is held on three different tasks, i.e. the AMI, DIHARD and an internal meeting transcription task. The proposed approaches assume a known number of speakers and time segmentations for the audio files. Since, we focus only on the clustering component of diarization for this work, the segmentation provided is assumed perfect. Finally, we present how supervision, in the form of given speaker profiles, can further improve the overall diarization performance. The proposed enhancements yield substantial relative improvements in all 3 tasks, with 20% in AMI and 19% better than the best diarization system for DIHARD task, when the number of speakers is known.
Introduction
Speaker diarization—the process of determining "who spoke when" in a multi-speaker recording—is a cornerstone of modern speech processing. It is essential for applications ranging from automated meeting transcriptions to call center analytics. While the field has transitioned from traditional "i-vectors" to "d-vectors" (embeddings extracted from deep neural networks), significant hurdles remain. Specifically, d-vectors extracted at the frame level are often "jittery" due to phonetic variations and environmental noise. Furthermore, unsupervised clustering algorithms like Deep Embedded Clustering (DEC) can suffer from instability, often converging to "trivial" solutions where clusters collapse.
This paper addresses these challenges by stabilizing both the front-end embeddings and the back-end clustering process, making diarization more robust in challenging acoustic environments.
Proposed Methodology
Front-end: Temporal Smoothing and Median Filtering
Standard diarization systems typically aggregate d-vectors through simple averaging, which is sensitive to outliers. This work proposes a more robust pipeline:
- Low-pass Filtering: d-vectors are first processed with a moving average filter to smooth temporal trajectories and reduce frame-level noise.
- Median Filtering: Instead of a mean average, a median value is extracted for each speech segment. Median filtering is inherently more robust to outliers caused by brief noises or specific phonetic sounds that do not represent the speaker's overall profile.
Back-end: Improved Deep Embedded Clustering (DEC)
Deep Embedded Clustering (DEC) uses an autoencoder to map features into a lower-dimensional space optimized for clustering. We propose several improvements to the DEC loss function:
- Uniformity Constraint ($L_u$): This term encourages a balanced distribution of speaker turns, preventing the algorithm from leaving clusters empty—a common failure mode in unsupervised deep clustering.
- MSE Term ($L_{MSE}$): A Mean Squared Error term penalizes the distance between samples and their cluster centroids, similar to the k-Means objective, providing additional structure to the latent space.
- Periodic Re-calibration: To prevent the model from diverging into ill-conditioned solutions, a periodic k-Means "reset" is performed during training.
Experimental Results
The proposed enhancements were evaluated on three diverse datasets: the AMI Meeting Corpus, the DIHARD Corpus, and internal Microsoft meeting data.
AMI Task Results
On the AMI dataset, the "Improved DEC" algorithm demonstrated superior performance. It achieved a Diarization Error Rate (DER) of 10.66%, outperforming the original DEC (11.41%) and standard Spectral Clustering (13.52%).
DIHARD Task Results
The DIHARD task is notoriously difficult due to diverse noise conditions. When the number of speakers was known, the proposed system achieved a 19.5% relative improvement over the then-current state-of-the-art on the evaluation set.
Key Insights
- The "Long Segment" Advantage: Segments longer than 1.5 seconds provide significantly higher-quality embeddings. Using these clean segments to initialize speaker centroids drastically improves the handling of shorter, noisier segments.
- Median vs. Mean: Median aggregation is superior for d-vectors as it effectively ignores phonetic noise that can skew a simple average.
- Stability through Constraints: Imposing a "soft" assumption of uniform speaker distribution makes the DEC algorithm much more stable without sacrificing the ability to handle real-world meetings with unequal speaker participation.
Conclusion
The proposed enhancements to temporal smoothing and the DEC algorithm yield substantial improvements across major diarization benchmarks. Future work will focus on integrating these improvements with dedicated overlapping speech detection and real-world Voice Activity Detection (VAD) systems to move toward a fully end-to-end diarization solution.
Summary updated