Aivora
Hugging FaceLLMIntermediate

LFM2.5-VL-DSpark: Accelerating Vision-Language Models with Minimal Overhead

LFM2.5-VL-DSpark:以超低開銷將多模態模型推論速度提升達 3 倍

2 min read
LFM2.5-VL-DSpark: Accelerating Vision-Language Models with Minimal Overhead
The 30-second version

Liquid AI released the DSpark speculative decoding draft model for LFM2.5-VL-3B, adding only 280M parameters (an 8.9% overhead). By projecting image patches and text into a shared-dimensional hidden state, the drafter shares the same architecture as text LFM2.5-DSpark models. It achieves decoding speedups of up to 3.13x on Apple M5 Max and 2.66x on NVIDIA H100, featuring day-one integration with llama.cpp, MLX-VLM, and SGLang.

Key points

01

Significant Decode Speedups

Delivers up to 3.13x decoding speedup (2.62x end-to-end) on M5 Max, and up to 2.66x decoding speedup (2.27x end-to-end) on H100.

02

Minimal Memory Cost

The draft model adds only 280M parameters, introducing a tiny 8.9% parameter overhead on top of the 3B target model.

03

Unified Multimodal Architecture

Projects image patches and text tokens into a shared representation, allowing the drafter to run identical inference algorithms to text models.

04

Day-One Open Source Support

Released on Hugging Face with native support for llama.cpp, MLX-VLM, and SGLang right out of the box.

How it works

LFM2.5-VL-DSpark Speculative Decoding Flow
MultimodalDimension MatchTap LayersParallel VerifyImage & Text InputShared ProjectionTarget Hidden StatesDSpark Drafts K TokensTarget Verification

Why it matters

This work demonstrates that speculative decoding is highly viable for multimodal models. By adding less than 9% memory overhead, it achieves major speedups on both edge devices and datacenter GPUs with zero loss in output quality. This lowers the barrier for deploying fast, responsive visual AI assistants on consumer-grade local hardware.

Who it affects

  • AI Developer
  • AI Researcher
  • Enterprise Leader

How to use it

  1. 1On-device real-time Vision Question Answering (VQA) and chart analysis on Apple Silicon laptops.
  2. 2High-throughput, low-latency deployment of VLM services using SGLang or llama.cpp.

Limitations & caveats

  • Speculative decoding only accelerates the decoding phase; prefill and vision encoding phases remain bottlenecked by hardware compute (Amdahl's law).
  • End-to-end speedup gains are less pronounced in scenarios with very long text prompts or complex visual inputs where prefill dominates.

Related