Machine Learning Street Talk · Published 2026-10-01

How a Voice Agent Learns the Rhythm of Conversation — Shawn Wen

Open on YouTube ↗

Summary

Overview

  • Speaker: Tsung-Hsien (Shawn) Wen
  • Channel: Machine Learning Street Talk
  • Main topic: Voice AI agents, speech-to-speech models, turn-taking, latency, and harness engineering in enterprise deployments.
  • Purpose: To explain the architectural paradigm shift from cascaded voice systems to audio-native speech-to-speech models and the role of harness engineering in enterprise voice agents. Shawn Wen, co-founder and CTO of PolyAI, discusses the deep technical challenges of voice assistants, why traditional cascaded pipelines (VAD + ASR + LLM + TTS) fail in real-world enterprise environments, and how PolyAI's Dialog-RSN-1 model solves audio-native understanding while retaining text-level control, promptable turn-taking, and real-time cost efficiency at scale.

Topic Map

Voice is a Physical-World Problem

  • Explanation: Why voice assistants are significantly harder than text LLMs due to the extra dimension of time and physical world constraints.
  • Key claims:
    • Voice is one step closer to the real world than text.
    • Time is a critical dimension in speech that text models do not natively handle with physical-world cadence.
    • Computers lack physical-world sensorimotor grounding for real-time conversation compared to text interfaces.
  • Examples:
    • The Wozniak coffee cup challenge: asking a robot to make a cup of beer or coffee.
  • Terminology:
    • ASR
    • TTS
    • cascaded pipeline
    • sensorimotor grounding
  • Why it matters: Explains why naive applications of text LLMs wrapped in TTS fail in complex real-time audio scenarios.

Three Ways to Build a Voice Model

  • Explanation: Comparison of traditional cascades, full speech-to-speech (S2S) models, and PolyAI's Dialog-RSN-1 approach.
  • Key claims:
    • Traditional cascades suffer from brittle VAD and pipeline latency.
    • Full S2S models bake promptability into weights and lose strict enterprise control over output text and tooling.
    • Dialog-RSN-1 accepts audio in, outputs text, and uses a separate TTS to keep costs and enterprise control stable.
  • Examples:
    • Comparison charts showing Dialog-RSN-1 outperforming full S2S and cascaded models on accuracy and latency.
  • Terminology:
    • Dialog-RSN-1
    • full S2S
    • traditional cascade
    • VAD
  • Why it matters: Demonstrates the optimal architectural compromise between native audio understanding and enterprise-grade control.

Latency is a Trust Problem

  • Explanation: How latency impacts user trust in voice agents, and why model-driven endpointing solves the latency-intelligence trade-off.
  • Key claims:
    • If an AI goes dark for 3 to 5 seconds over the phone, users panic and lose trust.
    • Cascaded systems struggle with VAD thresholds, leading to either premature interruption or frustrating pauses.
    • Model-driven turn-taking in Dialog-RSN-1 achieves sub-300ms p50 latency without sacrificing reasoning quality.
  • Examples:
    • Latency distribution graphs comparing Dialog-RSN-1 against GPT Realtime and other models.
  • Terminology:
    • endpointing
    • p50 latency
    • barge-in
    • turn-taking accuracy
  • Why it matters: Latency directly governs user psychological safety and adoption in automated enterprise voice calls.

The Harness Becomes the Intelligence

  • Explanation: How enterprises control voice agents through harnesses, tool use, and safety guardrails rather than just raw model weights.
  • Key claims:
    • Enterprises want super-powerful agents that are super-controllable like robots.
    • Harness engineering (retrieval, tool calling, grounding, citations) is where enterprise differentiation happens.
    • Raw speech-to-speech models are great for demos but break down in complex enterprise workflows without strict harnesses.
  • Examples:
    • Using PolyAI's ADK (Agent Development Kit) for building custom voice agents with full control over I/O, tools, and workflows.
  • Terminology:
    • harness engineering
    • PolyAI ADK
    • tool calling
    • cognitive debt
  • Why it matters: Explains why open-source models alone are insufficient for enterprise production without robust scaffolding and control layers.

Key Points

Audio-Native Understanding with Text Output

  • Explanation: Dialog-RSN-1 listens directly to audio waveforms, preserving tone, emotion, and timing, but outputs text to leverage standard enterprise governance, tooling, and deterministic search.
  • Evidence: Figure 2 comparison table showing Dialog-RSN-1 has audio native understanding, promptable turn-taking, controllable output voice, and real-time cost at enterprise scale.
  • Practical implication: Enables enterprises to maintain strict control and auditing over what the agent says.

The Failure of Generic Consumer Models in Enterprise

  • Explanation: Consumer voice demos look amazing, but when deployed to elderly callers or noisy real-world call centers, cascaded pipelines break down due to rigid VAD and lack of contextual adaptation.
  • Evidence: Discussion of old ladies getting confused on phone calls with overly aggressive bots.
  • Practical implication: Enterprise voice requires robust barge-in handling and context-aware turn-taking.

Cognitive Debt in AI Workflows

  • Explanation: Using AI agents changes human workflows, creating cognitive debt when agents generate messy outputs or require excessive context switching.
  • Evidence: Discussion on how using voice agents and AI tools changes daily work habits.
  • Practical implication: Tools must be built to match human mental models and minimize cognitive overhead.

Frameworks, Models & Processes

Dialog-RSN-1 Architecture

  • How it works: Takes audio as input, processes it natively through a reasoning model that outputs text, which is then passed to a separate TTS engine.
  • Components:
    • Audio input stream
    • Dialog-RSN-1 reasoning core
    • Separate TTS engine
    • Audio output stream
  • When to use: Real-time enterprise voice applications requiring low latency, high turn-taking accuracy, and strict cost control.

Examples & Case Studies

Building voice agents for utility, banking, and retail call centers with high background noise and interrupted speech.

  • Illustrates: The necessity of handling real-world acoustic conditions and natural turn-taking.
  • Lesson: Models must be trained on messy conversational data rather than pristine studio recordings.

Actionable Takeaways

  • Immediate:
    • Cascaded voice pipelines are being replaced by audio-native reasoning models.
    • Turn-taking and barge-in accuracy are the hardest metrics in real-time voice AI.
  • Strategic:
    • The harness and control layer matter more than raw model scale for enterprise adoption.
    • Voice agents represent the ultimate multimodal interface for enterprise customer service.
  • Questions to investigate:
    • How will fully end-to-end speech-to-speech models solve enterprise tool calling and citation requirements?
    • What is the optimal latency threshold where human suspicion of AI completely disappears?

Claims Worth Verifying

  • Dialog-RSN-1 achieves 89.8% turn-taking accuracy and 83.9% barge-in accuracy. (benchmark)
  • Dialog-RSN-1 p50 latency is under 300ms. (performance)

Notable Quotes

"They want the agent to be super powerful like a human being, but they want the agent to be super controllable like a robot." (at 0:00) "Voice is a physical-world problem. Why voice assistants are harder than look." (at 0:54) "Latency is really a trust problem." (at 42:01)

Compressed Summary

  • Voice AI requires solving physical-world acoustic and temporal constraints.
  • Cascaded voice pipelines suffer from VAD and latency bottlenecks.
  • Dialog-RSN-1 combines audio-native understanding with text output for enterprise control.
  • Harness engineering and tool integration define enterprise success.
  • Keywords: voice ai, speech-to-speech, turn-taking, latency, harness engineering
  • Core insight: Building reliable enterprise voice agents requires audio-native understanding coupled with strict harness control and sub-300ms turn-taking latency.

Core insights

7
Architecturehigh noveltystrong evidence

Dialog-RSN-1 splits the modality at a deliberate boundary: consume audio natively (to preserve tone, emotion, timing) but emit text (to preserve enterprise governance, tooling, and deterministic search), with a separate TTS handling the voice.

Why it matters

Places the abstraction boundary between understanding and control rather than between input and output, letting a system keep native audio semantics while retaining auditable, tool-callable text outputs.

Generalization

For any multimodal agent, native input representation can be decoupled from output representation to retain controllability without discarding modality-specific information.

Dialog-RSN-1 listens directly to audio waveforms, preserving tone, emotion, and timing, but outputs text to leverage standard enterprise governance, tooling, and deterministic search.
Open source video
Mechanismhigh noveltymoderate evidence

Turn boundaries and endpointing are learned/predicted by the model rather than derived from VAD silence thresholds, resolving the latency-vs-intelligence tradeoff.

Why it matters

Replaces a brittle heuristic tuning problem (interrupt too early vs. pause too long) with a learned conversational competency that achieves sub-300ms p50 latency without weakening reasoning.

Generalization

Deterministic heuristics encoding temporal/physical-world state (silence, motion, thresholds) are candidates to be replaced by learned predictive models that consume the raw signal context directly.

Model-driven turn-taking in Dialog-RSN-1 achieves sub-300ms p50 latency without sacrificing reasoning quality.
Open source video
Cascaded systems struggle with VAD thresholds, leading to either premature interruption or frustrating pauses.
Open source video
Mental Modelmedium noveltymoderate evidence

Enterprise differentiation shifts from model weights to the harness layer (retrieval, tool calling, grounding, citations), because raw S2S models demo well but break in complex workflows without strict scaffolding.

Why it matters

Reframes where engineering investment creates moat: not model scale but the control, tooling, and safety layer wrapping the model.

Generalization

In production agent systems, the deterministic control layer around a model often determines deployability more than the model's raw capability.

Harness engineering (retrieval, tool calling, grounding, citations) is where enterprise differentiation happens.
Open source video
Raw speech-to-speech models are great for demos but break down in complex enterprise workflows without strict harnesses.
Open source video
Tradeoffmedium noveltystrong evidence

Full end-to-end S2S models bake promptability into weights, so they gain native prosody/latency but lose strict enterprise control over emitted text and tool invocation.

Why it matters

Identifies concretely what is sacrificed when collapsing the pipeline: controllability and invocable tooling get absorbed into opaque weights.

Generalization

Collapsing a multi-stage pipeline into an end-to-end model trades composability and interpretability for latency and representational fidelity.

Full S2S models bake promptability into weights and lose strict enterprise control over output text and tooling.
Open source video
Empirical Resultmedium noveltymoderate evidence

Latency in voice agents is framed as a trust/psychological-safety variable with a concrete failure threshold (3-5s of silence triggers panic), not merely a UX metric.

Why it matters

Gives a design constraint: silence budget is a trust budget, so endpointing and inference latency must be engineered to a threshold, not just minimized.

Generalization

For interactive agents, unbounded 'thinking' latency is a reliability property because user abandonment/loss-of-trust is a real system failure mode.

If an AI goes dark for 3 to 5 seconds over the phone, users panic and lose trust.
Open source video
Failure Modemedium noveltyweak evidence

Agent-generated outputs and the resulting context switching impose 'cognitive debt' on human operators, changing workflows and requiring tooling that matches human mental models.

Why it matters

Names a hidden operational cost of agent adoption: workflow reshaping and overhead that accrues even when the agent technically succeeds.

Generalization

Any agent inserted into a human workflow incurs coordination/handoff costs that should be measured separately from task accuracy.

Using AI agents changes human workflows, creating cognitive debt when agents generate messy outputs or require excessive context switching.
Open source video
Practicelow noveltymoderate evidence

Robust voice models require training on messy real-world conversational data (noise, interruptions) rather than pristine studio recordings.

Why it matters

Reframes training-data curation for voice: acoustic conditions and barge-in behavior are the target distribution, not clean speech.

Generalization

Models operating in physical-world channels must be trained on the deployment distribution's messiness, not idealized inputs.

Models must be trained on messy conversational data rather than pristine studio recordings.
Open source video

Deep dives

5

Learned endpointing vs VAD thresholds

Research question

Can learned model-driven turn-taking replace VAD silence thresholds without sacrificing reasoning quality, and what latency distribution does it achieve under messy real-world audio?

Why

Matters because it resolves the brittle threshold-tuning tradeoff between premature interruption and frustrating pauses, and determines whether sub-300ms p50 latency is achievable in production voice agents.

Model-driven turn-taking in Dialog-RSN-1 achieves sub-300ms p50 latency without sacrificing reasoning quality.
Open source video
Cascaded systems struggle with VAD thresholds, leading to either premature interruption or frustrating pauses.
Open source video
Source video

Harness engineering as enterprise deployment prerequisite

Research question

What specific harness components (retrieval, tool calling, grounding, citations, guardrails) are necessary to make raw speech-to-speech models viable in complex enterprise workflows?

Why

Matters because it reframes investment from model scale to the deterministic control layer that determines deployability, turning harness engineering into the enterprise moat.

Harness engineering (retrieval, tool calling, grounding, citations) is where enterprise differentiation happens.
Open source video
Raw speech-to-speech models are great for demos but break down in complex enterprise workflows without strict harnesses.
Open source video
Source video

Audio-in/text-out control seam for multimodal agents

Research question

Does emitting text from an audio-native model preserve audio-derived prosody, emotion, and timing through a separate TTS while retaining enterprise governance and tool calling?

Why

Matters because it defines where to place the abstraction boundary between understanding and control, potentially allowing native audio semantics without losing auditability or deterministic search.

Dialog-RSN-1 listens directly to audio waveforms, preserving tone, emotion, and timing, but outputs text to leverage standard enterprise governance, tooling, and deterministic search.
Open source video
Source video

Latency as a trust threshold in voice agents

Research question

What is the optimal latency threshold below which human suspicion of AI disappears, and how do p50/p95/p99 silence budgets affect user trust and abandonment?

Why

Matters because unbounded thinking latency is a reliability failure mode, not just a UX metric; it converts endpointing and inference latency into design constraints tied to psychological safety.

If an AI goes dark for 3 to 5 seconds over the phone, users panic and lose trust.
Open source video
Source video

Training on messy conversational data for turn-taking and barge-in

Research question

Is there an ablation showing degraded turn-taking or barge-in accuracy when models are trained on pristine studio audio instead of messy real-world conversational data?

Why

Matters because deployment distribution includes noise, interruptions, and overlapping speech, so training data curation must target the physical-world acoustic conditions rather than idealized recordings.

Models must be trained on messy conversational data rather than pristine studio recordings.
Open source video
Source video

Article ideas

4

The Harness Is the Product: Why Enterprise Voice Agents Are Won at the Control Layer

Raw speech-to-speech models are demo-ready but enterprise-deployable only when wrapped in a harness that provides retrieval, tool calling, grounding, and citations; therefore differentiation shifts from model weights to the control layer.

Angle

Architectural argument backed by the failure modes of end-to-end S2S models and the control requirements of enterprise deployments.

Source video

Stop Tuning VAD: Learned Turn-Taking as the End of Threshold Engineering

VAD silence thresholds are brittle and create a false tradeoff between premature interruption and frustrating pauses; model-driven endpointing resolves this by predicting turn boundaries from audio context and achieving sub-300ms p50 latency without weakening reasoning.

Angle

Mechanism deep dive contrasting cascaded VAD heuristics with learned endpointing and its latency-accuracy claims.

Source video

The 300ms Trust Budget: Designing Voice Agents Around Psychological Safety

Latency in voice agents is a trust variable with a concrete abandonment threshold, so endpointing and inference latency must be engineered to a silence budget rather than merely minimized.

Angle

Design constraint framing, using the 3–5s panic threshold and sub-300ms p50 claim as the bounds of acceptable silence.

Source video

Audio In, Text Out: The Control Seam for Auditable Multimodal Agents

Splitting modality at the understanding-control boundary—consuming audio natively but emitting text—lets multimodal agents preserve tone, emotion, and timing while retaining governance, tooling, and deterministic search.

Angle

Architecture pattern article comparing full S2S, cascaded, and audio-in/text-out designs.

Source video

Project ideas

4

Learned Endpointing Shootout

beyond-evals

A learned turn-taking model can match or exceed VAD-based endpointing on turn-taking accuracy while reducing p50 latency below 300ms and eliminating threshold-tuning on messy conversational audio.

Proof of concept

Implement a VAD-threshold baseline and a learned endpointing model on the same real-world/noisy dialogue corpus; compare turn boundaries and barge-in handling.

Measurement

Turn-taking accuracy, barge-in accuracy, p50/p95 latency, false interruption rate, and number of manually tuned thresholds.

Source video

Text-Boundary Control Harness for Audio Agents

gatehouse

Attaching a deterministic harness (retrieval, tool calling, grounding, citations) to a text-emitting audio-native model preserves enterprise controllability and auditability without losing native audio understanding.

Proof of concept

Prototype an audio-in/text-out agent with a harness layer; add tool invocations, citations, and guardrails at the text boundary before TTS.

Measurement

Tool-call accuracy, citation correctness, policy violation rate, auditability coverage, and added latency from the harness/TTS stage.

Source video

Voice Latency Trust Curve

new

User trust and abandonment follow a measurable curve over agent silence latency, with p95 latency predicting abandonment more strongly than p50.

Proof of concept

Run a controlled user study or simulation with voice agents that vary silence/latency distributions across p50/p95/p99; record trust and abandonment responses.

Measurement

Trust scores, abandonment rate, panic/confusion indicators, and the latency value where trust drops sharply.

Source video

Cognitive Debt Instrumentation for Agent Workflows

new

Agent-generated messy outputs and required context switching measurably increase operator correction time and reduce throughput, captured by context-switch and correction-rate metrics.

Proof of concept

Instrument an agent-assisted human workflow to log context switches, corrections, and handoffs; compare against a non-agent baseline.

Measurement

Context switches per task, correction rate, time-to-completion, and subjective cognitive load.

Source video

Architectural implications

3

Turn boundaries move from a VAD threshold heuristic to a model prediction over audio context.

Before

VAD silence threshold decides when the user has stopped speaking.

After

A reasoning model predicts turn-taking and barge-in directly from the audio stream.

Consequence

Removes fragile threshold tuning but makes turn quality dependent on training data; also removes a separable, deterministic boundary component from the pipeline.

Source video

The audio-to-text boundary becomes the control seam for enterprise governance.

Before

Fully end-to-end S2S output is opaque, with promptability baked into weights.

After

Model ingests audio but emits text, which is post-processed by a separate TTS.

Consequence

Auditability, tool calling, and citation/grounding layers attach at the text boundary, but adds a TTS stage and its associated cost/latency.

Source video

Responsibility for the agent shifts from model weights to the harness.

Before

Capability is presumed to live in the model; demos are enough.

After

Capability is delivered by retrieval, tool calling, grounding, and guardrails around the model.

Consequence

Engineering teams invest in ADK/harness infrastructure and observability rather than chasing model scale for enterprise workflows.

Source video

Tradeoffs and failure modes

4

End-to-end S2S models

Benefit

Native audio prosody and low-latency single-model pipeline.

Cost or risk

Loses strict enterprise control over output text and tooling because promptability is baked into weights.

Full S2S models bake promptability into weights and lose strict enterprise control over output text and tooling.
Open source video
Source video

Cascaded pipelines (VAD + ASR + LLM + TTS)

Benefit

Composable, controllable, governable components.

Cost or risk

Brittle VAD thresholds cause premature interruption or frustrating pauses, and pipeline latency accumulates.

Cascaded systems struggle with VAD thresholds, leading to either premature interruption or frustrating pauses.
Open source video
Source video

Latency vs reasoning quality in endpointing

Benefit

Model-driven turn-taking delivers sub-300ms p50 latency.

Cost or risk

Must still avoid weakening reasoning quality while hitting the latency threshold that governs user trust.

Model-driven turn-taking in Dialog-RSN-1 achieves sub-300ms p50 latency without sacrificing reasoning quality.
Open source video
Source video

Agent adoption in human workflows

Benefit

Agents change daily work habits and can augment throughput.

Cost or risk

Creates cognitive debt via messy outputs and excessive context switching.

Using AI agents changes human workflows, creating cognitive debt when agents generate messy outputs or require excessive context switching.
Open source video
Source video

Open questions

4

What is the optimal latency threshold below which human suspicion of AI disappears?

Why unresolved

The summary states a trust failure at 3-5s of silence but gives no measured threshold where suspicion fully vanishes.

Research direction

Run user studies measuring trust/abandonment against controlled agent latency distributions (p50/p95/p99).

Source video

How will fully end-to-end speech-to-speech models satisfy enterprise tool calling and citation requirements?

Why unresolved

The summary claims current S2S models break in complex workflows but does not describe a mechanism for regaining control.

Research direction

Prototype text-boundary or intermediate-representation control layers that attach tool calling/citations to S2S outputs.

Source video

Which component (model vs harness) should own turn-taking and barge-in decisions?

Why unresolved

Model-driven turn-taking is claimed to win, but the boundary between learned turn-taking and deterministic harness policy is not specified.

Research direction

Benchmark learned endpointing against hybrid policies where the harness overrides or constrains model turn decisions.

Source video

How does cognitive debt from agent outputs get measured and mitigated?

Why unresolved

The concept is raised without a metric or mechanism, and evidence in the summary is abstract.

Research direction

Define operational metrics (context switches, correction rate) and instrument agent workflows to track them.

Source video

Key claims

8
factualVerification needed

Dialog-RSN-1 achieves 89.8% turn-taking accuracy and 83.9% barge-in accuracy.

Evidence

Dialog-RSN-1 achieves 89.8% turn-taking accuracy and 83.9% barge-in accuracy.

Question

On what dataset and under what acoustic conditions were these accuracies measured, and how do baselines compare?

Source video
factualVerification needed

Dialog-RSN-1 p50 latency is under 300ms.

Evidence

Dialog-RSN-1 p50 latency is under 300ms.

Question

What was the full latency distribution (p95/p99) and end-to-end measurement point (including TTS)?

Source video
causalVerification needed

Users lose trust and panic when an AI is silent for 3 to 5 seconds over the phone.

Evidence

If an AI goes dark for 3 to 5 seconds over the phone, users panic and lose trust.

Question

Is this threshold empirically measured, and does it vary by caller demographic or task?

Source video
opinionVerification not requested

Harness engineering is where enterprise differentiation happens.

Evidence

Harness engineering (retrieval, tool calling, grounding, citations) is where enterprise differentiation happens.

Source video
comparativeVerification needed

Raw speech-to-speech models break down in complex enterprise workflows without strict harnesses.

Evidence

Raw speech-to-speech models are great for demos but break down in complex enterprise workflows without strict harnesses.

Question

Which specific enterprise workflows fail, and what is the failure signature (tool-call errors, missing grounding, policy violations)?

Source video
causalVerification needed

Full S2S models bake promptability into weights and lose strict enterprise control over output text and tooling.

Evidence

Full S2S models bake promptability into weights and lose strict enterprise control over output text and tooling.

Question

Can any S2S model expose a controllable text/tool interface, or is loss of control architectural?

Source video
causalVerification needed

Models must be trained on messy conversational data rather than pristine studio recordings.

Evidence

Models must be trained on messy conversational data rather than pristine studio recordings.

Question

Is there an ablation showing degraded turn-taking/barge-in when trained on clean audio?

Source video
causalVerification needed

Audio-native input with text output enables strict control and auditing over what the agent says.

Evidence

Dialog-RSN-1 listens directly to audio waveforms, preserving tone, emotion, and timing, but outputs text to leverage standard enterprise governance, tooling, and deterministic search.

Question

Does emitting text actually preserve audio-derived nuance through the TTS stage, or does prosody information get lost?

Source video

Connections

4