LLaMA-Omni: Seamless Speech Interaction with Large Language Models

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

arXiv:2409.06666 · 2026-07-27 공개 · arXiv · PDF

low-latency llama-3-1 speech-language-model speech-interaction llama-omni speech-encoder streaming-decoder instructs2s-200k

Abstract

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.

한국어 요약

한 줄 요약

LLaMA-Omni는 Llama-3.1-8B-Instruct 기반으로 구축된, 음성 입력을 직접 텍스트 및 음성 출력으로 생성하는 저지연 음성-LLM 상호작용 모델이다.

핵심 기여도

핵심 아이디어

LLaMA-Omni는 기존의 음성-텍스트-음성 순차 처리 방식을 대체하여, 음성 입력을 직접 텍스트 및 음성 출력으로 생성하는 엔드투엔드 아키텍처를 제안한다. 이는 음성 인코더와 스트리밍 음성 디코더를 LLM에 통합함으로써, 중간 텍스트 전사 없이 음성-음성 생성이 가능하도록 설계되었다. 특히, 스트리밍 음성 디코더는 **NAR (Non-Autoregressive) Transformer** 기반으로, LLM의 히든 상태를 입력으로 받아 **CTC (Connectionist Temporal Classification)**를 통해 음성 유닛을 예측하며, 텍스트 응답 생성과 동시에 음성 응답을 생성한다. 이는 응답 지연 시간을 최소화하면서도 음성 품질을 유지하는 핵심 아이디어이다.

기술적 접근법

주요 결과

의의 및 한계

LLaMA-Omni는 음성-LLM 상호작용 분야에서 **저지연, 고품질 응답 생성**을 가능하게 하며, 특히 **오픈소스 LLM 기반 음성 모델 개발의 효율성**을 높이는 데 기여한다. 또한, 스트리밍 음성 디코더를 통한 **동시 텍스트-음성 생성**은 응답 자연도와 유연성을 향상시킨다. 그러나, 음성 디코더 훈련에 사용된 데이터는 **산업용 TTS 모델 대비 1K 시간으로 매우 적어**, 음성 품질 개선에는 한계가 있다. 또한, 음성 유닛의 단위 크기(Ω)가 작을수록 **음성 불연속성 증가**로 품질 저하가 발생한다.

실용적 활용

LLaMA-Omni는 **스마트 스피커, 음성 비서, 자동차 내 음성 인터페이스** 등 실시간 음성 상호작용이 필요한 산업에 적용 가능하다. 특히, **저비용, 빠른 훈련 시간**으로 인해 연구실 환경에서도 빠르게 음성-LLM 모델을 개발할 수 있다. 제공된 GitHub 및 HuggingFace 링크를 통해 **코드 및 모델을 직접 활용**할 수 있다.