LEGOSpec: A Composable and Efficient Framework for Speculative Draft Design and Training
TL;DR - LEGOSpec modularizes speculative-draft design and training to isolate component effects and build workload-aware configurations. Its DFlux draft improves acceptance length while LEGOSpec substantially accelerates training and supervision preparation.
- Separates drafts into Context, Backbone, Proposal, and Objective components under matched training conditions.
- Finds backbone choice depends on context length and memory budget, while proposal design must balance acceptance against latency.
- DFlux improves acceptance length by up to 13.7% on regular benchmarks and 34.7% on long-context workloads.
- Metadata-aware scheduling and asynchronous execution raise training throughput by up to 79% and accelerate offline supervision preparation by up to 3.11Ă— over SpecForge.