TL;DR
SPHINX-X is a new family of Multi-modal Large Language Models (MLLMs) that scales from 1.1B to over 56B parameters, demonstrating that joint scaling of data and model size is the key to superior performance. By streamlining the architecture with a "Mixture of Visual Experts" and a simplified one-stage training paradigm, the authors achieved state-of-the-art results across a vast array of benchmarks, from geometric reasoning to GUI grounding.
What Problem Does This Paper Address?
While MLLMs have advanced rapidly, they often suffer from two main bottlenecks. First, limited data coverage: many models are trained primarily on natural images, leaving them weak in specialized domains like OCR, mathematical reasoning, and document understanding. Second, architectural and training inefficiency: existing frameworks often rely on complex multi-stage training pipelines and redundant visual encoders that waste computational resources, especially when processing high-resolution images with large aspect ratios.
SPHINX-X tackles these issues by assembling a massive, multi-domain dataset and introducing architectural refinements that make scaling both parameters and data more efficient.
Methods
The authors build upon the original SPHINX framework but introduce three critical modifications to improve efficiency and performance:
- Mixture of Visual Experts (MoV): Instead of using four redundant encoders, SPHINX-X uses just two: DINOv2 (self-supervised ViT) and CLIP-ConvNeXt (weakly-supervised CNN). These provide highly complementary visual semantics while significantly reducing computational overhead.
- Skip Tokens for Efficiency: To handle high-resolution images, SPHINX-X divides them into sub-images. For images with large aspect ratios, many sub-images are just empty padding. The authors introduced a learnable skip token to replace these fully-padded sub-images, allowing the LLM to bypass useless visual signals and focus on informative regions.
- One-Stage All-in-One Training: The authors replaced the traditional multi-stage pipeline (aligning encoders, then instruction tuning) with a single-stage approach. All parameters (except the visual encoders) are unfrozen and trained simultaneously on the entire multi-modal dataset.
Datasets
The researchers assembled a comprehensive training corpus covering language, vision, and vision-language tasks. Key highlights include:
- Public Resources: Standard datasets like UltraChat, ShareGPT4V, and LLaVA.
- OCR-intensive Data: A curated 3M-page dataset rendered from PDFs (arXiv, Common Crawl) with high-quality text annotations and bounding boxes.
- Multi-Domain Set-of-Mark (SoM): A new dataset using GPT-4V to generate fine-grained region captions and object-relation analysis, prompted by visual marks (points, boxes) on raw images.
Key Insights and Ideas
- Scaling Laws for MLLMs: The paper provides clear evidence that multi-modal performance correlates strongly with both data and parameter scales. As shown in Figure 1, moving from 1B to 8x7B parameters yields consistent gains.
- Architectural Simplicity Wins: By removing redundant encoders and simplifying the training pipeline, the authors show that MLLMs can be made more robust without increasing complexity.
- The Power of "Skip Tokens": This simple mechanism effectively addresses the "padding problem" in high-resolution image processing, saving significant sequence length for the LLM.
Key Results
The SPHINX-X family was tested across a spectrum of base LLMs: TinyLlama-1.1B, InternLM2-7B, LLaMA2-13B, and Mixtral-8x7B.
- SPHINX-MoE (Mixtral-8x7B): Achieved top-tier performance on benchmarks like MathVista (42.7) and SciVerse (37.3), outperforming many larger closed-source models in scientific and mathematical reasoning.
- Versatility: The models demonstrated exceptional capabilities in diverse tasks, including bilingual understanding, GUI grounding (detecting icons on phone screens), and complex pose estimation.
- Data Scaling Efficacy: SPHINX-Plus (13B) significantly outperformed the original SPHINX (13B) despite using a similar architecture, proving the value of their curated OCR and SoM datasets.
Limitations and Future Work
Despite its strengths, SPHINX-X has a few notable limitations:
- Multi-disciplinary Knowledge: The authors noted that SPHINX-MoE still struggles with highly specialized multi-discipline tasks (like those in the MMMU benchmark), likely due to a lack of such data in the training set.
- Temporal Modeling: As an image-based MLLM, it lacks native temporal modeling for video. While it performs well on video benchmarks by analyzing representative frames, it cannot yet model complex temporal relationships.
- Future Directions: The team plans to incorporate more multi-disciplinary data and explore native video understanding in future iterations.
Summary updated