On the Adversarial Robustness of Mixture of Experts
Joan Puigcerver, Rodolphe Jenatton, Carlos Riquelme, Pranjal Awasthi, Srinadh Bhojanapalli
Abstract
Adversarial robustness is a key desirable property of neural networks. It has been empirically shown to be affected by their sizes, with larger networks being typically more robust. Recently, Bubeck and Sellke proved a lower bound on the Lipschitz constant of functions that fit the training data in terms of their number of parameters. This raises an interesting open question, do -- and can -- functions with more parameters, but not necessarily more computational cost, have better robustness? We study this question for sparse Mixture of Expert models (MoEs), that make it possible to scale up the model size for a roughly constant computational cost. We theoretically show that under certain conditions on the routing and the structure of the data, MoEs can have significantly smaller Lipschitz constants than their dense counterparts. The robustness of MoEs can suffer when the highest weighted experts for an input implement sufficiently different functions. We next empirically evaluate the robustness of MoEs on ImageNet using adversarial attacks and show they are indeed more robust than dense models with the same computational cost. We make key observations showing the robustness of MoEs to the choice of experts, highlighting the redundancy of experts in models trained in practice.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
11 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- GraphMETRO: Mitigating Complex Graph Distribution Shifts via Mixture of Aligned Experts cites GLaM: Efficient Scaling of Language Models with Mixture-of-Experts
- Robust Mixture-of-Expert Training for Convolutional Neural Networks cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Robust Mixture-of-Expert Training for Convolutional Neural Networks cites Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks
- Robust Mixture-of-Expert Training for Convolutional Neural Networks cites Scaling Vision with Sparse Mixture of Experts
- Robust Mixture-of-Expert Training for Convolutional Neural Networks cites GLaM: Efficient Scaling of Language Models with Mixture-of-Experts
- Robust Mixture-of-Expert Training for Convolutional Neural Networks cites GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
- MomentumSMoE: Integrating Momentum into Sparse Mixture of Experts cites Robust Mixture-of-Expert Training for Convolutional Neural Networks
- MomentumSMoE: Integrating Momentum into Sparse Mixture of Experts cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- MomentumSMoE: Integrating Momentum into Sparse Mixture of Experts cites Scaling Vision with Sparse Mixture of Experts
- MomentumSMoE: Integrating Momentum into Sparse Mixture of Experts cites GLaM: Efficient Scaling of Language Models with Mixture-of-Experts
- MomentumSMoE: Integrating Momentum into Sparse Mixture of Experts cites GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
- Sparsity-Constrained Optimal Transport cites Scaling Vision with Sparse Mixture of Experts
- Sparsity-Constrained Optimal Transport cites GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
- SEUF: Is Unlearning One Expert Enough for Mixture-of-Experts LLMs? cites Scaling Vision with Sparse Mixture of Experts
- SEUF: Is Unlearning One Expert Enough for Mixture-of-Experts LLMs? cites GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
- An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale cites GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
- Scaling Vision with Sparse Mixture of Experts cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Scaling Vision with Sparse Mixture of Experts cites GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
- GLaM: Efficient Scaling of Language Models with Mixture-of-Experts cites GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
Cited by top-tier papers11
- Robust Mixture-of-Expert Training for Convolutional Neural NetworksYihua Zhang, Ruisi Cai, Tianlong Chen, Guanhua Zhang et al.ICCV 2023 · 43 citations
- GraphMETRO: Mitigating Complex Graph Distribution Shifts via Mixture of Aligned ExpertsShirley Wu, Kaidi Cao, Bruno Ribeiro, James Y. Zou et al.NeurIPS 2024 · 27 citations
- MomentumSMoE: Integrating Momentum into Sparse Mixture of ExpertsRachel S. Y. Teo, Tan M. NguyenNeurIPS 2024 · 10 citations
- SEUF: Is Unlearning One Expert Enough for Mixture-of-Experts LLMs?Haomin Zhuang, Yihua Zhang, Kehan Guo, Jinghan Jia et al.ACL 2025 · 10 citations
- Sparsity-Constrained Optimal TransportTianlin Liu, Joan Puigcerver, Mathieu BlondelICLR 2023 · 3 citations
Builds on9
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
- Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacksFrancesco Croce, Matthias HeinICML 2020 · 2,337 citations
- GShard: Scaling Giant Models with Conditional Computation and Automatic ShardingDmitry Lepikhin, HyoukJoong Lee, Yuanzhong Xu, Dehao Chen et al.ICLR 2021 · 1,954 citations
- Scaling Vision with Sparse Mixture of ExpertsCarlos Riquelme, Joan Puigcerver, Basil Mustafa, Maxim Neumann et al.NeurIPS 2021 · 1,213 citations
- GLaM: Efficient Scaling of Language Models with Mixture-of-ExpertsNan Du, Yanping Huang, Andrew M. Dai, Simon Tong et al.ICML 2022 · 1,173 citations
Related papers
- Robustness of Mixtures of Experts to Feature NoiseDong Sun, Rahul Nittala, Rebekka BurkholzICML 2026 · 1 citation
- Tight Clusters Make Specialized ExpertsStefan K. Nielsen, Rachel S. Y. Teo, Laziz U. Abdullaev, Tan Minh NguyenICLR 2025
- MoEC: Mixture of Expert ClustersYuan Xie, Shaohan Huang, Tianyu Chen, Furu WeiAAAI 2023 · 27 citations
- Rethinking Convergence in MoE Training: The Role of Routing SparsityWeihao Zhu, Long Shi, Kang Wei, Zhe Wang et al.ICML 2026
- A Provably Effective Method for Pruning Experts in Fine-tuned Sparse Mixture-of-ExpertsMohammed Nowaz Rabbani Chowdhury, Meng Wang, Kaoutar El Maghraoui, Naigang Wang et al.ICML 2024 · 18 citations
