LEGOSpec: A Composable and Efficient Framework for Speculative Draft Design and Training
LEGOSpec is a framework that decomposes speculative decoding draft models into four interchangeable components — Context, Backbone, Proposal and Objective — sharing one training infrastructure. By varying these components under matched training conditions, the authors isolate their individual effects and interactions, reporting that workload characteristics favor different backbones, that proposal design must trade off acceptance against latency, and that objectives should match local token distributions while optimizing acceptance length across the block. The resulting configuration, DFlux, improves acceptance length over the strongest baseline by up to 13.7% on regular benchmarks and 34.7% on long-context workloads across Qwen and Gemma models. The framework also adds metadata-aware scheduling and asynchronous execution, raising training throughput by up to 79% and speeding offline supervision preparation up to 3.11x over SpecForge.
It gives inference and training engineers a component-level, ablation-backed playbook for building speculative decoding drafts, plus a concrete configuration and throughput gains they can compare against existing tooling.
Comments & Questions (0)
No comments yet
Be the first to comment!