Introduction
Speaker diarisation—the process of determining "who spoke when" in an audio recording—is a critical component of automated transcription and meeting analysis systems. The performance of these systems depends heavily on the quality of speaker embeddings: compact numerical representations of voice segments. To be effective in "open-set" scenarios where the system encounters speakers not seen during training, these embeddings must be highly discriminative, ensuring that segments from the same speaker cluster tightly while segments from different speakers remain distinct.
In this work, researchers from the Cambridge University Engineering Department present a refined approach to diarisation by introducing the General Large-Margin Softmax (GLM-Softmax) loss. By utilizing an exact trigonometric formulation and a novel strategy for handling overlapping speech, the authors achieve a significant reduction in Speaker Error Rate (SER).
Methodology
1. General Large-Margin Softmax (GLM-Softmax)
Standard cross-entropy loss often fails to enforce a sufficiently large margin between speaker classes in the embedding space. While previous "Large-Margin" variants like L-Softmax or SphereFace attempted to address this, they frequently relied on mathematical approximations (such as removing the $k$ integer in cosine expansions) to ensure the loss function remained monotonic. These approximations can violate the theoretical conditions required for a proper margin.
GLM-Softmax provides a unified, exact framework that combines three types of margin parameters without approximations:
- $m_1$: Multiplicative margin
- $m_2$: Additive margin
- $m_3$: Standard margin
By using the full trigonometric definition, the model can learn more flexible and robust decision boundaries. The authors found that the multiplicative margin ($m_1$) was particularly influential in the diarisation task, contrasting with some findings in the field of face recognition.
2. Training Stability and Parameter Scheduling
Large-margin losses are notoriously difficult to train from scratch due to their high initial difficulty. To stabilize the process, the authors implemented a "natural" parameter update schedule. Instead of using complex heuristics, they use a single update parameter ($\eta$) to gradually transition the margin parameters from an "easy" state (equivalent to standard softmax) to the target "hard" values as training progresses.
3. Addressing Overlapping Speech
Overlapping speech—where two or more individuals speak simultaneously—is a major source of error in diarisation. Forcing a model to assign a single target speaker with a strict margin to an overlapping segment can degrade embedding quality, as the signal inherently contains multiple identities.
The authors propose a "Modified Softmax" approach for these segments. During training, overlapping speech segments within a batch are treated with a zero-margin loss, while single-speaker segments use the full GLM-Softmax. This prevents the model from being "over-punished" for the ambiguity inherent in overlapping audio, effectively using these segments as a form of regularizer for the speaker clusters.
Experimental Setup
The proposed methods were evaluated on the AMI meeting corpus, a standard benchmark for speaker diarisation.
- Data: 135 meetings for training (149 speakers), with 18 meetings for development and 16 for evaluation.
- Architecture: The system utilized a Time Delay Neural Network (TDNN) followed by a self-attentive layer to produce 128-dimensional speaker embeddings.
- Features: 40-dimensional log-mel filter bank outputs.
- Evaluation: Performance was measured using Speaker Error Rate (SER) with a 0.25-second collar and oracle segmentation.
Results and Discussion
The experimental results demonstrate the clear superiority of the GLM-Softmax approach and the overlap handling strategy.
| Model Configuration | SER (Eval Set) |
|---|---|
| Baseline (Modified Softmax) | 18.3% |
| Single Parameter ($m_1=1.10$) | 12.8% |
| Combined GLM-Softmax (v1) | 12.4% |
| GLM-Softmax + Overlap Model | 10.9% |
The final model achieved a 29.5% relative reduction in SER compared to the baseline. Key insights from the results include:
- Combined Margins: Models using a combination of $m_1, m_2,$ and $m_3$ outperformed those using any single parameter, suggesting complementary benefits to the geometry of the embedding space.
- The Value of Overlap: Specifically tuning the loss for overlapping speech provided the single largest jump in performance, reducing the SER from 12.4% to 10.9%.
Conclusion
This research demonstrates that mathematical precision in loss function design, combined with a nuanced treatment of overlapping speech, can significantly advance the state-of-the-art in speaker diarisation. While the current study relies on oracle segmentation, the improvements in embedding discriminability provide a robust foundation for future "in-the-wild" systems. Future work may focus on integrating these embeddings with end-to-end neural diarisation frameworks and automated overlap detection systems.
Summary updated