arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.17093cs.CVcs.CL
收藏

HEED:基于密度加权残差对齐的混合视觉-语言模型蒸馏

HEED: Density-Weighted Residual Alignment for Hybrid Vision-Language Model Distillation

Princeton University(普林斯顿大学)

Yihao Liang, Niraj K. Jha

AI总结:

本文提出HEED方法,通过密度加权残差对齐改进混合视觉-语言模型蒸馏,提升在OCR和文档任务中的性能,同时在不同教师模型和混合架构上实现高效推理。

摘要:

将视觉-语言模型蒸馏为更高效的混合架构,如3:1 Mamba-2/注意力混合,已成为提高推理效率的标准做法。聚合基准表明这可行,但隐藏了选择性失败。当将Qwen3-VL-8B-Instruct蒸馏为3:1 Mamba-2/注意力混合时,在视觉推理基准如MMStar、MMBench和MMMU-Pro上,学生模型在教师模型附近保持2分差距,但在光学字符识别和文档任务上下降13分。学生模型仍能理解场景,但失去回答所需的细粒度文本。我们发现大部分失败归因于特定位置。在高分辨率图像中,大多数拼图是天空、墙壁或平滑纹理,而一小部分携带文本、边缘、物体边界或其他局部细节。在令牌级诊断中,前10%最高密度拼图的残差漂移比后10%最低密度拼图大3.6倍,且教师遮蔽答案贡献大3.5倍。均匀加权将许多损失项分配给低信息量的背景拼图,而稀疏答案承载拼图未得到特殊保护。所需干预极小:我们用拼图自不相似性作为无监督代理来替代均匀残差对齐,以确定位置重要性。我们称之为HEED。与常规端到端蒸馏相比,HEED在OCRBench v2上提升8.7分,在10个基准平均上提升5.13分。增益在不同教师模型和混合架构上实现。在标准后训练后,学生在10个基准平均上达到教师级性能,具有4.12倍的吞吐量和128k上下文时68%的内存节省,无需额外参数和推理时间成本。

英文摘要:

Distilling vision-language models into faster hybrid architectures, such as 3:1 Mamba-2/attention mixes, is now standard practice for making inference efficient. Aggregate benchmarks suggest that this works but they hide selective failures. When we distill Qwen3-VL-8B-Instruct into a 3:1 Mamba-2/attention hybrid, student model stays within 2 points of the teacher across visual reasoning benchmarks like MMStar, MMBench, and MMMU-Pro, while dropping 13 points on optical-character-recognition and document tasks. The student can still understand the scene but loses the fine-grained text needed to answer. We localize much of the failure to a specific kind of position. In a high-resolution image, most patches are sky, wall, or smooth texture, while a small fraction carries text, edges, object boundaries, or other local details. In a token-level diagnostic, the top 10% highest-density patches have 3.6x larger residual drift than the bottom 10% lowest-density patches and 3.5x larger teacher-masking answer contribution. Uniform weighting devotes many loss terms to low-information background patches, whereas sparse answer bearing patches receive no special protection. The required intervention is minimal: we replace uniform residual alignment with density-weighted residual alignment, using patch self-dissimilarity as a training-free proxy for position importance. We call this HEED. Compared with normal end-to-end distillation, HEED increases performance by 8.7 points on OCRBench v2 and 5.13 points on a 10-benchmark average. The gain is realized on different teacher models. After standard post-training, the student reaches teacher-level performance on the 10-benchmark average. HEED adds no parameters and no inference-time cost. Hence, the student maintains the hybrid architecture's 4.12x throughput and 68% memory saving at 128k context. Code is available at https://github.com/jha-lab/HEED.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑