AI Ops Glossary

Speaker Diarization

Speaker diarization is the task of labeling an audio or video recording with speaker classes, in short, working out "who spoke when." The audio is divided into speech segments and clustered into groups that share a speaker label. The process generally needs no prior knowledge of the speakers, such as their real identities or how many people are talking.

Diarization was first developed for speech recognition on multi-speaker recordings, where it enabled speaker adaptive processing. It later became a stand-alone source of speaker metadata for tasks such as audio retrieval, and it remains an important part of the pre-processing pipeline for speech-to-text. NIST's Rich Transcription evaluations, which ran from 2002 to 2009, drove early progress and introduced diarization error rate (DER), still the principal evaluation metric for the task.

Speaker Diarization at a Glance

Also called"Who spoke when"; SD
What it doesSeparates speech from non-speech, marks speaker turn changes and assigns a consistent anonymous label to each speaker
Where it's used in model developmentPre-processing for speech-to-text, speaker-attributed transcripts, and reference labels for training and scoring diarization and joint ASR models
The human roleProducing human reference segmentations to a written spec covering pauses, boundaries, vocalizations and overlapping speech
LimitsOverlapping speech, noisy and highly interactive domains, and timing mismatch with ASR word boundaries

How Speaker Diarization Works

Speaker diarization works either as a pipeline of separately optimized modules or as a single end-to-end neural network that outputs each speaker's activity directly.

The modular pipeline

  1. Front-end processing. Speech enhancement, dereverberation, speech separation or target speaker extraction reduce acoustic artifacts.
  2. Speech activity detection. Speech is separated from non-speech events.
  3. Embedding extraction. Speech segments become embedding vectors. Neural embeddings such as d-vectors and x-vectors, most often taken from a network trained for speaker recognition, replaced earlier i-vectors.
  4. Clustering. Embeddings are grouped by speaker. Algorithms include agglomerative hierarchical clustering, k-means and spectral clustering.
  5. Post-processing. The clustering result is refined. The DIHARD III baseline, for example, refined its clusters with variational Bayes hidden Markov model (VB-HMM) resegmentation.

End-to-end neural diarization

End-to-end neural diarization (EEND) treats the task as multi-label classification: the network estimates the joint speech activity of all speakers frame by frame. A permutation-free loss handles the fact that speaker labels have no fixed order. Because two speakers can be active in the same frame, EEND handles overlapping speech explicitly. It can also be adapted to real conversations by training on their multi-speaker segment labels.

The output

Results are commonly written as Rich Transcription Time Marked (RTTM) files. DIHARD III distributed its reference diarization and scored system output in RTTM, and the pyannote 3.1 pipeline writes its output in the same format.

Where Speaker Diarization Fits in Speech Model Development

Speaker diarization sits between raw audio and a speaker-attributed transcript, and its human reference labels are what diarization and joint speech models are scored against.

Pairing with ASR

Most production speech systems still run separately trained ASR and diarization models. An orchestration step attaches each recognized word to the speaker segment with the biggest temporal overlap or, if no segment overlaps the word, to the nearest speaker. When the two systems' timing disagrees, words land on the wrong speaker. Two research directions address this:

  • Joint ASR and diarization. A Google RNN-T model trained on clinical conversations cut word diarization error rate from 15.8% to 2.2% against a conventional baseline.
  • LLM post-processing. In the DiarizationLM framework, a fine-tuned PaLM 2-S model reduced word diarization error rate by a relative 55.5% on Fisher and 44.9% on Callhome English.

How diarization is scored

DER is the total percentage of reference speaker time not correctly attributed to a speaker, after an optimal mapping between reference and system speakers:

DER = (false alarm + missed speech + speaker confusion) / total reference speaker time

For example, 600 seconds of reference speech with 12 seconds of false alarm, 18 seconds missed and 30 seconds confused gives (12 + 18 + 30) / 600 = 10%. Scoring conditions matter. NIST RT practice applied a forgiveness collar, and the original EEND paper describes a 250 ms collar around the start and end of each segment as typical. DIHARD III used no collar and scored overlapped speech. Jaccard error rate (JER) weights every speaker equally regardless of talk time. Word diarization error rate (WDER) counts recognized words tagged with the wrong speaker and must be read alongside word error rate.

Speaker Diarization Limits and the Human Role

Speaker diarization still struggles with overlapping speech and hard acoustic domains, and the reference data it is trained and scored on depends on skilled human annotation.

Where systems fail

  • Overlap. Clustering-based diarization implicitly assumes one speaker per segment. In the DIHARD III core development set, 10.04% of speech was overlapped.
  • Domain. In DIHARD III, median DER was below 10% in six domains when systems received a reference speech segmentation. Clinical interviews and telephone speech generally ranged from 10% to 20%, and for web video the organizers judged the problem far from solved.
  • Far-field conversation. On CHiME-6 dinner party data in DIHARD II, the best system's DER was over 45% with an oracle speech segmentation.

What human annotators do

The DIHARD reference spec split turns on pauses longer than 200 ms and aimed to place boundaries within 10 ms of the true boundary. It defined a pause as any time the speaker produced no vocalization of any kind, including laughter, coughs and breaths. During DIHARD II, organizers found the work needed highly skilled, experienced annotators using multiple spectrogram displays, at real-time rates typically greater than 15X and sometimes exceeding 30X. For new DIHARD III data, they switched to careful turn-level transcription followed by forced alignment.

Speaker Diarization vs. Speaker Recognition

Speaker diarization groups speech by anonymous speaker, while speaker recognition decides whether a specific, known speaker is talking.

AspectSpeaker diarizationSpeaker recognition
Question answeredWho spoke whenWhether a specified target speaker is speaking in a segment
Prior knowledgeNone of identities or speaker countEnrollment audio for the target speaker
OutputTime-stamped speaker segmentsA detection decision per trial
Common metricsDER, JEREqual error rate, minimum and actual cost values
NIST evaluationRich Transcription (2002 to 2009)Speaker Recognition Evaluation (since 1996)

The two share technology: the neural embeddings used in diarization most often come from networks trained for speaker recognition.

Speaker Diarization at Hugo

Hugo builds dedicated audio and speech data teams that diarize multi-speaker recordings: speakers identified, turns marked and overlapping speech resolved, with transcribers matched to the client's languages and dialects. Each team includes diarization and timestamp specialists and a QA and calibration lead who owns the standards. Turn-level timestamp tolerances are set with the client and checked in QA, and diarization is audited on the overlapping segments where it fails. Learn more about Hugo's audio-visual transcription and diarization teams, or read how diarization supports ASR and AVSR training data.

Speaker Diarization FAQs

What is speaker diarization in simple terms?

Speaker diarization is the process of splitting a recording into segments and labeling each one by speaker, answering "who spoke when." The labels are generic tags, such as speaker 0 and speaker 1, because the process generally needs no prior knowledge of who the speakers are or how many there are. Diarized output feeds meeting summarization, call center analysis and video captioning. If a product needs real names or roles, plan for a separate step on top of diarization.

How is diarization error rate (DER) calculated?

Diarization error rate is false alarm plus missed speech plus speaker confusion, divided by total reference speaker time, after an optimal mapping between reference and system speakers. For example, 600 seconds of reference speech with 12 seconds of false alarm, 18 seconds missed and 30 seconds confused gives (12 + 18 + 30) / 600 = 10%. DER was introduced for the NIST Rich Transcription Spring 2003 evaluation. Before comparing two numbers, check whether a forgiveness collar was applied and whether overlapped speech was scored.

What is a good diarization error rate?

A good diarization error rate depends on the audio and the scoring rules, so no single number applies. In DIHARD III, median DER was below 10% in six domains, mostly one- or two-party interactions, when systems received a reference speech segmentation, while clinical interviews and telephone speech generally ranged from 10% to 20%. The pyannote 3.1 pipeline reports 11.3% on VoxConverse and 50.0% on AVA-AVD with no collar and overlap scored. Benchmark on audio that matches production, under the same scoring rules.

What is the difference between speaker diarization and speaker identification?

Speaker diarization groups speech by speaker without knowing who anyone is, while speaker recognition checks speech against a known target speaker. NIST frames speaker detection as determining whether a specified target speaker is speaking during a given segment of speech. Diarization returns anonymous, time-stamped turns scored with DER; NIST speaker recognition leaderboards report equal error rate alongside minimum and actual cost values. Settle which task a product needs before scoping data, because the labels differ.

Why is overlapping speech hard for speaker diarization?

Overlapping speech is hard because clustering-based diarization implicitly assumes one speaker per segment, so a second voice gets missed or mislabeled. In the DIHARD III core development set, 10.04% of speech was overlapped. End-to-end neural diarization estimates every speaker's activity frame by frame, so two speakers can be active at once. Many earlier studies excluded overlapping segments from scoring, so confirm that overlap is both annotated and scored in any evaluation set.

How long does manual speaker diarization annotation take?

Manual speaker diarization annotation to a strict spec is slow: DIHARD organizers reported real-time rates typically greater than 15X and sometimes exceeding 30X. Their spec split turns on pauses longer than 200 ms and aimed to place boundaries within 10 ms of the true boundary, and annotators worked with multiple spectrogram displays. For new DIHARD III data, organizers moved to careful turn-level transcription followed by forced alignment. Agree on pause thresholds and boundary tolerances before work starts, because they drive annotation effort.

When should a team outsource speaker diarization annotation?

A team should consider outsourcing speaker diarization annotation when it needs reference labels at volume across languages, accents or noisy domains that its own staff cannot cover. DIHARD organizers found the work required highly skilled, experienced annotators, and many could not do it even after extensive training. A partner should work from a written spec covering pause thresholds, boundary tolerance, vocalizations and overlap. Ask which scoring tool and collar it uses, and how overlapping segments are reviewed.

Sources

  1. National Institute of Standards and Technology (NIST). Rich Transcription Evaluation. Updated August 22, 2022. Accessed November 9, 2026.
  2. National Institute of Standards and Technology (NIST). NIST Speaker Recognition Evaluation. Accessed November 9, 2026.
  3. Tae Jin Park, Naoyuki Kanda, Dimitrios Dimitriadis, Kyu J. Han, Shinji Watanabe, Shrikanth Narayanan. A Review of Speaker Diarization: Recent Advances with Deep Learning. Computer Speech and Language. Accessed November 9, 2026.
  4. Neville Ryant, Prachi Singh, Venkat Krishnamohan, Rajat Varma, Kenneth Church, Christopher Cieri, Jun Du, Sriram Ganapathy, Mark Liberman. The Third DIHARD Diarization Challenge. Updated April 5, 2021. Accessed November 9, 2026.
  5. Neville Ryant, Kenneth Church, Christopher Cieri, Jun Du, Sriram Ganapathy, Mark Liberman. Third DIHARD Challenge Evaluation Plan. Updated December 2, 2020. Accessed November 9, 2026.
  6. Yusuke Fujita, Naoyuki Kanda, Shota Horiguchi, Kenji Nagamatsu, Shinji Watanabe. End-to-End Neural Speaker Diarization with Permutation-Free Objectives. Accessed November 9, 2026.
  7. Quan Wang, Yiling Huang, Guanlong Zhao, Evan Clark, Wei Xia, Hank Liao (Google). DiarizationLM: Speaker Diarization Post-Processing with Large Language Models. Accessed November 9, 2026.
  8. Laurent El Shafey, Hagen Soltau, Izhak Shafran (Google). Joint Speech Recognition and Speaker Diarization via Sequence Transduction. Updated July 9, 2019. Accessed November 9, 2026.
  9. pyannote (Hugging Face). pyannote/speaker-diarization-3.1. Accessed November 9, 2026.

Build the Dedicated Team Behind Your AI Operations

Whether you need model evaluators, coding specialists, multilingual reviewers, or multimodal data teams, Hugo can help you build and manage the human operations layer behind better AI.

  • Dedicated Specialists

  • Quality You Can Trust

  • Built to Scale With You

  • Secure, Compliant & Reliable