Lune

NeurIPS2022顶会

A Theoretical View on Sparsely Activated Networks

Cenk Baykal, Nishanth Dikkala, Rina Panigrahy, Cyrus Rashtchian, Xin Wang

摘要

Deep and wide neural networks successfully fit very complex functions today, but dense models are starting to be prohibitively expensive for inference. To mitigate this, one promising direction is networks that activate a sparse subgraph of the network. The subgraph is chosen by a data-dependent routing function, enforcing a fixed mapping of inputs to subnetworks (e.g., the Mixture of Experts (MoE) paradigm in Switch Transformers). However, prior work is largely empirical, and while existing routing functions work well in practice, they do not lead to theoretical guarantees on approximation ability. We aim to provide a theoretical explanation for the power of sparse networks. As our first contribution, we present a formal model of data-dependent sparse networks that captures salient aspects of popular architectures. We then introduce a routing function based on locality sensitive hashing (LSH) that enables us to reason about how well sparse networks approximate target functions. After representing LSH-based sparse networks with our model, we prove that sparse networks can match the approximation power of dense networks on Lipschitz functions. Applying LSH on the input vectors means that the experts interpolate the target function in different subregions of the input space. To support our theory, we define various datasets based on Lipschitz target functions, and we show that sparse networks give a favorable trade-off between number of active units and approximation quality.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Alternating Updates for Efficient Transformers 引用了 Hash Layers For Large Sparse Models
  • Alternating Updates for Efficient Transformers 引用了 Scaling Vision with Sparse Mixture of Experts
  • Alternating Updates for Efficient Transformers 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • Hash Layers For Large Sparse Models 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • Scaling Vision with Sparse Mixture of Experts 引用了 Language Models are Few-Shot Learners
  • Scaling Vision with Sparse Mixture of Experts 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • GLaM: Efficient Scaling of Language Models with Mixture-of-Experts 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding 引用了 Language Models are Few-Shot Learners
  • On the Expressive Power of Mixture-of-Experts for Structured Complex Tasks 引用了 GLaM: Efficient Scaling of Language Models with Mixture-of-Experts
  • On the Expressive Power of Mixture-of-Experts for Structured Complex Tasks 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • On the Expressive Power of Mixture-of-Experts for Structured Complex Tasks 引用了 On the Benefits of Learning to Route in Mixture-of-Experts Models
  • The Lazy Neuron Phenomenon: On Emergence of Activation Sparsity in Transformers 引用了 GLaM: Efficient Scaling of Language Models with Mixture-of-Experts
  • On the Benefits of Learning to Route in Mixture-of-Experts Models 引用了 Hash Layers For Large Sparse Models
  • On the Benefits of Learning to Route in Mixture-of-Experts Models 引用了 Scaling Vision with Sparse Mixture of Experts
  • On the Benefits of Learning to Route in Mixture-of-Experts Models 引用了 GLaM: Efficient Scaling of Language Models with Mixture-of-Experts
  • On the Benefits of Learning to Route in Mixture-of-Experts Models 引用了 Language Models are Few-Shot Learners
  • On the Benefits of Learning to Route in Mixture-of-Experts Models 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

  1. Alternating Updates for Efficient TransformersCenk Baykal, Dylan J. Cutler, Nishanth Dikkala, Nikhil Ghosh 等NeurIPS 2023 · 13 次引用
  2. The Lazy Neuron Phenomenon: On Emergence of Activation Sparsity in TransformersZonglin Li, Chong You, Srinadh Bhojanapalli, Daliang Li 等ICLR 2023 · 10 次引用
  3. On the Benefits of Learning to Route in Mixture-of-Experts ModelsNishanth Dikkala, Nikhil Ghosh, Raghu Meka, Rina Panigrahy 等EMNLP 2023 · 9 次引用
  4. On the Expressive Power of Mixture-of-Experts for Structured Complex TasksMingze Wang, Weinan ENeurIPS 2025 · 3 次引用

它引用的 Paper7

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. GShard: Scaling Giant Models with Conditional Computation and Automatic ShardingDmitry Lepikhin, HyoukJoong Lee, Yuanzhong Xu, Dehao Chen 等ICLR 2021 · 1,954 次引用
  3. Scaling Vision with Sparse Mixture of ExpertsCarlos Riquelme, Joan Puigcerver, Basil Mustafa, Maxim Neumann 等NeurIPS 2021 · 1,213 次引用
  4. GLaM: Efficient Scaling of Language Models with Mixture-of-ExpertsNan Du, Yanping Huang, Andrew M. Dai, Simon Tong 等ICML 2022 · 1,173 次引用
  5. Hash Layers For Large Sparse ModelsStephen Roller, Sainbayar Sukhbaatar, Arthur Szlam, Jason WestonNeurIPS 2021 · 316 次引用

相关 Paper

  1. On the Adversarial Robustness of Mixture of ExpertsJoan Puigcerver, Rodolphe Jenatton, Carlos Riquelme, Pranjal Awasthi 等NeurIPS 2022 · 33 次引用
  2. Towards Understanding the Mixture-of-Experts Layer in Deep LearningZixiang Chen, Yihe Deng, Yue Wu, Quanquan Gu 等NeurIPS 2022 · 199 次引用
  3. LSH-MoE: Communication-efficient MoE Training via Locality-Sensitive HashingXiaonan Nie, Qibin Liu, Fangcheng Fu, Shenhan Zhu 等NeurIPS 2024 · 10 次引用
  4. XMoE: Sparse Models with Fine-grained and Adaptive Expert SelectionYuanhang Yang, Shiyi Qi, Wenchao Gu, Chaozheng Wang 等ACL Findings 2024 · 10 次引用
  5. RouterInterp: Understanding Superposed Specialisation in Mixture of Experts RoutingIlya Lasy, Nora Cai, Kola AyonrindeICML 2026
黄昏的海面,两侧是细线勾勒的悬崖