跳到正文
arXiv (AI + Vision + Imaging)· Tianzhe Chu, Druv Pai, Yi Ma·精选AI 评分55

伯克利团队提出Nestor:与MoE稀疏性嵌套的条件计算机制

Nested Sparsity for Scalable Pretraining and Continual Learning

AI 导读

Tianzhe Chu、Druv Pai、Yi Ma提出Nestor,一种类比注意力算子泛化的条件计算机制,其稀疏性与MoE算子稀疏性分层嵌套。在等算力和等稀疏度下,Nestor在语言模型预训练中表现优于传统MoE transformer。

推荐理由

论文提出与MoE稀疏性嵌套的条件计算机制Nestor,在等算力等稀疏度下预训练表现优于传统MoE,并给出持续预训练的长上下文与抗遗忘证据。

正文 · 原文

arXiv:2610.31818v1 Announce Type: new Abstract: Mixture-of-experts (MoE) transformers, the standard backbone for modern large-scale deep learning, employ conditional computation: only a sparse subset of model weights is used in each forward pass. In MoE transformers, this sparsity arises in the MoE operator, which generalizes the multi-layer perceptron in the classical transformer. In this work, we explore an alternative mechanism for conditional computation that analogously generalizes the attention operator. The sparsity induced by this mechanism naturally nests (i.e., hierarchically composes) with the sparsity induced by the MoE operator. We show that a transformer employing this nested sparsity mechanism, which we call Nestor, performs better than a conventional MoE transformer at equal compute and equal sparsity in language model pretraining. We also show that Nestor is well-suited for continual pretraining: it can be adapted to longer contexts more effectively than conventional MoEs, as well as adapt more efficiently to new domains while forgetting less on old domains. Furthermore, we demonstrate that these benefits persist as model size, dataset size, and context length grow. Our results demonstrate the potential of alternative conditional computation mechanisms for deep neural network architectures. Code and checkpoints are available on GitHub at https://github.com/Ma-Lab-Berkeley/Nestor .

来源:arXiv (AI + Vision + Imaging) · arxiv.org