Abstract
Recent advances in GPT-4o like multi-modality models have demonstrated remarkable progress for direct speech-to-speech conversation, with real-time speech interaction experience and strong speech understanding ability. However, current research focuses on discrete speech tokens to align with discrete text tokens for language modelling, which depends on an audio codec with residual connections or independent group tokens. Such a codec usually leverages large scale and diverse datasets training to ensure that the discrete speech codes have good representation for varied domain, noise, style data reconstruction as well as a well-designed codec quantizer and encoder-decoder architecture for discrete token language modelling. This paper introduces Flow-Omni, a continuous speech token based GPT-4o like model, capable of real-time speech interaction and low streaming latency. Specifically, first, instead of cross-entropy loss only, we combine flow matching loss with a pretrained autoregressive LLM and a small MLP network to predict the probability distribution of the continuous-valued speech tokens from speech prompt. Second, we incorporated the continuous speech tokens to Flow-Omni multi-modality training, thereby achieving robust speech-to-speech performance with discrete text tokens and continuous speech tokens together. Experiments demonstrate that, compared to discrete text and speech multi-modality training and its variants, the continuous speech tokens mitigate robustness issues by avoiding the inherent flaws of discrete speech code's representation loss for LLM.
The Challenge: The Limitations of Discrete Speech Tokens
Current state-of-the-art speech-enabled models typically rely on discrete speech tokens. This involves using an audio codec to "quantize" sound into a sequence of integers, similar to how text is tokenized. However, this approach has three major flaws:
- Information Loss: Quantization often discards subtle acoustic details like emotion, prosody, and background nuances, especially in noisy environments or for "out-of-distribution" voices.
- Complexity: High-quality audio requires multi-layer "residual" quantization, which creates extremely long sequences that are computationally expensive for an LLM to process.
- Alignment Issues: Forcing continuous audio into discrete buckets can create "noise" during training, making it harder for the model to align speech features with text semantics.
Flow-Omni: A Continuous Approach
Flow-Omni addresses these issues by treating speech as a continuous signal throughout the generation process. Built on a decoder-only LLM backbone (specifically Qwen2-0.5B), it introduces a "codec-free" pipeline that avoids the representation loss inherent in traditional audio codecs.
System Architecture
The model architecture consists of three primary components designed for low-latency, high-fidelity interaction:
- Speech Input Module: This module uses a Whisper encoder to extract robust latent embeddings from raw audio. These embeddings are then projected via an MLP adapter into the LLM's hidden space.
- Parallel Sequence Modeling: The model processes text tokens and "Speech State Tokens" (Start, Pad, Stop, Generating) in parallel. This allows the model to "think" about the text response while simultaneously guiding the speech synthesis, ensuring synchronization between modalities.
- Speech Output Module: Instead of predicting a discrete token ID, the model uses a small MLP-based Flow Matching network. Conditioned on the LLM's hidden states, this module learns to transform Gaussian noise into continuous mel-spectrogram frames.
The "Flow" Innovation
The authors chose Conditional Flow Matching (CFM) because it is often more efficient than traditional diffusion for modeling continuous distributions. By combining Cross-Entropy loss (for text/state tokens) and CFM loss (for continuous audio), the model learns to generate speech that is both semantically accurate and acoustically rich. A GAN-based vocoder (BigVGAN-style) then converts the predicted mel-spectrograms back into high-fidelity 24kHz waveforms.
Experimental Results
The researchers compared Flow-Omni against Mini-Omni (a discrete-token baseline) using the same backbone and datasets. The model was trained in two stages on large-scale Mandarin and English datasets, including WenetSpeech (10,000+ hours) and the LCCC-base dialogue corpus.
- Word Error Rate (WER): Flow-Omni achieved a WER of 8.81, significantly outperforming Mini-Omni’s 10.84. This indicates that the continuous approach leads to much better intelligibility and fewer "hallucinated" sounds.
- Robustness: By avoiding the "bottleneck" of a discrete codebook, Flow-Omni retains the full spectrum of acoustic information, making it significantly more resilient to noise and varied speaking styles.
Conclusion and Future Work
Flow-Omni demonstrates that continuous speech tokens can mitigate the robustness issues found in discrete-token LLMs. While the current model relies on a separate vocoder and has been tested primarily at a 0.5B parameter scale, the results suggest a promising path toward more natural and robust multi-modal AI. Future work will involve scaling the architecture to larger models (7B+) and expanding multi-lingual capabilities to confirm generalization across diverse phonologies.
Summary updated