Robust Experts: the Effect of Adversarial Training on CNNs with Sparse Mixture-of-Experts Layers
Pavlitska, Svetlana, Fan, Haixi, Ditschuneit, Konstantin, Zöllner, J. Marius
–arXiv.org Artificial Intelligence
Robustifying convolutional neural networks (CNNs) against adversarial attacks remains challenging and often requires resource-intensive countermeasures. W e explore the use of sparse mixture-of-experts (MoE) layers to improve robustness by replacing selected residual blocks or convolu-tional layers, thereby increasing model capacity without additional inference cost. On ResNet architectures trained on CIF AR-100, we find that inserting a single MoE layer in the deeper stages leads to consistent improvements in robustness under PGD and AutoPGD attacks when combined with adversarial training. Furthermore, we discover that when switch loss is used for balancing, it causes routing to collapse onto a small set of overused experts, thereby concentrating adversarial training on these paths and inadvertently making them more robust. As a result, some individual experts outperform the gated MoE model in robustness, suggesting that robust subpaths emerge through specialization. Our code is available at https:// github.com/
arXiv.org Artificial Intelligence
Sep-8-2025
- Country:
- Asia
- Middle East > Jordan (0.04)
- Singapore (0.04)
- Europe > Germany
- Baden-Württemberg > Karlsruhe Region > Karlsruhe (0.04)
- Asia
- Genre:
- Research Report > New Finding (0.46)
- Industry:
- Information Technology > Security & Privacy (0.48)
- Technology: