Elevating Visual Perception in Multimodal LLMs with Visual Embedding Distillation

Jitesh Jain, Zhengyuan Yang, Humphrey Shi, Jianfeng Gao, Jianwei Yang

VisPer-LM is a novel training framework designed to enhance the visual perception of Multimodal Large Language Models (MLLMs). By distilling knowledge from "expert" vision encoders—specializing in depth, segmentation, and generation—directly into the LLM's hidden layers, VisPer-LM achieves significant gains in spatial reasoning. Notably, it delivers an 8.7% boost in depth estimation while maintaining the inference efficiency of a standard single-encoder model.

The "Glue-and-Train" Problem

Current MLLMs, such as LLaVA, typically follow a "glue-and-train" paradigm: they connect a pre-trained vision encoder to an LLM via a projector and train the system using only natural language supervision (Next Token Prediction).

This approach is inherently "language-heavy." Because the model is primarily rewarded for generating correct text, it often ignores fine-grained visual details—like precise depth or spatial relationships—that aren't explicitly captured by language labels. While some researchers attempt to fix this by feeding multiple vision encoders into the LLM simultaneously, this significantly increases computational costs and latency during inference. VisPer-LM seeks a "vision-centric" middle ground: baking expert visual knowledge into the LLM itself without slowing it down at runtime.

Methods: Visual Embedding Distillation

The core innovation of VisPer-LM is Visual Embedding Distillation. Instead of just feeding visual features as input, the framework forces the LLM's intermediate layers to "learn" what expert models see.

  1. Expert Teachers: The system uses three specialized auxiliary encoders as targets: DINOv2-L for Depth, Swin-L OneFormer for Segmentation, and unCLIP-SD for Generation.
  2. Predictive Embedding Optimization: During pre-training, small "Embedding Predictors" are attached to specific LLM layers. These predictors attempt to reconstruct the expert features from the LLM's hidden states.
  3. Coupled Loss: The model is trained on a joint objective combining standard text loss (Next Token Prediction) with an Embedding Loss (a mix of Smooth-L1 and InfoNCE contrastive loss) that aligns the LLM's internal representations with the expert visual features.
  4. Inference Efficiency: Crucially, the auxiliary encoders and predictors are only used during training. At inference, VisPer-LM uses only a single base vision encoder, making it as fast as a standard LLaVA model.
Figure 1: Comparison of MLLM training paradigms. VisPer-LM (c) distills target information into intermediate representations, avoiding the inference overhead of multi-encoder setups.

Key Insights and Probing the "Black Box"

Through extensive probing, the researchers uncovered a staggering 0.98 correlation between the quality of an LLM's internal visual representations (specifically depth) and its downstream performance on perception tasks. If the LLM "understands" depth internally, it answers spatial questions much more accurately.

Furthermore, layer-wise analysis revealed the existence of "Goldilocks" Layers. The middle layers (layers 12–24 of a 32-layer LLM) proved to be the most visually rich. Distilling information into these layers is significantly more effective than targeting the very beginning or the very end of the model. VisPer-LM successfully bridges the representation gap between single-encoder and computationally heavy multi-encoder models.

Figure 2: Layer-wise probing reveals that visual representation quality peaks in the middle layers of the LLM, with VisPer-LM serving as a strong tradeoff between efficiency and representation quality.

Performance and Results

  • Spatial Mastery: VisPer-LM improved performance on the Depth task in CV-Bench by 8.7% compared to the LLaVA-1.5 baseline.
  • General Improvement: Across various benchmarks (including MMStar, RWQA, and POPE), it provided an average boost of 2.5%, demonstrating that improving perception does not compromise general reasoning.
  • Efficiency: VisPer-LM achieved a throughput of ~9.8 samples/sec, nearly identical to a single-encoder baseline (9.9 samples/sec) and almost double the speed of a multi-encoder approach (5.3 samples/sec).
  • Competitive Edge: It outperformed much larger, resource-intensive models like Cambrian-1 on several perception-focused tasks, despite being trained on significantly less data.

Limitations and Future Work

Currently, VisPer-LM is limited to static images. Applying similar predictive embedding techniques to video could drastically improve spatial-temporal reasoning, which is vital for applications like motion control in robotics. Additionally, while this study used three specific experts, incorporating more general-purpose "teacher" models could further enhance general reasoning. Finally, scaling this distillation method from 7B/8B parameter models to 70B+ models remains an exciting frontier for future research.

Summary updated

BibTeX
@inproceedings{jain2025elevating,
  author = {Jitesh Jain and Zhengyuan Yang and Humphrey Shi and Jianfeng Gao and Jianwei Yang},
  title = {{Elevating Visual Perception in Multimodal LLMs with Visual Embedding Distillation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=AZ1iyo58F8},
}
Figure