Vibeleaderboard
← All Intel
Intel / post

DSpark drafts roughly halve LFM2.5 agent latency

Source
x.com
Publisher
Liquid AI
Date
Liquid AI@liquidai

Today, we release DSpark draft models for LFM2.5-1.2B-Instruct, LFM2.5-2.6B, and LFM2.5-8B-A1B. These add a speculative decoding path that trades a minimal memory increase for a large decoding speedup without changing output quality. A lightweight draft model proposes a block of candidate tokens and the target model verifies them in a single forward pass. Across MATH500, GSM8K, HumanEval, MBPP, and MT-Bench at batch size 1: > Up to 3.18x throughput on an H100: LFM2.5-8B-A1B on MATH500, 428 → 1362 tok/s > Up to 2.87x on an M4 Max MacBook Pro: LFM2.5-1.2B-Instruct on HumanEval, 136 → 389 tok/s > LFM2.5-2.6B means: 2.67x on the H100 (323 → 864 tok/s), 2.27x on device (61 → 139 tok/s) > Under greedy decoding, the emitted sequence is identical to baseline by construction, so benchmark accuracy is unchanged. Each draft model is around 300M parameters, with embedding and LM head tied to its target model. The gain shows most in agentic workloads, where the model reasons before every tool call and the user waits through it all: on BFCL multi-tool scenarios, DSpark cuts LFM2.5-2.6B latency by nearly 50% on average. 🧵

Context

DSpark is a set of small helper models from Liquid AI that make its LFM2.5 language models generate text faster, using a technique called . A drafter of roughly 300 million parameters guesses a block of upcoming tokens, and the main model checks the whole block in a single pass instead of producing tokens one at a time. Guesses that match what the main model would produce are kept, and on a rejection the main model's own token takes its place. Because the main model has the final say, Liquid's announcement says that under greedy decoding (always taking the single most likely token) the output is identical to running the main model alone, so benchmark accuracy does not change.

How much faster depends on the hardware and the model's design. Liquid's technical post reports that LFM2.5-2.6B averages 2.67 times its normal on an H100 server GPU under the SGLang serving engine (323 to 864 tokens per second) and 2.27 times on an M4 Max MacBook Pro under llama.cpp (61 to 139). The model LFM2.5-8B-A1B, which reaches the headline 3.18 times on the H100 for the MATH500 benchmark, averages only 1.18 times on the Mac. Liquid attributes that gap to the current mixture-of-experts implementation in llama.cpp's Metal backend and to the extra experts activated when several tokens are verified at once.

The agent result shows where the saving is felt. An agent that reasons before each tool call makes the user wait through every generated token, and on multi-tool scenarios from the BFCL -calling benchmark, run on the M4 Max, the blog reports DSpark cutting LFM2.5-2.6B's latency by 57% on average; the announcement thread describes it as nearly 50%. All of these figures are Liquid's own, measured one request at a time with greedy decoding. The post reports no results for sampled generation, so the identical-output guarantee is claimed only for greedy decoding.

Terms in this piece · Glossary
  • speculative decoding — A speed trick where a small model drafts several tokens ahead and the big model verifies them in one pass, often doubling generation speed.
  • throughput — How much model output a provider can generate over time, commonly measured in output tokens per second.
  • mixture-of-experts — A model built from many specialist sub-networks where only a few activate per token, giving big-model capability at small-model running cost.
  • Function — A named block of instructions that takes inputs, called arguments, and hands back a result, called its return value.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

More from Liquid AI
Recommended reads