What is speaker diarization?
Speaker diarization is the step in speech recognition that works out who spoke when. It splits a recording into stretches of speech and groups the stretches by voice, so a transcript reads "Speaker 1" and "Speaker 2" instead of one unbroken block. It labels voices, but on its own it does not know anyone's name.
By Evin JohnPublished 5 min read
What diarization means
The word comes from "diary": a log of events in order. A diarization system writes a log of a recording that says, in effect, voice one from 0:00 to 0:14, voice two from 0:14 to 0:31, voice one again from 0:31. A transcription engine then attaches the words to those stretches. Most meeting tools run both and show you the merged result, which is why people often use "diarization" loosely to mean speaker labels in a transcript.
How it works, step by step
- Find the speechVoice activity detection marks which parts of the audio contain speech and which are silence, music or noise.
- Cut it into segmentsThe speech is split at likely changes of speaker, or into short fixed windows of a second or two.
- Describe each voiceA model turns each segment into a numeric fingerprint (an embedding) that captures how the voice sounds, not what it says.
- Group similar fingerprintsClustering puts segments with similar fingerprints together. Each cluster becomes one speaker label. Some systems are told how many speakers to expect; others estimate it.
- Line up with the wordsThe labels are matched to the word timings from transcription, giving each line of the transcript a speaker.
Newer systems fold several of these steps into one neural model and handle two people talking at once better than the classic pipeline. Live, streaming diarization is harder than labeling a finished recording, because the system must decide who is speaking before it has heard the whole conversation, and it sometimes revises a label a few seconds later.
Fictional example
- Without
- so the launch moves to the ninth does that work for support it does if we get the macro list by Friday I can send it Thursday
- Speaker 1
- So the launch moves to the ninth. Does that work for support?
- Speaker 2
- It does, if we get the macro list by Friday.
- Speaker 1
- I can send it Thursday.
- Note
- Diarization tells you two people spoke and in which order. Turning "Speaker 2" into "Dana from support" needs another source, such as the meeting app's participant list.
Where it goes wrong
- Crosstalk: when two people talk over each other, one of them often disappears from the labels.
- Short turns: a quick "yes" or "right" gives the model too little audio to fingerprint, so it is often given to the wrong person.
- Similar voices: two people of similar age and accent can be merged into one speaker.
- One microphone, many people: a conference room speakerphone puts everyone on one channel at different distances, which makes voices harder to tell apart.
- Changing conditions: the same person on a headset and then on a laptop microphone can be split into two speakers.
The usual measure of quality is the diarization error rate (DER): the share of speaking time that was missed, wrongly marked as speech, or given to the wrong speaker. It is reported separately from the word error rate, which measures the words themselves. A transcript can have accurate words and confused speakers, or the other way round.
Related terms
- Speaker identification: matching a voice to a known person, usually from an enrolled voice sample. Diarization only says the voices differ.
- Speaker attribution: putting real names on diarized labels, often from the meeting platform's record of who was talking.
- Channel separation: recording each person on their own audio track. With clean separate channels, the question of who spoke is already answered.
- [Real-time transcription](/blog/what-is-real-time-transcription): turning speech into text as it is spoken; live diarization is its harder companion.
Misconceptions
- "Diarization knows who people are." It does not. Names come from somewhere else.
- "More speakers just means more labels." Accuracy usually drops as the number of speakers rises, especially with brief contributions.
- "It is part of every transcription service." Many speech engines offer it as an option you switch on, sometimes at extra cost or only for recorded files.
- "If the words are right, the speakers are right." They are separate problems, measured separately.
How Natively handles speakers
Natively, the meeting and interview assistant that publishes this glossary, sidesteps the hardest case with channels. It always transcribes your microphone and your computer's audio separately, so "you" and "the other side" never get mixed up. For names, it can read who is speaking from Google Meet in Chrome through its browser extension and from the Zoom and Teams desktop apps. Splitting several voices on the other side relies on the speech provider: labels come from Deepgram, Soniox or the Natively API, and that option is off by default. Natively does not tell voices apart by itself.
Questions people ask
What does speaker diarization mean?
It is the part of speech processing that splits a recording by voice and labels each stretch with a speaker, so a transcript shows who spoke when. The labels are anonymous unless names come from another source.
What is the difference between diarization and speaker identification?
Diarization only tells voices apart (Speaker 1, Speaker 2). Speaker identification matches a voice to a known person, usually using an enrolled voice sample.
Why does speaker diarization make mistakes?
Overlapping speech, very short replies, similar voices and a single shared microphone all make voices harder to separate. Recording each person on a separate channel avoids most of these problems.
How is diarization accuracy measured?
With the diarization error rate (DER): the share of speaking time that was missed, wrongly counted as speech, or given to the wrong speaker. It is reported separately from word error rate.
Where to go next
Natively captures the call audio on your own computer, so no bot joins the meeting. Notes, recaps and answers come from the transcript.
Facts on this page were last checked on . Product details come from the Natively app itself; if something here is out of date, tell us at hello@heynatively.com.
