LEGOSpec: A Composable and Efficient Framework for Speculative Draft Design and Training
[Uczenie maszynowe] Autorzy: Hanzhen Wang, Jiaming Xu, Guohao Dai
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 …
- Kategoria arxiv
- cs.LG
- Kategoria
- Uczenie maszynowe