OmniFlatten: An End-to-end GPT Model for Seamless Voice Conversation

Qinglin Zhang, Luyao Cheng, Chong Deng, Qian Chen, Wen Wang, Siqi Zheng, Jiaqing Liu, Hai Yu, Chaohong Tan

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, where communication is strictly turn-based: the user speaks while the system listens, and then the system speaks while the user listens. This paradigm fails to capture the fluid nature of human conversation, which involves interruptions, backchannels (e.g., "uh-huh"), and overlapping speech. Achieving true full-duplex communication—simultaneous bidirectional interaction—remains a major challenge in AI.

Current systems often rely on modular pipelines (ASR -> LLM -> TTS), which introduce significant latency. While some end-to-end models have emerged, they often require specialized architectures to handle parallel audio streams. OmniFlatten addresses these issues by adapting a standard, unmodified GPT architecture (specifically Qwen2-0.5B) to handle full-duplex voice interaction through a novel "flattening" operation.

Methodology: The Flattening Operation

The core innovation of OmniFlatten is the flattening operation, which interleaves speech and text tokens into a single, linear sequence. Instead of using separate parallel tracks for user and assistant audio, the model discretizes audio into tokens using the CosyVoice tokenizer and processes them alongside text tokens.

The OmniFlatten architecture showing the interleaving of speech and text tokens across timesteps to enable real-time full-duplex interaction.

The model is trained through a multi-stage progressive post-training scheme:

  1. Modality Alignment: The model learns the relationship between speech and text tokens via ASR and TTS tasks.
  2. Half-duplex Dialogue Learning: The model is trained on turn-based conversations using four streams: User Speech, User Text, Assistant Text, and Assistant Speech.
  3. Full-duplex Dialogue Learning: The model is fine-tuned on "chunked" data, eventually moving to a two-stream setup (User Speech and Assistant Speech). This forces the model to rely on speech-to-speech generation while maintaining semantic consistency through the earlier text-aligned training.

By processing audio in chunks (e.g., 10 tokens per chunk), OmniFlatten can "listen" to a user chunk and "predict" the next assistant chunk almost simultaneously, minimizing latency.

Data Simulation Pipeline

Because high-quality, full-duplex conversational data is scarce, the researchers developed a simulation pipeline to generate synthetic training data. They converted approximately 390,000 multi-turn text dialogues into 2,000 hours of multi-channel spoken dialogue.

The four-stage data simulation pipeline used to generate multi-channel spoken dialogue from text, simulating interruptions and turn-taking.

The pipeline involves four stages:

  1. Text Preparation: Preparing multi-turn dialogue text.
  2. TTS Synthesis: Using random speaker timbres for the user and fixed timbres for the assistant.
  3. Interaction Simulation: Concatenating single-turn audio and simulating user/assistant turn-taking, including interruptions and early stops.
  4. Noise Addition: Adding noise to the user channel while keeping the assistant channel clean to simulate realistic environments.

Results and Discussion

OmniFlatten demonstrates significant improvements in latency and conversational quality:

  • Latency: The model achieved an average response time of 193ms, outperforming the Moshi baseline (553ms).
  • Quality: In evaluations using Qwen-max as a judge, OmniFlatten surpassed Moshi in English conversation quality.
  • Turn-taking: The model effectively handles user interruptions by stopping its own speech generation, though perfecting the timing of these stops remains an area for improvement.

Conclusion

OmniFlatten presents a simple yet effective method for enabling full-duplex capabilities in standard GPT models. By using text as a semantic scaffold and a progressive training curriculum, the model achieves natural, low-latency interactions. Future work will focus on scaling the model size, capturing more complex human conversational dynamics, and extending the flattening approach to other modalities like vision.

Summary updated

BibTeX
@inproceedings{zhang2025omniflatten,
  author = {Qinglin Zhang and Luyao Cheng and Chong Deng and Qian Chen and Wen Wang and Siqi Zheng and Jiaqing Liu and Hai Yu and Chaohong Tan},
  title = {{OmniFlatten: An End-to-end GPT Model for Seamless Voice Conversation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
  url = {https://openreview.net/forum?id=zt6gNCfo7Q},
}
Figure