Abstract
Vision as LoRA (VoRA) introduces a novel paradigm for building Multimodal Large Language Models (MLLMs) by eliminating the need for external vision encoders. Instead of the traditional modular design, VoRA internalizes visual processing within the LLM itself using mergeable Low-Rank Adaptation (LoRA) layers. By employing block-wise distillation from a teacher Vision Transformer (ViT), VoRA achieves performance parity with state-of-the-art encoder-based models like LLaVA, while offering zero additional computational overhead during inference and native support for arbitrary image resolutions.
Introduction
Current Multimodal LLMs typically rely on a modular architecture consisting of a pre-trained vision encoder (e.g., ViT), a connector module, and a backbone LLM. While successful, this approach introduces significant structural complexity, increases inference latency, and imposes fixed-resolution constraints inherited from the vision encoder. Furthermore, attempts to feed raw pixels directly into LLMs often lead to "catastrophic forgetting," where the model's linguistic reasoning degrades as it learns visual features.
VoRA addresses these challenges by treating vision as a task-specific adaptation of the LLM. By integrating vision-specific LoRA layers, the model learns to process pixels as native tokens without compromising its core language capabilities.
The VoRA Paradigm
The core of VoRA lies in three architectural and training innovations designed to bridge the gap between vision and language processing.
Vision as LoRA
Rather than adding a heavy external backbone, VoRA inserts Low-Rank Adaptation (LoRA) layers into the LLM blocks. During the vision-learning phase, only these LoRA weights and the input embedding layer are updated, while the original LLM parameters remain frozen. This separation prevents the corruption of pre-trained language knowledge. Post-training, these LoRA weights can be mathematically merged into the base LLM, resulting in a unified model with no extra parameters or latency during inference.
Block-wise Distillation
To accelerate the acquisition of visual priors, VoRA utilizes a "teacher-student" distillation framework. During pre-training, the hidden states of the LLM's blocks are aligned with corresponding blocks from a pre-trained ViT teacher using a cosine loss. This block-level alignment ensures that the LLM learns hierarchical visual features efficiently, rather than just matching final outputs.
Bi-directional Attention for Vision
Standard LLMs use causal attention, which is suboptimal for spatial data like images. VoRA introduces a hybrid attention mechanism: a bi-directional mask is applied to visual tokens, allowing each patch to attend to the entire image context, while a causal mask is maintained for textual tokens to preserve generative capabilities. This simple change significantly improves performance on spatial reasoning benchmarks.
Experimental Results
VoRA was evaluated across 12 standard benchmarks, including VQAv2, ScienceQA, and MMMU. Using a Qwen2.5-7B base, VoRA achieved an average score of 55.6, matching the performance of the encoder-based LLaVA-1.5 (55.3).
Key advantages observed include:
- Inference Efficiency: By merging LoRA weights, VoRA maintains the exact same memory and compute footprint as the original LLM.
- Resolution Flexibility: Without a fixed-resolution ViT backbone, VoRA can process images of any size, limited only by the LLM's sequence length capacity.
- Data Efficiency: The block-wise distillation allowed the model to reach peak performance with 35.5% fewer training steps compared to a vanilla pixel-to-LLM setup.
Limitations and Future Work
While VoRA demonstrates the viability of encoder-free MLLMs, it requires substantial pre-training data (~30M samples) to learn visual features from scratch. Additionally, the current implementation treats every image patch as a token, which can lead to long sequences for high-resolution images. Future research will focus on token pruning techniques and expanding the diversity of pre-training data to improve the model's world knowledge.
Summary updated