Skip to main content
QUICK REVIEW

[论文解读] Mini-Omni2: Towards Open-source GPT-4o with Vision, Speech and Duplex Capabilities

Zhiyang Xie, Chyuan-Chuan Wu|arXiv (Cornell University)|Oct 15, 2024
Algorithms and Data CompressionComputer Science被引用 3
一句话总结

Mini-Omni2 是一个开源的端到端多模态语言模型,使用统一架构复现了 GPT-4o 的视觉、语音和双向交互能力。它采用预训练的 CLIP 和 Whisper 编码器,通过三阶段训练过程实现模态对齐,并引入基于命令的中断机制,以实现在多模态输入下的实时流式音频响应。

ABSTRACT

GPT-4o, an all-encompassing model, represents a milestone in the development of large multi-modal language models. It can understand visual, auditory, and textual modalities, directly output audio, and support flexible duplex interaction. Models from the open-source community often achieve some functionalities of GPT-4o, such as visual understanding and voice chat. Nevertheless, training a unified model that incorporates all modalities is challenging due to the complexities of multi-modal data, intricate model architectures, and training processes. In this paper, we introduce Mini-Omni2, a visual-audio assistant capable of providing real-time, end-to-end voice responses to visoin and audio queries. By integrating pretrained visual and auditory encoders, Mini-Omni2 maintains performance in individual modalities. We propose a three-stage training process to align modalities, allowing the language model to handle multi-modal inputs and outputs after training on a limited dataset. For interaction, we introduce a command-based interruption mechanism, enabling more flexible interaction with users. To the best of our knowledge, Mini-Omni2 is one of the closest reproductions of GPT-4o, which have similar form of functionality, and we hope it can offer valuable insights for subsequent research.

研究动机与目标

  • 开发一个开源的 GPT-4o 替代品,实现视觉、语音和文本之间统一的多模态理解与生成能力。
  • 解决在数据量有限的情况下,训练单一模型以处理端到端多模态输入和流式音频输出的挑战。
  • 通过基于命令的中断机制,实现灵活的实时人机交互。
  • 证明在数据有限的情况下,可通过少量数据和适配器微调高效实现模态扩展与对齐。
  • 为未来多模态端到端大语言模型的研究提供可复现的开源框架。

提出的方法

  • 使用 Qwen2-0.5B 作为基础语言模型,并通过适配器微调实现模态集成。
  • 分别使用预训练的 CLIP 和 Whisper 编码器作为视觉和音频输入的特征提取器。
  • 采用三阶段训练流程:(1) 在语音识别和图像字幕数据上进行适配器训练,(2) 在不同模态间对齐文本问答任务,(3) 与音频输出和中断能力联合训练。
  • 引入延迟并行输出策略,以实现在推理过程中实时流式音频生成。
  • 通过语义触发词(如“Stop Omni”)实现基于命令的中断机制,模拟 GPT-4o 的全双工交互。
  • 构建用于语音对话和中断建模的专用数据集,结合零样本 TTS(CosyVoice)和噪声流编码,实现实时模拟。

实验结果

研究问题

  • RQ1在数据有限且训练高效的前提下,统一的开源模型是否能够复现 GPT-4o 的多模态能力——包括视觉、语音和全双工交互?
  • RQ2三阶段训练流程在单一语言模型中对齐视觉、音频和文本模态的效果如何?
  • RQ3在使用预训练编码器的轻量级模型中,能否实现与 GPT-4o 相当的实时流式音频输出?
  • RQ4基于命令的中断机制是否能有效模拟 GPT-4o 的全双工交互能力,而无需进行完整的端到端微调?
  • RQ5在数据受限的情况下,模态集成对语音识别性能的影响程度如何?

主要发现

  • Mini-Omni2 在 LibriSpeech test-other 上的 WER 达到 9.8%,优于基线 Whisper-small 模型(10.1%)的性能。
  • 在添加视觉模态后,语音识别性能出现轻微但可测量的下降(WER 从 9.7% 上升至 9.8%),可能源于数据比例失衡。
  • 三阶段训练流程成功实现了在极小数据扩展下的端到端多模态理解与流式音频输出。
  • 基于命令的中断机制实现了对实时响应的控制,有效模拟了 GPT-4o 的全双工交互能力。
  • 使用预训练编码器(CLIP 和 Whisper)结合适配器微调,在保持各模态独立性能的同时,实现了联合多模态推理。
  • 所有模型和数据集均已开源,为未来多模态大语言模型的研究提供了可复现的基础。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。