TL;DR
BayLing-Duplex transforms a standard turn-based speech language model into a native, full-duplex conversational agent using a clever multi-channel interleaved sequence layout and just four special tokens. By eliminating the need for external Voice Activity Detection (VAD) modules or architectural modifications, it achieves 92% turn-taking success and 100% interruption success with minimal fine-tuning data.
What Problem Does This Paper Address?
Most current speech large language models (SpeechLMs) operate on a strict "turn-based" paradigm: the user speaks, an external Voice Activity Detection (VAD) module detects silence to mark the end of the turn, and the model then processes the input to generate a response.
This approach has major flaws. Acoustic VADs lack semantic awareness, leading to false positives (cutting the user off mid-sentence during a pause) or false negatives (unnecessary delays). Furthermore, turn-based systems cannot handle natural conversational dynamics like user barge-ins (interruptions), mid-utterance hesitations, or short backchannels ("uh-huh").
While native full-duplex models exist, training them typically requires millions of hours of audio pre-training and massive datasets of paired full-duplex dialogues. This paper introduces BayLing-Duplex, a lightweight alternative that converts an existing turn-based SpeechLM into a highly capable full-duplex model using a structured, data-efficient fine-tuning recipe.
Methods
Instead of altering the model architecture or adding auxiliary classification heads, the authors frame full-duplex interaction entirely as an in-vocabulary next-token prediction problem.
Using GLM-4-Voice as a backbone, they organize the dialogue into a single Multi-Channel Interleaved Sequence consisting of three streams: user speech, assistant text (acting as an inner monologue), and assistant speech.
Key components of their approach include:
- Block Structure: Audio and text are processed in synchronized blocks. In practice, each block contains $N=10$ user-speech tokens, $M=5$ text tokens, and $N=10$ assistant-speech tokens (corresponding to a time window of $\Delta t = 0.8$ seconds).
- Causal Shift: To account for real-time generation constraints, the assistant's text and speech channels are shifted one block ahead of the user channel during training.
- Dialogue-State Tokens: Four special tokens are embedded into the text channel to manage the state machine internally:
[SILENCE](stay quiet),[ASSISTANT](start replying),[PAD](text is done, speech is still emitting), and[EPAD](turn complete). - Two-Stage Training:
- Supervised Fine-Tuning (SFT): Trained on 400K full-duplex samples. Crucially, they apply custom token-weights ($\omega_{sil}=0.1$, $\omega_{role}=10$) to prevent the dominant
[SILENCE]tokens from drowning out rare turn-taking decisions. - Direct Preference Optimization (DPO): A lightweight alignment stage using preference pairs to fine-tune the precise timing of turn-taking and barge-ins.
Datasets
The model was trained and evaluated using the following datasets:
- Training Data: 400K full-duplex dialogue samples synthesized from the Alpaca and UltraChat datasets. User instructions were generated with diverse cloned voices, while the assistant maintained a uniform voice.
- Spoken Question Answering Evaluation: Evaluated on Llama Questions (300 items) and Web Questions (2,032 items), synthesized into speech via CosyVoice.
- Turn-Taking & Interruption Evaluation: Evaluated on InstructS2S-Eval (199 spoken instructions filtered from Alpaca-Eval), paired into two-utterance audios to simulate real-time user interruptions.
Key Insights and Ideas
- Coarse Interleaving Preserves Semantics: Unlike models that interleave text and speech frame-by-frame (which fragments the text stream), BayLing-Duplex's block-level interleaving keeps text monologues contiguous over several blocks. This aligns much better with the text distribution the underlying LLM was originally pre-trained on, preserving response quality.
- Timing is Just Token Prediction: By mapping complex conversational states (like interrupting or waiting) directly to special tokens, the model leverages the LLM's native autoregressive capabilities to handle dialogue management implicitly.
- Loss Weighting is Essential: Because a conversation is mostly silence from the assistant's perspective, uniform loss weighting causes the model to collapse into permanent silence. Heavily down-weighting silence tokens and up-weighting role tokens is the "secret sauce" for stable SFT training.
Key Results
BayLing-Duplex significantly outperforms existing open-source full-duplex models like Moshi across multiple benchmarks:
- Turn-Taking & Interruption: On InstructS2S-Eval, the DPO-aligned model achieved a 92.0% turn-taking success rate (TT SR@3s) and a 100% interruption success rate (ISR@2s). The overlap gap (the time it takes for the assistant to stop talking after a user barge-in) dropped to just 1.10 seconds.
- Spoken QA Accuracy: On Llama Questions and Web Questions, BayLing-Duplex achieved 46.0% and 18.1% accuracy, respectively, vastly outperforming Moshi (21.0% / 9.2%).
- No Quality Degradation: When compared to a strict turn-based baseline, BayLing-Duplex maintained or improved its response quality scores, proving that full-duplex capabilities do not have to come at the cost of the model's intelligence.
Limitations and Future Work
- Synthesized Data Reliance: The training and evaluation data consisted of clean, near-field, single-speaker synthetic audio. Real-world deployments will need to contend with background noise, reverberation, and overlapping speakers.
- Latency Floor: The choice of block size ($N=10$) imposes a hard minimum response latency floor of 0.8 seconds. While reducing the block size would lower latency, it risks degrading turn-taking stability due to a smaller per-block text budget.
- Complex Conversational Dynamics: The current iteration does not fully explore advanced conversational phenomena such as backchanneling, multi-party settings, or emotion-aware turn-taking.
Summary updated