Continuous Speech Tokens Makes LLMs Robust Multi-Modality Learners

Ze Yuan1, Yanqing Liu2, Shujie Liu2, Sheng Zhao2
1Tsinghua Univeristy
2Microsoft Corporation

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, (i) 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. (ii) 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.

Audio Samples

Speech Input and Transcript Speech and Text Output
Flow-Omni Mini-Omni

你觉得哈利波特好看吗?

我觉得挺好看的。

我觉得还可以。

我今天心情不太好。

我也不太好,怎么了吗?

怎么了吗?

周末要不要一起出去玩呀?

好呀,好呀,去哪里呀?

我好想出去走走。

你喜欢收到的礼物吗?

嗯嗯,很喜欢。

嗯嗯,很喜欢。

今天过得怎么样?

今天过得很好啊,你呢?

今天过得很不错。

今天天气太冷了。

是啊,好冷。

是的,冷死了。

你喜欢喝茶还是喝咖啡?

其实,我更喜欢喝奶茶。

咖啡,哈哈哈。

我感觉杭州真的很漂亮。

我也觉得,但还没机会去。

嗯嗯,我也是这么觉得。

周末总是过得很快。

是呀,又是忙碌的一天。

是呀,时间过得好快。

能给我讲个笑话吗?

我拒绝,哈哈。

不能,你懂的。