Abstract
ConvLLaVA introduces a paradigm shift in the visual architecture of Large Multimodal Models (LMMs) by replacing the ubiquitous Vision Transformer (ViT) with a hierarchical convolutional network (ConvNeXt). By utilizing a five-stage architecture with a 64× downsampling ratio, ConvLLaVA processes ultra-high-resolution images (up to 1536×1536) while generating significantly fewer visual tokens than existing methods. This approach results in a 7B-parameter model that achieves state-of-the-art performance on fine-grained visual tasks, particularly document understanding and OCR, while maintaining high computational efficiency.
The Bottleneck of Vision Transformers
Most contemporary LMMs, such as LLaVA, utilize Vision Transformers (ViT) as their primary visual encoders. While effective, ViTs impose two significant computational "taxes" that hinder scaling to high resolutions:
- Quadratic Complexity: The computational cost of self-attention in ViTs grows quadratically ($O(N^2)$) relative to the number of input patches, making high-resolution processing prohibitively expensive.
- Token Explosion: ViTs typically produce a large number of visual tokens at high resolutions. Since these tokens are processed by the Large Language Model (LLM)—often the most computationally intensive part of the system—the resulting "token explosion" creates a massive bottleneck in inference speed and memory usage.
Existing workarounds, such as image cropping or patching, often disrupt the global structural integrity of the image and still result in thousands of tokens. ConvLLaVA addresses this by identifying visual token redundancy as the primary obstacle to efficient high-resolution understanding.
Proposed Method: ConvLLaVA Architecture
ConvLLaVA replaces the "flat" ViT architecture with a hierarchical ConvNeXt backbone. Hierarchical models are naturally suited for high-resolution tasks because they progressively compress spatial information into higher-level semantic features.
Five-Stage Compression
A standard ConvNeXt model typically consists of four stages with a total downsampling ratio of 32×. To handle 1536×1536 inputs without overwhelming the LLM, the authors introduced a 5th stage, increasing the total compression to 64×. This allows a 1536-resolution image to be represented by just 576 tokens—the same number of tokens LLaVA-1.5 uses for a much smaller 336-resolution image. This architectural choice ensures that resolution increases do not lead to a linear or quadratic increase in the LLM's workload.
Training Strategy
The model follows a rigorous three-stage training procedure designed to bridge the gap between low-resolution pretraining and high-resolution application:
- Projector Initialization: Aligning visual features from the encoder with the LLM's word embedding space.
- Vision-Language Pretraining: Training on high-quality captioning data (e.g., ShareGPT4V, ALLaVA) to develop robust visual-semantic alignment.
- Visual Instruction Tuning: Fine-tuning on diverse task-oriented datasets to enable complex reasoning and instruction following.
A key finding was that "unfreezing" the ConvNeXt encoder during the later stages of training is essential. This allows the backbone to adapt to the high-resolution features required for multimodal tasks, which differ significantly from the low-resolution ImageNet data it was originally trained on.
Key Insights and Results
Efficiency and Resolution
ConvLLaVA demonstrates that high-resolution images contain significant redundancy. By compressing the image 64×, the model retains information-rich features while discarding noise. The researchers found that a high-resolution image compressed into 576 tokens consistently outperforms a low-resolution image represented by the same number of tokens. The "quality" of the features is higher because the encoder processes fine-grained details before the final compression stage.
Benchmark Performance
ConvLLaVA-7B outperforms much larger models, including LLaVA-1.5-13B, across a wide array of benchmarks (MME, MMBench, MMMU). Its strengths are most apparent in document-centric tasks:
- OCR Powerhouse: On the DocVQA benchmark, ConvLLaVA-7B achieved a score of 59.0, a dramatic improvement over LLaVA-1.5's 23.7.
- Training Speed: Despite its high-resolution capabilities, training the 1536-resolution model took only 9 hours on a single machine, highlighting the efficiency of the convolutional approach.
Conclusion
ConvLLaVA proves that hierarchical convolutional backbones are a viable and highly efficient alternative to Vision Transformers for LMMs. By prioritizing token compression through a five-stage architecture, ConvLLaVA enables high-resolution visual understanding without the computational overhead typically associated with large-scale multimodal models. Future work may involve designing hierarchical encoders specifically optimized for LMMs from scratch to further push the boundaries of resolution and efficiency.
Summary updated