Law of Vision Representation in MLLMs

Shijia Yang, Bohan Zhai, Quanzeng You, Jianbo Yuan, Hongxia Yang, Chenfeng Xu · Submission to ICLR 2025 · Rejected

TL;DR

Finding the best vision encoder for a Multimodal Large Language Model (MLLM) typically requires expensive, trial-and-error language model finetuning. This paper introduces the Law of Vision Representation, demonstrating that an MLLM’s downstream performance is largely governed by a quadratic relationship between two properties: Cross-modal Alignment ($A$) and Visual Correspondence ($C$). By evaluating these two scores cheaply, the proposed AC policy identifies top-performing vision backbones while cutting search compute costs by 99.7%.

What Problem Does This Paper Address?

Integrating vision encoders into MLLMs is still an empirical guessing game. Researchers constantly swap vision backbones—testing CLIP, SigLIP, DINOv2, diffusion features, or multi-encoder concatenations—to see what sticks.

However, evaluating even a single encoder conventionally requires end-to-end instruction finetuning of a multi-billion-parameter language model. Exploring combinations across a dozen candidate encoders can easily consume tens of thousands of GPU hours. Crucially, the field lacks a principled understanding of which fundamental visual properties actually drive downstream multimodal performance.

Methods

The authors formalize the Law of Vision Representation for decoder-only MLLMs: model performance $Z$ can be modeled as a quadratic function of vision-language alignment ($A$) and visual correspondence ($C$):

$$Z \approx \sum_{\alpha=0}^{2} \sum_{\beta=0}^{2-\alpha} w_{\alpha\beta} A^\alpha C^\beta$$

  1. Alignment Score ($A$): Measures how naturally visual features map into the frozen LLM's representation space. The authors freeze the LLM and encoder, train only a lightweight 2-layer MLP projector (Stage 1), and compute the average log-likelihood of target caption tokens on 100 sample images.
  2. Correspondence Score ($C$): Measures intra-image and semantic patch-level granularity via the Percentage of Correct Keypoints ([email protected]) on cross-image semantic matching. High correspondence ensures the model resolves fine-grained spatial parts.
  3. The AC Policy: Instead of training all $k$ encoder setups fully:
  4. Calculate $(A, C)$ scores for all candidate vision backbones (requiring only cheap Stage 1 training).
  5. Finetune the full MLLM on only a tiny subset ($k' \ll k$, e.g., 3 to 4 models) chosen via a 2D coordinate-space sampling strategy.
  6. Fit the quadratic regression surface on these sample runs and predict performance across the remaining candidates to select the top architecture.
Candidate Encoders ──► Cheap Stage 1 & SPair Eval ──► (A, C) Scores ──► Subsample & Train k' LLMs ──► Fit Quadratic Surface ──► Predict Optimal Backbone

Datasets

  • Pretraining & Alignment:
  • Stage 1 (Projector alignment): LLaVA-1.5 558K dataset (subset of LAION, CC, SBU).
  • Stage 2 (Full finetuning): Expanded LLaVA-1.5 665K instruction dataset.
  • Correspondence Measurement: SPair-71k (semantic keypoint matching benchmark).
  • Evaluation Benchmarks:
  • Vision-centric: MMBench, MME, OKVQA, and SEED-Bench.
  • OCR / Reasoning-centric: MMMU, TextVQA, VizWiz, and ScienceQA.

(No new benchmark datasets were introduced in this work.)

Key Insights and Ideas

  • The Trade-Off in Existing Vision Encoders: Existing vision models exhibit an inverse relationship between alignment and correspondence. Contrastive models (CLIP, SigLIP) have high $A$ but low $C$ (they capture holistic semantics but lack local geometric precision). Self-supervised (DINOv2) and generative models (Stable Diffusion) boast high $C$ but low $A$.
  • Synergistic Quadratic Dynamics: Fitting quadratic interaction terms ($\alpha_{AC}$) reveals that on most benchmarks (e.g., MMBench, TextVQA), $A$ and $C$ act synergistically ($\alpha_{AC} > 0$). Improving one factor unlocks the benefits of the other. Consequently, concatenating high-$A$ and high-$C$ encoders (such as CLIP + DINOv2) reaches the performance "sweet spot."
  • Equivalence to Language-Only Tuning: Theoretically, when visual tokens are well-aligned ($A$ is high), feeding multimodal inputs into a Lipschitz-continuous LLM closely approximates language-only finetuning, drastically reducing sample complexity.

Key Results

  • Predictive Power: Fitting the quadratic AC formulation across 15 encoder configurations yields an average coefficient of determination ($R^2$) of 94.06% on vision benchmarks and 83.85% on OCR benchmarks (tested on Vicuna-7B; verified similarly on Qwen-2.5-14B with $R^2 > 90\%$).
  • Search Efficiency: Using a budget of just 4 full LLM training runs, the AC policy achieves 87.72% Recall@3 in retrieving the optimal vision encoder across 6 benchmarks (reaching 91.7% on OKVQA), compared to only 26.7% for random subset selection.
  • Compute Savings: Because Stage 1 updates only the 2-layer MLP projector (~0.298% of total trainable parameters), screening vision encoders via AC policy yields a 99.7% reduction in GPU compute compared to brute-force LLM finetuning.

Limitations and Future Work

  • The OCR Disconnect: The correlation degrades on OCR-heavy benchmarks (such as parts of MME and MMMU). SPair-71k measures correspondence on natural objects (animals, vehicles) rather than text characters or chart layouts. While CLIP naturally preserves text glyph correspondence, DINOv2 does not.
  • Dataset Biases in $A$: The LLaVA-558K dataset used to measure $A$ underrepresents dense symbolic, chart, and OCR data.
  • Future Directions: The authors highlight an urgent need for the community to build OCR-specific semantic correspondence benchmarks and specialized short-caption datasets to accurately characterize visual representation quality in document and text-heavy visual tasks.

Summary updated

BibTeX
@inproceedings{yang2025law,
  author = {Shijia Yang and Bohan Zhai and Quanzeng You and Jianbo Yuan and Hongxia Yang and Chenfeng Xu},
  title = {{Law of Vision Representation in MLLMs}},
  booktitle = {COLM},
  year = {2025},
  url = {https://openreview.net/forum?id=4d69EwfKAr},
}
Figure