CertMoE: Robustness Certification for Mixture-of-Experts LLMs via Routing-Aware Smoothing
Qingyue Wang, Yudong Gao, Lixia Wang, Ruixuan Huang, Yuanyuan Yuan, Yangqiu Song, Shuai Wang
Abstract
Provable robustness is a cornerstone of trustworthy machine learning, aiming to guarantee model predictions under adversarial perturbations. Existing certification frameworks, inspired by abstract interpretation or symbolic execution, typically assume a fixed computation graph, where input perturbations or variations affect only model outputs but not the underlying execution path. This assumption, however, is violated in Mixture-of-Experts (MoE) Large Language Models (LLMs), whose input-dependent routing induces discrete and dynamic execution paths. Crucially, this dynamic computation changes the certified object from a single fixed function to a composition of input-dependent sub-functions, leading to unreliable certification guarantees. This paper presents \textsc{CertMoE}, the first routing-aware robustness certification framework for MoE LLMs, which explicitly accounts for input-induced routing dynamics in certification. Specifically, we introduce a relaxed routing-containment criterion, which certifies that perturbed Top- routing is contained within a larger certified expert pool. Based on this guarantee, \textsc{CertMoE} then constructs the corresponding induced sub-network and certifies its prediction consistency. This hierarchical certification procedure yields a joint probabilistic guarantee over routing containment and sub-network robustness, providing sufficient conditions under which the original prediction remains invariant. Extensive experiments across recent MoE LLMs demonstrate that dynamic routing makes certificates issued by existing methods frequently violated, while \textsc{CertMoE} reduces the empirical violation rate with routing-aware guarantees, e.g., from more than to , yielding certificates that more faithfully reflect the robustness of MoE models.
Create a lesson
Metadata
- Categories
- cs.CR, cs.SE
- Comments
- 12 pages
Related papers
Towards Architectural-Level Safety Control: Relocating Hazardous Knowledge into Removable Experts in Mixture-of-Experts Models
Shared title terminologycs.CRCheng Jin, Zhongtian Ma, Xiao Wang et al.
Smoothing and Learning for Movement-Robust RSS-Based Spoofing Detection
Shared title terminologycs.CRUsama Mir
Contextual Candour: Role-Aware Graduated Disclosure for LLMs over Mixed-Sensitivity Contexts
Shared title terminologycs.CRDevansh Srivastav, David Pape, Samira Abedini et al.
More Is Never Less: Affordable Robustness to Additive Attacks via Monotone Multiple-Instance Learning
Shared title terminologycs.CRAlexander Herzog, Shae McFadden, Lorenzo Cavallaro
Weight-Space Backdoors in Open-Weight LLMs: Cross-Architecture Attacks and Blind Model Forensics
Shared title terminologycs.CRMohammed Tanveer
Autonomous Parameter Surgery: How LLMs Implant Selective Backdoors into Language Models
Shared title terminologycs.CRXuyang Liu, Zhiwei Xu, Zirui Li et al.