Abstract
Full-duplex spoken dialogue systems significantly surpass traditional turn-based dialogue systems, as they allow simultaneous bidirectional communication, closely mirroring human-human interactions. However, achieving low latency and natural interactions in full-duplex dialogue systems remains a significant challenge, especially considering human conversation dynamics such as interruptions, backchannels, and overlapping speech. In this paper, we introduce a novel End-to-End GPT-based model OmniFlatten for full-duplex conversation, capable of effectively modeling the complex behaviors inherent to natural conversations with low latency. To achieve full-duplex conversation capabilities, we propose a multi-stage post-training scheme that progressively adapts a text large language model (LLM) backbone into a speech-text dialogue LLM, capable of generating text and speech in real time, without modifying the architecture of the backbone LLM. The training process comprises three stages: modality alignment, half-duplex dialogue learning, and full-duplex dialogue learning. In all training stages, we standardize the data using a flattening operation, which enables unifying the training methods and the GPT backbone across different modalities and tasks. Our approach offers a simple modeling technique and a promising research direction for developing efficient and natural end-to-end full-duplex spoken dialogue systems.
Introduction
Traditional voice assistants typically operate in a "half-duplex" mode, characterized by a rigid turn-taking structure where the user must finish speaking before the system begins processing. This "walkie-talkie" style interaction fails to capture the fluid dynamics of natural human conversation, such as interruptions, backchannels (e.g., "uh-huh"), and overlapping speech. While end-to-end (E2E) models have been proposed to bridge this gap, they often rely on complex, non-standard architectures to manage parallel audio streams.
OmniFlatten addresses these challenges by enabling a standard, auto-regressive GPT model to handle simultaneous bidirectional communication. By "flattening" interleaved streams of speech and text tokens into a single sequence, the model can listen, think, and speak concurrently without requiring modifications to its underlying transformer architecture.
Methodology: The Flattening Operation
The core innovation of OmniFlatten is the flattening operation. Instead of using separate encoders or parallel decoders for different streams, OmniFlatten interleaves chunks of user speech, assistant text, and assistant speech into a single linear sequence of tokens. This allows the model to process the bidirectional flow of information within a standard auto-regressive framework.
The model is developed through a multi-stage progressive post-training scheme using a Qwen2-0.5B backbone. The process begins with Modality Alignment, training on ASR and TTS tasks to align speech and text tokens. This is followed by Half-duplex Dialogue Learning, where the model learns turn-based conversational skills. Finally, Full-duplex Dialogue Learning is achieved by training on interleaved chunks (e.g., 10 audio tokens per 2 text tokens). This "relaxed alignment" enables real-time generation, with the assistant eventually focusing purely on speech-to-speech interaction to further reduce latency.
Data Synthesis for Full-Duplex Interaction
To train the model on complex conversational dynamics, the researchers developed a pipeline to synthesize a Simulated Voice Chat Dataset comprising 2,000 hours of multi-channel spoken dialogue. This dataset was built upon 390,000 multi-turn text dialogues converted via TTS.
The synthesis process involves four critical stages: preparing multi-turn dialogue text, assigning speaker timbres (random for users, fixed for the assistant), concatenating waves to simulate turn-taking and interruptions, and finally injecting background noise into the user channel to simulate real-world environments.
Key Results
OmniFlatten demonstrates significant improvements in both latency and interaction quality compared to existing baselines like Moshi:
- Latency: The model achieved an average assistant turn-taking response time of 193ms, a substantial improvement over Moshi's 553ms.
- Dialogue Quality: In "LLM-as-a-judge" evaluations, OmniFlatten scored 4.88 on English chat tasks, outperforming Moshi's score of 3.92.
- Turn-taking Accuracy: The model showed a much higher success rate in predicting the start of speech (20.6% at the first token vs. 2.9% for Moshi) and handled interruptions more gracefully.
Conclusion
OmniFlatten proves that full-duplex conversational capabilities can be achieved using standard GPT architectures through clever data formatting and progressive training. By treating interleaved speech and text as a single flattened sequence, the model achieves low-latency, natural interactions. Future work will focus on scaling the model size to improve reasoning capabilities and refining the model's ability to handle subtle human behaviors like back-channeling.
Summary updated