MMSpec:用于视觉-语言模型的推测解码基准测试
MMSpec: Benchmarking Speculative Decoding for Vision-Language Models
AI总结:
本文提出MMSpec基准,评估视觉-语言模型中的推测解码方法,发现文本模型在多模态场景下表现下降,视觉意识在大批次中更关键,且吞吐量提升不等于延迟降低,提出ViSkip方法实现最佳性能。
摘要:
视觉-语言模型(VLMs)在多模态任务上表现优异,但因模型规模大和长多模态上下文而面临高推理延迟。推测解码最近作为一种有效的加速技术出现,但在VLMs中的行为仍不够清楚。我们引入MMSpec,首个用于评估视觉-语言模型中推测解码的基准。MMSpec包含六个任务类别中的600个多模态样本,并在统一的评估框架下集成了十种代表性的推测解码算法。我们的研究揭示了三个关键发现:(1)为纯文本LLM设计的方法在多模态场景中表现下降,(2)在更大批次中视觉意识变得越来越重要,(3)吞吐量提升本身并不可靠地反映延迟性能。受这些发现的启发,我们提出了ViSkip,一种即插即用的推测解码方法,动态适应视觉令牌的推测,实现了最先进的性能。
英文摘要:
Vision-language models (VLMs) achieve strong performance on multimodal tasks but suffer from high inference latency due to large model sizes and long multimodal contexts. Speculative decoding has recently emerged as an effective acceleration technique, yet its behavior in VLMs remains insufficiently understood. We introduce MMSpec, the first benchmark for evaluating speculative decoding in vision-language models. MMSpec contains 600 multimodal samples across six task categories and integrates ten representative speculative decoding algorithms under a unified evaluation framework. Our study reveals three key findings: (1) methods designed for text-only LLMs degrade in multimodal scenarios, (2) vision awareness becomes increasingly important at larger batch sizes, and (3) throughput speedup alone does not reliably reflect latency performance. Motivated by these findings, we propose ViSkip, a plug-and-play speculative decoding method that dynamically adapts speculation to vision tokens and achieves state-of-the-art performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。