DSpark: Confidence-Scheduled Speculative Decoding with Semi-Autoregressive Generation
Abstract
Domain fit: AI-core · Core AI workload signals detected from paper context and implementation/artifact evidence.
Speculative decoding accelerates Large Language Model (LLM) inference by decoupling draft generation from target verification. While recent parallel drafters efficiently propose long token sequences in a single forward pass, they suffer from rapid acceptance decay due to a lack of inter-token dependencies. Furthermore, indiscriminately verifying these extended blocks wastes critical batch capacity on tokens with high rejection risks, severely degrading throughput in high-concurrency serving systems. We introduce DSpark, a speculative decoding framework that unifies high-throughput parallel generation with adaptive, load-aware verification. To maintain draft quality, DSpark utilizes a semi-autoregressive architecture, coupling a parallel backbone with a lightweight sequential module, to introduce intra-block dependency modeling and mitigate suffix decay. To optimize system efficiency, DSpark employs confidence-scheduled verification, dynamically tailoring the verification length for each request based on estimated prefix survival probabilities and engine-specific throughput profiles. On offline benchmarks across diverse domains, DSpark substantially improves the accepted length over state-of-the-art autoregressive and parallel drafters. When deployed within the DeepSeek-V4 serving system under live user traffic, DSpark successfully mitigates verification waste. Compared to the established production baseline (MTP-1), DSpark accelerates per-user generation speeds by 60 to 85 percent at matched throughput levels. More importantly, by preventing severe throughput degradation under strict interactivity constraints, it enables performance tiers that were previously unattainable, shifting the Pareto frontier of our serving system.
Results and benchmarks
Speculative decoding accelerates Large Language Model (LLM) inference by decoupling draft generation from target verification.
Benchmark evidence is limited
Evidence graph: 4 refs, 4 links.
Utility signals: depth 55/100, grounding 85/100, status medium.
Implementation
Best maintained implementation now
DeepSpec: a full-stack codebase for training and evaluating speculative decoding algorithms
7,032 stars · 660 forks · Last push Jul 9, 2026 · MIT license
- License
- CI
- Dependencies
- Docker
Matched via arXiv identifier search · Partial overlap with paper title keywords · Community adoption signal (7032 stars)
deepseek-ai/DeepSpec is the best available implementation candidate based on ranking signals, but recommendation confidence is not yet high. License is declared (MIT). Dependency/environment manifests are present.
Open deepseek-ai/DeepSpec- No CI workflows detected
- Selected deepseek-ai/DeepSpec as the strongest maintained implementation for new work.
- Includes dependency/environment manifest signals.
- Repository activity is within the last 24 months.
Compare implementation paths
Compare maintenance quality, reproducibility coverage, and evidence confidence before choosing a reproduction baseline.
- Maintenance
- Recently updated
- Confidence
- Medium
- Reproducibility
- Moderate
- Stars
- 7,032
- Last push
- Jul 9, 2026 (48d)
Matched via arXiv identifier search · Partial overlap with paper title keywords
- No CI pipeline detected
- No tagged releases
- No Docker setup
- Maintenance
- Active
- Confidence
- Low
- Reproducibility
- Moderate
- Stars
- 2
- Last push
- Aug 3, 2026 (23d)
Matched via arXiv identifier search · Strong overlap with paper title keywords
- No CI pipeline detected
- No Docker setup
- Low confidence match
- Maintenance
- Active
- Confidence
- Low
- Reproducibility
- Strong
- Stars
- 0
- Last push
- Aug 10, 2026 (15d)
Matched via arXiv identifier search
- No tagged releases
- No Docker setup
- Low confidence match
Reproduction readiness
Setup required
Dependencies pinned, manual setup needed
- deepseek-ai/DeepSpec has requirements.txt but requires manual environment setup.
- No Dockerfile, so you will set up the environment manually.
- No CI pipeline, so test coverage is unknown.
Quick start
git clone https://github.com/deepseek-ai/DeepSpec.git
pip install -r requirements.txt Validation caveat
Repositories and ecosystem
No additional verified repositories beyond the primary recommendation.
These repositories had low-confidence matching signals and are hidden by default.
- Kedaya66/deepspec-opd
Confidence: Low · 2 stars
- aalvsz/dspark-speed-lab
Confidence: Low · 0 stars
- fdh-fdh/Helmholz-GPUHack-AdaptiveSpec
Confidence: Low · 0 stars
- qluoluo/dspark
Confidence: Low · 0 stars
- daktollo/DSpark_presentation
Confidence: Low · 0 stars
Hugging Face artifacts
No direct paper-linked artifacts were found. Showing strongest curated related artifacts for faster exploration.
Models
- gaber/kimi-k3-dspark-gguf
2,781 downloads · 1 likes
- lightseekorg/kimi-k3-dspark
1,308 downloads · 2 likes
- skt/A.X-K2-DSpark
291 downloads · 7 likes
Broaden model search
Datasets
No trustworthy datasets matches right now.
Search datasets on Hugging FaceSpaces
No trustworthy spaces matches right now.
Search spaces on Hugging FaceResearch context
Tasks
None detected
Methods
Transformer
Domains
Natural Language Processing, Large Language Models
Open this paper in HFEPX to review benchmark signals, evaluation modes, and human-feedback protocol context.
Open in HFEPXJump to Paper2Code search queries derived from this paper's research context.