Accelerating Vision-Language Models with LFM2.5-VL-DSpark
Liquid AI released an experimental DSpark draft model for the LFM2.5-VL-3B vision-language model, adding speculative decoding to increase inference speed.
Liquid AI released an experimental DSpark draft model for the LFM2.5-VL-3B vision-language model, which adds a speculative decoding path designed to increase inference speed without changing output quality (Source: Hugging Face).
What Changed
The vision drafter adds 280 million parameters, representing an 8.9% increase over the 3B target model (Source: Hugging Face). It uses a simplified attention-only architecture with 4 layers and a block size of 9, trained on a mixture of vision-language SFT data (Source: Hugging Face). Image patches and text tokens are projected into a shared representation before the tapped layers, allowing the drafter to operate on hidden-state vectors of identical dimensionality regardless of input modality.
Inference Performance
According to evaluations across six vision-based tasks following the MMSpec benchmark, the DSpark draft model delivers the following improvements:
- On-Device (MLX on M5 Max): Decoding speeds run 2.30x to 3.13x faster by task, with end-to-end latency improving by 1.56x to 2.62x (Source: Hugging Face).
- On-Device (llama.cpp on M3 Ultra): Decoding improves by 1.57x to 2.14x, and end-to-end latency by 1.30x to 1.77x (Source: Hugging Face).
- GPU (H100): Decoding runs 2.04x to 2.66x faster, with end-to-end improvements of 1.64x to 2.27x (Source: Hugging Face).
The model features day-one support for llama.cpp, MLX-VLM, and SGLang (Source: Hugging Face).
Why Developers Might Care
For developers building local or high-throughput vision-language applications, speculative decoding offers a way to accelerate token generation without modifying output quality. Because the target model verifies every proposed token, greedy output matches the target model alone. Day-one integration into frameworks like SGLang and llama.cpp allows developers to test the draft model using standard command-line flags and server configurations.
Limitations
Speculative decoding only accelerates the token decoding phase, not vision encoding or prompt prefill (Source: Hugging Face). Because vision-language models process hundreds of visual tokens alongside text prompts, prefill and encoding consume a significant portion of wall-clock time. According to the source, this creates an Amdahl's Law bottleneck on edge devices with less compute than datacenter GPUs, capping the overall end-to-end speedup despite high decoding multipliers (Source: Hugging Face).