Introduction
Open-source Multimodal Large Language Models (MLLMs) have advanced rapidly but still struggle to match the performance of proprietary models like GPT-4o in handling complex, mixed-modality inputs. Common issues include high token counts from image tiling, distortion of extreme aspect ratios (e.g., long documents), and a lack of systematic reasoning for domain-specific tasks. Valley2 addresses these challenges with a scalable design optimized for ultra-long videos, multi-image sequences, and high-resolution images within a sub-10B parameter footprint.
Architecture and Methods
Valley2 is built upon the Qwen2.5 LLM and the SigLIP-384 vision encoder. Its architecture introduces several innovations to improve efficiency and performance:
ConvAdapter and Projector
To manage visual tokens without the parameter bloat associated with PixelShuffle, Valley2 utilizes a ConvAdapter. This 2x2 convolution downsamples tokens by 2x while maintaining the hidden dimension, leading to a more stable and lightweight projector compared to previous methods.
The Eagle Module
Standard tiling often distorts images with extreme aspect ratios. Valley2 incorporates a parallel "Eagle" vision module (derived from Qwen2-VL). This dual-encoder setup allows the model to process native aspect ratios dynamically, significantly improving performance on fine-grained document and OCR tasks.
Efficiency through Offline Packing
To handle the variance in sequence lengths between single images and long videos, Valley2 employs an offline packing strategy. By merging multiple instances into a single sequence and using attention masking, the team achieved a 220% improvement in training efficiency without performance loss.
Training and Datasets
The model underwent a multi-stage training curriculum involving over 27 million samples across alignment, knowledge injection, and instruction tuning. A key feature is the Chain-of-Thought (CoT) post-training stage. By including CoT data triggered by specific prompts, the model can switch between direct answering and systematic reasoning.
In addition to standard OpenCompass benchmarks, the authors introduced two domain-specific benchmarks:
- Ecom-Caption: Evaluates text-vision alignment in e-commerce contexts.
- Ecom-VQA: Tests complex reasoning, including action localization and procedural understanding across single/multi-image and video inputs.
Evaluation and Results
Valley2 demonstrates state-of-the-art performance for its size class:
- General Benchmarks: It ranks #2 among models under 10B parameters on OpenCompass, with a notable score of 57.0 on the MMMU benchmark.
- E-commerce Performance: On the Ecom-VQA benchmark, Valley2 achieved a score of 79.66, outperforming Qwen2-VL-7B.
- Efficiency vs. Scale: Remarkably, the 7B-parameter Valley2 outperformed 72B-parameter models on specific OCR and image understanding tasks within the Ecom-VQA suite.
Conclusion
Valley2 proves that architectural refinements like ConvAdapter and specialized modules like Eagle can push sub-10B parameter models to compete with much larger counterparts. While the Eagle module increases computational overhead, the gains in document understanding are significant. Future work will focus on expanding Valley2 into an "omni-model" with native audio support and further refining reasoning through Reinforcement Learning.
Summary updated