arXiv:2604.21507eess.AScs.SD2026-04综述被引 1

手把手拆解开源语音说话人分离最强模型DiariZen的全流程

DiariZen Explained: A Tutorial for the Open Source State-of-the-Art Speaker Diarization Pipeline

论文配图:DiariZen Explained: A Tutorial for the Open Source State-of-the-Art Speaker Diarization Pipeline
图 1 · 摘自论文原文
  • 分7步解析从音频输入到输出结果的完整流程,每步有代码和可视化支持
  • 在AMI会议语料上实现94.3%的SAD指标,优于主流端到端方法
  • 适合想复现或改进说话人分离系统的研究者与工程师

说话人分离(SD)旨在回答多说话人音频流中‘谁在何时说话’的问题。传统方法通过聚类识别同一说话人片段。近年来,端到端神经语音分离(EEND)取得显著进展。DiariZen是一个基于结构化剪枝的WavLM-Large编码器、带有幂集分类的Conformer后端以及VBx聚类的混合式语音分离流水线,在撰写时已在多个基准测试中达到开源领域最先进水平。尽管性能优异,其架构分散于多个仓库与框架,导致研究者与从业者难以理解、复现或扩展。本文提供一个自包含、逐模块解析的完整教程,将DiariZen分解为七个阶段:(1)音频加载与滑动窗口分割,(2)带学习层权重的WavLM特征提取,(3)Conformer后端与幂集分类,(4)重叠相加的段落聚合,(5)排除重叠的说话人嵌入提取,(6)基于PLDA评分的VBx聚类,(7)重构与RTTM输出。每一步均提供概念动机、代码引用、中间张量形状及来自AMI会议语料30秒样本的实际输出可视化。代码已公开于https://github.com/nikhilraghav29/diarizen-tutorial,包含每个模块的独立可执行脚本和端到端运行的Jupyter笔记本。

原文摘要 · Abstract (English)

Speaker diarization (SD) is the task of answering "who spoke when" in a multi-speaker audio stream. Classically, an SD system clusters segments of speech belonging to an individual speaker's identity. Recent years have seen substantial progress in SD through end-to-end neural diarization (EEND) approaches. DiariZen, a hybrid SD pipeline built upon a structurally pruned WavLM-Large encoder, a Conformer backend with powerset classification, and VBx clustering, represents the leading open-source state of the art at the time of writing across multiple benchmarks. Despite its strong performance, the DiariZen architecture spans several repositories and frameworks, making it difficult for researchers and practitioners to understand, reproduce, or extend the system as a whole. This tutorial paper provides a self-contained, block-by-block explanation of the complete DiariZen pipeline, decomposing it into seven stages: (1) audio loading and sliding window segmentation, (2) WavLM feature extraction with learned layer weighting, (3) Conformer backend and powerset classification, (4) segmentation aggregation via overlap-add, (5) speaker embedding extraction with overlap exclusion, (6) VBx clustering with PLDA scoring, and (7) reconstruction and RTTM output. For each block, we provide the conceptual motivation, source code references, intermediate tensor shapes, and annotated visualizations of the actual outputs on a 30s excerpt from the AMI Meeting Corpus. The implementation is available at https://github.com/nikhilraghav29/diarizen-tutorial, which includes standalone executable scripts for each block and a Jupyter notebook that runs the complete pipeline end-to-end.

语音分离教程开源模型解析

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。