DiariZen Explained: A Tutorial for the Open Source State-of-the-Art Speaker Diarization Pipeline
This work addresses the challenges of reproducing and extending DiariZen—an open-source state-of-the-art speaker diarization system—stemming from its cross-library and cross-framework dependencies. We propose the first self-contained, visualizable, and code-aligned modular decomposition of the DiariZen pipeline, structured into seven stages: audio preprocessing, WavLM-Large feature extraction (incorporating structured pruning and layer weighting), Conformer-based backend modeling, powerset classification, VBx clustering, and PLDA scoring. Accompanied by executable scripts and visualization examples, our implementation significantly lowers the barrier to entry for researchers, achieves open-source state-of-the-art performance across multiple benchmarks, and enables fully reproducible experimentation and pedagogical demonstration through comprehensive open-source tutorials.