TL;DR
This paper introduces Baichuan-omni, a 7B open-source omni-modal Large Language Model (LLM) capable of processing text, image, video, and audio simultaneously. It aims to provide a high-performing, accessible alternative to proprietary models like GPT-4o, enabling more natural and advanced multimodal interactions.
What Problem Does This Paper Address?
The field of AI has seen a significant leap with the advent of Multimodal Large Language Models (MLLMs) like GPT-4o, which can understand and interact across various modalities. However, the open-source community has lagged behind, lacking high-performing models that can handle multiple modalities concurrently and offer sophisticated interactive experiences. This gap limits the broader adoption and development of advanced multimodal AI applications. Baichuan-omni aims to bridge this gap by providing a powerful, open-source omni-modal LLM.
Methods
Baichuan-omni employs a three-stage training pipeline:
- Omni-Modal Data Construction: A comprehensive dataset is built by combining open-source, synthetic, and internally annotated data across text, image-text, video-text, and audio-text modalities. This includes specific datasets for Automatic Speech Recognition (ASR) and Audio Question Answering (AQA).
- Multimodal Alignment Pre-training: This phase involves aligning encoders and connectors across modalities. It starts with image-text pre-training, then video-language pre-training using a frozen vision encoder, and finally audio-language pre-training using a Whisper-large-v3 encoder and a novel audio projector (Conv-GMLP). The final "Omni-Alignment" stage trains all modules together on a mixture of data.
- Multimodal Supervised Fine-tuning (SFT): A multi-task cross-modal interaction training corpus is used for fine-tuning. This stage leverages a packing technique for efficient batch processing and aims to improve the model's instruction-following capabilities across diverse multimodal tasks.
A key architectural component is the Conv-GMLP for audio processing, which uses convolutional layers to down-sample audio representations while preserving more information compared to traditional pooling methods. For visual processing, they explore various vision encoders and utilize AnyRes for dynamic resolution handling.
Datasets
The paper details the construction of a large, high-quality omni-modal dataset for training. Key datasets mentioned include:
- Image-Text: PIN-14M, MINT-1T, LAION-5B, OBELIC, Cauldron, MM-Self-Instruct, MMTab.
- Video-Text: NExTVideo, ActivityNet-QA, ShareGPT4Video, WebVid.
- Audio-Text: Datasets for ASR and AQA (specific names not detailed but include open-source and in-house sources).
- Cross-Modal Interaction Data: Synthesized data for image-audio-text and video-audio-text interactions, including tasks like image captioning, OCR, and chart QA.
- Evaluation Benchmarks:
- Language: MMLU, CMMLU, AGIEval, C-Eval.
- Image Understanding: MMBench-EN, MMBench-CN, M3GIA, SEEDBench, RealWorldQA, MMMU, MathVista, MME, MMVet, TextVQA, OCRBench, ChartQA, HallusionBench.
- Video Understanding: Perception-Test, MVBench, VideoMME, EgoSchema, ActivityNet-QA, MSVD-QA.
- Audio Understanding: Fleurs, WenetSpeech, KeSpeech (for ASR), Covost2 (for S2TT), AIR-Bench (for chat).
Key Insights and Ideas
- Open-Source Omni-Modal Powerhouse: The creation of a 7B omni-modal model that rivals proprietary capabilities is a significant step for the open-source community.
- Effective Multimodal Training Strategy: The paper demonstrates the effectiveness of a staged pre-training and fine-tuning approach, starting with unimodal strengths and progressively integrating modalities.
- Conv-GMLP for Robust Audio: The novel Conv-GMLP architecture shows promising results in handling audio down-sampling without significant performance degradation, crucial for real-time applications.
- AnyRes for Dynamic Visuals: Using AnyRes for dynamic resolution handling in visual encoders improves performance, especially for tasks requiring fine-grained detail.
- Data Quality is Paramount: The emphasis on constructing high-quality, diverse datasets, including synthesized data and careful filtering, is highlighted as critical for achieving strong multimodal performance.
Key Results
Baichuan-omni demonstrates strong performance across various benchmarks:
- Language: Outperforms open-source pure-text LLMs and shows competitive results against proprietary models on benchmarks like MMLU and C-Eval. It notably surpasses VITA on Chinese benchmarks (CMMLU, C-Eval).
- Image Understanding: Competitively performs against state-of-the-art open-source vision-language models like MiniCPM-Llama3-V 2.5 and omni-modal models like VITA, excelling in tasks requiring expert perception and reasoning.
- Video Understanding: Outperforms VITA on General Video QA benchmarks and shows competitive results against proprietary models on benchmarks like Egoschema and MVBench. It achieves SoTA performance on ActivityNet-QA and MSVD-QA among open-source models.
- Audio Understanding: Exhibits strong audio transcription capacity, outperforming Qwen2-Audio-Instruct on Chinese ASR benchmarks and showing significant improvement over VITA in CER performance. It also shows competitive results in Speech-to-Text Translation (S2TT) and AIR-Bench.
Limitations and Future Work
- Foundational Modality Improvements: The authors acknowledge room for improvement in individual modality capabilities, specifically mentioning:
- Enhancing text extraction capabilities.
- Supporting longer video understanding.
- Developing an end-to-end TTS system integrated with LLMs.
- Improving the ability to comprehend natural environmental sounds beyond human voices.
- Exploration of Input Length: The paper notes that exploring situations where input exceeds the context length (increasing frames and resolution) is left for future work.
- Model Size: While a 7B model is presented, the paper implicitly suggests that larger models might further push performance boundaries.
- Data Filtering: The paper mentions adopting a filtering method to exclude unknown data from the SFT dataset to avoid diminishing performance returns, suggesting that careful data curation is an ongoing challenge.
Summary updated