受回声计算启发的无矩阵乘法语言模型
Reservoir Computing inspired Matrix Multiplication-free Language Model
AI总结:
本研究提出一种受回声计算启发的无矩阵乘法语言模型,通过共享权重和优化内存访问,有效降低计算成本并提升效率。
摘要:
大型语言模型(LLMs)在自然语言处理中取得了最先进的性能;然而,其高计算成本仍然是主要瓶颈。在本研究中,我们通过聚焦于无矩阵乘法的语言模型(MatMul-free LM)来提高计算效率,并通过受回声计算启发的架构进一步降低训练成本。具体来说,我们部分固定并共享所选层的权重,并插入回声层以在不增加训练开销的情况下获得丰富的动态表示。此外,几种操作被结合以减少内存访问。实验结果表明,所提出的架构在参数数量上最多减少19%,训练时间减少9.9%,推理时间减少8.0%,同时保持与基线模型相当的性能。
英文摘要:
Large language models (LLMs) have achieved state-of-the-art performance in natural language processing; however, their high computational cost remains a major bottleneck. In this study, we target computational efficiency by focusing on a matrix multiplication free language model (MatMul-free LM) and further reducing the training cost through an architecture inspired by reservoir computing. Specifically, we partially fix and share the weights of selected layers in the MatMul-free LM and insert reservoir layers to obtain rich dynamic representations without additional training overhead. Additionally, several operations are combined to reduce memory accesses. Experimental results show that the proposed architecture reduces the number of parameters by up to 19%, training time by 9.9%, and inference time by 8.0%, while maintaining comparable performance to the baseline model.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。