arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2605.26496cs.LGcs.AI
收藏

Dense2MoE:通过统一剪枝和升级推动设备端LLM的帕累托前沿

Dense2MoE: Pushing the Pareto Frontier of On-Device LLMs via Unified Pruning and Upcycling

Li Auto;The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳))

Fengfa Li, Hongjin Ji, Yifeng Ding, Lei Ren, Chen Wei

AI总结:

提出Dense2MoE框架,通过层融合升级(LF-UC)统一剪枝和升级,将密集LLM高效转换为设备端MoE模型,在推理延迟与准确性之间取得更优帕累托前沿。

摘要:

混合专家(MoE)架构对于资源受限的设备端部署极具前景,但从头训练这些模型成本高昂。当前方法试图通过将密集模型升级为MoE来缓解这一问题,然而它们常常引入参数冗余,降低推理效率。另一方面,标准层剪枝减少了冗余,但不可避免地损害模型准确性。为解决这一困境,我们提出Dense2MoE,一种通过层融合升级(LF-UC)统一剪枝和升级的新框架。在硬件Roofline理论指导下,Dense2MoE通过剪枝来自冗余层的带宽密集型注意力模块,同时将其多层感知机(MLP)重新用作MoE专家,系统地克服了推理内存墙。这种结构创新保留了模型的核心能力,并通过选择性令牌路由严格限制活跃参数。借助适度的持续预训练预算,Dense2MoE高效地将公开可用的密集LLM转换为设备端就绪的MoE模型。大量实验表明,Dense2MoE显著推进了设备端推理延迟与模型准确性的帕累托前沿,优于密集基线、最先进的压缩方法和标准升级方法。

英文摘要:

The Mixture of Experts MoE architecture is highly promising for resource constrained on device deployments yet training these models from scratch incurs prohibitive costs Current methods attempt to alleviate this by upcycling dense models into MoEs however they often introduce parameter redundancy that degrades inference efficiency Alternatively standard layer pruning mitigates redundancy but inevitably compromises model accuracy To resolve this dilemma we propose Dense2MoE a novel framework that unifies pruning and upcycling through Layer Fusion UpCycling LF UC Guided by hardware Roofline theory Dense2MoE systematically overcomes the inference memory wall by pruning bandwidth heavy attention modules from redundant layers while repurposing their Multi Layer Perceptrons MLPs into MoE experts This structural innovation preserves the models core capabilities and strictly limits active parameters via selective token routing With a modest continual pre training budget Dense2MoE efficiently converts publicly available dense LLMs into on device ready MoE models Extensive experiments demonstrate that Dense2MoE significantly advances the Pareto frontier for on device inference latency versus model accuracy outperforming dense baselines state of the art compression and standard upcycling methods

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑