Voice AI Day is baaaaack! 🎙️ 11 cities, 10 Dec
    Video4:10by Voice AI Space

    Turn-Taking in Voice AI, Explained

    How voice agents know when to talk: end-of-turn detection beyond silence timers, the cues turn detectors listen for, and handling barge-in.

    Part of Voice AI Explained. See every episode, in learning order, in How Voice AI Works: A Complete Guide.

    Summary

    The Two Jobs of Turn-Taking

    Turn-taking in voice AI involves deciding who speaks when and consists of two main jobs:

    • End-of-turn detection: Noticing when the user has finished speaking so the agent can start.
    • Barge-in: Noticing when the user starts speaking while the agent is talking so the agent can stop.

    End-of-Turn Detection

    Simple silence timers are often insufficient because setting them too short cuts users off, while setting them too long makes the conversation feel slow. To address this, agents use turn detection models that analyze the last few seconds of speech to determine if a user is done. These models listen for turn-yielding cues, including:

    • Words: Certain phrases indicate whether a sentence is complete or incomplete.
    • Acoustics: Changes in pitch, loudness, and pace at the end of a phrase.

    Turn detectors face a trade-off between two types of mistakes: false cut-offs (interrupting the user too early) and long waits (delaying the response after the user finishes).

    Barge-In and Handling Interruptions

    When a user interrupts an agent, the agent must stop quickly. Additionally, the agent must truncate its memory of what it said, retaining only the portion the user actually heard. Without this step, the agent may incorrectly assume it successfully communicated the entire message.

    Not all sounds are intentional interruptions; noises like coughs, background sounds, or backchannels (such as "mhm" or "yeah") should not cause the agent to stop. To prevent the agent from being too jumpy, developers can:

    • Ignore very short sounds.
    • Wait for a word or two before stopping.
    • Use models to distinguish real interruptions from backchannels.
    • Resume speaking from where the agent left off after a false alarm.
    • Implement echo cancellation so the agent does not interrupt itself with its own output.

    Full-Duplex vs. Strict Turns

    While most voice agents operate on strict turns where only one party speaks at a time, full-duplex models can listen and speak simultaneously. This allows for more natural conversations with overlapping speech and backchanneling.

    Testing and Tuning

    Turn-taking should be tested using real, messy speech, including pauses, slow reading of long numbers, noisy environments, and actual interruptions. Developers should count mistakes (such as cut-offs, long waits, unnecessary stops, and missed interruptions) and tune the agent's patience based on the situation, such as waiting longer when a user is reciting account numbers.

    Full transcript

    Conversation is a dance. I talk, you talk, and we rarely talk over each other for long. Voice agents step on toes all the time. They cut you off, or they keep talking when you try to stop them. Getting this right is called turn-taking. Today, how agents know when to talk, and when to stop. Voice AI Space makes honest videos to help developers and curious people upskill in voice AI.

    Turn-taking is really two jobs. Job 1: notice when you've finished, so the agent can start. Job 2: notice when you start again, so the agent can stop. Get either one wrong, and the conversation falls apart.

    Last episode, we saw the problem with a simple silence timer. Too short, and it cuts you off. Too long, and it feels slow. So many agents add a turn detection model. It hears the last few seconds of your speech, and answers one question: done, or not done? It listens for the same clues people use: the words ("my number is..." can't be the end) and the sound—how your pitch, loudness, and pace change at the end of a phrase. Research on human conversation shows that the more of these clues line up, the more likely the other person takes the turn. The model gives a score. If it thinks you're not done, the agent waits longer.

    Every turn detector makes two kinds of mistakes. It can cut you off when you weren't done, or it can wait when you were. Tune it to make fewer of one, and you usually get more of the other. So when someone says their model is accurate, ask two questions: how often does it cut people off, and how long does it make them wait?

    Now, Job 2. You start talking while the agent is speaking. Engineers call it barge-in. The agent should stop quickly, like a polite person would. Then it has to forget what it never said. If it was cut off halfway through a sentence, its memory should only keep the part you actually heard. Otherwise, it may think it told you something it didn't.

    But not every sound is an interruption: a cough, a door, the TV in the background, or a quick "m-hm" which means "keep going". A basic setup stops at almost any sound, and the agent feels jumpy. Common fixes: ignore very short sounds, wait for a word or two, or use a model that tells a real interruption from an "m-hm". Some agents also pick up where they left off after a false alarm. And remember echo cancellation from Episode 6: without it, the agent can interrupt itself.

    Those little "m-hm"s are called backchannels, and people use them constantly. In one classic study of over 1,000 phone conversations, about 1 utterance in 5 was a backchannel, like "uh-huh". Most voice agents today take turns strictly: only one side speaks at a time. Full-duplex models listen and speak at the same time, so they can overlap and backchannel more like people do. Kyutai's Moshi was an early example. It's still an early, fast-moving area.

    So how do you test turn-taking? With real, messy speech: people who pause to think, long numbers read slowly, noisy rooms, callers who say "m-hm", and callers who really interrupt. Then count mistakes on both sides: cut-offs, long waits, stops for nothing, and missed interruptions. Tune by situation: be more patient when people read out account numbers. And listen to the recordings; numbers won't tell you how it feels.

    To recap: turn-taking is two jobs: know when you're done, and know when you're interrupting. Every detector trades cutting people off against making them wait. Stop fast on real interruptions, ignore the "m-hm"s, and forget what was never said.

    Next time: cascaded pipelines versus speech-to-speech models, and when to use each. If we got something wrong, tell us; corrections get pinned. And you'll find voice AI products sorted by role in the Voice AI Space library.