Multimodal Models·Question 24 of 67Intermediate

Your voice agent both cuts users off mid-sentence and leaves awkward dead air. Diagnose and fix.

Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.

Model answer: the part to lead with

Those are the two faces of one knob: the endpointing decision. Pure VAD endpointing says "the user has been silent for X ms, therefore their turn is over". Short X cuts off anyone who pauses to think or reads a phone number in chunks. Long X taxes every single turn with dead air. Tuning X trades one complaint for the other, which is exactly what you are experiencing.

Full worked answer with diagram

Those are the two faces of one knob: the endpointing decision. Pure VAD endpointing says "the user has been silent for X ms, therefore their turn is over". Short X cuts off anyone who pauses to think or reads a phone number in chunks. Long X taxes every single turn with dead air. Tuning X trades one complaint for the other, which is exactly what you are experiencing.

You cannot fix it by tuning X, because the correct X is not constant. It depends on whether the utterance is semantically complete. "My account number is four seven" then a pause is obviously unfinished. "I need to change my address" then a pause is finished. Humans use syntax, prosody, and pragmatics for this, never silence duration alone.

The fix, in layers:

  1. Semantic turn detection. A small classifier over streaming ASR partials predicting "is this complete?", used to modulate the silence threshold: roughly ~200-400 ms when it looks complete, ~1.5-2 s when it looks mid-sentence. Open models built for exactly this exist (LiveKit's turn detector and Pipecat's Smart Turn are two), and this is the single biggest quality win available.
  2. Prosody. Falling pitch and final lengthening cue turn ends. Audio-native models get this for free; a cascaded pipeline throws it away at the STT boundary, which is a real argument for speech-to-speech.
  3. Context. After "what is your date of birth?", expect a slot and be patient. After "anything else?", be quick. Let the dialogue state set the prior.
  4. Speculative generation. Start the LLM on the partial as soon as it looks complete, cancel if the user resumes. Hides latency at the cost of wasted tokens.
  5. Backchannels. "Mhm" and "uh" are not turns.

Also verify the ASR is not the real culprit: many pipelines wait for a "final" transcript that the ASR only emits after its own internal silence timer, so you are silently paying two timeouts stacked.

Measure false-interruption rate and median response gap per turn. A p50 end-to-end latency number hides both failures.

Worth sketching. It reframes the problem from one timeout value to a branch, which is the reframing the question is really testing.

flowchart TD
    A["Streaming ASR partial"] --> B{"Utterance semantically<br/>complete?"}
    B -->|"yes"| C["Silence threshold<br/>~200-400 ms"]
    B -->|"no, mid-sentence"| D["Silence threshold<br/>~1.5-2 s"]
    C --> E{"User resumed<br/>before it elapsed?"}
    D --> E
    E -->|"yes"| A
    E -->|"no"| F["Commit the turn,<br/>run the LLM"]

What a good answer covers

  • Those are the two faces of one knob: the endpointing decision
  • Pure VAD endpointing says "the user has been silent for X ms, therefore their turn is over"
  • Short X cuts off anyone who pauses to think or reads a phone number in chunks
  • Long X taxes every single turn with dead air
  • Tuning X trades one complaint for the other, which is exactly what you are experiencing

Key terms: Semantic turn detection · Prosody · Context · Speculative generation · Backchannels

Interviewer follow-ups to expect

  1. How would you collect labelled data to train a semantic turn detector for your domain?

  2. Speculative generation wastes tokens on cancellation - how would you decide whether it is worth it?

Worked answer from AI-Engineer-Interview-Questions by Om (MIT), reformatted for LLM Prep · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep