Enregistré dans:
Détails bibliographiques
Auteurs principaux: Huang, Zihao, Bao, Yu, Min, Qiyang, Chen, Siyan, Guo, Ran, Huang, Hongzhi, Zhu, Defa, Zeng, Yutao, Wu, Banggu, Zhou, Xun, Qiao, Siyuan
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:https://arxiv.org/abs/2508.18756
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866909752930336768
author Huang, Zihao
Bao, Yu
Min, Qiyang
Chen, Siyan
Guo, Ran
Huang, Hongzhi
Zhu, Defa
Zeng, Yutao
Wu, Banggu
Zhou, Xun
Qiao, Siyuan
author_facet Huang, Zihao
Bao, Yu
Min, Qiyang
Chen, Siyan
Guo, Ran
Huang, Hongzhi
Zhu, Defa
Zeng, Yutao
Wu, Banggu
Zhou, Xun
Qiao, Siyuan
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2508_18756
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle UltraMemV2: Memory Networks Scaling to 120B Parameters with Superior Long-Context Learning
Huang, Zihao
Bao, Yu
Min, Qiyang
Chen, Siyan
Guo, Ran
Huang, Hongzhi
Zhu, Defa
Zeng, Yutao
Wu, Banggu
Zhou, Xun
Qiao, Siyuan
Machine Learning
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.
title UltraMemV2: Memory Networks Scaling to 120B Parameters with Superior Long-Context Learning
topic Machine Learning
url https://arxiv.org/abs/2508.18756