Full-Duplex Real-Time Voice Interaction: Architecture and Engineering Practices

    Real-time voice is becoming the main entry point for conversational systems, but users expect natural, face-to-face-like pacing: they want to interrupt mid-sentence, be understood during pauses, and have complex questions handled without freezing the conversation. This article explains why traditional ASR-LLM-TTS pipelines feel mechanical, compares cascade, end-to-end, and full-duplex architectures, and outlines the components of a production-grade full-duplex decision loop: turn-taking, continued listening, yielding, delegating heavy reasoning, and safety stops. It also covers streaming pipeline engineering, latency-aware safety design, evaluation metrics, and practical trade-offs for choosing full-duplex versus turn-based interaction. Readers will gain a framework for building voice systems that are interruptible, delegable, stoppable, and measurable.

    Real-time voice interaction is shifting from an add-on capability to the primary entry point for conversational systems. What users expect is not a longer stretch of synthesized speech but a rhythm closer to face-to-face conversation: they can interrupt before the other party finishes, pauses and intonation are understood, and complex questions don’t freeze the entire dialogue. To achieve this, the system must process input and output simultaneously and decide, every few moments, whether to keep listening, start speaking, pause, interrupt, or hand a hard problem to background reasoning.

    Why Voice Interaction Has Long Felt Robotic

    Early solutions were almost all three-stage pipelines: speech recognition converts audio to text, a text model generates a response, and speech synthesis reads the answer aloud. The pipeline is clear and the modules are replaceable, but the costs are equally clear.

    First, latency is the sum of each stage’s queueing. Recognition waits for a fairly complete utterance, reasoning waits for the text, and synthesis waits for the first sentence, so the user perceives “finish speaking—silence—start talking.” Second, transcription discards a great deal of paralinguistic information. Speech rate, hesitation, laughter, emphasis, ambient noise, and speaker overlap mostly disappear in text, so the model can only respond literally. Third, the output side is equally thin: synthesized speech struggles to naturally carry laughter, singing, emotional shifts, or mid-sentence revisions, making conversations sound like a script being read aloud. Fourth, fluency and depth compete for the same budget. Putting heavy inference on the same low-latency path inflates time-to-first-audio; weakening inference for speed makes answers shallow.

    The industry’s subsequent progress has therefore not been simply swapping in a bigger text model, but redividing “who handles the immediate conversation and who handles deep thinking.”

    What Each of Three Architectures Solves

    The common evolution can be understood as three architectures rather than three product generations.

    Cascaded pipelines suit auditable, controllable businesses. Recognition, dialogue policy, synthesis, and content safety can scale and roll back independently. Their weakness is a strong sense of turns: the system assumes one input round maps to one output round, so barge-ins are either ignored or trigger a full restart of the utterance.

    End-to-end or near-end-to-end models unify listening and speaking in one representation, removing the intermediate text bottleneck. First response is often faster and prosody more coherent. But they usually still preserve turn-taking: generation begins only after the user is detected as finished. Low latency in demo environments may not hold under real networks, weak devices, or noisy scenes, because on-device buffering, server-side queuing, and safety checks reintroduce waiting.

    Full-duplex real-time models keep both the input and output streams open. The model—or a tightly coupled control loop—makes interaction decisions at a high frequency instead of waiting for an “end of utterance” event. If the user barges in, the system can duck or stop current speech; if the user merely backchannels (“mm-hm,” “right”), it keeps talking; and if a query requires verification or a long reasoning chain, it doesn’t freeze the conversation into an interactive loading state but delegates the task to a background model while continuing to listen.

    What a Full-Duplex Decision Loop Should Contain

    In engineering terms, “full-duplex” should not be reduced to simply playing two audio streams at once. A sustainably operating decision loop must at least answer the following kinds of questions.

    Whether to take the floor. Based on energy, voice activity, semantic completeness, and whether the user is waiting, decide whether speaking now would be rude. Short questions deserve quick answers; open-ended narration deserves more listening.

    Whether to keep listening. Even while speaking, the microphone stream must still be received, distinguishing real interruptions, background voices, and echo. Poor echo cancellation and adaptive gain control cause the system to hear its own voice as the user, creating self-excitation.

    Whether to pause or yield. When the user utters half a sentence, first pause or lower the volume, then decide from the next few syllables whether to abandon the current answer or revise it from the breakpoint. A hard cut sounds abrupt; never stopping sounds deaf.

    Whether to invoke tools or delegate reasoning. Weather, retrieval, calculations, and business queries should not all be crammed into the real-time voice model. The real-time side maintains the conversation: saying “let me check,” holding the turn, and absorbing new supplementary conditions; the heavy-reasoning side returns structured results that the real-time side then renders into spoken language. This avoids long silences “just to think something through.”

    Whether to stop or downgrade. Safety policy should not be limited to filtering already-generated text after the fact. When risk rises, the system can refuse a topic, switch to a brief explanation with a boundary statement, or proactively end the session. Graduated handling is more conversational than blanket muting and is also easier to audit.

    These decisions should be explicit states rather than buried in an opaque generation process. At minimum, log: listen/speak state, interruption count, delegation latency, time-to-first-audio, and safety actions. Otherwise, online issues cannot be attributed to acoustics, policy, or slow reasoning.

    Engineering Essentials of the Streaming Pipeline

    On the input side, audio should be uploaded in short frames rather than as whole utterances. Frames that are too short amplify network overhead and decision jitter; frames that are too long hurt interruption handling. A common approach is frames on the order of tens of milliseconds with moderate jitter buffering, prioritizing listening over audio quality under weak networks.

    On the output side, support cancellable streaming synthesis or direct speech generation. Once an interruption is detected, in-flight audio packets should stop playing immediately rather than draining the buffer. The client playback queue, server-side generation cursor, and dialogue state must stay in sync; otherwise you get “the text has changed its mind, but the voice is still reading the old answer.”

    The semantic layer needs incremental understanding. Don’t wait for the final transcript to infer intent; use unstable intermediate results for prediction, but external commitments (placing an order, transferring money, deleting data) must wait for stable results and explicit confirmation. In voice scenarios, the cost of accidental triggers is higher than in text.

    Tool invocation needs a spoken-language protocol. While a background task is pending, the real-time side uses short phrases to stay present and lets the user add constraints, such as “make it tomorrow” or “not too expensive.” When results return, state the conclusion first, then add supporting details as needed, rather than reading the retrieval output verbatim.

    Edge and cloud need a division of labor. Wake word detection, echo cancellation, and local silence detection belong on the device to reduce bandwidth; dialogue policy, safety, and heavy inference belong on the server for easier updates. Don’t force every capability into a single real-time model—otherwise iteration and capacity planning both become brittle.

    An illustrative control loop can be written as pseudocode emphasizing state rather than concrete interfaces:

    1. loop each frame:
    2. audio_in = capture()
    3. echo_cancelled = aec(audio_in, audio_out)
    4. event = duplex_policy(echo_cancelled, dialog_state)
    5. if event == BARGE_IN:
    6. cancel_playback()
    7. dialog_state = LISTENING
    8. if event == SPEAK and not safety_blocked:
    9. audio_out = stream_reply(dialog_state)
    10. if event == DELEGATE:
    11. async_result = heavy_reasoner(task)
    12. speak_holding_phrase()
    13. if event == STOP:
    14. end_session(reason)

    This logic doesn’t describe any particular product’s interface; it only shows that listening, playback cancellation, heavy reasoning, and safety stopping must be preemptible within the same loop.

    Designing Safety and Experience Together

    Voice is harder to remediate after the fact than text: once inappropriate content has been played, the user has already heard it. Safety checks therefore need to move upstream into the decision loop: grade the input intent and the audio about to be played; rewrite low-risk content, shorten medium-risk content with a boundary explanation, and stop and log high-risk content. Session termination should come with an understandable spoken explanation—suddenly dropping the connection reads as a malfunction.

    At the same time, the safety module must not destroy the rhythm. Running heavy review on every frame would return latency to the cascaded era. In practice, use lightweight policies for short, low-risk conversations, and escalate review for tool results, external knowledge, and sensitive domains.

    Evaluation cannot look only at word error rate or preference win rate. For full-duplex, the more relevant questions are: how quickly audio stops after an interruption, the false interruption rate, whether backchannels are mistaken for questions, whether supplementary user input during delegation is incorporated, whether the system can still listen to the end under weak networks, and whether unsafe content is intercepted before playback. Human preference can be a reference but cannot replace these reproducible metrics—tolerance for “being talked over” varies greatly across populations, so thresholds must be scenario-specific.

    Trade-offs in Real Deployments

    Full-duplex is not the optimal default for every business. Strongly regulated scenarios such as identity verification, payment confirmation, and medical disclosure are often safer with turn-taking plus explicit confirmation. Companion, assistant, in-vehicle, and hands-free scenarios benefit more from listening while speaking.

    Before selecting an architecture, write down: the allowed time-to-first-response, which ranges are interruptible, which actions require double confirmation, the timeout and fallback wording for heavy reasoning, and log retention and privacy boundaries.

    In terms of capacity, real-time sessions are long-lived connections, so cost scales with concurrency and duration, not with the number of question-answer pairs. Architecturally, separating “holding the conversation” from “deep solving” lets you scale only the parts that need scaling as traffic grows. In observability, separating acoustic latency, decision latency, and delegation latency tells you whether optimization should target the link or the model.

    The goal of real-time voice is to let the system maintain a natural rhythm while continuously listening, and to push genuinely time-consuming thinking into background tasks that don’t block the conversation. Only when a system is interruptible, delegable, stoppable, and measurable does voice interaction move beyond the smoothness of a demo.