Qwen2.5-Omni Technical Report

AK's Picks Multimodal Intelligence Vision-Language Pre-training FGCMA GenAI TTS EDSS
2025年03月26日
在本报告中,我们介绍了通义千问2.5-Omni(Qwen2.5-Omni),这是一款端到端的多模态模型,设计用于感知包括文本、图像、音频和视频在内的多种模态信息,同时以流式方式生成文本和自然语音响应。为了实现多模态信息输入的流式处理,音频和视觉编码器均采用了分块处理的方法。为同步视频输入与音频的时间戳,我们将音频和视频按交错顺序排列,并提出了一种新的位置编码方法——TMRoPE(时间对齐多模态RoPE)。为了同时生成文本和语音并避免两者之间的干扰,我们提出了**思考者-说话者**(Thinker-Talker)架构。在此框架下,思考者作为一个大型语言模型负责文本生成,而说话者是一个双轨自回归模型,直接利用思考者的隐藏表示来生成音频标记作为输出。思考者和说话者模型均被设计为可以端到端地进行训练和推理。为了以流式方式解码音频标记,我们引入了一种滑动窗口的DiT,通过限制感受野来减少初始包延迟。通义千问2.5-Omni的性能与同规模的通义千问2.5-VL相当,并且优于通义千问2-Audio。此外,通义千问2.5-Omni在如Omni-Bench等多模态基准测试中取得了最先进的表现。值得注意的是,通义千问2.5-Omni在端到端语音指令跟随任务中的表现与其在文本输入下的能力相当,这一点已在MMLU和GSM8K等基准测试中得到验证。至于语音生成方面,通义千问2.5-Omni的流式说话者在鲁棒性和自然度上超越了大多数现有的流式和非流式方案。
In this report, we present Qwen2.5-Omni, an end-to-end multimodal model designed to perceive diverse modalities, including text, images, audio, and video, while simultaneously generating text and natural speech responses in a streaming manner. To enable the streaming of multimodal information inputs, both audio and visual encoders utilize a block-wise processing approach. To synchronize the timestamps of video inputs with audio, we organize the audio and video sequentially in an interleaved manner and propose a novel position embedding approach, named TMRoPE(Time-aligned Multimodal RoPE). To concurrently generate text and speech while avoiding interference between the two modalities, we propose \textbf{Thinker-Talker} architecture. In this framework, Thinker functions as a large language model tasked with text generation, while Talker is a dual-track autoregressive model that directly utilizes the hidden representations from the Thinker to produce audio tokens as output. Both the Thinker and Talker models are designed to be trained and inferred in an end-to-end manner. For decoding audio tokens in a streaming manner, we introduce a sliding-window DiT that restricts the receptive field, aiming to reduce the initial package delay. Qwen2.5-Omni is comparable with the similarly sized Qwen2.5-VL and outperforms Qwen2-Audio. Furthermore, Qwen2.5-Omni achieves state-of-the-art performance on multimodal benchmarks like Omni-Bench. Notably, Qwen2.5-Omni's performance in end-to-end speech instruction following is comparable to its capabilities with text inputs, as evidenced by benchmarks such as MMLU and GSM8K. As for speech generation, Qwen2.5-Omni's streaming Talker outperforms most existing streaming and non-streaming alternatives in robustness and naturalness.
许愿