Vision as LoRA
Han Wang, Yongjie Ye, Bingru Li, Yuxiang Nie, Jinghui Lu, Jingqun Tang, Yanjie Wang, Can Huang
TL;DR
VoRA introduces a novel encoder-free MLLM paradigm by embedding vision into an LLM via mergeable LoRA layers, avoiding external vision modules during inference. It strengthens vision understanding with block-wise distillation from a pre-trained ViT and uses bi-directional attention masks for vision tokens, enabling native-resolution vision processing. With a mixed data strategy of image-caption and text-instruction data, VoRA achieves competitive performance on multiple benchmarks relative to encoder-based baselines, while reducing inference overhead. Limitations include dependency on additional pretraining data and weaker world-knowledge performance, suggesting directions for data augmentation and token-compression improvements to broaden practical impact.
Abstract
We introduce Vision as LoRA (VoRA), a novel paradigm for transforming an LLM into an MLLM. Unlike prevalent MLLM architectures that rely on external vision modules for vision encoding, VoRA internalizes visual capabilities by integrating vision-specific LoRA layers directly into the LLM. This design allows the added parameters to be seamlessly merged into the LLM during inference, eliminating structural complexity and minimizing computational overhead. Moreover, inheriting the LLM's ability of handling flexible context, VoRA can process inputs at arbitrary resolutions. To further strengthen VoRA's visual capabilities, we introduce a block-wise distillation method that transfers visual priors from a pre-trained ViT into the LoRA layers, effectively accelerating training by injecting visual knowledge. Additionally, we apply bi-directional attention masks to better capture the context information of an image. We successfully demonstrate that with additional pre-training data, VoRA can perform comparably with conventional encode-based MLLMs. All training data, codes, and model weights will be released at https://github.com/Hon-Wong/VoRA.
