The word first
Diarization is an opaque word, and it helps nobody. Here is the one-sentence definition: diarization means answering the question "who spoke when?" in a recording containing several voices.
Nothing more than that. The term is built on diary: you are keeping the logbook of the meeting, noting at which moment each voice comes in. It is called speaker diarization because you could do the same thing with other categories of sound.
An analogy: the meeting minutes
Picture being asked to write the minutes of a meeting from nothing but an audio recording. You actually have to do two very different things:
- Write down what was said, the transcript, word for word.
- Indicate who said what, attribute each sentence to the right person around the table.
The first task is automatic speech recognition (ASR): turning sound into text. That is the job of models like Whisper. The second is speaker diarization: cutting the audio into slices and sticking a speaker label on each slice, "Speaker A," "Speaker B," and so on.
These are two distinct tasks, solved by different models, and it is their combination that produces the genuinely useful object. A meeting-transcription system is not a model but an assembly.
The crucial point: diarization does not try to know WHO Speaker A is (it has no guest list). It only tries to know when it is the same voice. It is a matching task: grouping together every moment the same person speaks, without ever knowing their name. Putting a real name on it ("Speaker A = Mary") is an extra step called speaker recognition, which assumes you have reference samples to compare against.
ASR answers "what is being said?". Diarization answers "who is speaking, and when?". These are two independent axes. You can transcribe a dialogue perfectly without knowing who speaks, and conversely know exactly who spoke when without understanding a single word. The best meeting-transcription systems combine both.
The problem it solves: the "wall of text"
A raw transcript with no diarization looks like one uninterrupted wall of text:
yes I think we should postpone no absolutely not the deadline is firm but we'll never finish fine let's regroup tomorrow
This is almost useless. Who wants to postpone? Who refuses? Impossible to tell. With diarization, the same passage becomes readable:
[A] Yes, I think we should postpone. [B] No, absolutely not, the deadline is firm. [A] But we'll never finish. [C] Fine, let's regroup tomorrow.
This is exactly what you need for meeting minutes, podcast subtitling, support-call analytics, or transcribing a court hearing.

VAD: first, where is there any speech at all?
Before even asking who is speaking, you must know where there is speech in the first place. That is the role of Voice Activity Detection (VAD).
VAD scans the audio and, window by window (typically every 10 to 30 milliseconds), answers a binary question: speech, or no speech? "No speech" covers silence, but also music, background noise, air conditioning, applause.
It looks like a simple brick, but it is fundamental, for two reasons:
- It filters out everything that is not voice up front, which avoids wasting compute, and avoids downstream errors (an ASR model "hallucinating" text over a silence is a classic failure).
- It carves the stream into regions of speech, the raw material for everything that follows.
Historically, VAD relied on signal-energy thresholds ("if it is loud enough, it is speech"). Modern VADs are small neural networks, robust to noise, light enough to run in real time on a phone.
The classic cascaded pipeline
The historical approach to diarization chains four stages, like an assembly line. This is the cascaded (or modular) pipeline.

1. Segmentation
The speech regions found by VAD are sliced into small homogeneous segments (typically on the order of 1 to 2 seconds) assumed to contain a single voice. The idea: a short segment has a good chance of not straddling a speaker change.
2. Speaker embedding extraction
This is the heart of the matter. For each segment, we compute a voiceprint: a vector of numbers (a hundred dimensions or so) that summarizes the timbre of the voice, independently of the words spoken.
The training objective is elegant: two segments from the same person should yield nearby vectors; two segments from different people should yield distant vectors. We have turned "is this the same voice?" into "are these two points close in space?".
These voiceprints carry names you meet everywhere in the field:
- d-vectors, taken from the internal activations of a network trained to recognize speakers;
- x-vectors, the reference for years, a network that aggregates (statistical "pooling") all the information in a segment into a single timbre vector.
In practice, we measure the resemblance between two voiceprints and via cosine similarity, i.e. the angle between the two vectors:
A value near 1 means "probably the same voice"; near 0, "probably different voices."
3. Clustering
We now have a cloud of points (one per segment) in voiceprint space. We group them (clustering): each group is assumed to be a speaker. Segments in the same cluster receive the same label.
A practical difficulty surfaces here: how many speakers are there? Often we do not know in advance. The algorithms used (agglomerative clustering, spectral clustering) must therefore either guess that number or take it as a parameter.
4. Attribution
Finally, we stitch the pieces back together: every instant of the audio receives a speaker label, producing the final timeline, the list of intervals "from this second to that second, this is Speaker A."
Two families of voiceprints shaped the field: d-vectors (networks trained for speaker verification), then the x-vectors of Snyder et al. (Johns Hopkins), long the state of the art for representing a voice as a vector. On the grouping side, spectral clustering over embeddings was a dominant recipe. We cite these methods by name here, without a publication identifier, out of caution.
The two difficulties worth stating honestly
Before describing the solutions, let us say plainly what does not work well. The whole literature of the field revolves around two problems, and neither is solved.
1. Passages where two people speak at once. This is the commonest situation in a real conversation, and the one systems handle worst. A lively meeting, an adversarial hearing, a call where one party is agreeing while the other talks: at those instants the signal holds two mixed voices and two labels ought to come out. Many systems emit only one. Mistral's documentation for its transcription model says so without hedging, when two people speak simultaneously, generally only one voice is transcribed (see the Voxtral page).
2. You generally do not know how many speakers there are. Counter-intuitive but central. Nobody hands the system a guest list: it has to discover on its own that there are three voices and not two or four. Getting that count wrong is a fault that contaminates everything else, merging two people under one label, or splitting one person into two phantom speakers. And when a new voice arrives halfway through the recording, it has to be created with no slot reserved for it.
The two difficulties compound, and each worsens the other: a stretch of overlapping speech often produces a phantom speaker, hence an error in the count.
The wall: overlapping speech
The cascaded pipeline rests on a comfortable assumption: at any instant, exactly one person speaks. In real life this is false. People interrupt each other, back-channel ("mm-hmm") while the other talks, laugh together. This is overlapping speech.
Why is it such a hard problem for the cascade?
- A segment containing two mixed voices yields a "hybrid" voiceprint, halfway between the two speakers. In the point cloud it lands between two clusters, and clustering mislabels it, or invents a spurious third speaker.
- Above all, clustering is single-label by construction: each segment gets one speaker. It is structurally unable to say "here, A and B speak at the same time." Yet overlaps account for a far-from-negligible share of speaking time in natural conversation.
This is the fundamental limit of the classic approach, and the main motivation for newer methods.
End-to-end neural approaches (EEND)
Rather than chaining four separately trained modules, the idea of end-to-end approaches (EEND, End-to-End Neural Diarization) is to hand the whole task to a single neural network: it takes audio in, and outputs directly, for each speaker and each instant, the probability that this speaker is active.
The reframing is decisive. Diarization is no longer posed as "sort segments into clusters" but as a multi-label activity detection problem: at each instant , the network predicts a vector of probabilities , one per speaker. Nothing prevents two of those probabilities from being high simultaneously, in other words, overlapping speech is handled natively, which was precisely the cascade's weak spot.
End-to-End Neural Speaker Diarization with Permutation-Free Objectives (Fujita et al., 2019)In exchange, EEND has its own difficulties: handling an unknown and variable number of speakers, the second difficulty stated above, which EEND solves no better than the cascade, and resolving the permutation ambiguity (the network may call "speaker 1" the one ground truth calls "speaker 2", you need a training objective that is insensitive to that ordering, called permutation-invariant). Modern approaches often combine the best of both worlds: a neural core for overlaps, plus a clustering-style mechanism to absorb an arbitrary number of speakers over long durations.

The cascade asks "which group does this segment belong to?", a single-answer question. EEND asks "for each speaker, are they active right now?", a question you can answer "yes" to for several people at once. That simple change of framing is what unlocks overlapping speech.
Online (streaming) diarization
Everything above describes offline diarization: you have the complete file, you can scan it both ways, take your time. That is the case of minutes written after the meeting.
Online (or streaming) diarization is far more demanding: you must label speakers on the fly, with low latency, without knowing what comes next. This is what live captioning requires, or a meeting assistant showing "Mary is speaking…" in real time, or the live transcription of a broadcast.
The constraints are harsh: you cannot wait until the end to decide how many speakers there are; when a new voice appears, you must create a speaker on the fly; and once a label is assigned, you cannot revise it. The whole art lies in trading off latency (responsiveness) against accuracy (letting a little context accumulate improves the decision).
Joining diarization and ASR: the speaker-attributed transcript
Taken separately, ASR gives text with timestamps, and diarization gives speaker-labeled intervals. The useful deliverable is born from their fusion: we align the two timelines, and each transcribed word inherits the speaker label of the interval covering it. We obtain the "who said what, and when" transcript, the final object we were after.
This alignment is not trivial at the boundaries: a word straddling a speaker change, or falling right on an overlap, can be misattributed. The quality of the VAD and the precision of the ASR timestamps weigh directly on the result.
Multimodal diarization goes further by exploiting signals beyond audio alone. When video is available, lip motion ("whose mouth is moving right now?") disambiguates powerfully, especially during overlaps where audio alone fails. In an online meeting, the "who has the active mic" stream is a direct cue. Crossing image and sound is one of the most promising avenues for breaking the overlapping-speech wall.
Measuring quality: DER
The reference measure is the diarization error rate (DER): the fraction of speaking time that is misattributed. Like the word error rate, it is an error rate, so lower is better.
Every symbol, spelled out, and all four are durations, since this is a ratio of times, not a count of segments:
- , missed speech: time during which someone was speaking and the system detected nobody;
- , false alarm: time during which the system attributed speech to someone when there was none;
- , speaker confusion: time where there was indeed speech, but credited to the wrong person;
- , the total duration of speech in the reference.
In one sentence: DER is the number of seconds a proofreader would have to correct, divided by the number of seconds of speech. And like WER, it can exceed 100%: in a stretch where two people speak at once the reference counts that duration twice, and a system that gets everything wrong can accumulate more error than there is reference time.
DER figures compare poorly across studies, because they depend on measurement conventions: a tolerance margin ("collar") is often applied around speaker changes, since exact boundaries are fuzzy even for a human, and some historical evaluations excluded overlap regions from the count outright, that is, exactly the hardest case, which mechanically improves the score.
Before comparing two DERs, check the collar and the treatment of overlaps. A DER of 8% ("250 ms collar, overlaps excluded") and a DER of 15% ("no tolerance, overlaps included") may describe the same system. See how to read a benchmark score.
Why it matters
Diarization is the quiet brick that makes audio usable the moment there is more than one voice. Without it, a transcript of a meeting, interview, trial, or customer call is just an anonymous wall of text. With it, you get structured minutes, named subtitles, "speaking-time per participant" analytics, usable case files. It is also an active field of innovation (handling overlapping speech, low-latency streaming, multimodal fusion) so a sector where new technical contributions abound.
Comparison table
| Criterion | Cascaded pipeline | EEND (end-to-end) |
|---|---|---|
| Building blocks | VAD → segmentation → embeddings → clustering | a single neural network |
| Overlapping speech | poorly handled (single-label) | handled natively (multi-label) |
| Number of speakers | via clustering, sometimes fragile | hard if unknown/variable |
| Training data | modular, less data-hungry | needs lots of labeled audio |
| Interpretability | high (each step is legible) | low (black box) |
| Maturity | very battle-tested, widely deployed | state of the art, fast-moving |
Key takeaways
- Two orthogonal questions. ASR answers "what is said"; diarization answers "who speaks, when." Combined, they produce a speaker-attributed, timestamped transcript, the useful deliverable.
- VAD opens the show. Detecting speech vs silence/noise conditions everything else: it filters out the non-vocal and carves the stream into usable regions.
- The classic cascaded pipeline chains segmentation → speaker embeddings (d-vectors, x-vectors) → clustering → attribution. It turns "same voice?" into "nearby points in space?".
- Overlapping speech is the wall for the cascade: clustering, single-label by nature, cannot say "A and B speak at the same time."
- EEND reframes the task as multi-label activity detection by a single network, natively handling overlaps, at the cost of variable speaker count and permutation ambiguity.
- Online (streaming) diarization demands low latency and on-the-fly speaker creation; multimodal diarization (lips, video) helps break the overlap wall. We measure it all with DER, an error rate expressed as a fraction of speaking time, so lower is better.
1. A diarization system labels a recording « Speaker A », « Speaker B ». Does it know who these people are?
2. Why is overlapping speech the « wall » of the cascaded pipeline?
3. What change of framing lets EEND handle overlapping speech natively?
4. One system reports a DER of 8%, another a DER of 15%. Is the first one better?
5. What does the system know about the number of participants before processing a recording?