Moshi

introduces a speech-text foundation model and full-duplex spoken dialogue framework; they present several components of the systems; Helium is a 7B parameter text LLM; Mimi is a semantic-acoustic neural audio code with state-of-the-art performance on audio quality; a hierarchical multi-stream architecture that can generate arbitrary conversation in a speech-to-speech manner.
Ask this paper
Abstract
We introduce Moshi, a speech-text foundation model and full-duplex spoken dialogue frame- work. Current systems for spoken dialogue rely on pipelines of independent components, namely voice activity detection, speech recognition, textual dialogue and text-to-speech. Such frameworks cannot emulate the experience of real conversations. First, their complex- ity induces a latency of several seconds between interactions. Second, text being the inter- mediate modality for dialogue, non-linguistic information that modifies meaning— such as emotion or non-speech sounds— is lost in the interaction. Finally, they rely on a segmenta- tion into speaker turns, which does not take into account overlapping speech, interruptions and interjections. Moshi solves these independent issues altogether by casting spoken dia- logue as speech-to-speech generation. Starting from a text language model backbone, Moshi generates speech as tokens from the residual quantizer of a neural audio codec, while model- ing separately its own speech and that of the user into parallel streams. This allows for the removal of explicit speaker turns, and the modeling of arbitrary conversational dynamics. We moreover extend the hierarchical semantic-to-acoustic token generation of previous work to first predict time-aligned text tokens as a prefix to audio tokens. Not only this “Inner Monologue” method significantly improves the linguistic quality of generated speech, but we also illustrate how it can provide streaming speech recognition and text-to-speech. Our re- sulting model is the first real-time full-duplex spoken large language model, with a theoret- ical latency of 160ms, 200ms in practice, and is available at github.com/kyutai-labs/moshi. Keywords: speech, text, multimodal, foundation, spoken dialogue 1 arXiv:2410.00037v2 [eess.AS] 2 Oct 2024 Moshi: a speech-text foundation model for real-time dialogue