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

WuNeng:带有注意力的混合状态

WuNeng: Hybrid State with Attention

Uniartisan

Liu Xiao, Li Zhiyuan, Lin Yueyu

AI总结:

WuNeng架构通过将RWKV-7状态驱动头与标准多头注意力结合,利用跨头交互和多token状态处理机制,以极少的额外参数显著提升了大型语言模型的表达能力与计算效率。

摘要:

WuNeng架构引入了一种新方法,通过将基于RNN的RWKV-7与先进的注意力机制相集成,来增强大型语言模型的表达能力和功能,其优先考虑提升上下文连贯性而非减小KV缓存大小。基于Hymba的混合头概念,WuNeng用额外的RWKV-7状态驱动头增强了标准多头注意力,而非替换现有头,以丰富模型的表示能力。一种跨头交互技术促进了标准头、状态驱动头和新引入的中间头之间的动态协同,利用拼接、加性调制和门控融合来实现稳健的信息整合。此外,多token状态处理机制利用连续的RWKV-7状态来捕获复杂的、序列级的依赖关系,显著提升了表达能力。值得注意的是,这些增强功能以最少的额外参数实现,在确保效率的同时赋能模型在复杂推理和序列生成任务中表现出色。WuNeng为现代神经架构中平衡表达能力与计算效率设定了新标准。

英文摘要:

The WuNeng architecture introduces a novel approach to enhancing the expressivity and power of large language models by integrating recurrent neural network (RNN)-based RWKV-7 with advanced attention mechanisms, prioritizing heightened contextual coherence over reducing KV cache size. Building upon the hybrid-head concept from Hymba, WuNeng augments standard multi-head attention with additional RWKV-7 state-driven heads, rather than replacing existing heads, to enrich the model's representational capacity. A cross-head interaction technique fosters dynamic synergy among standard, state-driven, and newly introduced middle heads, leveraging concatenation, additive modulation, and gated fusion for robust information integration. Furthermore, a multi-token state processing mechanism harnesses the continuous RWKV-7 state to capture intricate, sequence-wide dependencies, significantly boosting expressivity. Remarkably, these enhancements are achieved with minimal additional parameters, ensuring efficiency while empowering the model to excel in complex reasoning and sequence generation tasks. WuNeng sets a new standard for balancing expressivity and computational efficiency in modern neural architectures.

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

↑