Podcast

Speaker diarization explained: what it is, how it works, how accurate it is, and what you can do with it

Every tool that labels speakers in a transcript, colours subtitles by person or splits a podcast into one track per voice starts with the same task: speaker diarization. Here is what it does, how it is built, how its errors are measured, and where it still fails, with the research and the benchmarks as sources.

Abstract light trails in gold, white and blue weaving across a black background like several overlapping sound waves
Contents

What speaker diarization is

The research literature sums it up in four words. The reference review by Park and colleagues, published in Computer Speech & Language in 2022, describes diarization as a task to identify “who spoke when” in an audio or video recording: the recording is cut into segments and each segment receives a class that stands for a speaker identity. In general the system does not need to know beforehand who the speakers are, or even how many there are; it discovers them from the voices.

Diarization does not say what was said, and it does not know names. Its output is a list of turns: speaker A from 0:00 to 0:12, speaker B from 0:12 to 0:25, speaker A again. Everything people use it for is built on top of that list: a transcript with speakers, subtitles with one colour per person, a camera that follows whoever talks, or one audio track per voice.

How a diarization system works, step by step

The classic pipeline described in the review, and in most systems since, has five stages.

  1. Speech activity detection. Find where someone is speaking and drop silence, music and noise; the review describes it as the step applied to separate speech from non-speech events.
  2. Segmentation. Break the speech into short pieces that each contain a single speaker.
  3. Speaker embeddings. Turn each piece into a vector that describes the voice (the research names i-vectors, d-vectors and x-vectors).
  4. Clustering. Group the vectors that belong to the same voice; each group becomes a speaker. Common methods are k-means, agglomerative hierarchical and spectral clustering.
  5. Post-processing. Smooth the boundaries and, in the better systems, handle the passages where two people speak at once.

Recent systems merge some of these steps into neural networks trained end to end, but the logic stays the same. The most used open-source toolkit, pyannote.audio, describes itself as an open-source toolkit written in Python for speaker diarization; its latest release at the time of writing is 4.0.7, from 30 June 2026.

How diarization is measured: the diarization error rate

Diarization is scored with one number, the diarization error rate. The pyannote.metrics documentation gives the formula: the sum of false alarm, missed detection and confusion, divided by the total speech time. A false alarm is noise or silence labelled as speech; a missed detection is speech labelled as silence; a confusion is speech attributed to the wrong person. The metric comes from the American NIST Rich Transcription evaluations of the 2000s, and the organisers of the third DIHARD challenge note that DER remains the principal evaluation metric.

For someone editing a podcast, the three errors mean three different things on a per-speaker track:

  • False alarm: a cough, a laugh or a chair creak lands on a speaker’s track.
  • Missed speech: a few words are missing from the track where they belong.
  • Confusion: a sentence ends up on the other person’s track.

What accuracy to expect: the published figures

Diarization error rate, lower is better. pyannote.audio README, benchmark last updated in September 2025, computed with no forgiveness collar and with overlapped speech scored; precision-2 is a paid hosted pipeline.
Dataset (what it contains)pyannote 3.1pyannote community-1pyannoteAI precision-2
VoxConverse (debates and interviews from video)11.2 %11.2 %8.5 %
AMI, headset mix (business meetings)18.8 %17.0 %12.9 %
DIHARD 3, full (eleven hard domains)21.4 %20.2 %14.7 %
CALLHOME, part 2 (phone calls)28.5 %26.7 %16.6 %

The figures depend more on the recordings than on the system. In the third DIHARD challenge, run on deliberately difficult audio, the best system without help scored 19.37 % and the median was 24.80 %; the organisers report a median under 10 % on six domains, and between 35 % and 45 % on meetings, web videos and restaurant recordings. A clean two-person interview behaves like the easy end of that range; a dinner with four people talking at once like the hard end.

Why overlapping speech is the hard part

People talk over each other more than they think. A 2019 study measured overlapping speech at 19 % of speech in the AMI meeting corpus, 9 % in DIHARD II, and 5 to 7 % in ETAPE, a corpus of French TV shows; the review by Park and colleagues cites an average of 12 % to 15 % in meeting recordings. Classic clustering systems assign one speaker per moment, so every overlapped second costs at least one missed speaker. On the CHiME-6 dinner-party recordings, the authors of a target-speaker method calculated that ignoring overlaps alone puts a floor of about 22 % to 26 % under the error rate, before any other mistake.

This is why the type of content matters more than the tool. A podcast or an interview where people mostly take turns diarizes well; a lively debate or a group dinner does not, and needs systems built for overlap or a different technique altogether, speech separation, explained in our guide to diarization, separation and voice isolation.

What diarization is used for

That last use is what flysub’s Speaker Split does, without code: it runs diarization on your recording, then keeps the original audio of each person during their turns and silences the rest, and gives you one 48 kHz WAV per speaker with the same length and timing as the source. Nothing is re-synthesised, which keeps the natural sound of the room; the price of that choice is the one described above: when two people talk at once, the passage stays in both tracks. It takes audio or video up to 3 hours, from 2 to 6 voices or automatic detection.

Doing it yourself: library, API or no-code tool

There are three ways to get diarization. Open-source libraries such as pyannote.audio run on your machine and return speaker segments; speech-to-text APIs return a transcript with speaker labels; neither gives you audio files, which takes a script around an audio tool. No-code tools do the whole job in the browser. The trade-offs are in our comparison of speaker separation tools, and the four practical methods, from recording on separate tracks to AI separation, in how to separate speakers in a recording.

Frequently asked questions

What is speaker diarization?

The task of finding “who spoke when” in an audio or video recording. A diarization system cuts the recording into segments and labels each one with a speaker, usually without knowing the speakers or their number in advance. It does not transcribe and does not know names.

How does speaker diarization work?

A classic system detects speech, cuts it into short single-speaker segments, turns each segment into a voice embedding, clusters the embeddings so that each cluster is a speaker, then refines the boundaries. Recent systems learn several of these steps together with neural networks.

How accurate is speaker diarization?

It is measured with the diarization error rate (false alarms + missed speech + speaker confusion, over total speech). The pyannote.audio benchmark of September 2025 reports about 11 % on VoxConverse, 17 % on AMI meetings and 20 % on DIHARD 3 for its open-source pipeline, and 8.5 % to 14.7 % for its paid one. Clean, turn-taking recordings do better; noisy, overlapping ones worse.

Why does overlapping speech cause errors?

Most diarization systems assign one speaker per moment, so when two people talk at once, one of them is missed. Overlap is 19 % of speech in the AMI meeting corpus and 9 % in DIHARD II; on CHiME-6 dinner parties, ignoring overlaps alone puts a floor of about 22 % to 26 % under the error rate.

Does speaker diarization give me one audio file per speaker?

Not by itself: it gives labels and times. A tool has to cut the audio from them. flysub’s Speaker Split does both and returns one 48 kHz WAV per speaker, the same length as the original, in the browser.

10 free minutes

Try it on your next video

3 subtitled videos and 10 minutes of clipping to try for free. No credit card.

Start for free