arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.17976cs.AIcs.CL
收藏

Yuan 2.0-M32:具有注意力路由器的混合专家模型

Yuan 2.0-M32: Mixture of Experts with Attention Router

IEIT Systems(浪潮电子信息产业股份有限公司)

Shaohua Wu, Jiangang Luo, Xi Chen, Lingjun Li, Xudong Zhao, Tong Yu, Chao Wang, Yue Wang, Fei Wang, Weixu Qiao, Houbo He, Zeru Zhang, Zeyu Sun, Junxiong Mao, Chong Shen

AI总结:

Yuan 2.0-M32采用混合专家架构和注意力路由器,以仅9.25%的训练计算消耗和1/19的推理开销,在数学和常识推理上超越Llama3-70B,并开源模型与代码。

摘要:

Yuan 2.0-M32与Yuan-2.0 2B具有相似的基础架构,采用混合专家架构,包含32个专家,其中2个专家处于激活状态。我们提出并采用了一种新的路由器网络——注意力路由器,用于更高效地选择专家,与使用经典路由器网络的模型相比,提高了准确性。Yuan 2.0-M32从零开始使用2000B个令牌进行训练,其训练计算消耗仅为同参数规模稠密模型的9.25%。Yuan 2.0-M32在编程、数学以及多个专业领域展示了有竞争力的能力,其总参数为40B,但仅有3.7B激活参数,且每个令牌的前向计算量为7.4 GFlops,这两项指标均为Llama3-70B的1/19。Yuan 2.0-M32在MATH和ARC-Challenge基准上超越了Llama3-70B,准确率分别为55.89和95.8。Yuan 2.0-M32的模型和源代码已在GitHub1上发布。

英文摘要:

Yuan 2.0-M32, with a similar base architecture as Yuan-2.0 2B, uses a mixture-of-experts architecture with 32 experts of which 2 experts are active. A new router network, Attention Router, is proposed and adopted for a more efficient selection of experts, which improves the accuracy compared to the model with classical router network. Yuan 2.0-M32 is trained with 2000B tokens from scratch, and the training computation consumption is only 9.25% of a dense model at the same parameter scale. Yuan 2.0-M32 demonstrates competitive capability on coding, math, and various domains of expertise, with only 3.7B active parameters of 40B in total, and 7.4 GFlops forward computation per token, both of which are only 1/19 of Llama3-70B. Yuan 2.0-M32 surpass Llama3-70B on MATH and ARC-Challenge benchmark, with accuracy of 55.89 and 95.8 respectively. The models and source codes of Yuan 2.0-M32 are released at Github1.

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

↑