EM-KD: Distilling Efficient Multimodal Large Language Model with Unbalanced Vision Tokens

Ze Feng, Sen Yang, Boqiang Duan, Wankou Yang, Jingdong WangarXiv 2025 · DOI

Abstract

Multimodal Large Language Models (MLLMs) are increasingly powerful but suffer from high computational costs due to the large number of vision tokens required for high-resolution processing. While token compression and pruning can improve efficiency, they often lead to a significant loss of fine-grained visual information. Traditional Knowledge Distillation (KD) fails to bridge this gap when the teacher and student models use different numbers of vision tokens, creating a spatial misalignment. We introduce EM-KD, a novel distillation framework designed for "unbalanced vision tokens." By utilizing the Hungarian algorithm for optimal token matching and distilling both semantic logits and vision-language affinities, EM-KD allows efficient student models to outperform existing compression baselines while maintaining high inference speeds.

Introduction

State-of-the-art MLLMs like LLaVA rely on extensive visual patch representations (vision tokens) to understand complex scenes. To deploy these models on edge devices, researchers often reduce the token count. However, this "efficiency" comes at the cost of accuracy. Knowledge Distillation (KD) is typically used to recover this lost performance by having a smaller student model mimic a larger teacher.

A major hurdle in MLLM distillation is the "unbalanced vision token" problem: a teacher might use 576 tokens while an efficient student uses only 144. Standard one-to-one distillation techniques cannot handle this discrepancy. EM-KD addresses this by treating distillation as a bipartite matching problem, ensuring that even with fewer tokens, the student captures the most critical semantic information from the teacher.

Methodology

EM-KD introduces three primary innovations to facilitate distillation between models with mismatched visual architectures:

1. Vision Token Matching

Instead of simple spatial pooling, which can blur distinct visual features, EM-KD treats token alignment as a bipartite matching task. The framework calculates the Manhattan distance between the teacher's and student's vision logits. It then applies the Hungarian algorithm to find the optimal one-to-one correspondence between the student's limited tokens and the teacher's more granular set. This ensures the student learns from the most semantically relevant portions of the teacher's visual representation.

2. Vision Semantic Distillation (VSD)

Traditional KD often distills hidden states, which are abstract numerical vectors. EM-KD instead distills vision logits—the probability distributions over the vocabulary generated by passing vision tokens through the Language Model (LM) head. Because vision tokens in MLLMs often map to specific semantic concepts (e.g., a patch of a "drone" maps to the word "drone"), distilling in the logit space provides a richer and more interpretable training signal.

The EM-KD architecture detailing Vision Token Matching, Vision Semantic Distillation, and Vision-Language Affinity Distillation.

3. Vision-Language Affinity Distillation (VLAD)

The core strength of an MLLM lies in its ability to relate visual features to textual context. VLAD calculates an affinity matrix representing the cross-modal attention between vision and text tokens. By encouraging the student to mimic the teacher’s affinity patterns, the model learns the complex relationships between visual regions and the corresponding linguistic descriptions, rather than just learning visual features in isolation.

Semantic Interpretation of Vision Tokens

A key insight of this work is that the LM head can decode vision tokens into the vocabulary space. As shown in the visualization below, individual image patches often correspond directly to semantic labels. This phenomenon justifies the use of logit-based distillation (VSD), as it leverages the pre-existing semantic mapping within the LLM backbone.

Visualization of vision tokens mapping to semantic text labels, illustrating why logit-based distillation is effective.

Experimental Results

Performance Benchmarks

EM-KD was evaluated across 11 diverse benchmarks, including GQA, ScienceQA, and OCRBench. A 0.6B parameter student model trained with EM-KD achieved an average score of 50.4, significantly outperforming the LLaVA-NeXT baseline (49.4) and other state-of-the-art compression methods like DeCo (47.7) and TokenPacker (47.0).

Efficiency and Latency

Beyond accuracy, EM-KD delivers substantial efficiency gains. The student model achieved a Time to First Token (TTFT) latency of 54.9ms, nearly twice as fast as the uncompressed LLaVA-NeXT (103.3ms). This demonstrates that EM-KD successfully recovers the performance lost during token reduction without sacrificing the speed benefits of a smaller token budget.

Conclusion and Future Work

EM-KD provides a robust framework for distilling knowledge into efficient MLLMs with unbalanced vision tokens. By prioritizing semantic matching and cross-modal affinities over raw feature alignment, it sets a new standard for model compression in the multimodal domain.

Future research may focus on reducing the computational overhead of the Hungarian algorithm during training and exploring "logit-level affinity" to further enhance the cross-modal signal, provided memory constraints can be managed. Additionally, as the quality of the student is currently capped by the teacher's semantic mapping, exploring multi-teacher distillation could be a promising avenue for further scaling.

Summary updated

BibTeX
@misc{feng2025em,
  author = {Ze Feng and Sen Yang and Boqiang Duan and Wankou Yang and Jingdong Wang},
  title = {{EM-KD: Distilling Efficient Multimodal Large Language Model with Unbalanced Vision Tokens}},
  year = {2025},
  eprint = {2511.21106},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.21106},
}
Figure