arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.17574cs.CLcs.LG
收藏

Scavenging Hyena:将Transformer蒸馏为长卷积模型

Scavenging Hyena: Distilling Transformers into Long Convolution Models

McGill University(麦吉尔大学)

Tokiniaina Raharison Ralambomihanta, Shahrad Mohammadzadeh, Mohammad Sami Nur Islam, Wassim Jabbour, Laurence Liang

AI总结:

针对大语言模型预训练效率低、注意力机制长上下文处理难的问题,提出用知识蒸馏将Transformer的注意力头替换为Hyena模块的跨架构迁移方法,在准确率和效率上均优于传统预训练,助力可持续AI发展。

摘要:

以GPT-4等架构为代表的大语言模型(LLM)快速发展,重塑了自然语言处理领域格局。本文提出一种开创性方法以解决LLM预训练的效率问题,采用知识蒸馏实现跨架构迁移。借助高效Hyena机制的研究思路,我们用Hyena替换Transformer模型中的注意力头,为传统预训练提供了高性价比的替代方案,同时解决了二次复杂度注意力机制固有的长上下文信息处理难题。与传统聚焦压缩的方法不同,该技术不仅提升了推理速度,在准确率和效率上均优于从头预训练。在LLM不断演进的时代,本工作为探索可持续AI解决方案做出贡献,在算力需求与环境影响间取得平衡。

英文摘要:

The rapid evolution of Large Language Models (LLMs), epitomized by architectures like GPT-4, has reshaped the landscape of natural language processing. This paper introduces a pioneering approach to address the efficiency concerns associated with LLM pre-training, proposing the use of knowledge distillation for cross-architecture transfer. Leveraging insights from the efficient Hyena mechanism, our method replaces attention heads in transformer models by Hyena, offering a cost-effective alternative to traditional pre-training while confronting the challenge of processing long contextual information, inherent in quadratic attention mechanisms. Unlike conventional compression-focused methods, our technique not only enhances inference speed but also surpasses pre-training in terms of both accuracy and efficiency. In the era of evolving LLMs, our work contributes to the pursuit of sustainable AI solutions, striking a balance between computational power and environmental impact.

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

↑