Skip to content

Evaluation, diagnostics, benchmarks, and additional tests · Evaluation, diagnostics, benchmarks, and additional hypothesis tests · EVA045 · Metric

Diarization error rate and Jaccard error rate

Evaluate who-spoke-when predictions after mapping arbitrary system speaker labels to reference speakers.

Partly runs in CodeSplash (Experimental) Complete calculation CodeSplash's run and the reference's record

In CodeSplash

A CodeSplash method covers part of this entry; some options or variants aren't built yet. The methods that run it are Experimental.

Do it in CodeSplash Run it on your own data. It's in the Experimental lane in the app.

Availability
Partly runs in CodeSplash (Experimental)
Code example
Complete calculation
Who ran it
CodeSplash's run and the reference's record
CodeSplash's run
The reference's example ran in Python and R here, and they agree.
The reference's record
Python: Ran in the reference's review. The report doesn't record which version of the code ran. R: Reviewed but not run: R wasn't available to the reference's authors.

Purpose

Evaluate who-spoke-when predictions after mapping arbitrary system speaker labels to reference speakers.

Question / hypotheses

How much speaker time is missed, falsely detected, or assigned to the wrong speaker?

Architecture / computational structure

A fixed scoring/calibration pipeline applied to model outputs or supplied observations; the formula and usage sections identify its operations.

Assumptions

Use consistent scoring regions, collar widths, overlap policy, time resolution, and optimal speaker mapping. References must adequately annotate overlapping speech.

Formula / computational definition

DER=(Tmiss+Tfa+Tconf)/Tref;JER=1−1S∑s∣Rs∩Hπ(s)∣∣Rs∪Hπ(s)∣.DER=(T_{miss}+T_{fa}+T_{conf})/T_{ref};\qquad JER=1-\frac1S\sum_s\frac{|R_s\cap H_{\pi(s)}|}{|R_s\cup H_{\pi(s)}|}.

Parameters and notation

T_ref sums reference speaker time, including overlapping speakers; pi is the selected assignment. Collar and overlap exclusions are evaluation hyperparameters.

Fitting, fine-tuning, and adaptation

There is no model fine-tuning step for this evaluation procedure. Freeze the evaluated systems and evaluator before the final test. Select evaluation settings on development data; if a learned evaluator or calibration model is adapted, use separate fitting data, version it, and reassess its validity.

How to use and calibrate

Use a common scoring toolkit and report component errors. Compare identical recordings and resample recordings for uncertainty; report overlap-heavy subsets separately.

Example application

Assess speaker clustering and diarization on multi-person meetings.

Interpretation / pitfalls

Watch out

DER can exceed 100%; JER has different weighting and unmatched-speaker behavior. Scores with different collars or overlap exclusions are not directly comparable.

Python and R code examples

Scope: Mathematical calculation on synthetic inputs; not a complete benchmark pipeline.

Validation: Python — Executed successfully on synthetic inputs. R — reviewed but not executed in this environment. Python dependencies are explicit imports; R uses base R unless a package/bridge is explicitly named.

Python and R

The reference's own programs, shown as written. A component demo shows one central piece of the method; it doesn't train a full model.

Python

Complete calculation — Mathematical calculation on synthetic inputs; not a complete benchmark pipeline.

miss,false_alarm,confusion,reference=10.,4.,8.,100.
print("DER",(miss+false_alarm+confusion)/reference)
intersection,union=70.,90.; print("single-speaker JER",1-intersection/union)
R

Complete calculation — Mathematical calculation on synthetic inputs; not a complete benchmark pipeline.

print((10+4+8)/100); print(1-70/90)

Sources

From the CodeSplash reference, entry EVA045.