Sparse Upcycling:推理低效的微调
Sparse Upcycling: Inference Inefficient Finetuning
AI总结:
本研究比较了将稠密模型转为 MoE 架构的 Sparse Upcycling 与持续预训练的效果,发现前者质量提升超 20%,但会导致约 40% 的推理速度下降,揭示了质量与效率的权衡。
摘要:
小型、高度训练的开源大型语言模型因其推理效率而被广泛使用,但进一步提升其质量仍具挑战。Sparse upcycling 是一种有前景的方法,可将预训练的稠密模型转换为 Mixture-of-Experts (MoE) 架构,从而增加模型的参数量和质量。在本研究中,我们在不同模型规模、计算预算和预训练时长下,比较了 sparse upcycling 与持续预训练 (CPT) 的有效性。实验表明,sparse upcycling 能实现更优的质量,在某些场景下相对于 CPT 有超过 20% 的提升。然而,这会带来显著的推理成本,在大型模型的高需求推理场景中导致 40% 的速度下降。我们的发现突显了模型质量与推理效率之间的权衡,为寻求平衡模型质量和部署约束的从业者提供了见解。
英文摘要:
Small, highly trained, open-source large language models are widely used due to their inference efficiency, but further improving their quality remains a challenge. Sparse upcycling is a promising approach that transforms a pretrained dense model into a Mixture-of-Experts (MoE) architecture, increasing the model's parameter count and quality. In this work, we compare the effectiveness of sparse upcycling against continued pretraining (CPT) across different model sizes, compute budgets, and pretraining durations. Our experiments show that sparse upcycling can achieve better quality, with improvements of over 20% relative to CPT in certain scenarios. However, this comes with a significant inference cost, leading to 40% slowdowns in high-demand inference settings for larger models. Our findings highlight the trade-off between model quality and inference efficiency, offering insights for practitioners seeking to balance model quality and deployment constraints.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。