LEGOSpec: A Composable and Efficient Framework for Speculative Draft Design and Training
On the map: Efficient LLM inference and serving → Speculative decoding
Abstract (arXiv)
Speculative decoding accelerates large language model (LLM) generation using a lightweight draft. Existing methods evaluate complete recipes under different training configurations, leaving component effects, interactions, and composition benefits unclear. Therefore, we present LEGOSpec, a composable framework for speculative draft design and training. LEGOSpec decomposes draft models into Context, Backbone, Proposal, and Objective components that share a unified training infrastructure. Using LEGOSpec, we systematically vary components and evaluate selected combinations under matched training conditions to isolate their effects and interactions. These experiments reveal three findings: (1) Different workloads favor different backbones, depending on context length and memory budget, with within-block dependency modeling particularly important for long contexts. (2) Proposal design must balance acceptance and latency. (3) The training objective should match token distributions locally and optimize acceptance length across the block. These findings guide workload-aware configurations and DFlux, a balanced general-purpose draft combining a convolution-equipped SWA--GQA hybrid backbone, Residual Corrector, and hierarchical supervision. Across Qwen and Gemma models, DFlux improves acceptance length over the strongest baseline by up to 13.7% on regular benchmarks and 34.7% on long-context workloads. To support efficient training, LEGOSpec integrates metadata-aware scheduling and asynchronous execution, increasing training throughput by up to 79% and accelerating offline supervision preparation by up to 3.11× over SpecForge.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Speculative decoding, one of 12 directions in Efficient LLM inference and serving. Builds on 31 of its 34 references that are in the map. Submitted 24 Nov 2026, announced 25 Nov 2026.
Builds on
31 of 34 references.
Closest ancestors · 13
Same direction, newest first
- 2026Beyond the Point Mass: Acceptance-Derived Weights and Distributional Losses for Speculative Decoding20 Oct
- 2026DLite: History-free Speculative Decoding for Agentic AI16 Oct
- 2026DSpark: Confidence-Scheduled Speculative Decoding with Semi-Autoregressive Generation6 Jul
- 2026DFlare: Scaling Up Draft Capacity for Block Diffusion Speculative Decoding1 Jun
- 2026D-PACE: Dynamic Position-Aware Cross-Entropy for Parallel Speculative Drafting12 May
- 2026SpecForge: A Flexible and Efficient Open-Source Training Framework for Speculative Decoding19 Mar
- 2026LK Losses: Direct Acceptance Rate Optimization for Speculative Decoding27 Feb
- 2026DFlash: Block Diffusion for Flash Speculative Decoding5 Feb
- 2026DART: Diffusion-Inspired Speculative Decoding for Fast LLM Inference27 Jan
- 2025EAGLE-3: Scaling up Inference Acceleration of Large Language Models via Training-Time Test3 Mar
- 2023DistillSpec: Improving Speculative Decoding via Knowledge Distillation12 Oct
- 2023Accelerating Large Language Model Decoding with Speculative Sampling2 Feb
1 more
Other references · 18
- 2017Attention Is All You Needcited by 62,125
- 2014Adam: A Method for Stochastic Optimizationcited by 38,596
- 2021Training Verifiers to Solve Math Word Problemscited by 11,055
- 2025Qwen3 Technical Reportcited by 9,994
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 9,360
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 6,685
- 2021Program Synthesis with Large Language Modelscited by 3,972
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,871
- 2020Longformer: The Long-Document Transformercited by 3,606
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,243
- 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,372
- 2024WildChat: 1M ChatGPT Interaction Logs in the Wildcited by 710
6 more
- 2025Muon is Scalable for LLM Trainingcited by 555
- 2026Gemma 4 Technical Reportcited by 464
- 2024LongBench v2: Towards Deeper Understanding and Reasoning on Realistic Long-context Multitaskscited by 447
- 2024The Perfect Blend: Redefining RLHF with Mixture of Judgescited by 53
- 2025SpecPrune-VLA: Accelerating Vision-Language-Action Models via Action-Aware Self-Speculative Pruningcited by 53
- 2025SpeContext: Enabling Efficient Long-context Reasoning with Speculative Context Sparsity in LLMscited by 8
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Learning to Draft: Adaptive Speculative Decoding with Reinforcement Learning
- 2026FACT: Fixed-Budget Allocation and Cross-Step Training for Speculative Decoding
- 2026TAPS: Task Aware Proposal Distributions for Speculative Sampling
- 2025Steering Pretrained Drafters during Speculative Decoding
- 2026Training Parallel Speculative Draft Models by Directly Minimizing Expected Decoding Rounds
- 2026Acceptance-Aware Draft Model Training for Speculative Decoding
- 2026Factorization-Guided Training and Inference for Diffusion-Drafted Speculative Decoding
- 2024FastDraft: How to Train Your Draft