Downloads · 30 days
65
14% of all-time downloads
JLKang/ViSpec-Qwen2.5-VL-3B-Instruct
ViSpec-Qwen2.5-VL-3B-Instruct is a image-text-to-text model from JLKang. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
Jialiang Kang, Han Shu, Wenshuo Li, Yingjie Zhai, Xinghao Chen
Downloads · 30 days
65
14% of all-time downloads
All-time downloads
450
Public
Parameters
425M
1.7 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors1.7 GB · 100%
From the Hugging Face model README
Jialiang Kang, Han Shu, Wenshuo Li, Yingjie Zhai, Xinghao Chen
<a href="https://arxiv.org/abs/2509.15235"><img src="https://img.shields.io/static/v1?label=arXiv&message=Paper&color=red&logo=arxiv"></a> <a href="https://github.com/KangJialiang/ViSpec"><img src="https://img.shields.io/static/v1?label=GitHub&message=Code&color=blue&logo=github"></a>
Speculative decoding is a widely adopted technique for accelerating inference in large language models (LLMs), yet its application to vision-language models (VLMs) remains underexplored, with existing methods achieving only modest speedups ($<1.5\times$). This gap is increasingly significant as multimodal capabilities become central to large-scale models. We hypothesize that large VLMs can effectively filter redundant image information layer by layer without compromising textual comprehension, whereas smaller draft models struggle to do so. To address this, we introduce Vision-Aware Speculative Decoding (ViSpec), a novel framework tailored for VLMs. ViSpec employs a lightweight vision adaptor module to compress image tokens into a compact representation, which is seamlessly integrated into the draft model's attention mechanism while preserving original image positional information. Additionally, we extract a global feature vector for each input image and augment all subsequent text tokens with this feature to enhance multimodal coherence. To overcome the scarcity of multimodal datasets with long assistant responses, we curate a specialized training dataset by repurposing existing datasets and generating extended outputs using the target VLM with modified prompts. Our training strategy mitigates the risk of the draft model exploiting direct access to the target model's hidden states, which could otherwise lead to shortcut learning when training solely on target model outputs. Extensive experiments validate ViSpec, achieving, to our knowledge, the first substantial speedup in VLM speculative decoding.
If you find our work useful, please consider citing:
@inproceedings{vispec,
title={ViSpec: Accelerating Vision-Language Models with Vision-Aware Speculative Decoding},
author={Kang, Jialiang and Shu, Han and Li, Wenshuo and Zhai, Yingjie and Chen, Xinghao},
booktitle={Annual Conference on Neural Information Processing Systems},
year={2025}
}