What Is Speaker Diarization? Determining Who Spoke When
Understand what diarization labels mean, how DER is calculated, and how to diagnose speaker confusion and segmentation errors.
What Is Speaker Diarization?
Speaker diarization divides a recording into time regions answering “who spoke when.” A system detects speech regions and groups regions believed to come from the same speaker. Labels such as Speaker A distinguish voices within the recording; they do not reveal a person’s real name or identity.
Pipeline and limits
A typical pipeline detects speech activity, finds speaker-change boundaries, and clusters segments by speaker. Linking a cluster to a real identity requires separate enrollment or known speaker data. Overlapping speech, laughter, whispering, changing microphone distance, noise, reverberation, and conversation type can affect results. Errors in voice activity detection can flow into diarization.
Reading DER
Diarization error rate (DER) is commonly calculated as (false-alarm time + missed-speech time + speaker-confusion time) divided by reference speech time. False alarm marks non-speech as speech; miss omits reference speech; confusion assigns detected speech to the wrong speaker. Scores also depend on the evaluation protocol: boundary collar, treatment of overlap, supplied speech regions, and metric implementation. Results with reference speech segmentation are not directly the same condition as processing raw audio from scratch.
Diagnose errors
A single DER number does not show the failure type. Over-segmentation can split one person across several labels; under-segmentation can merge different speakers. Purity and coverage can help distinguish these patterns. Evaluate recordings like the intended use (meetings, interviews, phone, distant microphones), inspect each DER component, check overlap scoring, review detection, segmentation, and clustering separately, and compare systems using the same data split and protocol. DIHARD evaluations show why varied domains and recording conditions matter; success on clean audio alone does not establish performance elsewhere.
Sources
Ryant et al., [Third DIHARD Challenge Evaluation Plan](https://arxiv.org/abs/2006.05815), 2020.
Ryant et al., [The Third DIHARD Diarization Challenge](https://arxiv.org/abs/2012.01477), 2020.
Bredin, [pyannote.metrics](https://www.isca-archive.org/interspeech_2017/bredin17_interspeech.pdf), Interspeech 2017.