2025-05-13 · 专家 · 机器学习 · 自然语言处理

UMoE: Unifying Attention and FFN with Shared Experts

本文提出了一种名为UMoE的统一混合专家(MoE)架构,通过重新定义注意力机制,实现了在注意力和前馈网络(FFN)层之间共享专家,从而在保持参数数量的同时提升模型性能。

更新于 2026-09-14。作者:Yuanhang Yang、Chaozheng Wang、Jing Li。

中文摘要

稀疏混合专家(MoE)架构已成为扩展Transformer模型的有前景的方法。虽然最初的工作主要将MoE融入前馈网络(FFN)层,但最近的研究探索了将MoE范式扩展到注意力层以提高模型性能。然而,现有的基于注意力的MoE层需要专门的实现,并且与基于FFN的对应层相比,性能表现不佳。在这篇论文中,我们旨在通过引入注意力机制的全新重构,揭示注意力模块中内在的FFN-like结构,从而统一注意力和FFN层中的MoE设计。我们提出的架构UMoE通过基于注意力的MoE层实现了优越的性能,同时允许FFN和注意力组件之间进行高效的参数共享。

英文摘要

Sparse Mixture of Experts (MoE) architectures have emerged as a promising approach for scaling Transformer models. While initial works primarily incorporated MoE into feed-forward network (FFN) layers, recent studies have explored extending the MoE paradigm to attention layers to enhance model performance. However, existing attention-based MoE layers require specialized implementations and demonstrate suboptimal performance compared to their FFN-based counterparts. In this paper, we aim to unify the MoE designs in attention and FFN layers by introducing a novel reformulation of the attention mechanism, revealing an underlying FFN-like structure within attention modules. Our proposed architecture, UMoE, achieves superior performance through attention-based MoE layers while enabling efficient parameter sharing between FFN and attention components.

解读

一句话总结

本文提出了一种名为UMoE的统一混合专家(MoE)架构,通过重新定义注意力机制,实现了在注意力和前馈网络(FFN)层之间共享专家,从而在保持参数数量的同时提升模型性能。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源