What Is DER? Calculating Diarization Error and Reading Evaluation Settings
DER measures reference speaker time that is missed, falsely marked, or assigned to the wrong speaker. A worked example explains why collar, overlap, and scoring-region settings matter.
What Is DER? Calculating Diarization Error and Reading Evaluation Settings
Speaker diarization labels who spoke when in a recording. Diarization error rate (DER) summarizes the difference between system and reference annotations in units of time. A common definition is: DER = (FA + MISS + CONF) / TOTAL × 100%. FA is time marked as speech when the reference has none; MISS is reference speech the system fails to detect; CONF is detected speech assigned to the wrong speaker; TOTAL is reference speaker time. When overlap is scored, simultaneous time for each speaker may count separately.
If the scored reference contains 100 seconds of speaker time, 3 seconds of false alarm, 5 seconds missed, and 7 seconds of confusion, DER is 15%. This is an illustrative calculation. Speaker labels need a consistent mapping, not identical names; an evaluator may find an optimal one-to-one mapping before counting confusion.
A boundary collar excludes a region around reference segment boundaries. Protocols differ in whether they use one and how wide it is. The overlap policy determines whether simultaneous speech is scored. pyannote.metrics includes overlap by default and can exclude it with skip_overlap, while a benchmark may set another rule. The scored time range and file aggregation also matter. Because TOTAL is reference speaker time, DER is duration-weighted, and false-alarm time can make it exceed 100%.
For fair comparisons, report the dataset and reference version, split, collar, overlap policy, scored region such as UEM, label mapping, and scoring tool/version. Include FA, MISS, and CONF when possible. These components guide error analysis but do not prove a cause. This article focuses on scoring conditions, rather than repeating a general introduction to diarization.
References
[DIHARD Challenge: scoring and DER definition](https://dihardchallenge.github.io/dihard1/overview.html)
[pyannote.metrics: DiarizationErrorRate documentation](https://pyannote.github.io/pyannote-metrics/reference.html)
[Bredin et al., Interspeech 2017](https://www.isca-archive.org/interspeech_2017/bredin17_interspeech.pdf)