E2E Testing for Chat, Voice, Phone and Video AI Agents

Run Thousands of Test Scenarios against Your Agent and Catch Hallucinations, Bias, and Toxicity Before Users Do.

What Is Speaker Diarization? How It Works and How to Test It

Speaker diarization labels who spoke when in a recording. Learn how diarization models work, how diarization error rate is scored and how to test it on calls.

Summarise with AI

OVERVIEW

A QA reviewer opens the transcript of a support call and finds the line "cancel my order" filed under the agent's label. Every check that reads that transcript now treats the agent as the one who raised the cancellation, so a scorecard can fail a well-behaved agent for something it never said; the opposite swap, an agent's push to cancel filed under the caller, could let a pushy agent pass. The words were transcribed correctly; the speaker labels were wrong, and producing those labels is the job of speaker diarization.

Real conversations make that job harder than it sounds, because people talk over each other. In the Third DIHARD Diarization Challenge data, the share of overlapped speech ranged from 8.75% to 10.70% across the development and evaluation partitions. Diarization quality is scored with its own metric, diarization error rate (DER), and with conventions that can make a result look better than the audio deserves.

Overview

Speaker diarization is the task of splitting a recording into segments by speaker and labelling who spoke when, without knowing who the speakers are. A typical system turns speech segments into speaker embeddings and clusters them into anonymous labels such as speaker 1 and speaker 2. Diarization error rate (DER) measures the share of reference speech a system gets wrong.

Can speaker diarization handle overlapping speech?

  • Classic clustering pipeline: A classic clustering pipeline cannot label overlapping speech on its own. It assigns each speech segment to a single speaker cluster, so it cannot give two labels to a stretch where two people talk at once. It scales to many speakers, and toolkits such as pyannote add overlapped speech detection to cover the gap.
  • End-to-end neural diarization: End-to-end neural diarization (EEND) can label overlapping speech. Its one network outputs which speakers are active in every audio frame, so it can explicitly handle overlapping speech during training and inference. On simulated speech mixtures, its paper reports 12.28% DER against 28.77% for a conventional clustering-based system.
  • Overlap in DER scoring: Overlapping speech counts toward DER by default in both the dscore tool and pyannote.metrics. In the Third DIHARD Diarization Challenge data, the share of overlapped speech ranged from 8.75% to 10.70% across the development and evaluation partitions.
  • TestMu AI Agent Testing: TestMu AI Agent Testing does not report DER or JER. The platform for testing the AI agents customers talk to records each phone test call with a speaker-identified transcript. Checks such as Interruption yield and Turn count, among its 40+ phone call metrics, rely on knowing which side was speaking.

How is diarization error rate calculated?

  • Diarization error rate: DER adds missed speech, false alarm speech and speaker confusion, then divides the sum by the total reference speech of every speaker. In a hand-built 20-second two-speaker call scored with pyannote.metrics, one swapped 2.6 second caller turn supplied 13.2 points of a 24.4% DER with no collar.
  • Speaker confusion: Anonymous system labels are first mapped to the reference speakers, choosing the mapping that best matches them, and any time spent under the wrong mapped label counts as speaker confusion in DER.
  • Forgiveness collar: The DIHARD challenges score DER without a forgiveness collar. In DER scoring, a collar leaves 0.25 seconds on each side of every reference speaker boundary out of scoring. In a hand-built 20-second two-speaker call, the collar cut scored reference speech from 19.70 to 15.70 seconds and erased a missed 0.5 second answer from scoring.
  • Jaccard error rate: Jaccard error rate (JER) is typically higher than DER. It scores each reference speaker separately and averages the results, so a quiet speaker weighs as much as a talkative one. In a hand-built two-speaker call with one swapped caller turn, JER read 35.8% against a DER of 24.4%.

What Is Speaker Diarization?

Speaker diarization is the task of finding how many speakers a recording holds and when each of them is talking. The DIHARD III paper defines it as "determining the number of speakers present in a conversation and their respective regions of activity", often shortened to "who spoke when". The output is a list of time segments, each with a speaker label.

Diarization usually runs beside automatic speech recognition, and joining the two produces a transcript in which every word carries a speaker.

Diarization labels are anonymous. Google Cloud Speech-to-Text's diarization labels "by number the individual voices detected in the audio", and Amazon Transcribe's diarization guide marks speakers spk_0 through spk_29. Turning "speaker 2" into "the caller" is a separate step, taken from the call setup or from another system.

  • Speaker diarization - separates the voices in one recording and says when each is active, with no list of known speakers.
  • Speaker identification - names the speaker by matching the voice against a set of known, enrolled voices.
  • Speaker verification - checks one claimed identity against an enrolled voice, the task covered by voice biometrics testing.

What Does Diarization Mean?

Diarization means dividing a recording into speaker turns and keeping a record of who spoke when. Diarisation is the British spelling, and "speaker diarisation" names the same task as speaker diarization.

The task grew up beside speech recognition. A review of speaker diarization with deep learning by Park and colleagues notes that early algorithms "were developed for speech recognition on multispeaker audio recordings". According to the DIHARD III paper, the NIST Rich Transcription evaluations, which ran from 2002 to 2009, introduced diarization error rate, still "the principal evaluation metric in this area".

How Does Speaker Diarization Work?

A cascaded diarization system, also called modular or pipelined, runs a chain of separate modules. NVIDIA's NeMo documentation notes that this design puts "less restriction on the number of speakers and session length" than a single-network model. The Park review describes the chain in the order of the steps below.

Step 1: Detect Speech Before Labelling Speakers

Voice activity detection first separates speech from silence and noise, so every later step labels only speech. Its errors pass straight into DER. DIHARD III ran one track that started from reference speech marks and one "from scratch", and the from-scratch track was harder by about 5 points of both DER and JER.

Step 2: Segment the Audio and Embed Each Voice

Segmentation breaks the speech into short pieces, each meant to hold a single speaker. Every piece then becomes a fixed-length vector, a speaker embedding, built so that pieces from the same voice land close together.

  • i-vectors - the Park review credits i-vectors with popularizing the idea of a compact speaker representation.
  • d-vectors - embeddings taken from a neural network, which the review calls "one of the most prominent speaker representation extraction frameworks".
  • x-vectors - a later neural embedding; the review says DNN-based speaker representations are "even more improved" with them.

Step 3: Cluster Segments Into Speakers

Clustering groups the embeddings and gives each group a label, so the number of clusters is the system's estimate of how many people spoke. Bottom-up clustering starts from many small clusters and merges them; top-down clustering starts with one cluster for the whole recording and splits it. NeMo describes its clustering step as "a non-trainable module".

Because the speaker count is an estimate, diarization tools accept hints. Google's diarization requires a minimum and a maximum speaker count, and the pyannote community-1 pipeline takes num_speakers, min_speakers or max_speakers when you know the range.

Step 4: Refine Speaker Boundaries With Resegmentation

Clustering leaves rough edges, so a post-processing stage refines them. The Park review defines resegmentation as "a process of refining the speaker boundary that is roughly estimated using the clustering procedure".

This stage still moves results. In the DIHARD III baseline recipe, the organizers found that "VB-HMM resegmentation reliably improves DER and JER for both tracks, though the gains are more pronounced for track 2".

What Is End-to-End Neural Diarization?

End-to-end neural diarization (EEND) replaces the chain of modules with one network that reads the audio and outputs speaker activity for every frame. Fujita and colleagues described it in an Interspeech 2019 paper, formulating diarization "as a multi-label classification problem", so two speakers can be active in the same frame.

  • Overlap handling - the EEND paper says the method can "explicitly handle overlapping speech during training and inference". The Park review describes the gap it fills: a clustering-based method "can handle a large number of speakers but unable to handle overlapped speech".
  • Reported gain - on simulated speech mixtures, the paper reports 12.28% DER for its model against 28.77% for a conventional clustering-based system. Those are synthetic mixtures, not recorded calls.
  • Sortformer - in NeMo, Sortformer is "a transformer-based model that estimates speaker labels from the given audio input", and NeMo also lists a Streaming Sortformer Diarizer for live audio.
  • Speaker limit - an ETH Zurich benchmark of diarization models, published on 30 September 2025, found that "all Sortformer-based models still experience degradation with increasing speaker counts due to their 4-speaker limit".

Choose by the audio you have. A two-party call rarely needs more than a handful of speaker slots and benefits from overlap handling, while a long meeting with an unknown number of people suits the looser limits of a cascaded pipeline.

Speaker Diarization Models and Speech APIs That Offer Diarization

Each option below is described from its own documentation as read on 4 December 2026, without a ranking. Open-source models let you score and tune on your own audio; speech APIs return diarization alongside the transcript.

  • pyannote speaker-diarization-3.1 - an MIT-licensed pipeline whose model card says it "ingests mono audio sampled at 16kHz". With no forgiveness collar and overlapped speech evaluated, the card reports 11.3% DER on VoxConverse v0.3, 21.7% on DIHARD 3 (full), 18.8% on AMI (headset mix) and 50.0% on AVA-AVD.
  • pyannote community-1 - the newer pipeline, released under CC-BY-4.0 and compatible with pyannote.audio 4.x. The pyannote-audio README on GitHub claims "significant improvement in terms of speaker counting and assignment" over 3.1. Its model card says it also returns an exclusive diarization with one speaker at a time, which eases matching speaker turns to transcription timestamps.
  • NVIDIA NeMo - offers both a cascaded system with a clustering module and end-to-end Sortformer models, including the streaming diarizer.
  • WhisperX - a BSD-2-Clause project whose README describes "Multispeaker ASR using speaker diarization from pyannote-audio (speaker ID labels)", powered by the community-1 model. The same README says plainly that "Diarization is far from perfect".
  • Google Cloud Speech-to-Text - supports speaker diarization "for all speech recognition methods" and tags each word with a speaker number.
  • Amazon Transcribe - distinguishes up to 30 unique speakers and supports diarization in both batch and streaming transcription.

The 50.0% on AVA-AVD next to 11.3% on VoxConverse, for the same pipeline, shows why a published DER says little about your recordings. Dataset, speaker count, channel and scoring rules all move the number, which the next section takes apart.

How Is Diarization Error Rate Calculated?

Diarization error rate is the share of reference speech that a system gets wrong, summed over three error types. The pyannote.metrics reference writes it as "DER = (false alarm + missed detection + confusion) / total", where total is "the sum over all speakers of their reference speech duration".

Because overlapped speech counts once for each speaker, a call with crosstalk holds more reference speech than its own talk time. The DIHARD scoring tool, dscore, defines the three components as percentages of scored time:

  • Missed speech - time "for which a speech region is incorrectly marked as not containing speech". Speech activity errors and unseen overlap land here.
  • False alarm speech - time "for which a nonspeech region is incorrectly marked as containing speech", such as line noise given a speaker label.
  • Speaker error - time "for which the wrong speaker id is assigned within a speech region", usually called speaker confusion.

The system's labels are anonymous, so scoring first finds the best mapping between system and reference speakers (pyannote.metrics, used in the run below, does this with its optimal_mapping method); any time under a mismatched label counts as confusion.

Scoring Diarization Error Rate on a Two-Speaker Call

To show each component at work, a short Python script using pyannote.metrics 4.3.0 and pyannote.core 6.1.0 (Python 3.14.6) scored a call on 2026-12-04. The call is a 20-second support exchange between an agent and a caller, annotated by hand. No diarization model produced the hypothesis: it is a hand-built output with five typical errors planted on purpose.

  • Reference - six turns, with the agent talking over the caller from 8.0 to 9.0 seconds and a 0.5 second caller "yes" at 12.4 seconds.
  • Hypothesis A - boundaries 0.1 seconds off, the overlap not seen, line noise at 12.0 to 12.3 seconds called speech, the "yes" missed, and the last caller turn given the agent's label.
  • Hypothesis B - the same output with only that last speaker swap fixed.

The scoring part of the script, simplified (row() returns the raw figures, and the table printing is left out):

from pyannote.core import Annotation, Segment, Timeline
from pyannote.metrics.diarization import (
    DiarizationErrorRate, JaccardErrorRate)

def build(turns):
    ann = Annotation(uri="call-001")
    for i, (start, end, who) in enumerate(turns):
        ann[Segment(start, end), i] = who
    return ann

REFERENCE = [
    (0.00, 4.00, "agent"),    # greeting
    (4.30, 9.00, "caller"),   # states the problem
    (8.00, 12.00, "agent"),   # agent talks over caller
    (12.40, 12.90, "caller"), # short "yes"
    (13.20, 17.00, "agent"),
    (17.30, 20.00, "caller"),
]
HYP_SWAP = [
    (0.10, 4.10, "S1"),    # boundaries off by 0.1 s
    (4.20, 8.60, "S2"),    # overlap 8.0-9.0 not seen
    (8.60, 12.00, "S1"),
    (12.00, 12.30, "S2"),  # line noise called speech
    # caller "yes" 12.4-12.9 missed entirely
    (13.20, 17.00, "S1"),
    (17.40, 20.00, "S1"),  # caller turn given to agent
]
# Same output with only the speaker swap fixed.
HYP_FIXED = [t if t[0] != 17.40 else (17.40, 20.00, "S2")
             for t in HYP_SWAP]

UEM = Timeline([Segment(0.0, 20.0)])  # whole call
SETTINGS = [
    ("no collar", 0.0, False),
    ("no overlap", 0.0, True),
    ("0.25 s collar", 0.5, False),
    ("collar+no ovl", 0.5, True),
]

def row(ref, hyp, collar, skip):
    der = DiarizationErrorRate(collar=collar,
                               skip_overlap=skip)
    c = der(ref, hyp, uem=UEM, detailed=True)
    jer = JaccardErrorRate(collar=collar,
                           skip_overlap=skip)
    return c, jer(ref, hyp, uem=UEM)
# each list goes through build() before row()

The printed output, unedited. "scored" is the reference speech left in scoring after each setting, and "no overlap" means overlap regions were skipped:

Reference speech per speaker
  agent   11.80 s
  caller   7.90 s
  overlap  1.00 s

Optimal label mapping (Hungarian):
  S1 -> agent
  S2 -> caller

A) Output with the speaker swap
setting         scored   miss    FA  conf    DER    JER
no collar       19.70s   8.6%  2.5% 13.2%  24.4%  35.8%
no overlap      17.70s   4.0%  2.8% 14.7%  21.5%  35.0%
0.25 s collar   15.70s   3.2%  0.0% 14.0%  17.2%  30.5%
collar+no ovl   14.70s   0.0%  0.0% 15.0%  15.0%  29.9%

B) Same output, swap fixed
setting         scored   miss    FA  conf    DER    JER
no collar       19.70s   8.6%  2.5%  0.0%  11.2%  11.8%
no overlap      17.70s   4.0%  2.8%  0.0%   6.8%   7.8%
0.25 s collar   15.70s   3.2%  0.0%  0.0%   3.2%   3.1%
collar+no ovl   14.70s   0.0%  0.0%  0.0%   0.0%   0.0%

miss/FA/conf are % of scored reference speech;
DER = miss + FA + conf. JER averages per speaker.
  • One swap dominates - the 2.6 second caller turn under the agent's label is 13.2 points of the 24.4% DER with no collar (2.6 of 19.7 seconds of reference speech). Fixing only that turn drops DER to 11.2%.
  • Swaps count as confusion - the mapping paired S1 with the agent and S2 with the caller, so the swapped turn is scored as speaker confusion, not as an extra speaker.
  • Rounding - the no-collar components on screen add up to 24.3 while DER reads 24.4%, because each figure is rounded separately.

What Does the 0.25 Second Forgiveness Collar Hide in DER?

Many published DER figures leave a "no score" collar of 0.25 seconds around every reference boundary. The Park review gives the reason: "to mitigate the effect of inconsistent notation and human errors in reference transcript". In pyannote.metrics the collar argument defaults to 0 and is the total width, so a 500 ms collar means "250ms before and after" each boundary.

  • A fifth of the speech left out - in the run, the 0.25 second collar cut scored reference speech from 19.70 to 15.70 seconds. Six turns in 20 seconds means many boundaries, and short turns lose the largest share.
  • A dropped answer erased - the 0.5 second "yes" falls entirely inside its two collars, so a turn the system never found disappears from scoring. The noise burst at 12.0 to 12.3 seconds also sits inside collars, so false alarm reads 0.0%.
  • A perfect score that is not - with the collar on and overlap skipped, hypothesis B scores 0.0% DER and 0.0% JER. Yet it missed a whole caller turn, never saw a second of crosstalk and called line noise speech.

DIHARD III computed every metric "without the use of forgiveness collars and with scoring of overlapped speech", and dscore's default collar is 0 ms. Score your own recordings that way, and if you compare against a paper that used a collar, report both settings side by side.

How Overlapping Speech Is Scored in DER

dscore scores DER "explicitly including regions that contain overlapping speech in the reference diarization", and pyannote's skip_overlap option defaults to False, which keeps overlap regions. The ETH Zurich benchmark kept overlap in for a stated reason: "to evaluate performance on overlapping speech regions where diarization systems typically struggle most".

The run shows what skipping it buys. Hypothesis A falls from 24.4% to 21.5% DER once overlap is skipped, because the second of crosstalk the system never saw stops counting against it.

Get certified in Agent Testing for free with TestMu AI

Jaccard Error Rate and Other Diarization Metrics

DER pools every second of speech, so the speaker who talks most dominates the score. dscore also reports Jaccard error rate, "a metric introduced for DIHARD II that is based on the Jaccard index", which scores each reference speaker separately.

  • Per-speaker error - for each mapped speaker pair, JER divides false alarm plus missed time by the duration of the union of that speaker's reference and system segments.
  • Averaging - "The Jaccard error rate then is the average of the speaker specific Jaccard error rates", so a speaker with a few seconds of speech counts as much as one with minutes.
  • Dominant speakers - dscore notes JER is typically higher than DER, "especially in recordings where one or more speakers is particularly dominant".

The two-speaker run shows the effect. The caller had 7.90 seconds of speech against the agent's 11.80, so the swapped caller turn hurt the caller's own score far more. Hypothesis A read 35.8% JER against 24.4% DER, while hypothesis B, with the swap fixed, read 11.8% and 11.2%.

Neither metric looks at words. When the transcript is the product, score words and speaker labels together with speaker-attributed WER, such as cpWER, which the word error rate guide explains, and report DER and JER beside it for the timing.

What Is a Good Diarization Error Rate?

No single DER counts as good. It depends on the domain, the number of speakers and the scoring rules, so a figure means little without its collar and overlap settings next to it. The table takes its ranges from the DIHARD III challenge paper and the ETH Zurich benchmark, each with the scoring rules it used.

ResultAudioScoring rulesDER
DIHARD III, track 1Conversational telephone speech and clinical interviews, with reference speech marks givenNo collar, overlap scoredGenerally 10% to 20%
DIHARD III, track 2The same two domains, diarized from scratchNo collar, overlap scoredGenerally 15% to 25%
DIHARD III, track 1 medianMeeting speech, web videos and restaurant recordingsNo collar, overlap scored35% to 45%
ETH Zurich benchmark, two-speaker recordingsTwo-speaker recordings from the study's test sets0.25 second collar, overlap scored9.9% to 19.9% across six systems (offline Sortformer v2 10.1%, pyannote 3.1 19.9%; the 9.9% is a commercial API)
  • Two parties are not easy - the DIHARD III authors wrote that the telephone and clinical results indicate "even in the two-party case there remain substantial challenges".
  • Steady progress - the DIHARD III paper reports that median track 1 DER fell from over 30% in DIHARD I to 25% in DIHARD II and under 20% in DIHARD III.
  • Open-source models - in the ETH Zurich study's two-speaker column, the streaming version of Sortformer v2 scored 10.4% and DiariZen 11.4%. Across all recordings, DiariZen, an open-source system, scored 13.3% against 11.2% for the study's best system, a commercial API.

Use these ranges to sanity-check a vendor or model claim, then set your own bar from your audio.

Where Is Speaker Diarization Used?

Any system that has to say who said what on a single-channel recording needs diarization. The DIHARD III paper calls it "an important part of the pre-processing pipeline for speech-to-text" and "essential for making objective measurements of turn-taking behavior".

  • Call recordings - support and sales calls are reviewed per speaker, which feeds QA scorecards and the per-agent figures among call center metrics. Where each party is recorded on its own channel, the Google Cloud multi-channel guide describes "two channels, where each line is recorded separately" and labels results with a channel_tag. The two lines then need no speaker clustering.
  • Meetings - meeting audio has an unknown number of speakers and frequent crosstalk, and in DIHARD III meeting speech was among the domains with a median DER of 35% to 45%.
  • Voice agents - a voice agent's transcript has to keep the agent's lines apart from the caller's before any turn can be graded, a requirement that runs through voice agent evaluation.
  • Production monitoring - live call dashboards that track who talked, who interrupted and who went silent depend on correct labels, a concern covered in voice observability.

Why Does Speaker Diarization Fail?

The ETH Zurich benchmark traced most errors to "missed speech segments followed by speaker confusion, especially in high-speaker count settings". On calls, four conditions cause many of those errors.

Overlapping Speech and Barge-In Break Speaker Labels

If the caller speaks over the agent, a classic clustering system can give that stretch only one label, and the other speaker's words lose their attribution. In the run, hypothesis A switched to S1 at 8.6 seconds and never registered the second in which both spoke, which shows up as missed speech.

How the agent should react when interrupted is a separate question, covered by barge-in testing; diarization only has to record that both voices were active.

Short Turns and Backchannels Drop Out of Diarization

DIHARD III annotators were told to split turns on pauses longer than 200 ms and to try to place boundaries within 10 ms of the true boundary. A reference therefore keeps every short "yes" or "okay" as its own turn. A system that merges such replies into the next speaker's turn changes who agreed to what.

These are also the turns a collar hides. The 0.5 second "yes" in the run was both missed by the hypothesis and erased from scoring by the 0.25 second collar.

Telephone Audio and Noise Cause Missed Speech and False Alarms

DIHARD III added conversational telephone speech for the first time, using narrow-band calls drawn from the unreleased Phase II Fisher English collection, distributed as 16 kHz mono files. The pyannote 3.1 card says stereo files "are automatically downmixed to mono by averaging the channels", so a two-channel call recording loses its separate lines unless you split the channels and label them before diarizing.

Noise hurts attribution in two ways: a noise burst kept as speech becomes false alarm under some speaker's label, and speech masked by noise becomes missed speech. The guide to background noise testing explains how to assemble noise conditions for a voice agent.

Similar Voices Merge and Speaker Counts Go Wrong

Two voices whose embeddings sit close together can merge into one cluster, and one voice that varies a lot can split into two. Speaker counting is a known weak point: pyannote's community-1 release names "speaker counting and assignment" as what it improved over 3.1, and the ETH Zurich benchmark found Sortformer models limited to four speakers.

Results also vary by speaker group, so slice them by accent, age and voice type rather than reporting one average. Accent testing shows how to form speaker groups for a voice agent and compare their scores.

How to Evaluate Speaker Diarization on Your Own Audio

The procedure below follows the DIHARD scoring conventions, which keep every error visible.

  • Sample real recordings. Take calls from your own channel at their native sample rate and channel layout, and include crosstalk, one-word replies, background noise and different speakers on purpose.
  • Annotate a reference. Mark who spoke when, splitting turns on pauses longer than 200 ms, and save it as RTTM, which dscore describes as "space-delimited text files containing one turn per line".
  • Score with no collar and overlap included. Run dscore or pyannote.metrics with collar 0 and overlap kept, and report missed speech, false alarm and confusion separately next to DER and JER.
  • Read confusion turn by turn. In the run, a single swapped turn was more than half of DER, so list the confused turns and check whether they carry decisions such as a cancellation or a consent.
  • Slice by condition. Report results per noise level, speaker group, speaker count and channel type instead of one pooled figure.
  • Check the transcript people read. Join diarization to the recognized words and confirm that the lines your QA checks rely on sit under the right speaker.

Diarization checks are one part of a voice agent release plan. How to test a voice agent lays out the full sequence of test cases and exit criteria.

How TestMu AI Agent Testing Uses Speaker-Identified Call Transcripts

TestMu AI Agent Testing evaluates the agents your customers talk to, whether customers reach them in a chat window, on a voice or phone call, over video or with images. Autonomous AI testing agents hold test conversations with your agent, and the platform grades each one. Each phone test call is recorded and comes with a speaker-identified transcript, as the phone agent docs describe, so grading can read your agent's turns apart from the simulated caller's.

Several of the quality checks in the agent features and metrics reference depend on that split. Turn count treats everything one side says before the other replies as one turn, counts same-speaker lines less than 2 seconds apart as one, and shows how many turns the caller took. Interruption yield and Agent silence rate also rely on knowing which side was speaking, and all three sit among the 40+ phone call metrics.

Timing is judged from the caller's side, with pauses, interruptions and silences measured as a caller would experience them. Test calls can also use different voices, accents and background noise, the conditions where an agent's turn-taking tends to slip. Agent Testing does not report DER or JER and cannot place an interruption at a set moment, so score your diarization component with the method above.

Phone caller and IVR agents, whose test calls carry these transcripts, appear as locked cards with a Request access button and stay locked until they are enabled for the organization. Chat, voice, video and image analyzer agents are open to every organization. During a 7-day free trial, 10,000 credits are available for testing chat and voice agents.

Where Should You Start With Speaker Diarization Testing?

Start with a handful of your own calls that contain crosstalk and one-word replies, annotate who spoke when, and score your speaker diarization with no collar and overlap included. Then read the confused turns one by one, since a single swapped turn can outweigh every boundary error on a call.

For the caller's side of the same problem, once phone caller agents are enabled for your organization, place phone test calls through voice agent testing and compare each call's Turn count and Interruption yield with what your own transcripts show. The IVR agent docs note that every IVR test call also produces a recording and a speaker-identified transcript.

To run your first test, start free, or
for a full walkthrough of the product.

Was this helpful?

Authors

Chaitanya Sharma

Chaitanya Sharma

Author · 05 hubs

Chaitanya Sharma is an AI Product Manager at TestMu AI, where he builds agentic AI capabilities focused on computer vision and multi-modality, moving testing beyond static script execution toward autonomous, agent-driven workflows. Before TestMu AI he shipped 135+ features at Sprinklr for a no-code community and website builder used by Fortune 500 enterprises including Dell, Samsung, and Polestar. At Policybazaar he led the zero-to-one launch of a digital lending and insurance marketplace embedded in Bahrain's dominant payments app, building a risk-intelligence engine that compressed loan-approval times by 80%. He explored machine learning and NLP through research at the University of Cambridge, and holds a B.Tech from Delhi Technological University.

Sai Krishna

Sai Krishna

Reviewer

Sai Krishna is Director of Engineering at TestMu AI, where he leads agentic AI for quality engineering, building AI agents that autonomously drive mobile and conversational test automation. His current focus is Agent Testing and Model Context Protocol (MCP) support for mobile. He is a core contributor and member of the Appium open-source project and the creator of AppiumTestDistribution and appium-device-farm. With over 14 years of experience including more than 9 years at Thoughtworks as a Principal Consultant, he holds a BSc in Electronics and speaks regularly at TestMu and Appium Conf on Appium, mobile automation, and agentic AI in testing.

Speaker Diarization FAQs

TestMu AI forEnterprise

Get access to solutions built on Enterprise
grade security, privacy, & compliance

  • Advanced access controls
  • Advanced data retention rules
  • Advanced Local Testing
  • Premium Support options
  • Early access to beta features
  • Private Slack Channel
  • Unlimited Manual Accessibility DevTools Tests