MineDraft: A Framework for Batch Parallel Speculative Decoding

Zhenwei Tang, Arun Verma, Zijian Zhou, Zhaoxuan Wu, Alok Prakash, Daniela Rus, Bryan Kian Hsiang Low

MineDraft is a novel framework designed to supercharge Large Language Model (LLM) inference by parallelizing the two core stages of speculative decoding. By overlapping the "drafting" of one batch of requests with the "verification" of another, MineDraft effectively hides drafting latency. This approach yields throughput gains of up to 75% and latency reductions of up to 39% compared to standard methods, all while integrating seamlessly into production-ready environments like vLLM.

The Bottleneck in Standard Speculative Decoding

Large Language Models are notoriously slow during inference because they generate text autoregressively—one token at a time. Speculative Decoding (SD) was introduced to mitigate this bottleneck: a smaller, faster "draft" model guesses a sequence of upcoming tokens, and a massive "target" model verifies all of them simultaneously in a single forward pass.

However, standard SD has a critical flaw: the drafting and verification steps are strictly sequential. The target model sits idle waiting for the draft model to finish its guesses, and the draft model waits for the target model to complete verification. This "drafting latency" creates a significant bottleneck. If the draft model is too slow or its guesses are frequently rejected, standard SD can actually perform slower than using the target model alone. MineDraft aims to break this sequential dependency to unlock the true speed potential of speculative decoding.

The MineDraft Solution: Batch Parallelism

To overcome the sequential bottleneck, the authors introduce Batch Parallel Speculative Decoding (PSD). Inspired by game engines that load upcoming world chunks in the background, MineDraft processes future tokens while current tokens are still being verified.

Key technical components of the framework include:

  • Dual-Batch Design: MineDraft maintains two separate batches of requests. While the target model is busy verifying the drafted tokens for Batch A, the draft model is simultaneously generating the next set of guesses for Batch B.
  • Hardware Separation: To prevent resource contention between the two models, the draft model runs on its own dedicated GPU, communicating directly with the target model's GPUs.
  • vLLM Integration: The framework is implemented as a plugin for vLLM, a leading high-throughput serving engine. This ensures support for production-grade features like PagedAttention (efficient memory management) and continuous batching.
  • Scheduler Patching: The authors modified the vLLM scheduler to prevent memory over-allocation. Because tokens in the draft batch are unverified, MineDraft defers their memory allocation, keeping the system's memory footprint lean and efficient.

Key Insights and Theoretical Limits

  • Hiding the Critical Path: The core innovation is realizing that drafting does not have to occur after verification. By staggering two batches, drafting time is effectively "hidden" within the verification time of the alternate batch.
  • The 50% Theoretical Limit: The authors mathematically prove that in an idealized scenario where drafting and verification take exactly the same amount of time, latency could be reduced by exactly 50%. Their theoretical analysis for realistic scenarios predicts a 37.9% reduction, which aligns remarkably well with their empirical results.
  • The Draft Model "Goldilocks" Zone: A draft model that is too small might be fast but will produce poor guesses, leading to a low acceptance rate. Conversely, a draft model that is too large might produce excellent guesses but take so long to run that its latency can no longer be hidden by the target model's verification phase. MineDraft achieves optimal performance when these two phases are carefully balanced.
  • Orthogonality: MineDraft is not a replacement for advanced drafting strategies (such as EAGLE or Medusa). Rather, it is a complementary framework that can incorporate these advanced drafters to achieve even greater performance.

Experimental Setup and Results

The researchers evaluated MineDraft across four diverse datasets to ensure robustness: ShareGPT (real-world conversations), Arena (chatbot benchmarking prompts), Spec-Bench (a specialized speculative decoding benchmark), and LLM-Tough-Questions (complex, domain-specific queries).

MineDraft demonstrated significant performance leaps over standard speculative decoding baselines:

  • Throughput: Achieved gains of up to 75% in generated tokens per second.
  • Latency: Reduced end-to-end generation latency by up to 39%.
  • Hardware Efficiency: Even when accounting for the extra GPU required for the draft model (by normalizing results on a per-GPU basis), MineDraft still outperformed standard SD by up to 40%.
  • Scalability: The system scales exceptionally well with larger batch sizes and more complex draft models, consistently outperforming other parallel speculative decoding baselines like PEARL.

Limitations and Future Directions

While MineDraft offers a substantial leap in inference efficiency, the authors note a few limitations and areas for future work:

  • Hardware Cost: The current implementation requires at least one additional GPU dedicated to the draft model. While the performance gains generally justify this cost, the authors are exploring "weight-padding" techniques to potentially run both models efficiently on the same hardware.
  • The Tail Effect: If the system runs out of requests to fill both batches (e.g., at the very end of a long generation task), it falls back to standard sequential SD, temporarily losing the benefits of parallelism.
  • Prefill Parallelism: Currently, MineDraft focuses exclusively on the decoding (generation) phase. Future versions plan to integrate the "prefill" (initial prompt processing) stage into the parallel workflow.
  • Request Difficulty: The framework currently treats all requests equally. Future iterations could introduce "request-dependent" drafting, dynamically adjusting the number of guessed tokens based on the predicted difficulty of a specific prompt.

Summary updated

BibTeX
@inproceedings{tang2026minedraft,
  author = {Zhenwei Tang and Arun Verma and Zijian Zhou and Zhaoxuan Wu and Alok Prakash and Daniela Rus and Bryan Kian Hsiang Low},
  title = {{MineDraft: A Framework for Batch Parallel Speculative Decoding}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=mapFG1BrNv},
}
Figure