Glossary
Speaker diarization
Speaker diarization is the task of working out who spoke when in a recording, by splitting the audio into turns and grouping turns that come from the same voice. It is separate from transcribing the words, and a transcript gains speaker labels only when diarization is run alongside recognition.
Updated October 17, 20264 cited facts, each traced to its source
Also called diarization, diarisation.
Speaker diarization answers the question "who spoke when?" in a recording. Google's documentation describes it as detecting when speakers change and labeling each voice detected in the audio with a number 1. It does not produce the words. Speech recognition writes what was said, and diarization adds which speaker said it.
Diarization groups the audio into turns, then labels the voices
A typical system works in four steps:
- Find the speech. A voice activity detector separates speech from silence and noise.
- Split into segments. The speech is cut at pauses and at likely speaker changes.
- Describe each segment's voice. The system computes a numerical summary of how each segment sounds, often called a speaker embedding.
- Cluster the voices. Segments whose summaries are close are grouped, and each group becomes one speaker.
For a two-person interview, the output might read "Speaker 1: Thanks for joining us. Speaker 2: Happy to be here." The labels are arbitrary numbers, so the system does not know the speakers' names unless they are supplied separately.
Joint models attach speaker labels to the words
Some systems run diarization as a separate stage after recognition. Others predict words and speakers together. Shafey and colleagues at Google described a joint model based on sequence transduction, and reported that it improved word-level diarization error rate from 15.8 percent to 2.2 percent, against a conventional baseline, on physician-patient conversations 2.
That score counts a word as an error when it is recognized correctly but tagged with the wrong speaker, or when it is a substitution with a wrong speaker label 3. The same authors note that this measure must be read together with word error rate, because it does not count deleted or inserted words.
Why it matters for dictation
If you dictate alone, you do not need diarization, because there is only one speaker. It matters for meeting notes, interviews, lectures and any recording with several voices, where a transcript without speaker labels is hard to follow.
Diarization is harder when people talk over one another, when voices sound alike, when the room is noisy, or when a speaker is brief. Language support is also uneven. Google's documentation warns that speaker diarization is not available for every language and points to its language support page 4, so check that page before you rely on speaker labels in a language you need.
Related terms
- Automatic speech recognition (ASR): the word-by-word transcription that diarization is added to.
- Voice activity detection (VAD): the step that finds speech before speakers are separated.
- Word error rate (WER): the score that must be read alongside diarization error rate.
Guides that cover it
Evidence
Every number on this page, with where it comes from. Open a fact to see the exact words in its source.
- 1.
- 2.
- 3.
- 4.
Related terms
- Speech Recognition: What It Is and How Well It WorksThe topic this term belongs to
- Acoustic model
- Automatic speech recognition (ASR)
- Conformer
- Connectionist temporal classification (CTC)
- Hidden Markov model (HMM)
- Inverse text normalization (ITN)
- Language model (in speech recognition)
- LibriSpeech
- Mel spectrogram
- Real-time factor (RTF)
- RNN transducer (RNN-T)
- Voice activity detection (VAD)
Pages that use this term
- Speech Recognition: What It Is and How Well It WorksTopic
- Transcription: How to Turn Audio and Video Into TextTopic
- Meeting Transcription: How It Works and What to UseGuide
- What Is Whisper AI? OpenAI's Speech Model ExplainedGuide
- Speech-to-Text APIs Compared: Price, Accuracy, SpeedGuide
- Video to Text: Transcribe Videos and YouTubeGuide
- Word Error Rate (WER): How to Calculate and Read ItGuide
- Voice Memo to Text: Built-In and Free OptionsGuide
- Transcription Software: How to Choose OneGuide
- How to Run Whisper Locally on Your Own ComputerGuide
- Transcribe Audio With Whisper, ChatGPT or GeminiGuide
- How to Transcribe an Interview: Audio to TextGuide
- Verbatim vs Clean Verbatim TranscriptionGuide
- Timestamps and Speaker Labels in TranscriptsGuide
- MacWhisper: Price, Models and FeaturesGuide
- Deepgram: Speech-to-Text API Price and AccuracyGuide
- Otter.ai: Price, Privacy and Meeting NotesGuide
- AssemblyAI: Speech-to-Text API Price and AccuracyGuide
- Can Dragon transcribe audio files?Question
- Can Gemini transcribe audio?Question
- Can MacWhisper record and transcribe meetings?Question
- Can Microsoft Word transcribe audio files?Question
- Can Whisper identify different speakers?Question
- Can you use AI transcription for research interviews?Question