Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

LLaMA-Omni: Seamless Speech Interaction with Large Language Models

About

Models like GPT-4o enable real-time interaction with large language models (LLMs) through speech, significantly enhancing user experience compared to traditional text-based interaction. However, there is still a lack of exploration on how to build speech interaction models based on open-source LLMs. To address this, we propose LLaMA-Omni, a novel model architecture designed for low-latency and high-quality speech interaction with LLMs. LLaMA-Omni integrates a pretrained speech encoder, a speech adaptor, an LLM, and a streaming speech decoder. It eliminates the need for speech transcription, and can simultaneously generate text and speech responses directly from speech instructions with extremely low latency. We build our model based on the latest Llama-3.1-8B-Instruct model. To align the model with speech interaction scenarios, we construct a dataset named InstructS2S-200K, which includes 200K speech instructions and corresponding speech responses. Experimental results show that compared to previous speech-language models, LLaMA-Omni provides better responses in both content and style, with a response latency as low as 226ms. Additionally, training LLaMA-Omni takes less than 3 days on just 4 GPUs, paving the way for the efficient development of speech-language models in the future.

Qingkai Fang, Shoutao Guo, Yan Zhou, Zhengrui Ma, Shaolei Zhang, Yang Feng• 2024

Related benchmarks

TaskDatasetResultRank
Sentence Stress ReasoningStressPresso
SSR Accuracy52.9
20
Sentence Stress ReasoningStress (test)
SSR Accuracy49.5
20
General Audio UnderstandingVoiceBench
AlpacaEval Score3.7
19
Speech-to-TextVoiceBench
AlpacaEval Score3.7
15
Audio Question AnsweringAudioSet En
Audio QA Score39.59
12
Audio Question AnsweringTripoli-QA
Audio QA Score21.8
12
Audio SynthesisURO-Bench
NMOS4.09
12
Speech-to-SpeechURO-Bench Pro Task
Understanding Score34.66
12
Audio Question AnsweringListen, Quizzing (LQ.)
Audio-QA Score48.46
12
Audio Question AnsweringWenetSpeech-QA
Audio-QA Score30.28
12
Showing 10 of 18 rows

Other info

Follow for update