What Is JER? A Speaker-Balanced Diarization Metric
JER averages a Jaccard error for each reference speaker with equal weight. Learn why missing a low-activity speaker can stand out more than in DER, and what settings to check before comparing scores.
What Is JER? A Speaker-Balanced Diarization Metric
Jaccard error rate (JER) compares diarization per speaker and averages the speaker-level errors. Unlike DER, it does not let speakers with more speech dominate the overall score. JER complements DER rather than replacing it.
How the per-speaker error is computed
First, the evaluator finds an optimal one-to-one mapping between reference speakers and system speakers. For each matched pair, the speaker-level error is the non-overlapping speech time divided by the union of the reference and system speech time: (false alarm + miss) / union. This is one minus the Jaccard similarity, which is intersection divided by union. JER averages these errors equally across reference speakers. A reference speaker with no matched system speaker receives 100% error under the DIHARD formulation.
Example: one quiet speaker is missed
Suppose speaker A has 90 seconds of reference speech and speaker B has 10. If the system gets A completely right and misses B entirely, with no other errors, DER is 10/100 = 10%. JER averages A's 0% and B's 100% equally, giving 50%. This hypothetical example shows why JER makes an error for a low-activity speaker more visible.
What JER shows that DER does not
**Equal weight per reference speaker:** DER is weighted by reference speaker time, so long turns count more. JER gives each reference speaker one equal contribution.
**Sensitivity to low-activity speakers:** Missing a brief speaker can have a large effect on the macro-average.
**Bounded range:** JER ranges from 0% to 100%. DER can exceed 100% when false-alarm time is large.
**Unmatched system-speaker caveat:** Because the DIHARD formulation averages over reference speakers, speech assigned to extra, unmatched system labels may not be directly penalized. Check DER and speaker-count errors too, especially for over-clustering.
A lower JER does not automatically mean a system is better for every use. It is a speaker-balanced view; interpret it alongside DER, error components, and speaker counts.
Settings to fix before comparing scores
Record the reference version and file split, speaker-mapping method, collar, overlap policy, scored region such as UEM, JER implementation/tool version, and file aggregation method. DIHARD II specified no boundary collar, included overlap, and used dscore 1.0.1. pyannote.metrics exposes collar and overlap options as well. Scores from different protocols or implementations need not be comparable.
In brief
JER optimally maps speakers, computes each reference speaker's error over the union of that speaker's reference and system segments, then averages equally over reference speakers. With imbalanced speech amounts, JER and DER can tell different stories. This article focuses on that weighting difference and the unmatched-speaker limitation, complementing the previous guide to DER scoring conditions.
References
[DIHARD II Evaluation Plan v1.2: JER definition and protocol](https://dihardchallenge.github.io/dihard2/docs/second_dihard_eval_plan_v1.2.pdf)
[pyannote.metrics: JaccardErrorRate implementation and definition](https://pyannote.github.io/pyannote-metrics/_modules/pyannote/metrics/diarization.html)