2025-08-27 · 专家 · 机器学习 · 自然语言处理

UltraMemV2: Memory Networks Scaling to 120B Parameters with Superior Long-Context Learning

UltraMemV2通过引入多种创新,实现了与8专家MoE模型相当的性能,同时显著降低了内存访问成本,为高效稀疏计算提供了一种有吸引力的替代方案。

更新于 2025-08-28。作者:Zihao Huang、Yu Bao、Qiyang Min、Siyan Chen、Ran Guo、Hongzhi Huang、Defa Zhu、Yutao Zeng、Banggu Wu、Xun Zhou、Siyuan Qiao。

中文摘要

混合专家(MoE)模型通过仅激活参数的子集而实现了显著的效率,但在推理过程中却遭受了高内存访问成本的困扰。内存层架构提供了一种具有非常少内存访问的吸引人替代方案,但之前像UltraMem这样的尝试仅与2-专家MoE模型的性能相匹配,与最先进的8-专家配置相比存在显著差距。我们提出了UltraMemV2,这是一种重新设计的内存层架构,弥合了这一性能差距。我们的方法引入了五个关键改进:将内存层集成到每个Transformer块中,通过单一线性投影简化值扩展,采用来自PEER的基于FFN的值处理,实施原则性的参数初始化,以及重新平衡内存到FFN的计算比例。通过广泛的评估,我们证明了UltraMemV2在相同的计算和参数下,与8-专家MoE模型达到了性能上的平等,但内存访问显著降低。值得注意的是,UltraMemV2在内存密集型任务上表现出优异的性能,长上下文记忆提高了1.6分,多轮记忆提高了6.2分,上下文学习提高了7.9分。我们通过规模化的验证,使用从120B总参数中激活的最多2.5B参数的模型,证实了激活密度对性能的影响大于总稀疏参数计数。我们的工作将内存层架构的性能提升至与最先进的MoE模型相当,为高效的稀疏计算提供了一个有吸引力的替代方案。

英文摘要

While Mixture of Experts (MoE) models achieve remarkable efficiency by activating only subsets of parameters, they suffer from high memory access costs during inference. Memory-layer architectures offer an appealing alternative with very few memory access, but previous attempts like UltraMem have only matched the performance of 2-expert MoE models, falling significantly short of state-of-the-art 8-expert configurations. We present UltraMemV2, a redesigned memory-layer architecture that closes this performance gap. Our approach introduces five key improvements: integrating memory layers into every transformer block, simplifying value expansion with single linear projections, adopting FFN-based value processing from PEER, implementing principled parameter initialization, and rebalancing memory-to-FFN computation ratios. Through extensive evaluation, we demonstrate that UltraMemV2 achieves performance parity with 8-expert MoE models under same computation and parameters but significantly low memory access. Notably, UltraMemV2 shows superior performance on memory-intensive tasks, with improvements of +1.6 points on long-context memorization, +6.2 points on multi-round memorization, and +7.9 points on in-context learning. We validate our approach at scale with models up to 2.5B activated parameters from 120B total parameters, and establish that activation density has greater impact on performance than total sparse parameter count. Our work brings memory-layer architectures to performance parity with state-of-the-art MoE models, presenting a compelling alternative for efficient sparse computation.

解读

一句话总结

UltraMemV2通过引入多种创新,实现了与8专家MoE模型相当的性能,同时显著降低了内存访问成本,为高效稀疏计算提供了一种有吸引力的替代方案。

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

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

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

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

来源