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

UltraMemV2:扩展到120B参数并具有卓越长上下文学习的记忆网络

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

ByteDance Seed(字节跳动种子)

Zihao Huang, Yu Bao, Qiyang Min, Siyan Chen, Ran Guo, Hongzhi Huang, Defa Zhu, Yutao Zeng, Banggu Wu, Xun Zhou, Siyuan Qiao

AI总结:

UltraMemV2通过五项关键改进重新设计记忆层架构,在相同计算和参数下达到8专家MoE性能,同时显著降低内存访问,并在长上下文记忆、多轮记忆和上下文内学习任务上分别提升+1.6、+6.2和+7.9分。

摘要:

虽然混合专家(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.

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

↑