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

奇妙的矩阵:组合以构建更高效有效的基础模型架构

Wonderful Matrices: Combining for a More Efficient and Effective Foundation Model Architecture

Jingze Shi, Bingheng Wu

AI总结:

提出Wonderful Matrices架构,通过结合序列与状态变换,引入旋转位置嵌入、动态掩码注意力和跨域混合专家,构建了更高效有效的基础模型。

摘要:

为了使基础模型更高效有效,我们的想法是结合序列变换和状态变换。首先,我们证明了旋转位置嵌入在状态空间对偶算法中的可用性,这使混合二次因果自注意力和状态空间对偶的困惑度降低了4%以上,以确保结合序列变换统一位置编码。其次,我们提出了动态掩码注意力,它在更具挑战性的多查询关联召回任务中保持100%的准确率,与二次因果自注意力和状态空间对偶相比提升了150%以上,以确保结合序列变换选择性地过滤相关信息。第三,我们设计了跨域混合专家,使包含超过1024个专家的专家检索的计算速度比混合专家快8到10倍,以确保结合状态变换快速检索混合。最后,我们总结了这些可构成基础模型的矩阵算法:Wonderful Matrices,它可以成为流行模型架构的竞争者。

英文摘要:

In order to make the foundation model more efficient and effective, our idea is combining sequence transformation and state transformation. First, we prove the availability of rotary position embedding in the state space duality algorithm, which reduces the perplexity of the hybrid quadratic causal self-attention and state space duality by more than 4%, to ensure that the combining sequence transformation unifies position encoding. Second, we propose dynamic mask attention, which maintains 100% accuracy in the more challenging multi-query associative recall task, improving by more than 150% compared to quadratic causal self-attention and state space duality, to ensure that the combining sequence transformation selectively filters relevant information. Third, we design cross domain mixture of experts, which makes the computational speed of expert retrieval with more than 1024 experts 8 to 10 times faster than the mixture of experts, to ensure that the combining state transformation quickly retrieval mixture. Finally, we summarize these matrix algorithms that can form the foundation model: Wonderful Matrices, which can be a competitor to popular model architectures.

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

↑