Inferact and Red Hat AI bring speculative decoding to Kimi K3.1 Pro and Muse Spark Open

Overview

Inferact and the Red Hat AI Speculators team have collaborated to release specialized draft models for Kimi K3.1 Pro and Muse Spark Open. These models utilize speculative decoding to accelerate inference by drafting multiple tokens that the larger target model verifies in parallel. This approach is lossless, as the accepted tokens are guaranteed to match the target model's distribution.

New Draft Models

The collaboration introduced two primary draft models, now available on Hugging Face:

  • Kimi K3.1 Pro DSpark: Uses a parallel drafting backbone with a Markov head for token dependencies and a confidence head for acceptance likelihood. It employs five dense decoder layers and proposes seven tokens per forward pass.
  • Muse Spark Open DFlash2: Utilizes five transformer layers conditioned on the target's hidden states, incorporating local dynamic convolutions and a candidate selector.

Performance and Benchmarks

Performance metrics demonstrate significant throughput improvements across various workloads:

  • Kimi K3.1 Pro DSpark: Achieved an acceptance length of 5.566 on GSM8K and 4.16 on SPEED-Bench coding. In high-concurrency environments (64), it delivered 3,064 output tokens per second, scaling to 19,371 output tokens per second at concurrency 660 on 72 NVIDIA B300 GPUs.
  • Muse Spark Open DFlash2: Demonstrated strong performance in long-context tasks, maintaining a pooled acceptance length of 5.45 on MRCR 8-needle tasks (up to ~1 million tokens). Throughput improvements reached up to 3.53× on SPEED-Bench RAG workloads.

vLLM Architectural Improvements

The release is supported by a fundamental redesign of vLLM's KV cache management, allowing draft models to operate with architectures independent of their target models. Previously, draft models were constrained by the target's attention design (e.g., forcing MLA layers on the draft).

Key technical changes include:

  • Decoupled KV Cache: KV cache groups are now managed as independent sets of layers with their own allocation policies and block sizes.
  • Pluggable Planning: Models can now define custom KV cache groups, enabling features like sliding-window attention for drafts even when the target uses different attention mechanisms.
  • Memory Efficiency: By allowing the Kimi K3.1 Pro draft to maintain a fixed 2,048-token sliding window, the system now holds 15% more KV cache tokens on prefill and 19% more on decode compared to previous implementations.
  • Disaggregated Serving: The vLLM NIXL connector now supports transferring draft KV cache groups during prefill/decode disaggregation, ensuring compatibility with complex setups involving GQA drafts and MLA targets.

Sources