EDA:参数与数据高效的草稿模型适配框架
Efficiently Aligning Draft Models via Parameter- and Data-Efficient Adaptation
研究提出参数与数据高效框架EDA,用于在目标模型微调后高效适配草稿模型,避免为每个目标模型重新训练草稿模型。EDA采用共享与私有组件解耦的架构,仅更新轻量私有部分,并用微调后的目标模型重新生成训练数据、筛选高价值样本。实验显示其以显著更低的训练成本恢复投机解码性能,获得更高的平均接受长度。
arXiv:2603.09527v2 Announce Type: replace Abstract: Speculative decoding accelerates LLM inference but suffers from performance degradation when target models are fine-tuned for specific domains. A naive solution is to retrain draft models for every target model, which is costly and inefficient. To address this, we introduce a practical parameter- and data-efficient framework named Efficient Draft Adaptation, abbreviated as EDA, for efficiently adapting draft models. EDA introduces three innovations: (1) a decoupled architecture that utilizes shared and private components to model the shared and target-specific output distributions separately, enabling parameter-efficient adaptation by updating only the lightweight private component; (2) a data regeneration strategy that utilizes the fine-tuned target model to regenerate training data, thereby improving the alignment between training and speculative decoding, leading to higher average acceptance length; (3) a sample selection mechanism that prioritizes high-value data for efficient adaptation. Our experiments show that EDA effectively restores speculative performance on fine-tuned models, achieving superior average acceptance lengths with significantly reduced training costs compared to full retraining. Code is available at https://github.com/Lyn-Lucy/Efficient-Draft-Adaptation.
来源:arXiv (AI + Vision + Imaging) · arxiv.org