Skip to main content
QUICK REVIEW

[Paper Review] SPHINX-X: Scaling Data and Parameters for a Family of Multi-modal Large Language Models

Liu, Dongyang, Renrui Zhang|arXiv (Cornell University)|Feb 8, 2024
Natural Language Processing TechniquesComputer Science10 citations
TL;DR

SPHINX-X expands SPHINX by scaling data and parameters, simplifying architecture, and training in a one-stage all-in-one pipeline to build a family of multi-modal LLMs across various base models.

ABSTRACT

We propose SPHINX-X, an extensive Multimodality Large Language Model (MLLM) series developed upon SPHINX. To improve the architecture and training efficiency, we modify the SPHINX framework by removing redundant visual encoders, bypassing fully-padded sub-images with skip tokens, and simplifying multi-stage training into a one-stage all-in-one paradigm. To fully unleash the potential of MLLMs, we assemble a comprehensive multi-domain and multimodal dataset covering publicly available resources in language, vision, and vision-language tasks. We further enrich this collection with our curated OCR intensive and Set-of-Mark datasets, extending the diversity and generality. By training over different base LLMs including TinyLlama1.1B, InternLM2-7B, LLaMA2-13B, and Mixtral8x7B, we obtain a spectrum of MLLMs that vary in parameter size and multilingual capabilities. Comprehensive benchmarking reveals a strong correlation between the multi-modal performance with the data and parameter scales. Code and models are released at https://github.com/Alpha-VLLM/LLaMA2-Accessory

Motivation & Objective

  • Expand data coverage and parameter scales for multi-modal LLMs to improve generalization across domains.
  • Streamline architecture and training to enhance efficiency and deployment potential on mobile devices.
  • Integrate diverse multi-domain datasets and two targeted datasets (OCR-intensive and Set-of-Mark) to boost visual and textual capabilities.
  • Demonstrate performance gains across base LLMs with varying parameter counts and multilingual support.

Proposed method

  • Modify SPHINX by keeping two visual encoders (DINOv2 and CLIP-ConvNeXt) to form MoV.
  • Introduce learnable skip tokens to bypass fully-padded sub-images and reduce sequence length.
  • Convert a wide range of language, vision, and vision-language data into a unified multi-turn conversational format for one-stage training.
  • Aggregate a large multi-domain dataset including OCR-intensive and Set-of-Mark data alongside public vision-language resources.
  • Train SPHINX-X variants on base LLMs such as TinyLlama-1.1B, InternLM2-7B, LLaMA2-13B, and Mixtral-8×7B in a single-stage pipeline.
  • Evaluate how data and parameter scale correlate with multi-modal performance across benchmarks.

Experimental results

Research questions

  • RQ1How does data scale affect multi-modal performance across different base LLM sizes?
  • RQ2What is the impact of reducing visual encoders and using skip tokens on efficiency and accuracy?
  • RQ3Can a single-stage all-in-one training pipeline match or surpass multi-stage training for MLLMs?
  • RQ4To what extent do OCR-intensive and Set-of-Mark datasets improve domain-specific capabilities?
  • RQ5Do multilingual and multi-domain capabilities improve with increased parameter counts and diverse data?

Key findings

  • Enlarged data and larger LLM parameters correlate with improved multi-modal understanding across benchmarks.
  • SPHINX-X with two visual encoders (MoV) plus skip tokens reduces sequence length and maintains performance.
  • A one-stage all-in-one training pipeline successfully unifies diverse datasets and tasks for MLLMs.
  • OCR-intensive and Set-of-Mark data enhance OCR and fine-grained multi-modal capabilities.
  • SPHINX-Plus and SPHINX-MoE variants show improvements over the original SPHINX when using scaled data and parameters.
  • Scaling base LLMs from 1.1B to up to 7×8B parameters consistently boosts multi-modal reasoning under the same training pipeline.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.