LiveKit's Open Multilingual Turn Detector Slashes Voice Agent Interruptions by 39%
LiveKit's open-weights 0.5B transformer predicts when a speaker has actually finished talking, cutting voice AI interruptions by 39% across 14 languages.
Takeaways
- LiveKit's turn-detector is an open-weights 0.5B model predicting when a speaker has finished their turn.
- Distilled from Qwen2.5-7B-Instruct into Qwen2.5-0.5B-Instruct, quantized to INT8 ONNX for CPU inference under 500 MB RAM.
- Multilingual variant covers 14 languages with ~99.3% true positive rate and 85-96% true negative rate.
- Delivers 39.23% relative improvement on structured inputs like phone numbers, addresses, and credit cards.
- Ships as a LiveKit Agents plugin, working alongside Silero VAD to dynamically adjust silence timeouts.
- Text-only, capped at 128 tokens over 6 turns; English-only variant deprecated in favor of multilingual model.
LiveKit has released v0.4.1-intl, an open-weights end-of-turn classifier for voice agents. The model examines transcribed conversation context and estimates whether a speaker has finished, covering 14 languages and improving structured-input performance by a reported 39.23% over the previous release.
Callers often pause while reciting phone numbers, addresses, email addresses, and payment details. A voice activity detector can identify the pause, yet it cannot determine whether “four one five…” is a complete answer. LiveKit’s model card adds that semantic judgment to the voice pipeline, allowing the agent to adjust how long it waits before responding.
Silence misses the meaning
Voice activity detection, or VAD, classifies incoming audio as speech or silence. It works well for short commands, but flat intonation and deliberate pauses make structured information harder to endpoint accurately. Treating every pause as a completed turn causes the agent to interrupt; waiting through every pause makes responses sluggish.
A typical LiveKit pipeline divides the decision among four components:
| Stage | Input | Job |
|---|---|---|
| VAD | Audio | Detects speech and silence. |
| STT | Audio | Produces the transcript consumed by the turn detector. |
| Turn detector | Transcript and conversation history | Estimates whether the latest utterance is complete. |
| Agent runtime | VAD and turn-detector signals | Shortens or extends the silence timeout before responding. |
One token decides the turn
Each inference request includes up to six recent conversation turns, truncated to a total of 128 tokens. LiveKit formats that history with Qwen’s chat template and its <|im_start|> and <|im_end|> delimiters. The final user message omits the closing <|im_end|> token.
The model estimates the probability that <|im_end|> should appear next. A high probability indicates a completed utterance, while a low probability indicates that the speaker will likely continue. Thresholds in languages.json convert that score into a decision calibrated for each supported language.
A 7B teacher, a 0.5B runtime
The original English model and the multilingual release derive from Qwen2.5-0.5B-Instruct. For the multilingual version, LiveKit first fine-tuned a Qwen2.5-7B-Instruct teacher on end-of-turn prediction, then distilled its behavior into the 0.5B student. Training converged in roughly 1,500 steps.
LiveKit exports the student to ONNX and quantizes it to INT8. The resulting model runs through ONNX Runtime’s CPUExecutionProvider and uses less than 500 MB of memory.
Training data targets awkward pauses
- Real call-center transcripts capture varied conversational patterns.
- Synthetic dialogues emphasize email addresses, street addresses, phone numbers, and credit-card details.
- Multiple STT formats, such as “forty two” and “42,” reduce sensitivity to transcription conventions.
Structured-data augmentation appeared only in the English training set. LiveKit attributes the gains in other languages to Qwen2.5’s multilingual pretraining and the distilled teacher signals.
Structured input shows the largest gain
LiveKit reports high completed-turn recall across all 14 supported languages, alongside wider variation when the model must recognize that a speaker is still talking.
| Measure | Reported result | What it measures |
|---|---|---|
| True-positive rate | About 99.3% across supported languages | Completed utterances correctly classified as complete. |
| True-negative rate | About 85% for Italian to 96% for Hindi | Incomplete utterances correctly allowed to continue. |
| Structured-input improvement | 39.23% relative to the previous version | Performance on inputs such as numbers, addresses, and payment details. |
The supported languages are Chinese, Dutch, English, French, German, Hindi, Indonesian, Italian, Japanese, Korean, Portuguese, Russian, Spanish, and Turkish. The reported figures measure classifier performance under LiveKit’s evaluation setup. Production interruption rates will also depend on STT errors, threshold selection, VAD timing, network latency, and the application’s traffic mix.
Wire it into an AgentSession
The model ships as a plugin for the LiveKit Agents framework. A minimal Python configuration passes the multilingual detector alongside the application’s STT and VAD components:
from livekit.agents import AgentSession
from livekit.plugins.turn_detector.multilingual import MultilingualModel
session = AgentSession(
turn_detection=MultilingualModel(),
stt=my_stt,
vad=my_vad,
)
The my_stt and my_vad values are application-provided components. STT supplies the text that the model classifies, while VAD supplies the underlying speech and silence boundaries.
CPU deployment needs steady compute
| Concern | Deployment detail |
|---|---|
| Runtime | Local inference uses ONNX Runtime with CPUExecutionProvider. |
| Memory | The quantized model requires less than 500 MB of RAM. |
| Instance type | LiveKit recommends compute-optimized instances such as AWS c6i or c7i. |
| Bursty CPUs | AWS t3 and t4g instances can exhaust CPU credits and trigger inference timeouts. |
| Hosted option | Agents running on LiveKit Cloud can call a hosted inference service. |
| License | LiveKit distributes the weights at no charge under the LiveKit Model License, whose terms govern modification and redistribution. |
Text leaves blind spots
- Prosody is unavailable. The classifier cannot inspect pitch, pacing, intonation, or other acoustic cues because it consumes STT output.
- STT quality sets the ceiling. Recognition errors and unfamiliar formatting can change the model’s decision.
- Context is limited. Inference covers at most six turns and 128 tokens.
- Audio-native APIs require extra plumbing. Services such as OpenAI’s Realtime API need a separate STT stage to use this model, adding latency and cost.
- The English-only variant is deprecated. LiveKit recommends the multilingual model for English applications as well.
Choose the signal that fits the stack
LiveKit’s Agents SDK also includes a newer audio turn detector that can use acoustic evidence when text alone misreads a mid-turn pause.
| Option | Best fit |
|---|---|
| Multilingual text detector | Teams that need open weights, CPU inference, semantic analysis of transcripts, or the ability to inspect, quantize, and fine-tune the model. |
| Audio detector | Applications where prosody and acoustic pauses provide essential turn-taking evidence. |
The multilingual classifier remains a compact endpointing component for self-hosted voice stacks. Its practical value depends on pairing the semantic score with reliable transcription, VAD, and timeout settings tuned against real production conversations.