NEW
Segmenting an audio stream into speaker-homogeneous regions and labeling who spoke when.
DESCRIPTION
Speaker diarization partitions audio into segments by speaker identity to answer “who spoke when”. Typical pipelines include voice activity detection, embedding extraction (e.g., x-vectors), and clustering with re-segmentation. It improves meeting transcription, media analytics, and call-center QA by attributing text to speakers. Deep learning has advanced accuracy, and toolkits like pyannote simplify training and inference.
ALTERNATIVE DEFINITIONS
Wikipedia
Speaker diarization is the process of partitioning an input audio stream into homogeneous segments according to the speaker identity.
Canonical task definition emphasizing segmentation by speaker identity.
pyannote.audio
pyannote.audio is an open-source toolkit for speaker diarization.
Positions a widely used toolkit implementing diarization pipelines.
RELATED TERMS
Speech Recognition Voice Activity Detection Speaker Verification Segmentation Cluster Analysis pyannote x-vectors Speech-to-Text
COMPETING TERMS
KNOWLEDGE AREAS
TARGET AUDIENCE
AI Engineer Data Scientist Software Developer
EXTERNAL SOURCES
- Wikipedia - Speaker diarisation
- pyannote.audio - Toolkit for diarization
- Kaldi - ASR toolkit with diarization
- ArXiv - x-vector embeddings paper
TOP QUESTIONS
What is the goal of Speaker Diarization?
To determine who spoke when by segmenting audio into speaker-consistent regions and labeling segments by speaker ID or pseudo-IDs.
Category: Overview
How does Speaker Diarization differ from Speaker Identification?
Diarization clusters speakers within an audio stream, while identification assigns known identities to speakers using enrollment data.
Category: Concepts
What is a typical diarization pipeline?
It includes voice activity detection, speaker embedding extraction (e.g., x-vectors), clustering, and optional re-segmentation for refinement.
Category: Techniques
How is diarization accuracy measured?
Diarization Error Rate (DER) measures missed speech, false alarms, and speaker confusion. Lower DER indicates better performance.
Category: Validation
What are common diarization mistakes?
Not handling overlapping speech, poor VAD thresholds, and mismatched embedding domains can significantly degrade performance.
Category: Mistakes
When is diarization most useful?
Meetings, call centers, interviews, and broadcast media benefit from attributing ASR transcripts to speakers.
Category: Use Cases
Can diarization run in real time?
Yes, with streaming VAD and incremental clustering, though accuracy may be lower than offline methods.
Category: Deployment
How does overlapping speech affect diarization?
Overlap complicates segmentation and clustering. Specialized models and overlap-aware scoring can mitigate errors.
Category: Risks
What embeddings are used in diarization?
x-vectors and d-vectors are common speaker embeddings, trained to capture voice characteristics invariant to content.
Category: Capabilities