Manuscript Offprint

arXiv:2610.17853

DVTR-KD: Distilling Vision-Language Models via Intermediate Visual Token Reconstruction

Haolan Wei, Jiahui Wang, Junli Zha, Xinkai Lu, Yunxiao Zou, Chao Zhou, Xiang Song

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Multimodal large language models (MLLMs) have achieved strong performance on diverse vision-language tasks, but their computational demands limit deployment under constrained budgets, particularly on edge devices. Many works focus on Knowledge Distillation (KD) and try to transfer knowledge from powerful teacher models to students. In addition to reducing model size, visual token compression provides a complementary route to efficiency, but introduces mismatched visual token counts that complicate direct token-wise knowledge transfer. To mitigate this, we propose DVTR-KD, a knowledge distillation framework based on Dense Visual Token Reconstruction, which reconstructs the teacher's dense visual tokens from the student's compressed tokens. We reconstruct visual states after the final LLM layer and at the input to an intermediate layer identified as important for visual-information readout. At the intermediate layer, reconstruction is supervised through the teacher's response predictions rather than by direct token-wise KL or MSE matching. An auxiliary attention-readout loss complements this response-level supervision by aligning how the student and the original teacher integrate contextual information when predicting responses. Evaluations on diverse benchmarks demonstrate that DVTR-KD improves the performance of token-compressed students while retaining the inference efficiency afforded by visual token compression.

1. Introduction

Large language models (LLMs) [2, 6, 13, 15, 38] have achieved strong performance in language understanding, generation, and reasoning. Building upon these advances, recent studies have sought to extend LLMs beyond the text modality by integrating visual perception capabilities, giving rise to Multimodal Large Language Models (MLLMs). By connecting vision encoders with powerful LLMs [3, 19, 20, 23, 24], MLLMs are able to perceive visual content and perform language-based reasoning over multimodal inputs. This paradigm has achieved impressive performance across a wide range of vision-language tasks, including visual question answering [1, 14, 17, 29], image understanding [27], optical character recognition [28, 30, 31, 33], and visual reasoning [39], establishing MLLMs as a promising foundation for general-purpose multimodal intelligence.

However, unlike earlier MLLMs that process images at fixed resolutions [23–25, 40], advanced models increasingly support native-resolution visual inputs to preserve fine-grained visual information [3, 20]. While such designs improve visual perception, especially for high-resolution images in perception tasks, they often produce substantially longer visual token sequences and consequently introduce considerable computational cost. This issue becomes particularly pronounced in the LLM decoder, where the computational cost grows quadratically with the sequence length. To improve the inference efficiency, some researchers focus on reducing the number of visual tokens while preserving the capabilities of MLLMs [9, 35]. These methods reduce visual redundancy, enabling MLLMs to process high-resolution visual inputs with significantly fewer tokens.

Knowledge distillation (KD) provides an effective way for transferring knowledge from a knowledgeable teacher model to a student model, typically by encouraging the student to imitate the teacher's output distributions or representations. In the context of MLLMs, several studies have explored knowledge transfer between teacher and student MLLMs. LLaVA-KD [4], for example, presents a comprehensive MLLM distillation framework that combines conventional response distillation with visual representation and relation distillation. However, relatively little attention has been paid to distillation between a teacher and a token-compressed student, where the teacher and student produce visual sequences of substantially different lengths. EM-KD [11] addresses this mismatch using the Hungarian matching algorithm to establish one-to-one correspondences between teacher and student visual tokens. Despite its effectiveness, such one-to-one matching inherently utilizes only a subset of the teacher's dense visual tokens. Given NTN_T teacher tokens and NS<NTN_S < N_T student tokens, one-to-one matching uses at most NSN_S teacher tokens, leaving at least a fraction 1−NS/NT1 - N_S / N_T without direct token-level supervision. Consequently, an increasingly large fraction of the teacher's visual representations remains unmatched as the compression ratio increases, potentially limiting the fine-grained visual knowledge transferred to highly compressed students.

To address this limitation, we propose DVTR-KD, which takes different direction: rather than selecting a subset of teacher tokens to match the compressed student sequence, we reconstruct dense visual representations from the student's compressed visual tokens and align them with the complete teacher visual sequence. By performing token-wise distillation on the reconstructed representations, DVTR-KD allows supervision from all teacher visual tokens, encouraging the compressed student representations to preserve sufficient information to recover the teacher's fine-grained visual knowledge.

In addition, while Align-KD [10] explores cross-modal distillation through first-layer attention and visual-feature alignment, the importance of visual information may vary across different depths of the LLM. To investigate this, we conduct a layer-wise visual ablation study on MLLMs built upon Qwen3 [38] and MoonViT [19], trained under different compression ratios and quantities of training samples. Specifically, we zero out the value vectors of visual tokens in the self-attention module of one LLM layer at a time and measure the resulting increase in response NLL. As illustrated in Figure 1, removing visual information at the first layer has a relatively limited impact, whereas perturbations at certain intermediate layers lead to substantially larger degradation. We refer to the layer exhibiting the largest Δ\DeltaNLL as the Principal Visual Readout Layer (PVRL). We observe that for a given LLM backbone, the PVRL remains same across different training data scales and visual token compression ratios. Meanwhile, stronger models consistently exhibit smaller performance degradation under the same intervention, suggesting different degrees of sensitivity to visual information at this critical layer.

These observations motivate us to perform visual knowledge distillation at the model's PVRL, where visual information has a particularly strong influence on response predictions. Specifically, DVTR-KD employs a reconstructor to recover the teacher's dense visual representations from the student's compressed visual states. The reconstructed representations are then processed by the remaining teacher layers, providing teacher-guided supervision that encourages the student to preserve visual information essential for subsequent language generation. We also align the student's

(a) Qwen3-0.6B

Figure

(b) Qwen3-4B

Figure 1. Layer-wise sensitivity to visual-value ablation after SFT and before distillation. We zero the value vectors of all visual tokens in one transformer layer at a time and report the change in response NLL ( Δ\DeltaNLL), averaged over the same diagnostic subset. In the legends, 1×1\times denotes uncompressed models, while 4×4\times and 16×16\times denote models with nominal fourfold and sixteenfold reductions in visual-token count. The sample counts are summed over all training datasets before distillation.

native attention outputs with those of the original teacher at the PVRL. Together with response distillation and final-layer visual distillation, these objectives supervise both the reconstructed visual states and the student's own use of multimodal context.

Extensive experiments demonstrate that DVTR-KD consistently improves the performance of compressed MLLMs across different model scales and compression ratios.

In conclusion, our contributions are as follows:

• We propose DVTR-KD, which reconstructs dense visual states from compressed student tokens to enable distillation between models with different visual sequence lengths.

• We use layer-wise visual-value interventions to select an intermediate reconstruction layer. We supervise reconstruction at the selected layer using response predictions from the remaining teacher layers.

• We evaluate DVTR-KD on various benchmarks. The experimental results demonstrate that across the evaluated settings, DVTR-KD achieves state-of-the-art (SOTA) performance, without adding modules or computation at inference time.

References (37)